regenerated python, python3 and php clients

This commit is contained in:
Russell Horton
2013-10-18 16:24:08 -07:00
parent 2dda926cb6
commit af96f33e6f
20 changed files with 317 additions and 127 deletions

View File

@@ -27,6 +27,8 @@ class Category:
}
#Category unique identifier
self.id = None # int
#Name of the category
self.name = None # str

View File

@@ -23,17 +23,21 @@ class Order:
self.swaggerTypes = {
'id': 'int',
'petId': 'int',
'status': 'str',
'quantity': 'int',
'status': 'str',
'shipDate': 'datetime'
}
#Unique identifier for the order
self.id = None # int
#ID of pet being ordered
self.petId = None # int
#Order Status
self.status = None # str
#Number of pets ordered
self.quantity = None # int
#Status of the order
self.status = None # str
#Date shipped, only if it has been
self.shipDate = None # datetime

View File

@@ -21,21 +21,26 @@ class Pet:
def __init__(self):
self.swaggerTypes = {
'tags': 'list[Tag]',
'id': 'int',
'category': 'Category',
'status': 'str',
'name': 'str',
'photoUrls': 'list[str]'
'photoUrls': 'list[str]',
'tags': 'list[Tag]',
'status': 'str'
}
self.tags = None # list[Tag]
#Unique identifier for the Pet
self.id = None # int
#Category the pet is in
self.category = None # Category
#Friendly name of the pet
self.name = None # str
#Image URLs
self.photoUrls = None # list[str]
#Tags assigned to this pet
self.tags = None # list[Tag]
#pet status in the store
self.status = None # str
self.name = None # str
self.photoUrls = None # list[str]

View File

@@ -27,6 +27,8 @@ class Tag:
}
#Unique identifier for the tag
self.id = None # int
#Friendly name for the tag
self.name = None # str

View File

@@ -22,24 +22,31 @@ class User:
def __init__(self):
self.swaggerTypes = {
'id': 'int',
'lastName': 'str',
'phone': 'str',
'username': 'str',
'email': 'str',
'userStatus': 'int',
'firstName': 'str',
'password': 'str'
'lastName': 'str',
'email': 'str',
'password': 'str',
'phone': 'str',
'userStatus': 'int'
}
#Unique identifier for the user
self.id = None # int
self.lastName = None # str
self.phone = None # str
#Unique username
self.username = None # str
#First name of the user
self.firstName = None # str
#Last name of the user
self.lastName = None # str
#Email address of the user
self.email = None # str
#Password name of the user
self.password = None # str
#Phone number of the user
self.phone = None # str
#User Status
self.userStatus = None # int
self.firstName = None # str
self.password = None # str