Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorModel ¶
type ErrorModel struct { // code // Required: true Code *int64 `json:"Code"` // message // Required: true Message *string `json:"Message"` }
ErrorModel error model
swagger:model ErrorModel
func (*ErrorModel) ContextValidate ¶
ContextValidate validates this error model based on context it is used
func (*ErrorModel) MarshalBinary ¶
func (m *ErrorModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorModel) UnmarshalBinary ¶
func (m *ErrorModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Pet ¶
type Pet struct { // category // Min Length: 1 Category string `json:"category,omitempty"` // id // Read Only: true ID int64 `json:"id,omitempty"` // name // Required: true // Min Length: 1 Name *string `json:"name"` }
Pet pet
swagger:model pet
func (*Pet) ContextValidate ¶
ContextValidate validate this pet based on the context it is used
func (*Pet) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.