Documentation ¶
Index ¶
- type Image
- func (m *Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Image) MarshalBinary() ([]byte, error)
- func (m Image) MarshalJSON() ([]byte, error)
- func (m *Image) UnmarshalBinary(b []byte) error
- func (m *Image) UnmarshalJSON(data []byte) error
- func (m *Image) Validate(formats strfmt.Registry) error
- type ImageList
- type Metadata
- type StandardError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { // checkpoint Checkpoint string `json:"checkpoint,omitempty"` // creation time // Format: date-time CreationTime strfmt.DateTime `json:"creation-time,omitempty"` // ID of the image file. // Required: true ID *string `json:"id"` // negative prompt NegativePrompt string `json:"negative-prompt,omitempty"` // pixel Pixel int64 `json:"pixel,omitempty"` // prompt Prompt string `json:"prompt,omitempty"` // image additional properties ImageAdditionalProperties map[string]interface{} `json:"-"` }
Image image
swagger:model Image
func (*Image) ContextValidate ¶
ContextValidate validates this image based on context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (Image) MarshalJSON ¶
MarshalJSON marshals this object with additional properties into a JSON object
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Image) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with additional properties from JSON
type ImageList ¶
type ImageList struct { // items Items []*Image `json:"items"` // metadata Metadata *Metadata `json:"metadata,omitempty"` }
ImageList image list
swagger:model ImageList
func (*ImageList) ContextValidate ¶
ContextValidate validate this image list based on the context it is used
func (*ImageList) MarshalBinary ¶
MarshalBinary interface implementation
func (*ImageList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Metadata ¶
type Metadata struct { // The the current page you are at. // Example: 2 // Required: true CurrentPage *int64 `json:"currentPage"` // The total number of items available. // Example: 46 // Required: true TotalItems *int64 `json:"totalItems"` // The total number of pages. // Example: 16 // Required: true TotalPages *int64 `json:"totalPages"` }
Metadata metadata
swagger:model Metadata
func (*Metadata) ContextValidate ¶
ContextValidate validates this metadata based on context it is used
func (*Metadata) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metadata) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StandardError ¶
type StandardError struct { // The error message. // Required: true Message *string `json:"message"` }
StandardError standard error
swagger:model StandardError
func (*StandardError) ContextValidate ¶
ContextValidate validates this standard error based on context it is used
func (*StandardError) MarshalBinary ¶
func (m *StandardError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardError) UnmarshalBinary ¶
func (m *StandardError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation