Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct { // id // Read Only: true ID int32 `json:"id,omitempty"` // name // Required: true // Min Length: 1 Name *string `json:"name"` }
Contact contact
swagger:model Contact
func (*Contact) MarshalBinary ¶
MarshalBinary interface implementation
func (*Contact) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Contact) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Error ¶
type Error struct { // Either same as HTTP Status Code OR >= 600 with HTTP Status Code 422. // Required: true Code *int32 `json:"code"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Error) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type SeekPagination ¶ added in v1.3.0
type SeekPagination struct { // Include items with ID greater than since_id. // Required: true // Minimum: 0 SinceID *int32 `json:"since_id"` // Maximum amount of items to return. // Required: true // Maximum: 100 // Minimum: 1 Limit *int32 `json:"limit"` }
SeekPagination Query paginated list starting with a specific item.
swagger:model SeekPagination
func (*SeekPagination) MarshalBinary ¶ added in v1.3.0
func (m *SeekPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SeekPagination) UnmarshalBinary ¶ added in v1.3.0
func (m *SeekPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SeekPagination) UnmarshalJSON ¶ added in v1.3.0
func (m *SeekPagination) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON