Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteSkusIdentifier(params *DeleteSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSkusIdentifierNoContent, error)
- func (a *Client) GetProfilesLibrary(params *GetProfilesLibraryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfilesLibraryOK, error)
- func (a *Client) GetProfilesLibraryIdentifier(params *GetProfilesLibraryIdentifierParams, ...) (*GetProfilesLibraryIdentifierOK, error)
- func (a *Client) PutProfilesLibraryIdentifier(params *PutProfilesLibraryIdentifierParams, ...) (*PutProfilesLibraryIdentifierOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteSkusIdentifierDefault
- type DeleteSkusIdentifierNoContent
- type DeleteSkusIdentifierNoContentBodyBody
- type DeleteSkusIdentifierNotFound
- type DeleteSkusIdentifierParams
- type DeleteSkusIdentifierReader
- type GetProfilesLibraryDefault
- type GetProfilesLibraryIdentifierDefault
- type GetProfilesLibraryIdentifierNotFound
- type GetProfilesLibraryIdentifierOK
- type GetProfilesLibraryIdentifierOKBodyBody
- type GetProfilesLibraryIdentifierParams
- type GetProfilesLibraryIdentifierReader
- type GetProfilesLibraryOK
- type GetProfilesLibraryParams
- type GetProfilesLibraryReader
- type PutProfilesLibraryIdentifierDefault
- type PutProfilesLibraryIdentifierInternalServerError
- type PutProfilesLibraryIdentifierOK
- type PutProfilesLibraryIdentifierOKBodyBody
- type PutProfilesLibraryIdentifierParams
- type PutProfilesLibraryIdentifierReader
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 ¶
func (a *Client) DeleteSkusIdentifier(params *DeleteSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSkusIdentifierNoContent, error)
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 ¶
func (o *DeleteSkusIdentifierDefault) Error() string
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 ¶
func (o *DeleteSkusIdentifierNoContent) Error() string
type DeleteSkusIdentifierNoContentBodyBody ¶
type DeleteSkusIdentifierNoContentBodyBody interface{}
DeleteSkusIdentifierNoContentBodyBody delete skus identifier no content body body
swagger:model DeleteSkusIdentifierNoContentBodyBody
type DeleteSkusIdentifierNotFound ¶
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 ¶
func (o *DeleteSkusIdentifierNotFound) Error() string
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 ¶
func (o *DeleteSkusIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetProfilesLibraryIdentifierDefault) Code() int
Code gets the status code for the get profiles library identifier default response
func (*GetProfilesLibraryIdentifierDefault) Error ¶
func (o *GetProfilesLibraryIdentifierDefault) Error() string
type GetProfilesLibraryIdentifierNotFound ¶
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 ¶
func (o *GetProfilesLibraryIdentifierNotFound) Error() string
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 ¶
func (o *GetProfilesLibraryIdentifierOK) Error() string
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 ¶
func (o *GetProfilesLibraryIdentifierParams) WithIdentifier(Identifier string) *GetProfilesLibraryIdentifierParams
WithIdentifier adds the identifier to the get profiles library identifier params
func (*GetProfilesLibraryIdentifierParams) WriteToRequest ¶
func (o *GetProfilesLibraryIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetProfilesLibraryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutProfilesLibraryIdentifierDefault) Code() int
Code gets the status code for the put profiles library identifier default response
func (*PutProfilesLibraryIdentifierDefault) Error ¶
func (o *PutProfilesLibraryIdentifierDefault) Error() string
type PutProfilesLibraryIdentifierInternalServerError ¶
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 ¶
func (o *PutProfilesLibraryIdentifierInternalServerError) Error() string
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 ¶
func (o *PutProfilesLibraryIdentifierOK) Error() string
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 ¶
func (o *PutProfilesLibraryIdentifierParams) WithIdentifier(Identifier string) *PutProfilesLibraryIdentifierParams
WithIdentifier adds the identifier to the put profiles library identifier params
func (*PutProfilesLibraryIdentifierParams) WriteToRequest ¶
func (o *PutProfilesLibraryIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- delete_skus_identifier_parameters.go
- delete_skus_identifier_responses.go
- get_profiles_library_identifier_parameters.go
- get_profiles_library_identifier_responses.go
- get_profiles_library_parameters.go
- get_profiles_library_responses.go
- profiles_client.go
- put_profiles_library_identifier_parameters.go
- put_profiles_library_identifier_responses.go