profiles

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: 3

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 profiles API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new profiles API client.

func (*Client) DeleteSkusIdentifier

DeleteSkusIdentifier deletes specific sku

Delete specific sku.

func (*Client) GetProfilesLibrary

func (a *Client) GetProfilesLibrary(params *GetProfilesLibraryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfilesLibraryOK, error)

GetProfilesLibrary gets list of possible profiles

get list of possible profiles

func (*Client) GetProfilesLibraryIdentifier

func (a *Client) GetProfilesLibraryIdentifier(params *GetProfilesLibraryIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfilesLibraryIdentifierOK, error)

GetProfilesLibraryIdentifier gets a single profile

get a single profile

func (*Client) PutProfilesLibraryIdentifier

func (a *Client) PutProfilesLibraryIdentifier(params *PutProfilesLibraryIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PutProfilesLibraryIdentifierOK, error)

PutProfilesLibraryIdentifier puts a single profile

put a single profile

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type DeleteSkusIdentifierDefault

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

DeleteSkusIdentifierDefault handles this case with default header values.

Unexpected error

func NewDeleteSkusIdentifierDefault

func NewDeleteSkusIdentifierDefault(code int) *DeleteSkusIdentifierDefault

NewDeleteSkusIdentifierDefault creates a DeleteSkusIdentifierDefault with default headers values

func (*DeleteSkusIdentifierDefault) Code

func (o *DeleteSkusIdentifierDefault) Code() int

Code gets the status code for the delete skus identifier default response

func (*DeleteSkusIdentifierDefault) Error

type DeleteSkusIdentifierNoContent

type DeleteSkusIdentifierNoContent struct {
	Payload DeleteSkusIdentifierNoContentBodyBody
}

DeleteSkusIdentifierNoContent handles this case with default header values.

return all skus

func NewDeleteSkusIdentifierNoContent

func NewDeleteSkusIdentifierNoContent() *DeleteSkusIdentifierNoContent

NewDeleteSkusIdentifierNoContent creates a DeleteSkusIdentifierNoContent with default headers values

func (*DeleteSkusIdentifierNoContent) Error

type DeleteSkusIdentifierNoContentBodyBody

type DeleteSkusIdentifierNoContentBodyBody interface{}

DeleteSkusIdentifierNoContentBodyBody delete skus identifier no content body body

swagger:model DeleteSkusIdentifierNoContentBodyBody

type DeleteSkusIdentifierNotFound

type DeleteSkusIdentifierNotFound struct {
	Payload *models.Error
}

DeleteSkusIdentifierNotFound handles this case with default header values.

sku with identifier not found, failed.

func NewDeleteSkusIdentifierNotFound

func NewDeleteSkusIdentifierNotFound() *DeleteSkusIdentifierNotFound

NewDeleteSkusIdentifierNotFound creates a DeleteSkusIdentifierNotFound with default headers values

func (*DeleteSkusIdentifierNotFound) Error

type DeleteSkusIdentifierParams

type DeleteSkusIdentifierParams struct {

	/*Identifier
	  The sku objectid.


	*/
	Identifier string
}

DeleteSkusIdentifierParams contains all the parameters to send to the API endpoint for the delete skus identifier operation typically these are written to a http.Request

func NewDeleteSkusIdentifierParams

func NewDeleteSkusIdentifierParams() *DeleteSkusIdentifierParams

NewDeleteSkusIdentifierParams creates a new DeleteSkusIdentifierParams object with the default values initialized.

func (*DeleteSkusIdentifierParams) WithIdentifier

func (o *DeleteSkusIdentifierParams) WithIdentifier(Identifier string) *DeleteSkusIdentifierParams

WithIdentifier adds the identifier to the delete skus identifier params

func (*DeleteSkusIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSkusIdentifierReader

type DeleteSkusIdentifierReader struct {
	// contains filtered or unexported fields
}

DeleteSkusIdentifierReader is a Reader for the DeleteSkusIdentifier structure.

func (*DeleteSkusIdentifierReader) ReadResponse

func (o *DeleteSkusIdentifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetProfilesLibraryDefault

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

GetProfilesLibraryDefault handles this case with default header values.

Unexpected error

func NewGetProfilesLibraryDefault

func NewGetProfilesLibraryDefault(code int) *GetProfilesLibraryDefault

NewGetProfilesLibraryDefault creates a GetProfilesLibraryDefault with default headers values

func (*GetProfilesLibraryDefault) Code

func (o *GetProfilesLibraryDefault) Code() int

Code gets the status code for the get profiles library default response

func (*GetProfilesLibraryDefault) Error

func (o *GetProfilesLibraryDefault) Error() string

type GetProfilesLibraryIdentifierDefault

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

GetProfilesLibraryIdentifierDefault handles this case with default header values.

Unexpected error

func NewGetProfilesLibraryIdentifierDefault

func NewGetProfilesLibraryIdentifierDefault(code int) *GetProfilesLibraryIdentifierDefault

NewGetProfilesLibraryIdentifierDefault creates a GetProfilesLibraryIdentifierDefault with default headers values

func (*GetProfilesLibraryIdentifierDefault) Code

Code gets the status code for the get profiles library identifier default response

func (*GetProfilesLibraryIdentifierDefault) Error

type GetProfilesLibraryIdentifierNotFound

type GetProfilesLibraryIdentifierNotFound struct {
	Payload *models.Error
}

GetProfilesLibraryIdentifierNotFound handles this case with default header values.

There is no profile in the library with identifier.

func NewGetProfilesLibraryIdentifierNotFound

func NewGetProfilesLibraryIdentifierNotFound() *GetProfilesLibraryIdentifierNotFound

NewGetProfilesLibraryIdentifierNotFound creates a GetProfilesLibraryIdentifierNotFound with default headers values

func (*GetProfilesLibraryIdentifierNotFound) Error

type GetProfilesLibraryIdentifierOK

type GetProfilesLibraryIdentifierOK struct {
	Payload GetProfilesLibraryIdentifierOKBodyBody
}

GetProfilesLibraryIdentifierOK handles this case with default header values.

return profile

func NewGetProfilesLibraryIdentifierOK

func NewGetProfilesLibraryIdentifierOK() *GetProfilesLibraryIdentifierOK

NewGetProfilesLibraryIdentifierOK creates a GetProfilesLibraryIdentifierOK with default headers values

func (*GetProfilesLibraryIdentifierOK) Error

type GetProfilesLibraryIdentifierOKBodyBody

type GetProfilesLibraryIdentifierOKBodyBody interface{}

GetProfilesLibraryIdentifierOKBodyBody get profiles library identifier o k body body

swagger:model GetProfilesLibraryIdentifierOKBodyBody

type GetProfilesLibraryIdentifierParams

type GetProfilesLibraryIdentifierParams struct {

	/*Identifier
	  The profile name.


	*/
	Identifier string
}

GetProfilesLibraryIdentifierParams contains all the parameters to send to the API endpoint for the get profiles library identifier operation typically these are written to a http.Request

func NewGetProfilesLibraryIdentifierParams

func NewGetProfilesLibraryIdentifierParams() *GetProfilesLibraryIdentifierParams

NewGetProfilesLibraryIdentifierParams creates a new GetProfilesLibraryIdentifierParams object with the default values initialized.

func (*GetProfilesLibraryIdentifierParams) WithIdentifier

WithIdentifier adds the identifier to the get profiles library identifier params

func (*GetProfilesLibraryIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProfilesLibraryIdentifierReader

type GetProfilesLibraryIdentifierReader struct {
	// contains filtered or unexported fields
}

GetProfilesLibraryIdentifierReader is a Reader for the GetProfilesLibraryIdentifier structure.

func (*GetProfilesLibraryIdentifierReader) ReadResponse

func (o *GetProfilesLibraryIdentifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetProfilesLibraryOK

type GetProfilesLibraryOK struct {
	Payload []interface{}
}

GetProfilesLibraryOK handles this case with default header values.

list of possible profiles

func NewGetProfilesLibraryOK

func NewGetProfilesLibraryOK() *GetProfilesLibraryOK

NewGetProfilesLibraryOK creates a GetProfilesLibraryOK with default headers values

func (*GetProfilesLibraryOK) Error

func (o *GetProfilesLibraryOK) Error() string

type GetProfilesLibraryParams

type GetProfilesLibraryParams struct {
}

GetProfilesLibraryParams contains all the parameters to send to the API endpoint for the get profiles library operation typically these are written to a http.Request

func NewGetProfilesLibraryParams

func NewGetProfilesLibraryParams() *GetProfilesLibraryParams

NewGetProfilesLibraryParams creates a new GetProfilesLibraryParams object with the default values initialized.

func (*GetProfilesLibraryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProfilesLibraryReader

type GetProfilesLibraryReader struct {
	// contains filtered or unexported fields
}

GetProfilesLibraryReader is a Reader for the GetProfilesLibrary structure.

func (*GetProfilesLibraryReader) ReadResponse

func (o *GetProfilesLibraryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PutProfilesLibraryIdentifierDefault

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

PutProfilesLibraryIdentifierDefault handles this case with default header values.

Unexpected error

func NewPutProfilesLibraryIdentifierDefault

func NewPutProfilesLibraryIdentifierDefault(code int) *PutProfilesLibraryIdentifierDefault

NewPutProfilesLibraryIdentifierDefault creates a PutProfilesLibraryIdentifierDefault with default headers values

func (*PutProfilesLibraryIdentifierDefault) Code

Code gets the status code for the put profiles library identifier default response

func (*PutProfilesLibraryIdentifierDefault) Error

type PutProfilesLibraryIdentifierInternalServerError

type PutProfilesLibraryIdentifierInternalServerError struct {
	Payload *models.Error
}

PutProfilesLibraryIdentifierInternalServerError handles this case with default header values.

Upload failed.

func NewPutProfilesLibraryIdentifierInternalServerError

func NewPutProfilesLibraryIdentifierInternalServerError() *PutProfilesLibraryIdentifierInternalServerError

NewPutProfilesLibraryIdentifierInternalServerError creates a PutProfilesLibraryIdentifierInternalServerError with default headers values

func (*PutProfilesLibraryIdentifierInternalServerError) Error

type PutProfilesLibraryIdentifierOK

type PutProfilesLibraryIdentifierOK struct {
	Payload PutProfilesLibraryIdentifierOKBodyBody
}

PutProfilesLibraryIdentifierOK handles this case with default header values.

profile to put

func NewPutProfilesLibraryIdentifierOK

func NewPutProfilesLibraryIdentifierOK() *PutProfilesLibraryIdentifierOK

NewPutProfilesLibraryIdentifierOK creates a PutProfilesLibraryIdentifierOK with default headers values

func (*PutProfilesLibraryIdentifierOK) Error

type PutProfilesLibraryIdentifierOKBodyBody

type PutProfilesLibraryIdentifierOKBodyBody interface{}

PutProfilesLibraryIdentifierOKBodyBody put profiles library identifier o k body body

swagger:model PutProfilesLibraryIdentifierOKBodyBody

type PutProfilesLibraryIdentifierParams

type PutProfilesLibraryIdentifierParams struct {

	/*Identifier
	  The profile name.


	*/
	Identifier string
}

PutProfilesLibraryIdentifierParams contains all the parameters to send to the API endpoint for the put profiles library identifier operation typically these are written to a http.Request

func NewPutProfilesLibraryIdentifierParams

func NewPutProfilesLibraryIdentifierParams() *PutProfilesLibraryIdentifierParams

NewPutProfilesLibraryIdentifierParams creates a new PutProfilesLibraryIdentifierParams object with the default values initialized.

func (*PutProfilesLibraryIdentifierParams) WithIdentifier

WithIdentifier adds the identifier to the put profiles library identifier params

func (*PutProfilesLibraryIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutProfilesLibraryIdentifierReader

type PutProfilesLibraryIdentifierReader struct {
	// contains filtered or unexported fields
}

PutProfilesLibraryIdentifierReader is a Reader for the PutProfilesLibraryIdentifier structure.

func (*PutProfilesLibraryIdentifierReader) ReadResponse

func (o *PutProfilesLibraryIdentifierReader) 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