Documentation
¶
Index ¶
- Constants
- type ApimodelsAdminUpdateItemReq
- type ApimodelsConsumeItemReq
- type ApimodelsCreateInventoryConfigurationReq
- type ApimodelsCreateInventoryReq
- type ApimodelsCreateItemTypeReq
- type ApimodelsCreateItemTypeResp
- type ApimodelsCreateTagReq
- type ApimodelsCreateTagResp
- type ApimodelsDeleteInventoryReq
- type ApimodelsErrorResponse
- type ApimodelsInventoryConfigurationReq
- type ApimodelsInventoryConfigurationResp
- type ApimodelsInventoryResp
- type ApimodelsItemResp
- type ApimodelsListInventoryConfigurationsResp
- type ApimodelsListInventoryResp
- type ApimodelsListItemResp
- type ApimodelsListItemTypesResp
- type ApimodelsListTagsResp
- type ApimodelsMoveItemsReq
- type ApimodelsMoveItemsResp
- type ApimodelsPaging
- type ApimodelsRemoveInventoryItemReq
- type ApimodelsSaveItemReq
- type ApimodelsSaveItemToInventoryReq
- type ApimodelsTradeItem
- type ApimodelsTradeItemResp
- type ApimodelsUpdateInventoryReq
- type ApimodelsUpdateItemReq
- type ApimodelsUpdateItemResp
Constants ¶
const ( // ApimodelsCreateTagReqOwnerCLIENT captures enum value "CLIENT" ApimodelsCreateTagReqOwnerCLIENT string = "CLIENT" // ApimodelsCreateTagReqOwnerSERVER captures enum value "SERVER" ApimodelsCreateTagReqOwnerSERVER string = "SERVER" )
const ( // ApimodelsCreateTagRespOwnerCLIENT captures enum value "CLIENT" ApimodelsCreateTagRespOwnerCLIENT string = "CLIENT" // ApimodelsCreateTagRespOwnerSERVER captures enum value "SERVER" ApimodelsCreateTagRespOwnerSERVER string = "SERVER" )
const ( // ApimodelsInventoryConfigurationRespStatusINIT captures enum value "INIT" ApimodelsInventoryConfigurationRespStatusINIT string = "INIT" // ApimodelsInventoryConfigurationRespStatusTIED captures enum value "TIED" ApimodelsInventoryConfigurationRespStatusTIED string = "TIED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApimodelsAdminUpdateItemReq ¶
type ApimodelsAdminUpdateItemReq struct { // customattributes // Required: true CustomAttributes interface{} `json:"customAttributes"` // servercustomattributes // Required: true ServerCustomAttributes interface{} `json:"serverCustomAttributes"` // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` // tags // Required: true Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` }
ApimodelsAdminUpdateItemReq Apimodels admin update item req
swagger:model Apimodels admin update item req.
func (*ApimodelsAdminUpdateItemReq) MarshalBinary ¶
func (m *ApimodelsAdminUpdateItemReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsAdminUpdateItemReq) UnmarshalBinary ¶
func (m *ApimodelsAdminUpdateItemReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsConsumeItemReq ¶
type ApimodelsConsumeItemReq struct { // qty // Required: true // Format: int32 Qty *int32 `json:"qty"` // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` }
ApimodelsConsumeItemReq Apimodels consume item req
swagger:model Apimodels consume item req.
func (*ApimodelsConsumeItemReq) MarshalBinary ¶
func (m *ApimodelsConsumeItemReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsConsumeItemReq) UnmarshalBinary ¶
func (m *ApimodelsConsumeItemReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsCreateInventoryConfigurationReq ¶
type ApimodelsCreateInventoryConfigurationReq struct { // code // Required: true Code *string `json:"code"` // description Description string `json:"description,omitempty"` // initialmaxslots // Required: true // Format: int32 InitialMaxSlots *int32 `json:"initialMaxSlots"` // maxinstancesperuser // Required: true // Format: int32 MaxInstancesPerUser *int32 `json:"maxInstancesPerUser"` // maxupgradeslots // Required: true // Format: int32 MaxUpgradeSlots *int32 `json:"maxUpgradeSlots"` // name Name string `json:"name,omitempty"` }
ApimodelsCreateInventoryConfigurationReq Apimodels create inventory configuration req
swagger:model Apimodels create inventory configuration req.
func (*ApimodelsCreateInventoryConfigurationReq) MarshalBinary ¶
func (m *ApimodelsCreateInventoryConfigurationReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsCreateInventoryConfigurationReq) UnmarshalBinary ¶
func (m *ApimodelsCreateInventoryConfigurationReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsCreateInventoryReq ¶
type ApimodelsCreateInventoryReq struct { // inventoryconfigurationcode // Required: true InventoryConfigurationCode *string `json:"inventoryConfigurationCode"` // userid // Required: true UserID *string `json:"userId"` }
ApimodelsCreateInventoryReq Apimodels create inventory req
swagger:model Apimodels create inventory req.
func (*ApimodelsCreateInventoryReq) MarshalBinary ¶
func (m *ApimodelsCreateInventoryReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsCreateInventoryReq) UnmarshalBinary ¶
func (m *ApimodelsCreateInventoryReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsCreateItemTypeReq ¶
type ApimodelsCreateItemTypeReq struct { // name // Required: true Name *string `json:"name"` }
ApimodelsCreateItemTypeReq Apimodels create item type req
swagger:model Apimodels create item type req.
func (*ApimodelsCreateItemTypeReq) MarshalBinary ¶
func (m *ApimodelsCreateItemTypeReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsCreateItemTypeReq) UnmarshalBinary ¶
func (m *ApimodelsCreateItemTypeReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsCreateItemTypeResp ¶
type ApimodelsCreateItemTypeResp struct { // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` }
ApimodelsCreateItemTypeResp Apimodels create item type resp
swagger:model Apimodels create item type resp.
func (*ApimodelsCreateItemTypeResp) MarshalBinary ¶
func (m *ApimodelsCreateItemTypeResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsCreateItemTypeResp) UnmarshalBinary ¶
func (m *ApimodelsCreateItemTypeResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsCreateTagReq ¶
type ApimodelsCreateTagReq struct { // name // Required: true Name *string `json:"name"` // owner // Enum: ['CLIENT', 'SERVER'] // Required: true Owner *string `json:"owner"` }
ApimodelsCreateTagReq Apimodels create tag req
swagger:model Apimodels create tag req.
func (*ApimodelsCreateTagReq) MarshalBinary ¶
func (m *ApimodelsCreateTagReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsCreateTagReq) UnmarshalBinary ¶
func (m *ApimodelsCreateTagReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsCreateTagResp ¶
type ApimodelsCreateTagResp struct { // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // owner // Enum: ['CLIENT', 'SERVER'] // Required: true Owner *string `json:"owner"` }
ApimodelsCreateTagResp Apimodels create tag resp
swagger:model Apimodels create tag resp.
func (*ApimodelsCreateTagResp) MarshalBinary ¶
func (m *ApimodelsCreateTagResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsCreateTagResp) UnmarshalBinary ¶
func (m *ApimodelsCreateTagResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsDeleteInventoryReq ¶
type ApimodelsDeleteInventoryReq struct { // message // Required: true Message *string `json:"message"` }
ApimodelsDeleteInventoryReq Apimodels delete inventory req
swagger:model Apimodels delete inventory req.
func (*ApimodelsDeleteInventoryReq) MarshalBinary ¶
func (m *ApimodelsDeleteInventoryReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsDeleteInventoryReq) UnmarshalBinary ¶
func (m *ApimodelsDeleteInventoryReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsErrorResponse ¶
type ApimodelsErrorResponse struct { // errorcode // Required: true // Format: int32 ErrorCode *int32 `json:"errorCode"` // errormessage // Required: true ErrorMessage *string `json:"errorMessage"` }
ApimodelsErrorResponse Apimodels error response
swagger:model Apimodels error response.
func (*ApimodelsErrorResponse) MarshalBinary ¶
func (m *ApimodelsErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsErrorResponse) UnmarshalBinary ¶
func (m *ApimodelsErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsInventoryConfigurationReq ¶
type ApimodelsInventoryConfigurationReq struct { // code // Required: true Code *string `json:"code"` // description Description string `json:"description,omitempty"` // initialmaxslots // Required: true // Format: int32 InitialMaxSlots *int32 `json:"initialMaxSlots"` // maxinstancesperuser // Required: true // Format: int32 MaxInstancesPerUser *int32 `json:"maxInstancesPerUser"` // maxupgradeslots // Required: true // Format: int32 MaxUpgradeSlots *int32 `json:"maxUpgradeSlots"` // name Name string `json:"name,omitempty"` }
ApimodelsInventoryConfigurationReq Apimodels inventory configuration req
swagger:model Apimodels inventory configuration req.
func (*ApimodelsInventoryConfigurationReq) MarshalBinary ¶
func (m *ApimodelsInventoryConfigurationReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsInventoryConfigurationReq) UnmarshalBinary ¶
func (m *ApimodelsInventoryConfigurationReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsInventoryConfigurationResp ¶
type ApimodelsInventoryConfigurationResp struct { // code // Required: true Code *string `json:"code"` // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // description // Required: true Description *string `json:"description"` // id // Required: true ID *string `json:"id"` // initialmaxslots // Required: true // Format: int32 InitialMaxSlots *int32 `json:"initialMaxSlots"` // maxinstancesperuser // Required: true // Format: int32 MaxInstancesPerUser *int32 `json:"maxInstancesPerUser"` // maxupgradeslots // Required: true // Format: int32 MaxUpgradeSlots *int32 `json:"maxUpgradeSlots"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // status // Enum: ['INIT', 'TIED'] // Required: true Status *string `json:"status"` // updatedat // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
ApimodelsInventoryConfigurationResp Apimodels inventory configuration resp
swagger:model Apimodels inventory configuration resp.
func (*ApimodelsInventoryConfigurationResp) MarshalBinary ¶
func (m *ApimodelsInventoryConfigurationResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsInventoryConfigurationResp) UnmarshalBinary ¶
func (m *ApimodelsInventoryConfigurationResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsInventoryResp ¶
type ApimodelsInventoryResp struct { // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // id // Required: true ID *string `json:"id"` // inventoryconfigurationcode // Required: true InventoryConfigurationCode *string `json:"inventoryConfigurationCode"` // inventoryconfigurationid // Required: true InventoryConfigurationID *string `json:"inventoryConfigurationId"` // maxslots // Required: true // Format: int32 MaxSlots *int32 `json:"maxSlots"` // maxupgradeslots // Required: true // Format: int32 MaxUpgradeSlots *int32 `json:"maxUpgradeSlots"` // namespace // Required: true Namespace *string `json:"namespace"` // updatedat // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // usedcountslots // Required: true // Format: int32 UsedCountSlots *int32 `json:"usedCountSlots"` // userid // Required: true UserID *string `json:"userId"` }
ApimodelsInventoryResp Apimodels inventory resp
swagger:model Apimodels inventory resp.
func (*ApimodelsInventoryResp) MarshalBinary ¶
func (m *ApimodelsInventoryResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsInventoryResp) UnmarshalBinary ¶
func (m *ApimodelsInventoryResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsItemResp ¶
type ApimodelsItemResp struct { // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // customattributes // Required: true CustomAttributes interface{} `json:"customAttributes"` // id // Required: true ID *string `json:"id"` // inventoryid // Required: true InventoryID *string `json:"inventoryId"` // namespace // Required: true Namespace *string `json:"namespace"` // qty // Required: true // Format: int32 Qty *int32 `json:"qty"` // servercustomattributes // Required: true ServerCustomAttributes interface{} `json:"serverCustomAttributes"` // slotid // Required: true SlotID *string `json:"slotId"` // slotused // Required: true // Format: int32 SlotUsed *int32 `json:"slotUsed"` // source // Required: true Source *string `json:"source"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` // tags // Required: true Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` // updatedat // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // userid // Required: true UserID *string `json:"userId"` }
ApimodelsItemResp Apimodels item resp
swagger:model Apimodels item resp.
func (*ApimodelsItemResp) MarshalBinary ¶
func (m *ApimodelsItemResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsItemResp) UnmarshalBinary ¶
func (m *ApimodelsItemResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsListInventoryConfigurationsResp ¶
type ApimodelsListInventoryConfigurationsResp struct { // data // Required: true Data []*ApimodelsInventoryConfigurationResp `json:"data"` // paging // Required: true Paging *ApimodelsPaging `json:"paging"` }
ApimodelsListInventoryConfigurationsResp Apimodels list inventory configurations resp
swagger:model Apimodels list inventory configurations resp.
func (*ApimodelsListInventoryConfigurationsResp) MarshalBinary ¶
func (m *ApimodelsListInventoryConfigurationsResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsListInventoryConfigurationsResp) UnmarshalBinary ¶
func (m *ApimodelsListInventoryConfigurationsResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsListInventoryResp ¶
type ApimodelsListInventoryResp struct { // data // Required: true Data []*ApimodelsInventoryResp `json:"data"` // paging // Required: true Paging *ApimodelsPaging `json:"paging"` }
ApimodelsListInventoryResp Apimodels list inventory resp
swagger:model Apimodels list inventory resp.
func (*ApimodelsListInventoryResp) MarshalBinary ¶
func (m *ApimodelsListInventoryResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsListInventoryResp) UnmarshalBinary ¶
func (m *ApimodelsListInventoryResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsListItemResp ¶
type ApimodelsListItemResp struct { // data // Required: true Data []*ApimodelsItemResp `json:"data"` // paging // Required: true Paging *ApimodelsPaging `json:"paging"` }
ApimodelsListItemResp Apimodels list item resp
swagger:model Apimodels list item resp.
func (*ApimodelsListItemResp) MarshalBinary ¶
func (m *ApimodelsListItemResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsListItemResp) UnmarshalBinary ¶
func (m *ApimodelsListItemResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsListItemTypesResp ¶
type ApimodelsListItemTypesResp struct { // data // Required: true Data []*ApimodelsCreateItemTypeResp `json:"data"` // paging // Required: true Paging *ApimodelsPaging `json:"paging"` }
ApimodelsListItemTypesResp Apimodels list item types resp
swagger:model Apimodels list item types resp.
func (*ApimodelsListItemTypesResp) MarshalBinary ¶
func (m *ApimodelsListItemTypesResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsListItemTypesResp) UnmarshalBinary ¶
func (m *ApimodelsListItemTypesResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsListTagsResp ¶
type ApimodelsListTagsResp struct { // data // Required: true Data []*ApimodelsCreateTagResp `json:"data"` // paging // Required: true Paging *ApimodelsPaging `json:"paging"` }
ApimodelsListTagsResp Apimodels list tags resp
swagger:model Apimodels list tags resp.
func (*ApimodelsListTagsResp) MarshalBinary ¶
func (m *ApimodelsListTagsResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsListTagsResp) UnmarshalBinary ¶
func (m *ApimodelsListTagsResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsMoveItemsReq ¶
type ApimodelsMoveItemsReq struct { // items // Required: true Items []*ApimodelsTradeItem `json:"items"` // srcinventoryid // Required: true SrcInventoryID *string `json:"srcInventoryId"` }
ApimodelsMoveItemsReq Apimodels move items req
swagger:model Apimodels move items req.
func (*ApimodelsMoveItemsReq) MarshalBinary ¶
func (m *ApimodelsMoveItemsReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsMoveItemsReq) UnmarshalBinary ¶
func (m *ApimodelsMoveItemsReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsMoveItemsResp ¶
type ApimodelsMoveItemsResp struct { // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // dstinventoryid // Required: true DstInventoryID *string `json:"dstInventoryId"` // items // Required: true Items []*ApimodelsTradeItemResp `json:"items"` // namespace // Required: true Namespace *string `json:"namespace"` // srcinventoryid // Required: true SrcInventoryID *string `json:"srcInventoryId"` }
ApimodelsMoveItemsResp Apimodels move items resp
swagger:model Apimodels move items resp.
func (*ApimodelsMoveItemsResp) MarshalBinary ¶
func (m *ApimodelsMoveItemsResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsMoveItemsResp) UnmarshalBinary ¶
func (m *ApimodelsMoveItemsResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsPaging ¶
type ApimodelsPaging struct { // first // Required: true First *string `json:"first"` // last // Required: true Last *string `json:"last"` // next // Required: true Next *string `json:"next"` // previous // Required: true Previous *string `json:"previous"` }
ApimodelsPaging Apimodels paging
swagger:model Apimodels paging.
func (*ApimodelsPaging) MarshalBinary ¶
func (m *ApimodelsPaging) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsPaging) UnmarshalBinary ¶
func (m *ApimodelsPaging) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsRemoveInventoryItemReq ¶ added in v0.53.0
type ApimodelsRemoveInventoryItemReq struct { // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` }
ApimodelsRemoveInventoryItemReq Apimodels remove inventory item req
swagger:model Apimodels remove inventory item req.
func (*ApimodelsRemoveInventoryItemReq) MarshalBinary ¶ added in v0.53.0
func (m *ApimodelsRemoveInventoryItemReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsRemoveInventoryItemReq) UnmarshalBinary ¶ added in v0.53.0
func (m *ApimodelsRemoveInventoryItemReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsSaveItemReq ¶
type ApimodelsSaveItemReq struct { // customattributes // Required: true CustomAttributes interface{} `json:"customAttributes"` // inventoryconfigurationcode // Required: true InventoryConfigurationCode *string `json:"inventoryConfigurationCode"` // qty // Required: true // Format: int32 Qty *int32 `json:"qty"` // servercustomattributes // Required: true ServerCustomAttributes interface{} `json:"serverCustomAttributes"` // slotid // Required: true SlotID *string `json:"slotId"` // slotused // Required: true // Format: int32 SlotUsed *int32 `json:"slotUsed"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` // tags // Required: true Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` }
ApimodelsSaveItemReq Apimodels save item req
swagger:model Apimodels save item req.
func (*ApimodelsSaveItemReq) MarshalBinary ¶
func (m *ApimodelsSaveItemReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsSaveItemReq) UnmarshalBinary ¶
func (m *ApimodelsSaveItemReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsSaveItemToInventoryReq ¶
type ApimodelsSaveItemToInventoryReq struct { // customattributes // Required: true CustomAttributes interface{} `json:"customAttributes"` // qty // Required: true // Format: int32 Qty *int32 `json:"qty"` // servercustomattributes // Required: true ServerCustomAttributes interface{} `json:"serverCustomAttributes"` // slotid // Required: true SlotID *string `json:"slotId"` // slotused // Required: true // Format: int32 SlotUsed *int32 `json:"slotUsed"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` // tags // Required: true Tags []string `json:"tags"` // type // Required: true Type *string `json:"type"` }
ApimodelsSaveItemToInventoryReq Apimodels save item to inventory req
swagger:model Apimodels save item to inventory req.
func (*ApimodelsSaveItemToInventoryReq) MarshalBinary ¶
func (m *ApimodelsSaveItemToInventoryReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsSaveItemToInventoryReq) UnmarshalBinary ¶
func (m *ApimodelsSaveItemToInventoryReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsTradeItem ¶
type ApimodelsTradeItem struct { // qty // Required: true // Format: int32 Qty *int32 `json:"qty"` // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` }
ApimodelsTradeItem Apimodels trade item
swagger:model Apimodels trade item.
func (*ApimodelsTradeItem) MarshalBinary ¶
func (m *ApimodelsTradeItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsTradeItem) UnmarshalBinary ¶
func (m *ApimodelsTradeItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsTradeItemResp ¶
type ApimodelsTradeItemResp struct { // qty // Required: true // Format: int32 Qty *int32 `json:"qty"` // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` }
ApimodelsTradeItemResp Apimodels trade item resp
swagger:model Apimodels trade item resp.
func (*ApimodelsTradeItemResp) MarshalBinary ¶
func (m *ApimodelsTradeItemResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsTradeItemResp) UnmarshalBinary ¶
func (m *ApimodelsTradeItemResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsUpdateInventoryReq ¶
type ApimodelsUpdateInventoryReq struct { // incmaxslots // Required: true // Format: int32 IncMaxSlots *int32 `json:"incMaxSlots"` }
ApimodelsUpdateInventoryReq Apimodels update inventory req
swagger:model Apimodels update inventory req.
func (*ApimodelsUpdateInventoryReq) MarshalBinary ¶
func (m *ApimodelsUpdateInventoryReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsUpdateInventoryReq) UnmarshalBinary ¶
func (m *ApimodelsUpdateInventoryReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsUpdateItemReq ¶
type ApimodelsUpdateItemReq struct { // customattributes // Required: true CustomAttributes interface{} `json:"customAttributes"` // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` // tags // Required: true Tags []string `json:"tags"` }
ApimodelsUpdateItemReq Apimodels update item req
swagger:model Apimodels update item req.
func (*ApimodelsUpdateItemReq) MarshalBinary ¶
func (m *ApimodelsUpdateItemReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsUpdateItemReq) UnmarshalBinary ¶
func (m *ApimodelsUpdateItemReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApimodelsUpdateItemResp ¶
type ApimodelsUpdateItemResp struct { // errordetails ErrorDetails *ApimodelsErrorResponse `json:"errorDetails,omitempty"` // slotid // Required: true SlotID *string `json:"slotId"` // sourceitemid // Required: true SourceItemID *string `json:"sourceItemId"` // success // Required: true Success *bool `json:"success"` }
ApimodelsUpdateItemResp Apimodels update item resp
swagger:model Apimodels update item resp.
func (*ApimodelsUpdateItemResp) MarshalBinary ¶
func (m *ApimodelsUpdateItemResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApimodelsUpdateItemResp) UnmarshalBinary ¶
func (m *ApimodelsUpdateItemResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- apimodels_admin_update_item_req.go
- apimodels_consume_item_req.go
- apimodels_create_inventory_configuration_req.go
- apimodels_create_inventory_req.go
- apimodels_create_item_type_req.go
- apimodels_create_item_type_resp.go
- apimodels_create_tag_req.go
- apimodels_create_tag_resp.go
- apimodels_delete_inventory_req.go
- apimodels_error_response.go
- apimodels_inventory_configuration_req.go
- apimodels_inventory_configuration_resp.go
- apimodels_inventory_resp.go
- apimodels_item_resp.go
- apimodels_list_inventory_configurations_resp.go
- apimodels_list_inventory_resp.go
- apimodels_list_item_resp.go
- apimodels_list_item_types_resp.go
- apimodels_list_tags_resp.go
- apimodels_move_items_req.go
- apimodels_move_items_resp.go
- apimodels_paging.go
- apimodels_remove_inventory_item_req.go
- apimodels_save_item_req.go
- apimodels_save_item_to_inventory_req.go
- apimodels_trade_item.go
- apimodels_trade_item_resp.go
- apimodels_update_inventory_req.go
- apimodels_update_item_req.go
- apimodels_update_item_resp.go