Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomResponseModel ¶
type CustomResponseModel struct { // results Results []string `json:"results"` // Number that was used to generate these results Seed int64 `json:"seed,omitempty"` }
CustomResponseModel custom response model swagger:model CustomResponseModel
func (*CustomResponseModel) MarshalBinary ¶
func (m *CustomResponseModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomResponseModel) UnmarshalBinary ¶
func (m *CustomResponseModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorModel ¶
type ErrorModel struct { // code // Required: true Code *int32 `json:"code"` // message // Required: true Message *string `json:"message"` }
ErrorModel error model swagger:model ErrorModel
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 User ¶
type User struct { // company Company string `json:"Company,omitempty"` // age // Maximum: 255 // Minimum: 0 Age *int32 `json:"age,omitempty"` // country Country string `json:"country,omitempty"` // email Email string `json:"email,omitempty"` // Random list of UUIDs from the same response. To increase the chance of having friends request for bigger batches. Friends []string `json:"friends"` // UUID for this user // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // First and Last name // Required: true Name *string `json:"name"` // position Position string `json:"position,omitempty"` }
User user swagger:model User
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserResponseModel ¶
type UserResponseModel struct { // Use this to get the next users from the deterministic series Nextseed int64 `json:"nextseed,omitempty"` // Number that was used to generate these users Seed int64 `json:"seed,omitempty"` // users Users []*User `json:"users"` }
UserResponseModel user response model swagger:model UserResponseModel
func (*UserResponseModel) MarshalBinary ¶
func (m *UserResponseModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserResponseModel) UnmarshalBinary ¶
func (m *UserResponseModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.