customer_configuration

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for customer configuration API

func (*Client) CreateCustomerConfig

func (a *Client) CreateCustomerConfig(params *CreateCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomerConfigOK, error)

CreateCustomerConfig creates a customer configuration

func (*Client) DeleteCustomerConfig

func (a *Client) DeleteCustomerConfig(params *DeleteCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerConfigOK, error)

DeleteCustomerConfig deletes a customer configuration

func (*Client) DeleteCustomerConfigV2

func (a *Client) DeleteCustomerConfigV2(params *DeleteCustomerConfigV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerConfigV2OK, error)

DeleteCustomerConfigV2 deletes a customer configuration v2

func (*Client) EditCustomerConfig

func (a *Client) EditCustomerConfig(params *EditCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditCustomerConfigOK, error)

EditCustomerConfig updates a customer configuration

func (*Client) EditCustomerConfigV2

func (a *Client) EditCustomerConfigV2(params *EditCustomerConfigV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditCustomerConfigV2OK, error)

EditCustomerConfigV2 updates a customer configuration v2

Changes from upstream: This method is called 'editCustomerConfig' in the upstream swagger.json

func (*Client) GenerateAPIToken

func (a *Client) GenerateAPIToken(params *GenerateAPITokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateAPITokenOK, error)

GenerateAPIToken generates an API token for the current user

UNOFFICIAL API ADDITION - Requires a DUMMY body to work around issue https://yugabyte.atlassian.net/browse/PLAT-2076

func (*Client) GetListOfCustomerConfig

func (a *Client) GetListOfCustomerConfig(params *GetListOfCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfCustomerConfigOK, error)

GetListOfCustomerConfig lists all customer configurations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCustomerConfig(params *CreateCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomerConfigOK, error)

	DeleteCustomerConfig(params *DeleteCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerConfigOK, error)

	DeleteCustomerConfigV2(params *DeleteCustomerConfigV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerConfigV2OK, error)

	EditCustomerConfig(params *EditCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditCustomerConfigOK, error)

	EditCustomerConfigV2(params *EditCustomerConfigV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditCustomerConfigV2OK, error)

	GenerateAPIToken(params *GenerateAPITokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateAPITokenOK, error)

	GetListOfCustomerConfig(params *GetListOfCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfCustomerConfigOK, 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 customer configuration API client.

type CreateCustomerConfigOK

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

successful operation

func NewCreateCustomerConfigOK

func NewCreateCustomerConfigOK() *CreateCustomerConfigOK

NewCreateCustomerConfigOK creates a CreateCustomerConfigOK with default headers values

func (*CreateCustomerConfigOK) Error

func (o *CreateCustomerConfigOK) Error() string

func (*CreateCustomerConfigOK) GetPayload

func (o *CreateCustomerConfigOK) GetPayload() *models.CustomerConfig

type CreateCustomerConfigParams

type CreateCustomerConfigParams struct {

	/* Config.

	   Configuration data to be created
	*/
	Config *models.CustomerConfig

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

CreateCustomerConfigParams contains all the parameters to send to the API endpoint

for the create customer config operation.

Typically these are written to a http.Request.

func NewCreateCustomerConfigParams

func NewCreateCustomerConfigParams() *CreateCustomerConfigParams

NewCreateCustomerConfigParams creates a new CreateCustomerConfigParams 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 NewCreateCustomerConfigParamsWithContext

func NewCreateCustomerConfigParamsWithContext(ctx context.Context) *CreateCustomerConfigParams

NewCreateCustomerConfigParamsWithContext creates a new CreateCustomerConfigParams object with the ability to set a context for a request.

func NewCreateCustomerConfigParamsWithHTTPClient

func NewCreateCustomerConfigParamsWithHTTPClient(client *http.Client) *CreateCustomerConfigParams

NewCreateCustomerConfigParamsWithHTTPClient creates a new CreateCustomerConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCustomerConfigParamsWithTimeout

func NewCreateCustomerConfigParamsWithTimeout(timeout time.Duration) *CreateCustomerConfigParams

NewCreateCustomerConfigParamsWithTimeout creates a new CreateCustomerConfigParams object with the ability to set a timeout on a request.

func (*CreateCustomerConfigParams) SetCUUID

func (o *CreateCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the create customer config params

func (*CreateCustomerConfigParams) SetConfig

func (o *CreateCustomerConfigParams) SetConfig(config *models.CustomerConfig)

SetConfig adds the config to the create customer config params

func (*CreateCustomerConfigParams) SetContext

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

SetContext adds the context to the create customer config params

func (*CreateCustomerConfigParams) SetDefaults

func (o *CreateCustomerConfigParams) SetDefaults()

SetDefaults hydrates default values in the create customer config params (not the query body).

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

func (*CreateCustomerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create customer config params

func (*CreateCustomerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create customer config params

func (*CreateCustomerConfigParams) WithCUUID

WithCUUID adds the cUUID to the create customer config params

func (*CreateCustomerConfigParams) WithConfig

WithConfig adds the config to the create customer config params

func (*CreateCustomerConfigParams) WithContext

WithContext adds the context to the create customer config params

func (*CreateCustomerConfigParams) WithDefaults

WithDefaults hydrates default values in the create customer config params (not the query body).

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

func (*CreateCustomerConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create customer config params

func (*CreateCustomerConfigParams) WithTimeout

WithTimeout adds the timeout to the create customer config params

func (*CreateCustomerConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCustomerConfigReader

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

CreateCustomerConfigReader is a Reader for the CreateCustomerConfig structure.

func (*CreateCustomerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCustomerConfigOK

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

successful operation

func NewDeleteCustomerConfigOK

func NewDeleteCustomerConfigOK() *DeleteCustomerConfigOK

NewDeleteCustomerConfigOK creates a DeleteCustomerConfigOK with default headers values

func (*DeleteCustomerConfigOK) Error

func (o *DeleteCustomerConfigOK) Error() string

func (*DeleteCustomerConfigOK) GetPayload

func (o *DeleteCustomerConfigOK) GetPayload() *models.YBPTask

type DeleteCustomerConfigParams

type DeleteCustomerConfigParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// ConfigUUID.
	//
	// Format: uuid
	ConfigUUID strfmt.UUID

	// IsDeleteBackups.
	IsDeleteBackups *bool

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

DeleteCustomerConfigParams contains all the parameters to send to the API endpoint

for the delete customer config operation.

Typically these are written to a http.Request.

func NewDeleteCustomerConfigParams

func NewDeleteCustomerConfigParams() *DeleteCustomerConfigParams

NewDeleteCustomerConfigParams creates a new DeleteCustomerConfigParams 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 NewDeleteCustomerConfigParamsWithContext

func NewDeleteCustomerConfigParamsWithContext(ctx context.Context) *DeleteCustomerConfigParams

NewDeleteCustomerConfigParamsWithContext creates a new DeleteCustomerConfigParams object with the ability to set a context for a request.

func NewDeleteCustomerConfigParamsWithHTTPClient

func NewDeleteCustomerConfigParamsWithHTTPClient(client *http.Client) *DeleteCustomerConfigParams

NewDeleteCustomerConfigParamsWithHTTPClient creates a new DeleteCustomerConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCustomerConfigParamsWithTimeout

func NewDeleteCustomerConfigParamsWithTimeout(timeout time.Duration) *DeleteCustomerConfigParams

NewDeleteCustomerConfigParamsWithTimeout creates a new DeleteCustomerConfigParams object with the ability to set a timeout on a request.

func (*DeleteCustomerConfigParams) SetCUUID

func (o *DeleteCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the delete customer config params

func (*DeleteCustomerConfigParams) SetConfigUUID

func (o *DeleteCustomerConfigParams) SetConfigUUID(configUUID strfmt.UUID)

SetConfigUUID adds the configUuid to the delete customer config params

func (*DeleteCustomerConfigParams) SetContext

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

SetContext adds the context to the delete customer config params

func (*DeleteCustomerConfigParams) SetDefaults

func (o *DeleteCustomerConfigParams) SetDefaults()

SetDefaults hydrates default values in the delete customer config params (not the query body).

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

func (*DeleteCustomerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete customer config params

func (*DeleteCustomerConfigParams) SetIsDeleteBackups

func (o *DeleteCustomerConfigParams) SetIsDeleteBackups(isDeleteBackups *bool)

SetIsDeleteBackups adds the isDeleteBackups to the delete customer config params

func (*DeleteCustomerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete customer config params

func (*DeleteCustomerConfigParams) WithCUUID

WithCUUID adds the cUUID to the delete customer config params

func (*DeleteCustomerConfigParams) WithConfigUUID

func (o *DeleteCustomerConfigParams) WithConfigUUID(configUUID strfmt.UUID) *DeleteCustomerConfigParams

WithConfigUUID adds the configUUID to the delete customer config params

func (*DeleteCustomerConfigParams) WithContext

WithContext adds the context to the delete customer config params

func (*DeleteCustomerConfigParams) WithDefaults

WithDefaults hydrates default values in the delete customer config params (not the query body).

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

func (*DeleteCustomerConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete customer config params

func (*DeleteCustomerConfigParams) WithIsDeleteBackups

func (o *DeleteCustomerConfigParams) WithIsDeleteBackups(isDeleteBackups *bool) *DeleteCustomerConfigParams

WithIsDeleteBackups adds the isDeleteBackups to the delete customer config params

func (*DeleteCustomerConfigParams) WithTimeout

WithTimeout adds the timeout to the delete customer config params

func (*DeleteCustomerConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCustomerConfigReader

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

DeleteCustomerConfigReader is a Reader for the DeleteCustomerConfig structure.

func (*DeleteCustomerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCustomerConfigV2OK

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

successful operation

func NewDeleteCustomerConfigV2OK

func NewDeleteCustomerConfigV2OK() *DeleteCustomerConfigV2OK

NewDeleteCustomerConfigV2OK creates a DeleteCustomerConfigV2OK with default headers values

func (*DeleteCustomerConfigV2OK) Error

func (o *DeleteCustomerConfigV2OK) Error() string

func (*DeleteCustomerConfigV2OK) GetPayload

func (o *DeleteCustomerConfigV2OK) GetPayload() *models.YBPTask

type DeleteCustomerConfigV2Params

type DeleteCustomerConfigV2Params struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// ConfigUUID.
	//
	// Format: uuid
	ConfigUUID strfmt.UUID

	// IsDeleteBackups.
	IsDeleteBackups *bool

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

DeleteCustomerConfigV2Params contains all the parameters to send to the API endpoint

for the delete customer config v2 operation.

Typically these are written to a http.Request.

func NewDeleteCustomerConfigV2Params

func NewDeleteCustomerConfigV2Params() *DeleteCustomerConfigV2Params

NewDeleteCustomerConfigV2Params creates a new DeleteCustomerConfigV2Params 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 NewDeleteCustomerConfigV2ParamsWithContext

func NewDeleteCustomerConfigV2ParamsWithContext(ctx context.Context) *DeleteCustomerConfigV2Params

NewDeleteCustomerConfigV2ParamsWithContext creates a new DeleteCustomerConfigV2Params object with the ability to set a context for a request.

func NewDeleteCustomerConfigV2ParamsWithHTTPClient

func NewDeleteCustomerConfigV2ParamsWithHTTPClient(client *http.Client) *DeleteCustomerConfigV2Params

NewDeleteCustomerConfigV2ParamsWithHTTPClient creates a new DeleteCustomerConfigV2Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteCustomerConfigV2ParamsWithTimeout

func NewDeleteCustomerConfigV2ParamsWithTimeout(timeout time.Duration) *DeleteCustomerConfigV2Params

NewDeleteCustomerConfigV2ParamsWithTimeout creates a new DeleteCustomerConfigV2Params object with the ability to set a timeout on a request.

func (*DeleteCustomerConfigV2Params) SetCUUID

func (o *DeleteCustomerConfigV2Params) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) SetConfigUUID

func (o *DeleteCustomerConfigV2Params) SetConfigUUID(configUUID strfmt.UUID)

SetConfigUUID adds the configUuid to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) SetContext

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

SetContext adds the context to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) SetDefaults

func (o *DeleteCustomerConfigV2Params) SetDefaults()

SetDefaults hydrates default values in the delete customer config v2 params (not the query body).

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

func (*DeleteCustomerConfigV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) SetIsDeleteBackups

func (o *DeleteCustomerConfigV2Params) SetIsDeleteBackups(isDeleteBackups *bool)

SetIsDeleteBackups adds the isDeleteBackups to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) SetTimeout

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

SetTimeout adds the timeout to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WithCUUID

WithCUUID adds the cUUID to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WithConfigUUID

WithConfigUUID adds the configUUID to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WithContext

WithContext adds the context to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WithDefaults

WithDefaults hydrates default values in the delete customer config v2 params (not the query body).

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

func (*DeleteCustomerConfigV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WithIsDeleteBackups

func (o *DeleteCustomerConfigV2Params) WithIsDeleteBackups(isDeleteBackups *bool) *DeleteCustomerConfigV2Params

WithIsDeleteBackups adds the isDeleteBackups to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WithTimeout

WithTimeout adds the timeout to the delete customer config v2 params

func (*DeleteCustomerConfigV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCustomerConfigV2Reader

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

DeleteCustomerConfigV2Reader is a Reader for the DeleteCustomerConfigV2 structure.

func (*DeleteCustomerConfigV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EditCustomerConfigOK

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

successful operation

func NewEditCustomerConfigOK

func NewEditCustomerConfigOK() *EditCustomerConfigOK

NewEditCustomerConfigOK creates a EditCustomerConfigOK with default headers values

func (*EditCustomerConfigOK) Error

func (o *EditCustomerConfigOK) Error() string

func (*EditCustomerConfigOK) GetPayload

func (o *EditCustomerConfigOK) GetPayload() *models.CustomerConfig

type EditCustomerConfigParams

type EditCustomerConfigParams struct {

	/* Config.

	   Configuration data to be updated
	*/
	Config *models.CustomerConfig

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// ConfigUUID.
	//
	// Format: uuid
	ConfigUUID strfmt.UUID

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

EditCustomerConfigParams contains all the parameters to send to the API endpoint

for the edit customer config operation.

Typically these are written to a http.Request.

func NewEditCustomerConfigParams

func NewEditCustomerConfigParams() *EditCustomerConfigParams

NewEditCustomerConfigParams creates a new EditCustomerConfigParams 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 NewEditCustomerConfigParamsWithContext

func NewEditCustomerConfigParamsWithContext(ctx context.Context) *EditCustomerConfigParams

NewEditCustomerConfigParamsWithContext creates a new EditCustomerConfigParams object with the ability to set a context for a request.

func NewEditCustomerConfigParamsWithHTTPClient

func NewEditCustomerConfigParamsWithHTTPClient(client *http.Client) *EditCustomerConfigParams

NewEditCustomerConfigParamsWithHTTPClient creates a new EditCustomerConfigParams object with the ability to set a custom HTTPClient for a request.

func NewEditCustomerConfigParamsWithTimeout

func NewEditCustomerConfigParamsWithTimeout(timeout time.Duration) *EditCustomerConfigParams

NewEditCustomerConfigParamsWithTimeout creates a new EditCustomerConfigParams object with the ability to set a timeout on a request.

func (*EditCustomerConfigParams) SetCUUID

func (o *EditCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the edit customer config params

func (*EditCustomerConfigParams) SetConfig

func (o *EditCustomerConfigParams) SetConfig(config *models.CustomerConfig)

SetConfig adds the config to the edit customer config params

func (*EditCustomerConfigParams) SetConfigUUID

func (o *EditCustomerConfigParams) SetConfigUUID(configUUID strfmt.UUID)

SetConfigUUID adds the configUuid to the edit customer config params

func (*EditCustomerConfigParams) SetContext

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

SetContext adds the context to the edit customer config params

func (*EditCustomerConfigParams) SetDefaults

func (o *EditCustomerConfigParams) SetDefaults()

SetDefaults hydrates default values in the edit customer config params (not the query body).

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

func (*EditCustomerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edit customer config params

func (*EditCustomerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the edit customer config params

func (*EditCustomerConfigParams) WithCUUID

WithCUUID adds the cUUID to the edit customer config params

func (*EditCustomerConfigParams) WithConfig

WithConfig adds the config to the edit customer config params

func (*EditCustomerConfigParams) WithConfigUUID

func (o *EditCustomerConfigParams) WithConfigUUID(configUUID strfmt.UUID) *EditCustomerConfigParams

WithConfigUUID adds the configUUID to the edit customer config params

func (*EditCustomerConfigParams) WithContext

WithContext adds the context to the edit customer config params

func (*EditCustomerConfigParams) WithDefaults

WithDefaults hydrates default values in the edit customer config params (not the query body).

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

func (*EditCustomerConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edit customer config params

func (*EditCustomerConfigParams) WithTimeout

WithTimeout adds the timeout to the edit customer config params

func (*EditCustomerConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EditCustomerConfigReader

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

EditCustomerConfigReader is a Reader for the EditCustomerConfig structure.

func (*EditCustomerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EditCustomerConfigV2OK

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

successful operation

func NewEditCustomerConfigV2OK

func NewEditCustomerConfigV2OK() *EditCustomerConfigV2OK

NewEditCustomerConfigV2OK creates a EditCustomerConfigV2OK with default headers values

func (*EditCustomerConfigV2OK) Error

func (o *EditCustomerConfigV2OK) Error() string

func (*EditCustomerConfigV2OK) GetPayload

func (o *EditCustomerConfigV2OK) GetPayload() *models.CustomerConfig

type EditCustomerConfigV2Params

type EditCustomerConfigV2Params struct {

	/* Config.

	   Configuration data to be updated
	*/
	Config *models.CustomerConfig

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// ConfigUUID.
	//
	// Format: uuid
	ConfigUUID strfmt.UUID

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

EditCustomerConfigV2Params contains all the parameters to send to the API endpoint

for the edit customer config v2 operation.

Typically these are written to a http.Request.

func NewEditCustomerConfigV2Params

func NewEditCustomerConfigV2Params() *EditCustomerConfigV2Params

NewEditCustomerConfigV2Params creates a new EditCustomerConfigV2Params 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 NewEditCustomerConfigV2ParamsWithContext

func NewEditCustomerConfigV2ParamsWithContext(ctx context.Context) *EditCustomerConfigV2Params

NewEditCustomerConfigV2ParamsWithContext creates a new EditCustomerConfigV2Params object with the ability to set a context for a request.

func NewEditCustomerConfigV2ParamsWithHTTPClient

func NewEditCustomerConfigV2ParamsWithHTTPClient(client *http.Client) *EditCustomerConfigV2Params

NewEditCustomerConfigV2ParamsWithHTTPClient creates a new EditCustomerConfigV2Params object with the ability to set a custom HTTPClient for a request.

func NewEditCustomerConfigV2ParamsWithTimeout

func NewEditCustomerConfigV2ParamsWithTimeout(timeout time.Duration) *EditCustomerConfigV2Params

NewEditCustomerConfigV2ParamsWithTimeout creates a new EditCustomerConfigV2Params object with the ability to set a timeout on a request.

func (*EditCustomerConfigV2Params) SetCUUID

func (o *EditCustomerConfigV2Params) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the edit customer config v2 params

func (*EditCustomerConfigV2Params) SetConfig

func (o *EditCustomerConfigV2Params) SetConfig(config *models.CustomerConfig)

SetConfig adds the config to the edit customer config v2 params

func (*EditCustomerConfigV2Params) SetConfigUUID

func (o *EditCustomerConfigV2Params) SetConfigUUID(configUUID strfmt.UUID)

SetConfigUUID adds the configUuid to the edit customer config v2 params

func (*EditCustomerConfigV2Params) SetContext

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

SetContext adds the context to the edit customer config v2 params

func (*EditCustomerConfigV2Params) SetDefaults

func (o *EditCustomerConfigV2Params) SetDefaults()

SetDefaults hydrates default values in the edit customer config v2 params (not the query body).

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

func (*EditCustomerConfigV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edit customer config v2 params

func (*EditCustomerConfigV2Params) SetTimeout

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

SetTimeout adds the timeout to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WithCUUID

WithCUUID adds the cUUID to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WithConfig

WithConfig adds the config to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WithConfigUUID

func (o *EditCustomerConfigV2Params) WithConfigUUID(configUUID strfmt.UUID) *EditCustomerConfigV2Params

WithConfigUUID adds the configUUID to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WithContext

WithContext adds the context to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WithDefaults

WithDefaults hydrates default values in the edit customer config v2 params (not the query body).

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

func (*EditCustomerConfigV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WithTimeout

WithTimeout adds the timeout to the edit customer config v2 params

func (*EditCustomerConfigV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type EditCustomerConfigV2Reader

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

EditCustomerConfigV2Reader is a Reader for the EditCustomerConfigV2 structure.

func (*EditCustomerConfigV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateAPITokenOK

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

successful operation

func NewGenerateAPITokenOK

func NewGenerateAPITokenOK() *GenerateAPITokenOK

NewGenerateAPITokenOK creates a GenerateAPITokenOK with default headers values

func (*GenerateAPITokenOK) Error

func (o *GenerateAPITokenOK) Error() string

func (*GenerateAPITokenOK) GetPayload

func (o *GenerateAPITokenOK) GetPayload() *models.SessionInfo

type GenerateAPITokenParams

type GenerateAPITokenParams struct {

	/* Dummy.

	   Dummy value to work around platform bug PLAT-2076
	*/
	Dummy *models.DummyBody

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

GenerateAPITokenParams contains all the parameters to send to the API endpoint

for the generate API token operation.

Typically these are written to a http.Request.

func NewGenerateAPITokenParams

func NewGenerateAPITokenParams() *GenerateAPITokenParams

NewGenerateAPITokenParams creates a new GenerateAPITokenParams 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 NewGenerateAPITokenParamsWithContext

func NewGenerateAPITokenParamsWithContext(ctx context.Context) *GenerateAPITokenParams

NewGenerateAPITokenParamsWithContext creates a new GenerateAPITokenParams object with the ability to set a context for a request.

func NewGenerateAPITokenParamsWithHTTPClient

func NewGenerateAPITokenParamsWithHTTPClient(client *http.Client) *GenerateAPITokenParams

NewGenerateAPITokenParamsWithHTTPClient creates a new GenerateAPITokenParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateAPITokenParamsWithTimeout

func NewGenerateAPITokenParamsWithTimeout(timeout time.Duration) *GenerateAPITokenParams

NewGenerateAPITokenParamsWithTimeout creates a new GenerateAPITokenParams object with the ability to set a timeout on a request.

func (*GenerateAPITokenParams) SetCUUID

func (o *GenerateAPITokenParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the generate API token params

func (*GenerateAPITokenParams) SetContext

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

SetContext adds the context to the generate API token params

func (*GenerateAPITokenParams) SetDefaults

func (o *GenerateAPITokenParams) SetDefaults()

SetDefaults hydrates default values in the generate API token params (not the query body).

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

func (*GenerateAPITokenParams) SetDummy

func (o *GenerateAPITokenParams) SetDummy(dummy *models.DummyBody)

SetDummy adds the dummy to the generate API token params

func (*GenerateAPITokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the generate API token params

func (*GenerateAPITokenParams) SetTimeout

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

SetTimeout adds the timeout to the generate API token params

func (*GenerateAPITokenParams) WithCUUID

WithCUUID adds the cUUID to the generate API token params

func (*GenerateAPITokenParams) WithContext

WithContext adds the context to the generate API token params

func (*GenerateAPITokenParams) WithDefaults

WithDefaults hydrates default values in the generate API token params (not the query body).

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

func (*GenerateAPITokenParams) WithDummy

WithDummy adds the dummy to the generate API token params

func (*GenerateAPITokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the generate API token params

func (*GenerateAPITokenParams) WithTimeout

WithTimeout adds the timeout to the generate API token params

func (*GenerateAPITokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateAPITokenReader

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

GenerateAPITokenReader is a Reader for the GenerateAPIToken structure.

func (*GenerateAPITokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListOfCustomerConfigOK

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

successful operation

func NewGetListOfCustomerConfigOK

func NewGetListOfCustomerConfigOK() *GetListOfCustomerConfigOK

NewGetListOfCustomerConfigOK creates a GetListOfCustomerConfigOK with default headers values

func (*GetListOfCustomerConfigOK) Error

func (o *GetListOfCustomerConfigOK) Error() string

func (*GetListOfCustomerConfigOK) GetPayload

type GetListOfCustomerConfigParams

type GetListOfCustomerConfigParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

GetListOfCustomerConfigParams contains all the parameters to send to the API endpoint

for the get list of customer config operation.

Typically these are written to a http.Request.

func NewGetListOfCustomerConfigParams

func NewGetListOfCustomerConfigParams() *GetListOfCustomerConfigParams

NewGetListOfCustomerConfigParams creates a new GetListOfCustomerConfigParams 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 NewGetListOfCustomerConfigParamsWithContext

func NewGetListOfCustomerConfigParamsWithContext(ctx context.Context) *GetListOfCustomerConfigParams

NewGetListOfCustomerConfigParamsWithContext creates a new GetListOfCustomerConfigParams object with the ability to set a context for a request.

func NewGetListOfCustomerConfigParamsWithHTTPClient

func NewGetListOfCustomerConfigParamsWithHTTPClient(client *http.Client) *GetListOfCustomerConfigParams

NewGetListOfCustomerConfigParamsWithHTTPClient creates a new GetListOfCustomerConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetListOfCustomerConfigParamsWithTimeout

func NewGetListOfCustomerConfigParamsWithTimeout(timeout time.Duration) *GetListOfCustomerConfigParams

NewGetListOfCustomerConfigParamsWithTimeout creates a new GetListOfCustomerConfigParams object with the ability to set a timeout on a request.

func (*GetListOfCustomerConfigParams) SetCUUID

func (o *GetListOfCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get list of customer config params

func (*GetListOfCustomerConfigParams) SetContext

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

SetContext adds the context to the get list of customer config params

func (*GetListOfCustomerConfigParams) SetDefaults

func (o *GetListOfCustomerConfigParams) SetDefaults()

SetDefaults hydrates default values in the get list of customer config params (not the query body).

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

func (*GetListOfCustomerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list of customer config params

func (*GetListOfCustomerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get list of customer config params

func (*GetListOfCustomerConfigParams) WithCUUID

WithCUUID adds the cUUID to the get list of customer config params

func (*GetListOfCustomerConfigParams) WithContext

WithContext adds the context to the get list of customer config params

func (*GetListOfCustomerConfigParams) WithDefaults

WithDefaults hydrates default values in the get list of customer config params (not the query body).

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

func (*GetListOfCustomerConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get list of customer config params

func (*GetListOfCustomerConfigParams) WithTimeout

WithTimeout adds the timeout to the get list of customer config params

func (*GetListOfCustomerConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfCustomerConfigReader

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

GetListOfCustomerConfigReader is a Reader for the GetListOfCustomerConfig structure.

func (*GetListOfCustomerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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