Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct {
/* id
*/
ID int64 `json:"id,omitempty"`
/* name
*/
Name string `json:"name,omitempty"`
}
Category category
swagger:model Category
type Order ¶
type Order struct {
/* complete
*/
Complete bool `json:"complete,omitempty"`
/* id
*/
ID int64 `json:"id,omitempty"`
/* pet Id
*/
PetID int64 `json:"petId,omitempty"`
/* quantity
*/
Quantity int32 `json:"quantity,omitempty"`
/* ship date
*/
ShipDate strfmt.DateTime `json:"shipDate,omitempty"`
/* Order Status
*/
Status string `json:"status,omitempty"`
}
Order order
swagger:model Order
type Pet ¶
type Pet struct {
/* category
*/
Category *Category `json:"category,omitempty"`
/* id
*/
ID int64 `json:"id,omitempty"`
/* name
Required: true
*/
Name *string `json:"name"`
/* photo urls
Required: true
*/
PhotoUrls []string `json:"photoUrls"`
/* pet status in the store
*/
Status string `json:"status,omitempty"`
/* tags
*/
Tags []*Tag `json:"tags,omitempty"`
}
Pet pet
swagger:model Pet
type Tag ¶
type Tag struct {
/* id
*/
ID int64 `json:"id,omitempty"`
/* name
*/
Name string `json:"name,omitempty"`
}
Tag tag
swagger:model Tag
type User ¶
type User struct {
/* email
*/
Email string `json:"email,omitempty"`
/* first name
*/
FirstName string `json:"firstName,omitempty"`
/* id
*/
ID int64 `json:"id,omitempty"`
/* last name
*/
LastName string `json:"lastName,omitempty"`
/* password
*/
Password string `json:"password,omitempty"`
/* phone
*/
Phone string `json:"phone,omitempty"`
/* User Status
*/
UserStatus int32 `json:"userStatus,omitempty"`
/* username
*/
Username string `json:"username,omitempty"`
}
User user
swagger:model User
Click to show internal directories.
Click to hide internal directories.