Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSkus(params *GetSkusParams, authInfo runtime.ClientAuthInfoWriter) (*GetSkusOK, error)
- func (a *Client) GetSkusIdentifier(params *GetSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*GetSkusIdentifierOK, error)
- func (a *Client) GetSkusIdentifierNodes(params *GetSkusIdentifierNodesParams, authInfo runtime.ClientAuthInfoWriter) (*GetSkusIdentifierNodesOK, error)
- func (a *Client) PatchSkusIdentifier(params *PatchSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PatchSkusIdentifierOK, error)
- func (a *Client) PostSkus(params *PostSkusParams, authInfo runtime.ClientAuthInfoWriter) (*PostSkusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetSkusDefault
- type GetSkusIdentifierDefault
- type GetSkusIdentifierNodesDefault
- type GetSkusIdentifierNodesNotFound
- type GetSkusIdentifierNodesOK
- type GetSkusIdentifierNodesParams
- type GetSkusIdentifierNodesReader
- type GetSkusIdentifierNotFound
- type GetSkusIdentifierOK
- type GetSkusIdentifierOKBodyBody
- type GetSkusIdentifierParams
- type GetSkusIdentifierReader
- type GetSkusOK
- type GetSkusParams
- type GetSkusReader
- type PatchSkusIdentifierDefault
- type PatchSkusIdentifierInternalServerError
- type PatchSkusIdentifierNotFound
- type PatchSkusIdentifierOK
- type PatchSkusIdentifierOKBodyBody
- type PatchSkusIdentifierParams
- type PatchSkusIdentifierReader
- type PostSkusDefault
- type PostSkusInternalServerError
- type PostSkusOK
- type PostSkusOKBodyBody
- type PostSkusParams
- type PostSkusReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for skus API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new skus API client.
func (*Client) GetSkus ¶
func (a *Client) GetSkus(params *GetSkusParams, authInfo runtime.ClientAuthInfoWriter) (*GetSkusOK, error)
GetSkus gets list of skus
get list of skus
func (*Client) GetSkusIdentifier ¶
func (a *Client) GetSkusIdentifier(params *GetSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*GetSkusIdentifierOK, error)
GetSkusIdentifier gets a single sku
get a single sku
func (*Client) GetSkusIdentifierNodes ¶
func (a *Client) GetSkusIdentifierNodes(params *GetSkusIdentifierNodesParams, authInfo runtime.ClientAuthInfoWriter) (*GetSkusIdentifierNodesOK, error)
GetSkusIdentifierNodes gets nodes for specific sku
get nodes for specific sku
func (*Client) PatchSkusIdentifier ¶
func (a *Client) PatchSkusIdentifier(params *PatchSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PatchSkusIdentifierOK, error)
PatchSkusIdentifier patches a single sku
patch a single sku
func (*Client) PostSkus ¶
func (a *Client) PostSkus(params *PostSkusParams, authInfo runtime.ClientAuthInfoWriter) (*PostSkusOK, error)
PostSkus creates a sku
create a sku
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetSkusDefault ¶
GetSkusDefault handles this case with default header values.
Unexpected error
func NewGetSkusDefault ¶
func NewGetSkusDefault(code int) *GetSkusDefault
NewGetSkusDefault creates a GetSkusDefault with default headers values
func (*GetSkusDefault) Code ¶
func (o *GetSkusDefault) Code() int
Code gets the status code for the get skus default response
func (*GetSkusDefault) Error ¶
func (o *GetSkusDefault) Error() string
type GetSkusIdentifierDefault ¶
type GetSkusIdentifierDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetSkusIdentifierDefault handles this case with default header values.
Unexpected error
func NewGetSkusIdentifierDefault ¶
func NewGetSkusIdentifierDefault(code int) *GetSkusIdentifierDefault
NewGetSkusIdentifierDefault creates a GetSkusIdentifierDefault with default headers values
func (*GetSkusIdentifierDefault) Code ¶
func (o *GetSkusIdentifierDefault) Code() int
Code gets the status code for the get skus identifier default response
func (*GetSkusIdentifierDefault) Error ¶
func (o *GetSkusIdentifierDefault) Error() string
type GetSkusIdentifierNodesDefault ¶
type GetSkusIdentifierNodesDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetSkusIdentifierNodesDefault handles this case with default header values.
Unexpected error
func NewGetSkusIdentifierNodesDefault ¶
func NewGetSkusIdentifierNodesDefault(code int) *GetSkusIdentifierNodesDefault
NewGetSkusIdentifierNodesDefault creates a GetSkusIdentifierNodesDefault with default headers values
func (*GetSkusIdentifierNodesDefault) Code ¶
func (o *GetSkusIdentifierNodesDefault) Code() int
Code gets the status code for the get skus identifier nodes default response
func (*GetSkusIdentifierNodesDefault) Error ¶
func (o *GetSkusIdentifierNodesDefault) Error() string
type GetSkusIdentifierNodesNotFound ¶
GetSkusIdentifierNodesNotFound handles this case with default header values.
There is no sku with identifier.
func NewGetSkusIdentifierNodesNotFound ¶
func NewGetSkusIdentifierNodesNotFound() *GetSkusIdentifierNodesNotFound
NewGetSkusIdentifierNodesNotFound creates a GetSkusIdentifierNodesNotFound with default headers values
func (*GetSkusIdentifierNodesNotFound) Error ¶
func (o *GetSkusIdentifierNodesNotFound) Error() string
type GetSkusIdentifierNodesOK ¶
type GetSkusIdentifierNodesOK struct {
Payload []interface{}
}
GetSkusIdentifierNodesOK handles this case with default header values.
return nodes associated with that sku
func NewGetSkusIdentifierNodesOK ¶
func NewGetSkusIdentifierNodesOK() *GetSkusIdentifierNodesOK
NewGetSkusIdentifierNodesOK creates a GetSkusIdentifierNodesOK with default headers values
func (*GetSkusIdentifierNodesOK) Error ¶
func (o *GetSkusIdentifierNodesOK) Error() string
type GetSkusIdentifierNodesParams ¶
type GetSkusIdentifierNodesParams struct { /*Identifier The profile name. */ Identifier string }
GetSkusIdentifierNodesParams contains all the parameters to send to the API endpoint for the get skus identifier nodes operation typically these are written to a http.Request
func NewGetSkusIdentifierNodesParams ¶
func NewGetSkusIdentifierNodesParams() *GetSkusIdentifierNodesParams
NewGetSkusIdentifierNodesParams creates a new GetSkusIdentifierNodesParams object with the default values initialized.
func (*GetSkusIdentifierNodesParams) WithIdentifier ¶
func (o *GetSkusIdentifierNodesParams) WithIdentifier(Identifier string) *GetSkusIdentifierNodesParams
WithIdentifier adds the identifier to the get skus identifier nodes params
func (*GetSkusIdentifierNodesParams) WriteToRequest ¶
func (o *GetSkusIdentifierNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSkusIdentifierNodesReader ¶
type GetSkusIdentifierNodesReader struct {
// contains filtered or unexported fields
}
GetSkusIdentifierNodesReader is a Reader for the GetSkusIdentifierNodes structure.
func (*GetSkusIdentifierNodesReader) ReadResponse ¶
func (o *GetSkusIdentifierNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetSkusIdentifierNotFound ¶
GetSkusIdentifierNotFound handles this case with default header values.
There is no sku with identifier.
func NewGetSkusIdentifierNotFound ¶
func NewGetSkusIdentifierNotFound() *GetSkusIdentifierNotFound
NewGetSkusIdentifierNotFound creates a GetSkusIdentifierNotFound with default headers values
func (*GetSkusIdentifierNotFound) Error ¶
func (o *GetSkusIdentifierNotFound) Error() string
type GetSkusIdentifierOK ¶
type GetSkusIdentifierOK struct {
Payload GetSkusIdentifierOKBodyBody
}
GetSkusIdentifierOK handles this case with default header values.
return sku
func NewGetSkusIdentifierOK ¶
func NewGetSkusIdentifierOK() *GetSkusIdentifierOK
NewGetSkusIdentifierOK creates a GetSkusIdentifierOK with default headers values
func (*GetSkusIdentifierOK) Error ¶
func (o *GetSkusIdentifierOK) Error() string
type GetSkusIdentifierOKBodyBody ¶
type GetSkusIdentifierOKBodyBody interface{}
GetSkusIdentifierOKBodyBody get skus identifier o k body body
swagger:model GetSkusIdentifierOKBodyBody
type GetSkusIdentifierParams ¶
type GetSkusIdentifierParams struct { /*Identifier objectid of sku */ Identifier string }
GetSkusIdentifierParams contains all the parameters to send to the API endpoint for the get skus identifier operation typically these are written to a http.Request
func NewGetSkusIdentifierParams ¶
func NewGetSkusIdentifierParams() *GetSkusIdentifierParams
NewGetSkusIdentifierParams creates a new GetSkusIdentifierParams object with the default values initialized.
func (*GetSkusIdentifierParams) WithIdentifier ¶
func (o *GetSkusIdentifierParams) WithIdentifier(Identifier string) *GetSkusIdentifierParams
WithIdentifier adds the identifier to the get skus identifier params
func (*GetSkusIdentifierParams) WriteToRequest ¶
func (o *GetSkusIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSkusIdentifierReader ¶
type GetSkusIdentifierReader struct {
// contains filtered or unexported fields
}
GetSkusIdentifierReader is a Reader for the GetSkusIdentifier structure.
func (*GetSkusIdentifierReader) ReadResponse ¶
func (o *GetSkusIdentifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetSkusOK ¶
type GetSkusOK struct {
Payload []interface{}
}
GetSkusOK handles this case with default header values.
list of skus
func NewGetSkusOK ¶
func NewGetSkusOK() *GetSkusOK
NewGetSkusOK creates a GetSkusOK with default headers values
type GetSkusParams ¶
type GetSkusParams struct { }
GetSkusParams contains all the parameters to send to the API endpoint for the get skus operation typically these are written to a http.Request
func NewGetSkusParams ¶
func NewGetSkusParams() *GetSkusParams
NewGetSkusParams creates a new GetSkusParams object with the default values initialized.
func (*GetSkusParams) WriteToRequest ¶
func (o *GetSkusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSkusReader ¶
type GetSkusReader struct {
// contains filtered or unexported fields
}
GetSkusReader is a Reader for the GetSkus structure.
func (*GetSkusReader) ReadResponse ¶
func (o *GetSkusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PatchSkusIdentifierDefault ¶
type PatchSkusIdentifierDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchSkusIdentifierDefault handles this case with default header values.
Unexpected error
func NewPatchSkusIdentifierDefault ¶
func NewPatchSkusIdentifierDefault(code int) *PatchSkusIdentifierDefault
NewPatchSkusIdentifierDefault creates a PatchSkusIdentifierDefault with default headers values
func (*PatchSkusIdentifierDefault) Code ¶
func (o *PatchSkusIdentifierDefault) Code() int
Code gets the status code for the patch skus identifier default response
func (*PatchSkusIdentifierDefault) Error ¶
func (o *PatchSkusIdentifierDefault) Error() string
type PatchSkusIdentifierInternalServerError ¶
PatchSkusIdentifierInternalServerError handles this case with default header values.
Patch failed.
func NewPatchSkusIdentifierInternalServerError ¶
func NewPatchSkusIdentifierInternalServerError() *PatchSkusIdentifierInternalServerError
NewPatchSkusIdentifierInternalServerError creates a PatchSkusIdentifierInternalServerError with default headers values
func (*PatchSkusIdentifierInternalServerError) Error ¶
func (o *PatchSkusIdentifierInternalServerError) Error() string
type PatchSkusIdentifierNotFound ¶
PatchSkusIdentifierNotFound handles this case with default header values.
Not found, no sku with identifier.
func NewPatchSkusIdentifierNotFound ¶
func NewPatchSkusIdentifierNotFound() *PatchSkusIdentifierNotFound
NewPatchSkusIdentifierNotFound creates a PatchSkusIdentifierNotFound with default headers values
func (*PatchSkusIdentifierNotFound) Error ¶
func (o *PatchSkusIdentifierNotFound) Error() string
type PatchSkusIdentifierOK ¶
type PatchSkusIdentifierOK struct {
Payload PatchSkusIdentifierOKBodyBody
}
PatchSkusIdentifierOK handles this case with default header values.
sku to patch
func NewPatchSkusIdentifierOK ¶
func NewPatchSkusIdentifierOK() *PatchSkusIdentifierOK
NewPatchSkusIdentifierOK creates a PatchSkusIdentifierOK with default headers values
func (*PatchSkusIdentifierOK) Error ¶
func (o *PatchSkusIdentifierOK) Error() string
type PatchSkusIdentifierOKBodyBody ¶
type PatchSkusIdentifierOKBodyBody interface{}
PatchSkusIdentifierOKBodyBody patch skus identifier o k body body
swagger:model PatchSkusIdentifierOKBodyBody
type PatchSkusIdentifierParams ¶
type PatchSkusIdentifierParams struct { /*Identifier The profile name. */ Identifier string }
PatchSkusIdentifierParams contains all the parameters to send to the API endpoint for the patch skus identifier operation typically these are written to a http.Request
func NewPatchSkusIdentifierParams ¶
func NewPatchSkusIdentifierParams() *PatchSkusIdentifierParams
NewPatchSkusIdentifierParams creates a new PatchSkusIdentifierParams object with the default values initialized.
func (*PatchSkusIdentifierParams) WithIdentifier ¶
func (o *PatchSkusIdentifierParams) WithIdentifier(Identifier string) *PatchSkusIdentifierParams
WithIdentifier adds the identifier to the patch skus identifier params
func (*PatchSkusIdentifierParams) WriteToRequest ¶
func (o *PatchSkusIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchSkusIdentifierReader ¶
type PatchSkusIdentifierReader struct {
// contains filtered or unexported fields
}
PatchSkusIdentifierReader is a Reader for the PatchSkusIdentifier structure.
func (*PatchSkusIdentifierReader) ReadResponse ¶
func (o *PatchSkusIdentifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostSkusDefault ¶
PostSkusDefault handles this case with default header values.
Unexpected error
func NewPostSkusDefault ¶
func NewPostSkusDefault(code int) *PostSkusDefault
NewPostSkusDefault creates a PostSkusDefault with default headers values
func (*PostSkusDefault) Code ¶
func (o *PostSkusDefault) Code() int
Code gets the status code for the post skus default response
func (*PostSkusDefault) Error ¶
func (o *PostSkusDefault) Error() string
type PostSkusInternalServerError ¶
PostSkusInternalServerError handles this case with default header values.
Upload failed.
func NewPostSkusInternalServerError ¶
func NewPostSkusInternalServerError() *PostSkusInternalServerError
NewPostSkusInternalServerError creates a PostSkusInternalServerError with default headers values
func (*PostSkusInternalServerError) Error ¶
func (o *PostSkusInternalServerError) Error() string
type PostSkusOK ¶
type PostSkusOK struct {
Payload PostSkusOKBodyBody
}
PostSkusOK handles this case with default header values.
sku to create
func NewPostSkusOK ¶
func NewPostSkusOK() *PostSkusOK
NewPostSkusOK creates a PostSkusOK with default headers values
func (*PostSkusOK) Error ¶
func (o *PostSkusOK) Error() string
type PostSkusOKBodyBody ¶
type PostSkusOKBodyBody interface{}
PostSkusOKBodyBody post skus o k body body
swagger:model PostSkusOKBodyBody
type PostSkusParams ¶
type PostSkusParams struct { }
PostSkusParams contains all the parameters to send to the API endpoint for the post skus operation typically these are written to a http.Request
func NewPostSkusParams ¶
func NewPostSkusParams() *PostSkusParams
NewPostSkusParams creates a new PostSkusParams object with the default values initialized.
func (*PostSkusParams) WriteToRequest ¶
func (o *PostSkusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSkusReader ¶
type PostSkusReader struct {
// contains filtered or unexported fields
}
PostSkusReader is a Reader for the PostSkus structure.
func (*PostSkusReader) ReadResponse ¶
func (o *PostSkusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files ¶
- get_skus_identifier_nodes_parameters.go
- get_skus_identifier_nodes_responses.go
- get_skus_identifier_parameters.go
- get_skus_identifier_responses.go
- get_skus_parameters.go
- get_skus_responses.go
- patch_skus_identifier_parameters.go
- patch_skus_identifier_responses.go
- post_skus_parameters.go
- post_skus_responses.go
- skus_client.go