color_collection

package
v0.0.0-...-9dad3f6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewAllColorCollectionsParamsWithContext

func NewAllColorCollectionsParamsWithContext(ctx context.Context) *AllColorCollectionsParams

NewAllColorCollectionsParamsWithContext creates a new AllColorCollectionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 New

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

New creates a new color collection API client.

func (*Client) AllColorCollections

func (a *Client) AllColorCollections(params *AllColorCollectionsParams) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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 ColorCollectionBadRequest

type ColorCollectionBadRequest struct {
	Payload *models.Error
}

ColorCollectionBadRequest handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewColorCollectionParamsWithContext

func NewColorCollectionParamsWithContext(ctx context.Context) *ColorCollectionParams

NewColorCollectionParamsWithContext creates a new ColorCollectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewColorCollectionsCustomParamsWithContext

func NewColorCollectionsCustomParamsWithContext(ctx context.Context) *ColorCollectionsCustomParams

NewColorCollectionsCustomParamsWithContext creates a new ColorCollectionsCustomParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewColorCollectionsStandardParamsWithContext

func NewColorCollectionsStandardParamsWithContext(ctx context.Context) *ColorCollectionsStandardParams

NewColorCollectionsStandardParamsWithContext creates a new ColorCollectionsStandardParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateColorCollectionConflict

type CreateColorCollectionConflict struct {
	Payload *models.Error
}

CreateColorCollectionConflict handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewCreateColorCollectionParamsWithContext

func NewCreateColorCollectionParamsWithContext(ctx context.Context) *CreateColorCollectionParams

NewCreateColorCollectionParamsWithContext creates a new CreateColorCollectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateColorCollectionUnprocessableEntity

type CreateColorCollectionUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateColorCollectionUnprocessableEntity handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewDefaultColorCollectionParamsWithContext

func NewDefaultColorCollectionParamsWithContext(ctx context.Context) *DefaultColorCollectionParams

NewDefaultColorCollectionParamsWithContext creates a new DefaultColorCollectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteColorCollectionForbidden

type DeleteColorCollectionForbidden struct {
	Payload *models.Error
}

DeleteColorCollectionForbidden handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewDeleteColorCollectionParamsWithContext

func NewDeleteColorCollectionParamsWithContext(ctx context.Context) *DeleteColorCollectionParams

NewDeleteColorCollectionParamsWithContext creates a new DeleteColorCollectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 SetDefaultColorCollectionBadRequest

type SetDefaultColorCollectionBadRequest struct {
	Payload *models.Error
}

SetDefaultColorCollectionBadRequest handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewSetDefaultColorCollectionParamsWithContext

func NewSetDefaultColorCollectionParamsWithContext(ctx context.Context) *SetDefaultColorCollectionParams

NewSetDefaultColorCollectionParamsWithContext creates a new SetDefaultColorCollectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 SetDefaultColorCollectionUnprocessableEntity

type SetDefaultColorCollectionUnprocessableEntity struct {
	Payload *models.ValidationError
}

SetDefaultColorCollectionUnprocessableEntity handles this case 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 UpdateColorCollectionForbidden

type UpdateColorCollectionForbidden struct {
	Payload *models.Error
}

UpdateColorCollectionForbidden handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewUpdateColorCollectionParamsWithContext

func NewUpdateColorCollectionParamsWithContext(ctx context.Context) *UpdateColorCollectionParams

NewUpdateColorCollectionParamsWithContext creates a new UpdateColorCollectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateColorCollectionUnprocessableEntity

type UpdateColorCollectionUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateColorCollectionUnprocessableEntity handles this case 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