Documentation ¶
Index ¶
- Constants
- type Brigade
- type CreateBirgadeRequest
- type Error
- type OrderStatus
- type Principal
- type ServiceTemporarilyUnavailable
- func (m *ServiceTemporarilyUnavailable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceTemporarilyUnavailable) MarshalBinary() ([]byte, error)
- func (m *ServiceTemporarilyUnavailable) UnmarshalBinary(b []byte) error
- func (m *ServiceTemporarilyUnavailable) Validate(formats strfmt.Registry) error
Constants ¶
const ( // OrderStatusStatusCreated captures enum value "created" OrderStatusStatusCreated string = "created" // OrderStatusStatusProcessing captures enum value "processing" OrderStatusStatusProcessing string = "processing" // OrderStatusStatusCompleted captures enum value "completed" OrderStatusStatusCompleted string = "completed" // OrderStatusStatusFailed captures enum value "failed" OrderStatusStatusFailed string = "failed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Brigade ¶
type Brigade struct { // Brigade ID // Required: true // Format: uuid BrigadeID *strfmt.UUID `json:"brigade_id"` // Brigade name // Required: true BrigadeName *string `json:"brigade_name"` // Deleted // Required: true Deleted *bool `json:"deleted"` // Max users // Required: true MaxUsers *int64 `json:"max_users"` // Virtual machine zone // Required: true Zone *string `json:"zone"` }
Brigade brigade
swagger:model Brigade
func (*Brigade) ContextValidate ¶
ContextValidate validates this brigade based on context it is used
func (*Brigade) MarshalBinary ¶
MarshalBinary interface implementation
func (*Brigade) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CreateBirgadeRequest ¶
type CreateBirgadeRequest struct { // Brigade ID // Required: true // Format: uuid BrigadeID *strfmt.UUID `json:"brigade_id"` // Brigade name // Required: true BrigadeName *string `json:"brigade_name"` // Virtual machine zone // Required: true Zone *string `json:"zone"` }
CreateBirgadeRequest create birgade request
swagger:model CreateBirgadeRequest
func (*CreateBirgadeRequest) ContextValidate ¶
ContextValidate validates this create birgade request based on context it is used
func (*CreateBirgadeRequest) MarshalBinary ¶
func (m *CreateBirgadeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBirgadeRequest) UnmarshalBinary ¶
func (m *CreateBirgadeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // Error code Code int64 `json:"code,omitempty"` // Error 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 OrderStatus ¶
type OrderStatus struct { // Message // Required: true Message *string `json:"message"` // Order ID // Format: uuid OrderID strfmt.UUID `json:"order_id,omitempty"` // Retry after seconds RetryAfter int64 `json:"retryAfter,omitempty"` // Order status // Required: true // Enum: ["created","processing","completed","failed"] Status *string `json:"status"` }
OrderStatus order status
swagger:model OrderStatus
func (*OrderStatus) ContextValidate ¶
ContextValidate validates this order status based on context it is used
func (*OrderStatus) MarshalBinary ¶
func (m *OrderStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderStatus) UnmarshalBinary ¶
func (m *OrderStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct { // scope // Required: true Scope []string `json:"scope"` }
Principal principal
swagger:model Principal
func (*Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceTemporarilyUnavailable ¶
type ServiceTemporarilyUnavailable struct { int64 `json:"code,omitempty"` Message string `json:"message,omitempty"` }Code
ServiceTemporarilyUnavailable service temporarily unavailable
swagger:model ServiceTemporarilyUnavailable
func (*ServiceTemporarilyUnavailable) ContextValidate ¶
func (m *ServiceTemporarilyUnavailable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this service temporarily unavailable based on context it is used
func (*ServiceTemporarilyUnavailable) MarshalBinary ¶
func (m *ServiceTemporarilyUnavailable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceTemporarilyUnavailable) UnmarshalBinary ¶
func (m *ServiceTemporarilyUnavailable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation