Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Order ¶
type Order struct { // order ID // Required: true OrderID *string `json:"orderID"` // order lines OrderLines []*OrderLine `json:"orderLines"` }
Order order
swagger:model Order
func (*Order) MarshalBinary ¶
MarshalBinary interface implementation
func (*Order) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrderLine ¶
type OrderLine struct { // purchased item // Required: true PurchasedItem Item `json:"purchasedItem"` // quantity // Required: true // Minimum: 1 Quantity *int32 `json:"quantity"` }
OrderLine order line
swagger:model orderLine
func (*OrderLine) MarshalBinary ¶
MarshalBinary interface implementation
func (*OrderLine) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct { // name Name string `json:"name,omitempty"` // roles Roles []string `json:"roles"` }
Principal principal
swagger:model principal
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.