mapped uuid to str in python

This commit is contained in:
wing328
2016-04-27 17:37:44 +08:00
parent 59f9849ca0
commit 87c6566bd0
7 changed files with 56 additions and 13 deletions

View File

@@ -48,6 +48,7 @@ class FormatTest(object):
'binary': 'str',
'date': 'date',
'date_time': 'datetime',
'uuid': 'str',
'password': 'str'
}
@@ -63,6 +64,7 @@ class FormatTest(object):
'binary': 'binary',
'date': 'date',
'date_time': 'dateTime',
'uuid': 'uuid',
'password': 'password'
}
@@ -77,6 +79,7 @@ class FormatTest(object):
self._binary = None
self._date = None
self._date_time = None
self._uuid = None
self._password = None
@property
@@ -321,6 +324,28 @@ class FormatTest(object):
"""
self._date_time = date_time
@property
def uuid(self):
"""
Gets the uuid of this FormatTest.
:return: The uuid of this FormatTest.
:rtype: str
"""
return self._uuid
@uuid.setter
def uuid(self, uuid):
"""
Sets the uuid of this FormatTest.
:param uuid: The uuid of this FormatTest.
:type: str
"""
self._uuid = uuid
@property
def password(self):
"""