color_collection

package
v0.0.0-...-09f9b81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllColorCollectionsBadRequest

type AllColorCollectionsBadRequest struct {
	Payload *models.Error
}
AllColorCollectionsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAllColorCollectionsBadRequest

func NewAllColorCollectionsBadRequest() *AllColorCollectionsBadRequest

NewAllColorCollectionsBadRequest creates a AllColorCollectionsBadRequest with default headers values

func (*AllColorCollectionsBadRequest) Error

func (*AllColorCollectionsBadRequest) GetPayload

func (o *AllColorCollectionsBadRequest) GetPayload() *models.Error

type AllColorCollectionsNotFound

type AllColorCollectionsNotFound struct {
	Payload *models.Error
}
AllColorCollectionsNotFound describes a response with status code 404, with default header values.

Not Found

func NewAllColorCollectionsNotFound

func NewAllColorCollectionsNotFound() *AllColorCollectionsNotFound

NewAllColorCollectionsNotFound creates a AllColorCollectionsNotFound with default headers values

func (*AllColorCollectionsNotFound) Error

func (*AllColorCollectionsNotFound) GetPayload

func (o *AllColorCollectionsNotFound) GetPayload() *models.Error

type AllColorCollectionsOK

type AllColorCollectionsOK struct {
	Payload []*models.ColorCollection
}
AllColorCollectionsOK describes a response with status code 200, with default header values.

ColorCollections

func NewAllColorCollectionsOK

func NewAllColorCollectionsOK() *AllColorCollectionsOK

NewAllColorCollectionsOK creates a AllColorCollectionsOK with default headers values

func (*AllColorCollectionsOK) Error

func (o *AllColorCollectionsOK) Error() string

func (*AllColorCollectionsOK) GetPayload

func (o *AllColorCollectionsOK) GetPayload() []*models.ColorCollection

type AllColorCollectionsParams

type AllColorCollectionsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllColorCollectionsParams contains all the parameters to send to the API endpoint

for the all color collections operation.

Typically these are written to a http.Request.

func NewAllColorCollectionsParams

func NewAllColorCollectionsParams() *AllColorCollectionsParams

NewAllColorCollectionsParams creates a new AllColorCollectionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAllColorCollectionsParamsWithContext

func NewAllColorCollectionsParamsWithContext(ctx context.Context) *AllColorCollectionsParams

NewAllColorCollectionsParamsWithContext creates a new AllColorCollectionsParams object with the ability to set a context for a request.

func NewAllColorCollectionsParamsWithHTTPClient

func NewAllColorCollectionsParamsWithHTTPClient(client *http.Client) *AllColorCollectionsParams

NewAllColorCollectionsParamsWithHTTPClient creates a new AllColorCollectionsParams object with the ability to set a custom HTTPClient for a request.

func NewAllColorCollectionsParamsWithTimeout

func NewAllColorCollectionsParamsWithTimeout(timeout time.Duration) *AllColorCollectionsParams

NewAllColorCollectionsParamsWithTimeout creates a new AllColorCollectionsParams object with the ability to set a timeout on a request.

func (*AllColorCollectionsParams) SetContext

func (o *AllColorCollectionsParams) SetContext(ctx context.Context)

SetContext adds the context to the all color collections params

func (*AllColorCollectionsParams) SetDefaults

func (o *AllColorCollectionsParams) SetDefaults()

SetDefaults hydrates default values in the all color collections params (not the query body).

All values with no default are reset to their zero value.

func (*AllColorCollectionsParams) SetFields

func (o *AllColorCollectionsParams) SetFields(fields *string)

SetFields adds the fields to the all color collections params

func (*AllColorCollectionsParams) SetHTTPClient

func (o *AllColorCollectionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all color collections params

func (*AllColorCollectionsParams) SetTimeout

func (o *AllColorCollectionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all color collections params

func (*AllColorCollectionsParams) WithContext

WithContext adds the context to the all color collections params

func (*AllColorCollectionsParams) WithDefaults

WithDefaults hydrates default values in the all color collections params (not the query body).

All values with no default are reset to their zero value.

func (*AllColorCollectionsParams) WithFields

WithFields adds the fields to the all color collections params

func (*AllColorCollectionsParams) WithHTTPClient

func (o *AllColorCollectionsParams) WithHTTPClient(client *http.Client) *AllColorCollectionsParams

WithHTTPClient adds the HTTPClient to the all color collections params

func (*AllColorCollectionsParams) WithTimeout

WithTimeout adds the timeout to the all color collections params

func (*AllColorCollectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllColorCollectionsReader

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

AllColorCollectionsReader is a Reader for the AllColorCollections structure.

func (*AllColorCollectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for color collection API

func (*Client) AllColorCollections

func (a *Client) AllColorCollections(params *AllColorCollectionsParams, opts ...ClientOption) (*AllColorCollectionsOK, error)
AllColorCollections gets all color collections

### Get an array of all existing Color Collections

Get a **single** color collection by id with [ColorCollection](#!/ColorCollection/color_collection)

Get all **standard** color collections with [ColorCollection](#!/ColorCollection/color_collections_standard)

Get all **custom** color collections with [ColorCollection](#!/ColorCollection/color_collections_custom)

**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) ColorCollection

func (a *Client) ColorCollection(params *ColorCollectionParams, opts ...ClientOption) (*ColorCollectionOK, error)
ColorCollection gets color collection by ID

### Get a Color Collection by ID

Use this to retrieve a specific Color Collection. Get a **single** color collection by id with [ColorCollection](#!/ColorCollection/color_collection)

Get all **standard** color collections with [ColorCollection](#!/ColorCollection/color_collections_standard)

Get all **custom** color collections with [ColorCollection](#!/ColorCollection/color_collections_custom)

**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) ColorCollectionsCustom

func (a *Client) ColorCollectionsCustom(params *ColorCollectionsCustomParams, opts ...ClientOption) (*ColorCollectionsCustomOK, error)
ColorCollectionsCustom gets all custom color collections

### Get an array of all existing **Custom** Color Collections

Get a **single** color collection by id with [ColorCollection](#!/ColorCollection/color_collection)

Get all **standard** color collections with [ColorCollection](#!/ColorCollection/color_collections_standard)

**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) ColorCollectionsStandard

func (a *Client) ColorCollectionsStandard(params *ColorCollectionsStandardParams, opts ...ClientOption) (*ColorCollectionsStandardOK, error)
ColorCollectionsStandard gets all standard color collections

### Get an array of all existing **Standard** Color Collections

Get a **single** color collection by id with [ColorCollection](#!/ColorCollection/color_collection)

Get all **custom** color collections with [ColorCollection](#!/ColorCollection/color_collections_custom)

**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) CreateColorCollection

func (a *Client) CreateColorCollection(params *CreateColorCollectionParams, opts ...ClientOption) (*CreateColorCollectionOK, error)
CreateColorCollection creates color collection

### Create a custom color collection with the specified information

Creates a new custom color collection object, returning the details, including the created id.

**Update** an existing color collection with [Update Color Collection](#!/ColorCollection/update_color_collection)

**Permanently delete** an existing custom color collection with [Delete Color Collection](#!/ColorCollection/delete_color_collection)

**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) DefaultColorCollection

func (a *Client) DefaultColorCollection(params *DefaultColorCollectionParams, opts ...ClientOption) (*DefaultColorCollectionOK, error)
DefaultColorCollection gets default color collection

### Get the default color collection

Use this to retrieve the default Color Collection.

Set the default color collection with [ColorCollection](#!/ColorCollection/set_default_color_collection)

func (*Client) DeleteColorCollection

DeleteColorCollection deletes color collection

### Delete a custom color collection by id

This operation permanently deletes the identified **Custom** color collection.

**Standard** color collections cannot be deleted

Because multiple color collections can have the same label, they must be deleted by ID, not name. **Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) SetDefaultColorCollection

func (a *Client) SetDefaultColorCollection(params *SetDefaultColorCollectionParams, opts ...ClientOption) (*SetDefaultColorCollectionOK, error)
SetDefaultColorCollection sets default color collection

### Set the global default Color Collection by ID

Returns the new specified default Color Collection object. **Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateColorCollection

func (a *Client) UpdateColorCollection(params *UpdateColorCollectionParams, opts ...ClientOption) (*UpdateColorCollectionOK, error)
UpdateColorCollection updates custom color collection

### Update a custom color collection by id.

**Note**: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return `Not Found` (404) errors.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllColorCollections(params *AllColorCollectionsParams, opts ...ClientOption) (*AllColorCollectionsOK, error)

	ColorCollection(params *ColorCollectionParams, opts ...ClientOption) (*ColorCollectionOK, error)

	ColorCollectionsCustom(params *ColorCollectionsCustomParams, opts ...ClientOption) (*ColorCollectionsCustomOK, error)

	ColorCollectionsStandard(params *ColorCollectionsStandardParams, opts ...ClientOption) (*ColorCollectionsStandardOK, error)

	CreateColorCollection(params *CreateColorCollectionParams, opts ...ClientOption) (*CreateColorCollectionOK, error)

	DefaultColorCollection(params *DefaultColorCollectionParams, opts ...ClientOption) (*DefaultColorCollectionOK, error)

	DeleteColorCollection(params *DeleteColorCollectionParams, opts ...ClientOption) (*DeleteColorCollectionOK, *DeleteColorCollectionNoContent, error)

	SetDefaultColorCollection(params *SetDefaultColorCollectionParams, opts ...ClientOption) (*SetDefaultColorCollectionOK, error)

	UpdateColorCollection(params *UpdateColorCollectionParams, opts ...ClientOption) (*UpdateColorCollectionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new color collection API client.

type ColorCollectionBadRequest

type ColorCollectionBadRequest struct {
	Payload *models.Error
}
ColorCollectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewColorCollectionBadRequest

func NewColorCollectionBadRequest() *ColorCollectionBadRequest

NewColorCollectionBadRequest creates a ColorCollectionBadRequest with default headers values

func (*ColorCollectionBadRequest) Error

func (o *ColorCollectionBadRequest) Error() string

func (*ColorCollectionBadRequest) GetPayload

func (o *ColorCollectionBadRequest) GetPayload() *models.Error

type ColorCollectionNotFound

type ColorCollectionNotFound struct {
	Payload *models.Error
}
ColorCollectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewColorCollectionNotFound

func NewColorCollectionNotFound() *ColorCollectionNotFound

NewColorCollectionNotFound creates a ColorCollectionNotFound with default headers values

func (*ColorCollectionNotFound) Error

func (o *ColorCollectionNotFound) Error() string

func (*ColorCollectionNotFound) GetPayload

func (o *ColorCollectionNotFound) GetPayload() *models.Error

type ColorCollectionOK

type ColorCollectionOK struct {
	Payload *models.ColorCollection
}
ColorCollectionOK describes a response with status code 200, with default header values.

ColorCollection

func NewColorCollectionOK

func NewColorCollectionOK() *ColorCollectionOK

NewColorCollectionOK creates a ColorCollectionOK with default headers values

func (*ColorCollectionOK) Error

func (o *ColorCollectionOK) Error() string

func (*ColorCollectionOK) GetPayload

func (o *ColorCollectionOK) GetPayload() *models.ColorCollection

type ColorCollectionParams

type ColorCollectionParams struct {

	/* CollectionID.

	   Id of Color Collection
	*/
	CollectionID string

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ColorCollectionParams contains all the parameters to send to the API endpoint

for the color collection operation.

Typically these are written to a http.Request.

func NewColorCollectionParams

func NewColorCollectionParams() *ColorCollectionParams

NewColorCollectionParams creates a new ColorCollectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewColorCollectionParamsWithContext

func NewColorCollectionParamsWithContext(ctx context.Context) *ColorCollectionParams

NewColorCollectionParamsWithContext creates a new ColorCollectionParams object with the ability to set a context for a request.

func NewColorCollectionParamsWithHTTPClient

func NewColorCollectionParamsWithHTTPClient(client *http.Client) *ColorCollectionParams

NewColorCollectionParamsWithHTTPClient creates a new ColorCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewColorCollectionParamsWithTimeout

func NewColorCollectionParamsWithTimeout(timeout time.Duration) *ColorCollectionParams

NewColorCollectionParamsWithTimeout creates a new ColorCollectionParams object with the ability to set a timeout on a request.

func (*ColorCollectionParams) SetCollectionID

func (o *ColorCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the color collection params

func (*ColorCollectionParams) SetContext

func (o *ColorCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the color collection params

func (*ColorCollectionParams) SetDefaults

func (o *ColorCollectionParams) SetDefaults()

SetDefaults hydrates default values in the color collection params (not the query body).

All values with no default are reset to their zero value.

func (*ColorCollectionParams) SetFields

func (o *ColorCollectionParams) SetFields(fields *string)

SetFields adds the fields to the color collection params

func (*ColorCollectionParams) SetHTTPClient

func (o *ColorCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the color collection params

func (*ColorCollectionParams) SetTimeout

func (o *ColorCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the color collection params

func (*ColorCollectionParams) WithCollectionID

func (o *ColorCollectionParams) WithCollectionID(collectionID string) *ColorCollectionParams

WithCollectionID adds the collectionID to the color collection params

func (*ColorCollectionParams) WithContext

WithContext adds the context to the color collection params

func (*ColorCollectionParams) WithDefaults

func (o *ColorCollectionParams) WithDefaults() *ColorCollectionParams

WithDefaults hydrates default values in the color collection params (not the query body).

All values with no default are reset to their zero value.

func (*ColorCollectionParams) WithFields

func (o *ColorCollectionParams) WithFields(fields *string) *ColorCollectionParams

WithFields adds the fields to the color collection params

func (*ColorCollectionParams) WithHTTPClient

func (o *ColorCollectionParams) WithHTTPClient(client *http.Client) *ColorCollectionParams

WithHTTPClient adds the HTTPClient to the color collection params

func (*ColorCollectionParams) WithTimeout

func (o *ColorCollectionParams) WithTimeout(timeout time.Duration) *ColorCollectionParams

WithTimeout adds the timeout to the color collection params

func (*ColorCollectionParams) WriteToRequest

func (o *ColorCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ColorCollectionReader

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

ColorCollectionReader is a Reader for the ColorCollection structure.

func (*ColorCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ColorCollectionsCustomBadRequest

type ColorCollectionsCustomBadRequest struct {
	Payload *models.Error
}
ColorCollectionsCustomBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewColorCollectionsCustomBadRequest

func NewColorCollectionsCustomBadRequest() *ColorCollectionsCustomBadRequest

NewColorCollectionsCustomBadRequest creates a ColorCollectionsCustomBadRequest with default headers values

func (*ColorCollectionsCustomBadRequest) Error

func (*ColorCollectionsCustomBadRequest) GetPayload

type ColorCollectionsCustomNotFound

type ColorCollectionsCustomNotFound struct {
	Payload *models.Error
}
ColorCollectionsCustomNotFound describes a response with status code 404, with default header values.

Not Found

func NewColorCollectionsCustomNotFound

func NewColorCollectionsCustomNotFound() *ColorCollectionsCustomNotFound

NewColorCollectionsCustomNotFound creates a ColorCollectionsCustomNotFound with default headers values

func (*ColorCollectionsCustomNotFound) Error

func (*ColorCollectionsCustomNotFound) GetPayload

func (o *ColorCollectionsCustomNotFound) GetPayload() *models.Error

type ColorCollectionsCustomOK

type ColorCollectionsCustomOK struct {
	Payload []*models.ColorCollection
}
ColorCollectionsCustomOK describes a response with status code 200, with default header values.

ColorCollections

func NewColorCollectionsCustomOK

func NewColorCollectionsCustomOK() *ColorCollectionsCustomOK

NewColorCollectionsCustomOK creates a ColorCollectionsCustomOK with default headers values

func (*ColorCollectionsCustomOK) Error

func (o *ColorCollectionsCustomOK) Error() string

func (*ColorCollectionsCustomOK) GetPayload

func (o *ColorCollectionsCustomOK) GetPayload() []*models.ColorCollection

type ColorCollectionsCustomParams

type ColorCollectionsCustomParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ColorCollectionsCustomParams contains all the parameters to send to the API endpoint

for the color collections custom operation.

Typically these are written to a http.Request.

func NewColorCollectionsCustomParams

func NewColorCollectionsCustomParams() *ColorCollectionsCustomParams

NewColorCollectionsCustomParams creates a new ColorCollectionsCustomParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewColorCollectionsCustomParamsWithContext

func NewColorCollectionsCustomParamsWithContext(ctx context.Context) *ColorCollectionsCustomParams

NewColorCollectionsCustomParamsWithContext creates a new ColorCollectionsCustomParams object with the ability to set a context for a request.

func NewColorCollectionsCustomParamsWithHTTPClient

func NewColorCollectionsCustomParamsWithHTTPClient(client *http.Client) *ColorCollectionsCustomParams

NewColorCollectionsCustomParamsWithHTTPClient creates a new ColorCollectionsCustomParams object with the ability to set a custom HTTPClient for a request.

func NewColorCollectionsCustomParamsWithTimeout

func NewColorCollectionsCustomParamsWithTimeout(timeout time.Duration) *ColorCollectionsCustomParams

NewColorCollectionsCustomParamsWithTimeout creates a new ColorCollectionsCustomParams object with the ability to set a timeout on a request.

func (*ColorCollectionsCustomParams) SetContext

func (o *ColorCollectionsCustomParams) SetContext(ctx context.Context)

SetContext adds the context to the color collections custom params

func (*ColorCollectionsCustomParams) SetDefaults

func (o *ColorCollectionsCustomParams) SetDefaults()

SetDefaults hydrates default values in the color collections custom params (not the query body).

All values with no default are reset to their zero value.

func (*ColorCollectionsCustomParams) SetFields

func (o *ColorCollectionsCustomParams) SetFields(fields *string)

SetFields adds the fields to the color collections custom params

func (*ColorCollectionsCustomParams) SetHTTPClient

func (o *ColorCollectionsCustomParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the color collections custom params

func (*ColorCollectionsCustomParams) SetTimeout

func (o *ColorCollectionsCustomParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the color collections custom params

func (*ColorCollectionsCustomParams) WithContext

WithContext adds the context to the color collections custom params

func (*ColorCollectionsCustomParams) WithDefaults

WithDefaults hydrates default values in the color collections custom params (not the query body).

All values with no default are reset to their zero value.

func (*ColorCollectionsCustomParams) WithFields

WithFields adds the fields to the color collections custom params

func (*ColorCollectionsCustomParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the color collections custom params

func (*ColorCollectionsCustomParams) WithTimeout

WithTimeout adds the timeout to the color collections custom params

func (*ColorCollectionsCustomParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ColorCollectionsCustomReader

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

ColorCollectionsCustomReader is a Reader for the ColorCollectionsCustom structure.

func (*ColorCollectionsCustomReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ColorCollectionsStandardBadRequest

type ColorCollectionsStandardBadRequest struct {
	Payload *models.Error
}
ColorCollectionsStandardBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewColorCollectionsStandardBadRequest

func NewColorCollectionsStandardBadRequest() *ColorCollectionsStandardBadRequest

NewColorCollectionsStandardBadRequest creates a ColorCollectionsStandardBadRequest with default headers values

func (*ColorCollectionsStandardBadRequest) Error

func (*ColorCollectionsStandardBadRequest) GetPayload

type ColorCollectionsStandardNotFound

type ColorCollectionsStandardNotFound struct {
	Payload *models.Error
}
ColorCollectionsStandardNotFound describes a response with status code 404, with default header values.

Not Found

func NewColorCollectionsStandardNotFound

func NewColorCollectionsStandardNotFound() *ColorCollectionsStandardNotFound

NewColorCollectionsStandardNotFound creates a ColorCollectionsStandardNotFound with default headers values

func (*ColorCollectionsStandardNotFound) Error

func (*ColorCollectionsStandardNotFound) GetPayload

type ColorCollectionsStandardOK

type ColorCollectionsStandardOK struct {
	Payload []*models.ColorCollection
}
ColorCollectionsStandardOK describes a response with status code 200, with default header values.

ColorCollections

func NewColorCollectionsStandardOK

func NewColorCollectionsStandardOK() *ColorCollectionsStandardOK

NewColorCollectionsStandardOK creates a ColorCollectionsStandardOK with default headers values

func (*ColorCollectionsStandardOK) Error

func (*ColorCollectionsStandardOK) GetPayload

type ColorCollectionsStandardParams

type ColorCollectionsStandardParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ColorCollectionsStandardParams contains all the parameters to send to the API endpoint

for the color collections standard operation.

Typically these are written to a http.Request.

func NewColorCollectionsStandardParams

func NewColorCollectionsStandardParams() *ColorCollectionsStandardParams

NewColorCollectionsStandardParams creates a new ColorCollectionsStandardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewColorCollectionsStandardParamsWithContext

func NewColorCollectionsStandardParamsWithContext(ctx context.Context) *ColorCollectionsStandardParams

NewColorCollectionsStandardParamsWithContext creates a new ColorCollectionsStandardParams object with the ability to set a context for a request.

func NewColorCollectionsStandardParamsWithHTTPClient

func NewColorCollectionsStandardParamsWithHTTPClient(client *http.Client) *ColorCollectionsStandardParams

NewColorCollectionsStandardParamsWithHTTPClient creates a new ColorCollectionsStandardParams object with the ability to set a custom HTTPClient for a request.

func NewColorCollectionsStandardParamsWithTimeout

func NewColorCollectionsStandardParamsWithTimeout(timeout time.Duration) *ColorCollectionsStandardParams

NewColorCollectionsStandardParamsWithTimeout creates a new ColorCollectionsStandardParams object with the ability to set a timeout on a request.

func (*ColorCollectionsStandardParams) SetContext

func (o *ColorCollectionsStandardParams) SetContext(ctx context.Context)

SetContext adds the context to the color collections standard params

func (*ColorCollectionsStandardParams) SetDefaults

func (o *ColorCollectionsStandardParams) SetDefaults()

SetDefaults hydrates default values in the color collections standard params (not the query body).

All values with no default are reset to their zero value.

func (*ColorCollectionsStandardParams) SetFields

func (o *ColorCollectionsStandardParams) SetFields(fields *string)

SetFields adds the fields to the color collections standard params

func (*ColorCollectionsStandardParams) SetHTTPClient

func (o *ColorCollectionsStandardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the color collections standard params

func (*ColorCollectionsStandardParams) SetTimeout

func (o *ColorCollectionsStandardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the color collections standard params

func (*ColorCollectionsStandardParams) WithContext

WithContext adds the context to the color collections standard params

func (*ColorCollectionsStandardParams) WithDefaults

WithDefaults hydrates default values in the color collections standard params (not the query body).

All values with no default are reset to their zero value.

func (*ColorCollectionsStandardParams) WithFields

WithFields adds the fields to the color collections standard params

func (*ColorCollectionsStandardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the color collections standard params

func (*ColorCollectionsStandardParams) WithTimeout

WithTimeout adds the timeout to the color collections standard params

func (*ColorCollectionsStandardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ColorCollectionsStandardReader

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

ColorCollectionsStandardReader is a Reader for the ColorCollectionsStandard structure.

func (*ColorCollectionsStandardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateColorCollectionBadRequest

type CreateColorCollectionBadRequest struct {
	Payload *models.Error
}
CreateColorCollectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateColorCollectionBadRequest

func NewCreateColorCollectionBadRequest() *CreateColorCollectionBadRequest

NewCreateColorCollectionBadRequest creates a CreateColorCollectionBadRequest with default headers values

func (*CreateColorCollectionBadRequest) Error

func (*CreateColorCollectionBadRequest) GetPayload

func (o *CreateColorCollectionBadRequest) GetPayload() *models.Error

type CreateColorCollectionConflict

type CreateColorCollectionConflict struct {
	Payload *models.Error
}
CreateColorCollectionConflict describes a response with status code 409, with default header values.

Resource Already Exists

func NewCreateColorCollectionConflict

func NewCreateColorCollectionConflict() *CreateColorCollectionConflict

NewCreateColorCollectionConflict creates a CreateColorCollectionConflict with default headers values

func (*CreateColorCollectionConflict) Error

func (*CreateColorCollectionConflict) GetPayload

func (o *CreateColorCollectionConflict) GetPayload() *models.Error

type CreateColorCollectionForbidden

type CreateColorCollectionForbidden struct {
	Payload *models.Error
}
CreateColorCollectionForbidden describes a response with status code 403, with default header values.

Permission Denied

func NewCreateColorCollectionForbidden

func NewCreateColorCollectionForbidden() *CreateColorCollectionForbidden

NewCreateColorCollectionForbidden creates a CreateColorCollectionForbidden with default headers values

func (*CreateColorCollectionForbidden) Error

func (*CreateColorCollectionForbidden) GetPayload

func (o *CreateColorCollectionForbidden) GetPayload() *models.Error

type CreateColorCollectionNotFound

type CreateColorCollectionNotFound struct {
	Payload *models.Error
}
CreateColorCollectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateColorCollectionNotFound

func NewCreateColorCollectionNotFound() *CreateColorCollectionNotFound

NewCreateColorCollectionNotFound creates a CreateColorCollectionNotFound with default headers values

func (*CreateColorCollectionNotFound) Error

func (*CreateColorCollectionNotFound) GetPayload

func (o *CreateColorCollectionNotFound) GetPayload() *models.Error

type CreateColorCollectionOK

type CreateColorCollectionOK struct {
	Payload *models.ColorCollection
}
CreateColorCollectionOK describes a response with status code 200, with default header values.

ColorCollection

func NewCreateColorCollectionOK

func NewCreateColorCollectionOK() *CreateColorCollectionOK

NewCreateColorCollectionOK creates a CreateColorCollectionOK with default headers values

func (*CreateColorCollectionOK) Error

func (o *CreateColorCollectionOK) Error() string

func (*CreateColorCollectionOK) GetPayload

type CreateColorCollectionParams

type CreateColorCollectionParams struct {

	/* Body.

	   ColorCollection
	*/
	Body *models.ColorCollection

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateColorCollectionParams contains all the parameters to send to the API endpoint

for the create color collection operation.

Typically these are written to a http.Request.

func NewCreateColorCollectionParams

func NewCreateColorCollectionParams() *CreateColorCollectionParams

NewCreateColorCollectionParams creates a new CreateColorCollectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateColorCollectionParamsWithContext

func NewCreateColorCollectionParamsWithContext(ctx context.Context) *CreateColorCollectionParams

NewCreateColorCollectionParamsWithContext creates a new CreateColorCollectionParams object with the ability to set a context for a request.

func NewCreateColorCollectionParamsWithHTTPClient

func NewCreateColorCollectionParamsWithHTTPClient(client *http.Client) *CreateColorCollectionParams

NewCreateColorCollectionParamsWithHTTPClient creates a new CreateColorCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateColorCollectionParamsWithTimeout

func NewCreateColorCollectionParamsWithTimeout(timeout time.Duration) *CreateColorCollectionParams

NewCreateColorCollectionParamsWithTimeout creates a new CreateColorCollectionParams object with the ability to set a timeout on a request.

func (*CreateColorCollectionParams) SetBody

SetBody adds the body to the create color collection params

func (*CreateColorCollectionParams) SetContext

func (o *CreateColorCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the create color collection params

func (*CreateColorCollectionParams) SetDefaults

func (o *CreateColorCollectionParams) SetDefaults()

SetDefaults hydrates default values in the create color collection params (not the query body).

All values with no default are reset to their zero value.

func (*CreateColorCollectionParams) SetHTTPClient

func (o *CreateColorCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create color collection params

func (*CreateColorCollectionParams) SetTimeout

func (o *CreateColorCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create color collection params

func (*CreateColorCollectionParams) WithBody

WithBody adds the body to the create color collection params

func (*CreateColorCollectionParams) WithContext

WithContext adds the context to the create color collection params

func (*CreateColorCollectionParams) WithDefaults

WithDefaults hydrates default values in the create color collection params (not the query body).

All values with no default are reset to their zero value.

func (*CreateColorCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create color collection params

func (*CreateColorCollectionParams) WithTimeout

WithTimeout adds the timeout to the create color collection params

func (*CreateColorCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateColorCollectionReader

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

CreateColorCollectionReader is a Reader for the CreateColorCollection structure.

func (*CreateColorCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateColorCollectionTooManyRequests

type CreateColorCollectionTooManyRequests struct {
	Payload *models.Error
}
CreateColorCollectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateColorCollectionTooManyRequests

func NewCreateColorCollectionTooManyRequests() *CreateColorCollectionTooManyRequests

NewCreateColorCollectionTooManyRequests creates a CreateColorCollectionTooManyRequests with default headers values

func (*CreateColorCollectionTooManyRequests) Error

func (*CreateColorCollectionTooManyRequests) GetPayload

type CreateColorCollectionUnprocessableEntity

type CreateColorCollectionUnprocessableEntity struct {
	Payload *models.ValidationError
}
CreateColorCollectionUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewCreateColorCollectionUnprocessableEntity

func NewCreateColorCollectionUnprocessableEntity() *CreateColorCollectionUnprocessableEntity

NewCreateColorCollectionUnprocessableEntity creates a CreateColorCollectionUnprocessableEntity with default headers values

func (*CreateColorCollectionUnprocessableEntity) Error

func (*CreateColorCollectionUnprocessableEntity) GetPayload

type DefaultColorCollectionBadRequest

type DefaultColorCollectionBadRequest struct {
	Payload *models.Error
}
DefaultColorCollectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDefaultColorCollectionBadRequest

func NewDefaultColorCollectionBadRequest() *DefaultColorCollectionBadRequest

NewDefaultColorCollectionBadRequest creates a DefaultColorCollectionBadRequest with default headers values

func (*DefaultColorCollectionBadRequest) Error

func (*DefaultColorCollectionBadRequest) GetPayload

type DefaultColorCollectionNotFound

type DefaultColorCollectionNotFound struct {
	Payload *models.Error
}
DefaultColorCollectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewDefaultColorCollectionNotFound

func NewDefaultColorCollectionNotFound() *DefaultColorCollectionNotFound

NewDefaultColorCollectionNotFound creates a DefaultColorCollectionNotFound with default headers values

func (*DefaultColorCollectionNotFound) Error

func (*DefaultColorCollectionNotFound) GetPayload

func (o *DefaultColorCollectionNotFound) GetPayload() *models.Error

type DefaultColorCollectionOK

type DefaultColorCollectionOK struct {
	Payload *models.ColorCollection
}
DefaultColorCollectionOK describes a response with status code 200, with default header values.

ColorCollection

func NewDefaultColorCollectionOK

func NewDefaultColorCollectionOK() *DefaultColorCollectionOK

NewDefaultColorCollectionOK creates a DefaultColorCollectionOK with default headers values

func (*DefaultColorCollectionOK) Error

func (o *DefaultColorCollectionOK) Error() string

func (*DefaultColorCollectionOK) GetPayload

type DefaultColorCollectionParams

type DefaultColorCollectionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DefaultColorCollectionParams contains all the parameters to send to the API endpoint

for the default color collection operation.

Typically these are written to a http.Request.

func NewDefaultColorCollectionParams

func NewDefaultColorCollectionParams() *DefaultColorCollectionParams

NewDefaultColorCollectionParams creates a new DefaultColorCollectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDefaultColorCollectionParamsWithContext

func NewDefaultColorCollectionParamsWithContext(ctx context.Context) *DefaultColorCollectionParams

NewDefaultColorCollectionParamsWithContext creates a new DefaultColorCollectionParams object with the ability to set a context for a request.

func NewDefaultColorCollectionParamsWithHTTPClient

func NewDefaultColorCollectionParamsWithHTTPClient(client *http.Client) *DefaultColorCollectionParams

NewDefaultColorCollectionParamsWithHTTPClient creates a new DefaultColorCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewDefaultColorCollectionParamsWithTimeout

func NewDefaultColorCollectionParamsWithTimeout(timeout time.Duration) *DefaultColorCollectionParams

NewDefaultColorCollectionParamsWithTimeout creates a new DefaultColorCollectionParams object with the ability to set a timeout on a request.

func (*DefaultColorCollectionParams) SetContext

func (o *DefaultColorCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the default color collection params

func (*DefaultColorCollectionParams) SetDefaults

func (o *DefaultColorCollectionParams) SetDefaults()

SetDefaults hydrates default values in the default color collection params (not the query body).

All values with no default are reset to their zero value.

func (*DefaultColorCollectionParams) SetHTTPClient

func (o *DefaultColorCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the default color collection params

func (*DefaultColorCollectionParams) SetTimeout

func (o *DefaultColorCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the default color collection params

func (*DefaultColorCollectionParams) WithContext

WithContext adds the context to the default color collection params

func (*DefaultColorCollectionParams) WithDefaults

WithDefaults hydrates default values in the default color collection params (not the query body).

All values with no default are reset to their zero value.

func (*DefaultColorCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the default color collection params

func (*DefaultColorCollectionParams) WithTimeout

WithTimeout adds the timeout to the default color collection params

func (*DefaultColorCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DefaultColorCollectionReader

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

DefaultColorCollectionReader is a Reader for the DefaultColorCollection structure.

func (*DefaultColorCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteColorCollectionBadRequest

type DeleteColorCollectionBadRequest struct {
	Payload *models.Error
}
DeleteColorCollectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteColorCollectionBadRequest

func NewDeleteColorCollectionBadRequest() *DeleteColorCollectionBadRequest

NewDeleteColorCollectionBadRequest creates a DeleteColorCollectionBadRequest with default headers values

func (*DeleteColorCollectionBadRequest) Error

func (*DeleteColorCollectionBadRequest) GetPayload

func (o *DeleteColorCollectionBadRequest) GetPayload() *models.Error

type DeleteColorCollectionForbidden

type DeleteColorCollectionForbidden struct {
	Payload *models.Error
}
DeleteColorCollectionForbidden describes a response with status code 403, with default header values.

Permission Denied

func NewDeleteColorCollectionForbidden

func NewDeleteColorCollectionForbidden() *DeleteColorCollectionForbidden

NewDeleteColorCollectionForbidden creates a DeleteColorCollectionForbidden with default headers values

func (*DeleteColorCollectionForbidden) Error

func (*DeleteColorCollectionForbidden) GetPayload

func (o *DeleteColorCollectionForbidden) GetPayload() *models.Error

type DeleteColorCollectionNoContent

type DeleteColorCollectionNoContent struct {
	Payload string
}
DeleteColorCollectionNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteColorCollectionNoContent

func NewDeleteColorCollectionNoContent() *DeleteColorCollectionNoContent

NewDeleteColorCollectionNoContent creates a DeleteColorCollectionNoContent with default headers values

func (*DeleteColorCollectionNoContent) Error

func (*DeleteColorCollectionNoContent) GetPayload

func (o *DeleteColorCollectionNoContent) GetPayload() string

type DeleteColorCollectionNotFound

type DeleteColorCollectionNotFound struct {
	Payload *models.Error
}
DeleteColorCollectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteColorCollectionNotFound

func NewDeleteColorCollectionNotFound() *DeleteColorCollectionNotFound

NewDeleteColorCollectionNotFound creates a DeleteColorCollectionNotFound with default headers values

func (*DeleteColorCollectionNotFound) Error

func (*DeleteColorCollectionNotFound) GetPayload

func (o *DeleteColorCollectionNotFound) GetPayload() *models.Error

type DeleteColorCollectionOK

type DeleteColorCollectionOK struct {
}
DeleteColorCollectionOK describes a response with status code 200, with default header values.

Success

func NewDeleteColorCollectionOK

func NewDeleteColorCollectionOK() *DeleteColorCollectionOK

NewDeleteColorCollectionOK creates a DeleteColorCollectionOK with default headers values

func (*DeleteColorCollectionOK) Error

func (o *DeleteColorCollectionOK) Error() string

type DeleteColorCollectionParams

type DeleteColorCollectionParams struct {

	/* CollectionID.

	   Id of Color Collection
	*/
	CollectionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteColorCollectionParams contains all the parameters to send to the API endpoint

for the delete color collection operation.

Typically these are written to a http.Request.

func NewDeleteColorCollectionParams

func NewDeleteColorCollectionParams() *DeleteColorCollectionParams

NewDeleteColorCollectionParams creates a new DeleteColorCollectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteColorCollectionParamsWithContext

func NewDeleteColorCollectionParamsWithContext(ctx context.Context) *DeleteColorCollectionParams

NewDeleteColorCollectionParamsWithContext creates a new DeleteColorCollectionParams object with the ability to set a context for a request.

func NewDeleteColorCollectionParamsWithHTTPClient

func NewDeleteColorCollectionParamsWithHTTPClient(client *http.Client) *DeleteColorCollectionParams

NewDeleteColorCollectionParamsWithHTTPClient creates a new DeleteColorCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteColorCollectionParamsWithTimeout

func NewDeleteColorCollectionParamsWithTimeout(timeout time.Duration) *DeleteColorCollectionParams

NewDeleteColorCollectionParamsWithTimeout creates a new DeleteColorCollectionParams object with the ability to set a timeout on a request.

func (*DeleteColorCollectionParams) SetCollectionID

func (o *DeleteColorCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the delete color collection params

func (*DeleteColorCollectionParams) SetContext

func (o *DeleteColorCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the delete color collection params

func (*DeleteColorCollectionParams) SetDefaults

func (o *DeleteColorCollectionParams) SetDefaults()

SetDefaults hydrates default values in the delete color collection params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteColorCollectionParams) SetHTTPClient

func (o *DeleteColorCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete color collection params

func (*DeleteColorCollectionParams) SetTimeout

func (o *DeleteColorCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete color collection params

func (*DeleteColorCollectionParams) WithCollectionID

func (o *DeleteColorCollectionParams) WithCollectionID(collectionID string) *DeleteColorCollectionParams

WithCollectionID adds the collectionID to the delete color collection params

func (*DeleteColorCollectionParams) WithContext

WithContext adds the context to the delete color collection params

func (*DeleteColorCollectionParams) WithDefaults

WithDefaults hydrates default values in the delete color collection params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteColorCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete color collection params

func (*DeleteColorCollectionParams) WithTimeout

WithTimeout adds the timeout to the delete color collection params

func (*DeleteColorCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteColorCollectionReader

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

DeleteColorCollectionReader is a Reader for the DeleteColorCollection structure.

func (*DeleteColorCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteColorCollectionTooManyRequests

type DeleteColorCollectionTooManyRequests struct {
	Payload *models.Error
}
DeleteColorCollectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteColorCollectionTooManyRequests

func NewDeleteColorCollectionTooManyRequests() *DeleteColorCollectionTooManyRequests

NewDeleteColorCollectionTooManyRequests creates a DeleteColorCollectionTooManyRequests with default headers values

func (*DeleteColorCollectionTooManyRequests) Error

func (*DeleteColorCollectionTooManyRequests) GetPayload

type SetDefaultColorCollectionBadRequest

type SetDefaultColorCollectionBadRequest struct {
	Payload *models.Error
}
SetDefaultColorCollectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSetDefaultColorCollectionBadRequest

func NewSetDefaultColorCollectionBadRequest() *SetDefaultColorCollectionBadRequest

NewSetDefaultColorCollectionBadRequest creates a SetDefaultColorCollectionBadRequest with default headers values

func (*SetDefaultColorCollectionBadRequest) Error

func (*SetDefaultColorCollectionBadRequest) GetPayload

type SetDefaultColorCollectionNotFound

type SetDefaultColorCollectionNotFound struct {
	Payload *models.Error
}
SetDefaultColorCollectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewSetDefaultColorCollectionNotFound

func NewSetDefaultColorCollectionNotFound() *SetDefaultColorCollectionNotFound

NewSetDefaultColorCollectionNotFound creates a SetDefaultColorCollectionNotFound with default headers values

func (*SetDefaultColorCollectionNotFound) Error

func (*SetDefaultColorCollectionNotFound) GetPayload

type SetDefaultColorCollectionOK

type SetDefaultColorCollectionOK struct {
	Payload *models.ColorCollection
}
SetDefaultColorCollectionOK describes a response with status code 200, with default header values.

ColorCollection

func NewSetDefaultColorCollectionOK

func NewSetDefaultColorCollectionOK() *SetDefaultColorCollectionOK

NewSetDefaultColorCollectionOK creates a SetDefaultColorCollectionOK with default headers values

func (*SetDefaultColorCollectionOK) Error

func (*SetDefaultColorCollectionOK) GetPayload

type SetDefaultColorCollectionParams

type SetDefaultColorCollectionParams struct {

	/* CollectionID.

	   ID of color collection to set as default
	*/
	CollectionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetDefaultColorCollectionParams contains all the parameters to send to the API endpoint

for the set default color collection operation.

Typically these are written to a http.Request.

func NewSetDefaultColorCollectionParams

func NewSetDefaultColorCollectionParams() *SetDefaultColorCollectionParams

NewSetDefaultColorCollectionParams creates a new SetDefaultColorCollectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetDefaultColorCollectionParamsWithContext

func NewSetDefaultColorCollectionParamsWithContext(ctx context.Context) *SetDefaultColorCollectionParams

NewSetDefaultColorCollectionParamsWithContext creates a new SetDefaultColorCollectionParams object with the ability to set a context for a request.

func NewSetDefaultColorCollectionParamsWithHTTPClient

func NewSetDefaultColorCollectionParamsWithHTTPClient(client *http.Client) *SetDefaultColorCollectionParams

NewSetDefaultColorCollectionParamsWithHTTPClient creates a new SetDefaultColorCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewSetDefaultColorCollectionParamsWithTimeout

func NewSetDefaultColorCollectionParamsWithTimeout(timeout time.Duration) *SetDefaultColorCollectionParams

NewSetDefaultColorCollectionParamsWithTimeout creates a new SetDefaultColorCollectionParams object with the ability to set a timeout on a request.

func (*SetDefaultColorCollectionParams) SetCollectionID

func (o *SetDefaultColorCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the set default color collection params

func (*SetDefaultColorCollectionParams) SetContext

func (o *SetDefaultColorCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the set default color collection params

func (*SetDefaultColorCollectionParams) SetDefaults

func (o *SetDefaultColorCollectionParams) SetDefaults()

SetDefaults hydrates default values in the set default color collection params (not the query body).

All values with no default are reset to their zero value.

func (*SetDefaultColorCollectionParams) SetHTTPClient

func (o *SetDefaultColorCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set default color collection params

func (*SetDefaultColorCollectionParams) SetTimeout

func (o *SetDefaultColorCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set default color collection params

func (*SetDefaultColorCollectionParams) WithCollectionID

func (o *SetDefaultColorCollectionParams) WithCollectionID(collectionID string) *SetDefaultColorCollectionParams

WithCollectionID adds the collectionID to the set default color collection params

func (*SetDefaultColorCollectionParams) WithContext

WithContext adds the context to the set default color collection params

func (*SetDefaultColorCollectionParams) WithDefaults

WithDefaults hydrates default values in the set default color collection params (not the query body).

All values with no default are reset to their zero value.

func (*SetDefaultColorCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set default color collection params

func (*SetDefaultColorCollectionParams) WithTimeout

WithTimeout adds the timeout to the set default color collection params

func (*SetDefaultColorCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultColorCollectionReader

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

SetDefaultColorCollectionReader is a Reader for the SetDefaultColorCollection structure.

func (*SetDefaultColorCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultColorCollectionTooManyRequests

type SetDefaultColorCollectionTooManyRequests struct {
	Payload *models.Error
}
SetDefaultColorCollectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewSetDefaultColorCollectionTooManyRequests

func NewSetDefaultColorCollectionTooManyRequests() *SetDefaultColorCollectionTooManyRequests

NewSetDefaultColorCollectionTooManyRequests creates a SetDefaultColorCollectionTooManyRequests with default headers values

func (*SetDefaultColorCollectionTooManyRequests) Error

func (*SetDefaultColorCollectionTooManyRequests) GetPayload

type SetDefaultColorCollectionUnprocessableEntity

type SetDefaultColorCollectionUnprocessableEntity struct {
	Payload *models.ValidationError
}
SetDefaultColorCollectionUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewSetDefaultColorCollectionUnprocessableEntity

func NewSetDefaultColorCollectionUnprocessableEntity() *SetDefaultColorCollectionUnprocessableEntity

NewSetDefaultColorCollectionUnprocessableEntity creates a SetDefaultColorCollectionUnprocessableEntity with default headers values

func (*SetDefaultColorCollectionUnprocessableEntity) Error

func (*SetDefaultColorCollectionUnprocessableEntity) GetPayload

type UpdateColorCollectionBadRequest

type UpdateColorCollectionBadRequest struct {
	Payload *models.Error
}
UpdateColorCollectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateColorCollectionBadRequest

func NewUpdateColorCollectionBadRequest() *UpdateColorCollectionBadRequest

NewUpdateColorCollectionBadRequest creates a UpdateColorCollectionBadRequest with default headers values

func (*UpdateColorCollectionBadRequest) Error

func (*UpdateColorCollectionBadRequest) GetPayload

func (o *UpdateColorCollectionBadRequest) GetPayload() *models.Error

type UpdateColorCollectionForbidden

type UpdateColorCollectionForbidden struct {
	Payload *models.Error
}
UpdateColorCollectionForbidden describes a response with status code 403, with default header values.

Permission Denied

func NewUpdateColorCollectionForbidden

func NewUpdateColorCollectionForbidden() *UpdateColorCollectionForbidden

NewUpdateColorCollectionForbidden creates a UpdateColorCollectionForbidden with default headers values

func (*UpdateColorCollectionForbidden) Error

func (*UpdateColorCollectionForbidden) GetPayload

func (o *UpdateColorCollectionForbidden) GetPayload() *models.Error

type UpdateColorCollectionNotFound

type UpdateColorCollectionNotFound struct {
	Payload *models.Error
}
UpdateColorCollectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateColorCollectionNotFound

func NewUpdateColorCollectionNotFound() *UpdateColorCollectionNotFound

NewUpdateColorCollectionNotFound creates a UpdateColorCollectionNotFound with default headers values

func (*UpdateColorCollectionNotFound) Error

func (*UpdateColorCollectionNotFound) GetPayload

func (o *UpdateColorCollectionNotFound) GetPayload() *models.Error

type UpdateColorCollectionOK

type UpdateColorCollectionOK struct {
	Payload *models.ColorCollection
}
UpdateColorCollectionOK describes a response with status code 200, with default header values.

ColorCollection

func NewUpdateColorCollectionOK

func NewUpdateColorCollectionOK() *UpdateColorCollectionOK

NewUpdateColorCollectionOK creates a UpdateColorCollectionOK with default headers values

func (*UpdateColorCollectionOK) Error

func (o *UpdateColorCollectionOK) Error() string

func (*UpdateColorCollectionOK) GetPayload

type UpdateColorCollectionParams

type UpdateColorCollectionParams struct {

	/* Body.

	   ColorCollection
	*/
	Body *models.ColorCollection

	/* CollectionID.

	   Id of Custom Color Collection
	*/
	CollectionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateColorCollectionParams contains all the parameters to send to the API endpoint

for the update color collection operation.

Typically these are written to a http.Request.

func NewUpdateColorCollectionParams

func NewUpdateColorCollectionParams() *UpdateColorCollectionParams

NewUpdateColorCollectionParams creates a new UpdateColorCollectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateColorCollectionParamsWithContext

func NewUpdateColorCollectionParamsWithContext(ctx context.Context) *UpdateColorCollectionParams

NewUpdateColorCollectionParamsWithContext creates a new UpdateColorCollectionParams object with the ability to set a context for a request.

func NewUpdateColorCollectionParamsWithHTTPClient

func NewUpdateColorCollectionParamsWithHTTPClient(client *http.Client) *UpdateColorCollectionParams

NewUpdateColorCollectionParamsWithHTTPClient creates a new UpdateColorCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateColorCollectionParamsWithTimeout

func NewUpdateColorCollectionParamsWithTimeout(timeout time.Duration) *UpdateColorCollectionParams

NewUpdateColorCollectionParamsWithTimeout creates a new UpdateColorCollectionParams object with the ability to set a timeout on a request.

func (*UpdateColorCollectionParams) SetBody

SetBody adds the body to the update color collection params

func (*UpdateColorCollectionParams) SetCollectionID

func (o *UpdateColorCollectionParams) SetCollectionID(collectionID string)

SetCollectionID adds the collectionId to the update color collection params

func (*UpdateColorCollectionParams) SetContext

func (o *UpdateColorCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the update color collection params

func (*UpdateColorCollectionParams) SetDefaults

func (o *UpdateColorCollectionParams) SetDefaults()

SetDefaults hydrates default values in the update color collection params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateColorCollectionParams) SetHTTPClient

func (o *UpdateColorCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update color collection params

func (*UpdateColorCollectionParams) SetTimeout

func (o *UpdateColorCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update color collection params

func (*UpdateColorCollectionParams) WithBody

WithBody adds the body to the update color collection params

func (*UpdateColorCollectionParams) WithCollectionID

func (o *UpdateColorCollectionParams) WithCollectionID(collectionID string) *UpdateColorCollectionParams

WithCollectionID adds the collectionID to the update color collection params

func (*UpdateColorCollectionParams) WithContext

WithContext adds the context to the update color collection params

func (*UpdateColorCollectionParams) WithDefaults

WithDefaults hydrates default values in the update color collection params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateColorCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update color collection params

func (*UpdateColorCollectionParams) WithTimeout

WithTimeout adds the timeout to the update color collection params

func (*UpdateColorCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateColorCollectionReader

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

UpdateColorCollectionReader is a Reader for the UpdateColorCollection structure.

func (*UpdateColorCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateColorCollectionTooManyRequests

type UpdateColorCollectionTooManyRequests struct {
	Payload *models.Error
}
UpdateColorCollectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateColorCollectionTooManyRequests

func NewUpdateColorCollectionTooManyRequests() *UpdateColorCollectionTooManyRequests

NewUpdateColorCollectionTooManyRequests creates a UpdateColorCollectionTooManyRequests with default headers values

func (*UpdateColorCollectionTooManyRequests) Error

func (*UpdateColorCollectionTooManyRequests) GetPayload

type UpdateColorCollectionUnprocessableEntity

type UpdateColorCollectionUnprocessableEntity struct {
	Payload *models.ValidationError
}
UpdateColorCollectionUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewUpdateColorCollectionUnprocessableEntity

func NewUpdateColorCollectionUnprocessableEntity() *UpdateColorCollectionUnprocessableEntity

NewUpdateColorCollectionUnprocessableEntity creates a UpdateColorCollectionUnprocessableEntity with default headers values

func (*UpdateColorCollectionUnprocessableEntity) Error

func (*UpdateColorCollectionUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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