skus

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 6 Imported by: 6

Documentation

Index

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

type GetSkusDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

Code gets the status code for the get skus identifier nodes default response

func (*GetSkusIdentifierNodesDefault) Error

type GetSkusIdentifierNodesNotFound

type GetSkusIdentifierNodesNotFound struct {
	Payload *models.Error
}

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

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

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

type GetSkusIdentifierNotFound struct {
	Payload *models.Error
}

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

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

func (*GetSkusOK) Error

func (o *GetSkusOK) Error() string

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

type PatchSkusIdentifierInternalServerError

type PatchSkusIdentifierInternalServerError struct {
	Payload *models.Error
}

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

type PatchSkusIdentifierNotFound

type PatchSkusIdentifierNotFound struct {
	Payload *models.Error
}

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

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

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

type PostSkusDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

type PostSkusInternalServerError struct {
	Payload *models.Error
}

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL