Documentation ¶
Index ¶
Constants ¶
const ( // PingPingPong captures enum value "pong" PingPingPong string = "pong" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // error Error bool `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type File ¶
type File struct { // alt Alt string `json:"alt,omitempty"` // caption Caption string `json:"caption,omitempty"` // created // Format: date Created strfmt.Date `json:"created,omitempty"` // created by id CreatedByID int64 `json:"created_by_id,omitempty"` // deleted // Format: date Deleted strfmt.Date `json:"deleted,omitempty"` // ext Ext string `json:"ext,omitempty"` // hash Hash string `json:"hash,omitempty"` // height Height int64 `json:"height,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // provider Provider string `json:"provider,omitempty"` // size Size int64 `json:"size,omitempty"` // thumb Thumb string `json:"thumb,omitempty"` // type Type string `json:"type,omitempty"` // updated // Format: date Updated strfmt.Date `json:"updated,omitempty"` // updated by id UpdatedByID int64 `json:"updated_by_id,omitempty"` // width Width int64 `json:"width,omitempty"` }
File file
swagger:model file
func (*File) ContextValidate ¶
ContextValidate validates this file based on context it is used
func (*File) MarshalBinary ¶
MarshalBinary interface implementation
func (*File) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Metrics ¶
Metrics metrics
swagger:model metrics
func (Metrics) ContextValidate ¶
ContextValidate validates this metrics based on context it is used
type Ok ¶
type Ok struct { // message Message string `json:"message,omitempty"` }
Ok ok
swagger:model ok
func (*Ok) ContextValidate ¶
ContextValidate validates this ok based on context it is used
func (*Ok) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ok) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Ping ¶
type Ping struct { // Result of method execution. `pong` in case of success // Required: true // Enum: [pong] Ping *string `json:"ping"` }
Ping ping
swagger:model ping
func (*Ping) ContextValidate ¶
ContextValidate validates this ping based on context it is used
func (*Ping) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ping) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Principal ¶
type Principal string
Principal principal
swagger:model principal
func (Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
type PublicFile ¶
type PublicFile struct { // attributes Attributes *PublicFileAttributes `json:"attributes,omitempty"` // id ID int64 `json:"id,omitempty"` }
PublicFile public file
swagger:model publicFile
func (*PublicFile) ContextValidate ¶
ContextValidate validate this public file based on the context it is used
func (*PublicFile) MarshalBinary ¶
func (m *PublicFile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicFile) UnmarshalBinary ¶
func (m *PublicFile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicFileAttributes ¶
type PublicFileAttributes struct { // alt Alt string `json:"alt,omitempty"` // caption Caption string `json:"caption,omitempty"` // created // Format: date Created strfmt.Date `json:"created,omitempty"` // created by id CreatedByID int64 `json:"created_by_id,omitempty"` // deleted // Format: date Deleted strfmt.Date `json:"deleted,omitempty"` // ext Ext string `json:"ext,omitempty"` // hash Hash string `json:"hash,omitempty"` // height Height int64 `json:"height,omitempty"` // mime Mime string `json:"mime,omitempty"` // name Name string `json:"name,omitempty"` // provider Provider string `json:"provider,omitempty"` // size Size int64 `json:"size,omitempty"` // thumb Thumb string `json:"thumb,omitempty"` // type Type string `json:"type,omitempty"` // updated // Format: date Updated strfmt.Date `json:"updated,omitempty"` // updated by id UpdatedByID int64 `json:"updated_by_id,omitempty"` // url URL string `json:"url,omitempty"` // width Width int64 `json:"width,omitempty"` }
PublicFileAttributes public file attributes
swagger:model PublicFileAttributes
func (*PublicFileAttributes) ContextValidate ¶
ContextValidate validates this public file attributes based on context it is used
func (*PublicFileAttributes) MarshalBinary ¶
func (m *PublicFileAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicFileAttributes) UnmarshalBinary ¶
func (m *PublicFileAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Uploads ¶
type Uploads string
Uploads uploads
swagger:model uploads
func (Uploads) ContextValidate ¶
ContextValidate validates this uploads based on context it is used