Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCustomerConfig(params *CreateCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCustomerConfigOK, error)
- func (a *Client) DeleteCustomerConfig(params *DeleteCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCustomerConfigOK, error)
- func (a *Client) DeleteCustomerConfigV2(params *DeleteCustomerConfigV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCustomerConfigV2OK, error)
- func (a *Client) EditCustomerConfig(params *EditCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EditCustomerConfigOK, error)
- func (a *Client) EditCustomerConfigV2(params *EditCustomerConfigV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*EditCustomerConfigV2OK, error)
- func (a *Client) GenerateAPIToken(params *GenerateAPITokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GenerateAPITokenOK, error)
- func (a *Client) GetListOfCustomerConfig(params *GetListOfCustomerConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetListOfCustomerConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateCustomerConfigOK
- type CreateCustomerConfigParams
- func NewCreateCustomerConfigParams() *CreateCustomerConfigParams
- func NewCreateCustomerConfigParamsWithContext(ctx context.Context) *CreateCustomerConfigParams
- func NewCreateCustomerConfigParamsWithHTTPClient(client *http.Client) *CreateCustomerConfigParams
- func NewCreateCustomerConfigParamsWithTimeout(timeout time.Duration) *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *CreateCustomerConfigParams) SetConfig(config *models.CustomerConfig)
- func (o *CreateCustomerConfigParams) SetContext(ctx context.Context)
- func (o *CreateCustomerConfigParams) SetDefaults()
- func (o *CreateCustomerConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateCustomerConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) WithConfig(config *models.CustomerConfig) *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) WithContext(ctx context.Context) *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) WithDefaults() *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) WithHTTPClient(client *http.Client) *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) WithTimeout(timeout time.Duration) *CreateCustomerConfigParams
- func (o *CreateCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCustomerConfigReader
- type DeleteCustomerConfigOK
- type DeleteCustomerConfigParams
- func NewDeleteCustomerConfigParams() *DeleteCustomerConfigParams
- func NewDeleteCustomerConfigParamsWithContext(ctx context.Context) *DeleteCustomerConfigParams
- func NewDeleteCustomerConfigParamsWithHTTPClient(client *http.Client) *DeleteCustomerConfigParams
- func NewDeleteCustomerConfigParamsWithTimeout(timeout time.Duration) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteCustomerConfigParams) SetConfigUUID(configUUID strfmt.UUID)
- func (o *DeleteCustomerConfigParams) SetContext(ctx context.Context)
- func (o *DeleteCustomerConfigParams) SetDefaults()
- func (o *DeleteCustomerConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCustomerConfigParams) SetIsDeleteBackups(isDeleteBackups *bool)
- func (o *DeleteCustomerConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WithConfigUUID(configUUID strfmt.UUID) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WithContext(ctx context.Context) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WithDefaults() *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WithHTTPClient(client *http.Client) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WithIsDeleteBackups(isDeleteBackups *bool) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WithTimeout(timeout time.Duration) *DeleteCustomerConfigParams
- func (o *DeleteCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCustomerConfigReader
- type DeleteCustomerConfigV2OK
- type DeleteCustomerConfigV2Params
- func NewDeleteCustomerConfigV2Params() *DeleteCustomerConfigV2Params
- func NewDeleteCustomerConfigV2ParamsWithContext(ctx context.Context) *DeleteCustomerConfigV2Params
- func NewDeleteCustomerConfigV2ParamsWithHTTPClient(client *http.Client) *DeleteCustomerConfigV2Params
- func NewDeleteCustomerConfigV2ParamsWithTimeout(timeout time.Duration) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteCustomerConfigV2Params) SetConfigUUID(configUUID strfmt.UUID)
- func (o *DeleteCustomerConfigV2Params) SetContext(ctx context.Context)
- func (o *DeleteCustomerConfigV2Params) SetDefaults()
- func (o *DeleteCustomerConfigV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteCustomerConfigV2Params) SetIsDeleteBackups(isDeleteBackups *bool)
- func (o *DeleteCustomerConfigV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteCustomerConfigV2Params) WithCUUID(cUUID strfmt.UUID) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WithConfigUUID(configUUID strfmt.UUID) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WithContext(ctx context.Context) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WithDefaults() *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WithHTTPClient(client *http.Client) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WithIsDeleteBackups(isDeleteBackups *bool) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WithTimeout(timeout time.Duration) *DeleteCustomerConfigV2Params
- func (o *DeleteCustomerConfigV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCustomerConfigV2Reader
- type EditCustomerConfigOK
- type EditCustomerConfigParams
- func NewEditCustomerConfigParams() *EditCustomerConfigParams
- func NewEditCustomerConfigParamsWithContext(ctx context.Context) *EditCustomerConfigParams
- func NewEditCustomerConfigParamsWithHTTPClient(client *http.Client) *EditCustomerConfigParams
- func NewEditCustomerConfigParamsWithTimeout(timeout time.Duration) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *EditCustomerConfigParams) SetConfig(config *models.CustomerConfig)
- func (o *EditCustomerConfigParams) SetConfigUUID(configUUID strfmt.UUID)
- func (o *EditCustomerConfigParams) SetContext(ctx context.Context)
- func (o *EditCustomerConfigParams) SetDefaults()
- func (o *EditCustomerConfigParams) SetHTTPClient(client *http.Client)
- func (o *EditCustomerConfigParams) SetTimeout(timeout time.Duration)
- func (o *EditCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WithConfig(config *models.CustomerConfig) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WithConfigUUID(configUUID strfmt.UUID) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WithContext(ctx context.Context) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WithDefaults() *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WithHTTPClient(client *http.Client) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WithTimeout(timeout time.Duration) *EditCustomerConfigParams
- func (o *EditCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditCustomerConfigReader
- type EditCustomerConfigV2OK
- type EditCustomerConfigV2Params
- func NewEditCustomerConfigV2Params() *EditCustomerConfigV2Params
- func NewEditCustomerConfigV2ParamsWithContext(ctx context.Context) *EditCustomerConfigV2Params
- func NewEditCustomerConfigV2ParamsWithHTTPClient(client *http.Client) *EditCustomerConfigV2Params
- func NewEditCustomerConfigV2ParamsWithTimeout(timeout time.Duration) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) SetCUUID(cUUID strfmt.UUID)
- func (o *EditCustomerConfigV2Params) SetConfig(config *models.CustomerConfig)
- func (o *EditCustomerConfigV2Params) SetConfigUUID(configUUID strfmt.UUID)
- func (o *EditCustomerConfigV2Params) SetContext(ctx context.Context)
- func (o *EditCustomerConfigV2Params) SetDefaults()
- func (o *EditCustomerConfigV2Params) SetHTTPClient(client *http.Client)
- func (o *EditCustomerConfigV2Params) SetTimeout(timeout time.Duration)
- func (o *EditCustomerConfigV2Params) WithCUUID(cUUID strfmt.UUID) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WithConfig(config *models.CustomerConfig) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WithConfigUUID(configUUID strfmt.UUID) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WithContext(ctx context.Context) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WithDefaults() *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WithHTTPClient(client *http.Client) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WithTimeout(timeout time.Duration) *EditCustomerConfigV2Params
- func (o *EditCustomerConfigV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditCustomerConfigV2Reader
- type GenerateAPITokenOK
- type GenerateAPITokenParams
- func NewGenerateAPITokenParams() *GenerateAPITokenParams
- func NewGenerateAPITokenParamsWithContext(ctx context.Context) *GenerateAPITokenParams
- func NewGenerateAPITokenParamsWithHTTPClient(client *http.Client) *GenerateAPITokenParams
- func NewGenerateAPITokenParamsWithTimeout(timeout time.Duration) *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GenerateAPITokenParams) SetContext(ctx context.Context)
- func (o *GenerateAPITokenParams) SetDefaults()
- func (o *GenerateAPITokenParams) SetDummy(dummy *models.DummyBody)
- func (o *GenerateAPITokenParams) SetHTTPClient(client *http.Client)
- func (o *GenerateAPITokenParams) SetTimeout(timeout time.Duration)
- func (o *GenerateAPITokenParams) WithCUUID(cUUID strfmt.UUID) *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) WithContext(ctx context.Context) *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) WithDefaults() *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) WithDummy(dummy *models.DummyBody) *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) WithHTTPClient(client *http.Client) *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) WithTimeout(timeout time.Duration) *GenerateAPITokenParams
- func (o *GenerateAPITokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateAPITokenReader
- type GetListOfCustomerConfigOK
- type GetListOfCustomerConfigParams
- func NewGetListOfCustomerConfigParams() *GetListOfCustomerConfigParams
- func NewGetListOfCustomerConfigParamsWithContext(ctx context.Context) *GetListOfCustomerConfigParams
- func NewGetListOfCustomerConfigParamsWithHTTPClient(client *http.Client) *GetListOfCustomerConfigParams
- func NewGetListOfCustomerConfigParamsWithTimeout(timeout time.Duration) *GetListOfCustomerConfigParams
- func (o *GetListOfCustomerConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetListOfCustomerConfigParams) SetContext(ctx context.Context)
- func (o *GetListOfCustomerConfigParams) SetDefaults()
- func (o *GetListOfCustomerConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetListOfCustomerConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetListOfCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *GetListOfCustomerConfigParams
- func (o *GetListOfCustomerConfigParams) WithContext(ctx context.Context) *GetListOfCustomerConfigParams
- func (o *GetListOfCustomerConfigParams) WithDefaults() *GetListOfCustomerConfigParams
- func (o *GetListOfCustomerConfigParams) WithHTTPClient(client *http.Client) *GetListOfCustomerConfigParams
- func (o *GetListOfCustomerConfigParams) WithTimeout(timeout time.Duration) *GetListOfCustomerConfigParams
- func (o *GetListOfCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListOfCustomerConfigReader
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 ¶
func (o *CreateCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *CreateCustomerConfigParams
WithCUUID adds the cUUID to the create customer config params
func (*CreateCustomerConfigParams) WithConfig ¶
func (o *CreateCustomerConfigParams) WithConfig(config *models.CustomerConfig) *CreateCustomerConfigParams
WithConfig adds the config to the create customer config params
func (*CreateCustomerConfigParams) WithContext ¶
func (o *CreateCustomerConfigParams) WithContext(ctx context.Context) *CreateCustomerConfigParams
WithContext adds the context to the create customer config params
func (*CreateCustomerConfigParams) WithDefaults ¶
func (o *CreateCustomerConfigParams) WithDefaults() *CreateCustomerConfigParams
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 ¶
func (o *CreateCustomerConfigParams) WithHTTPClient(client *http.Client) *CreateCustomerConfigParams
WithHTTPClient adds the HTTPClient to the create customer config params
func (*CreateCustomerConfigParams) WithTimeout ¶
func (o *CreateCustomerConfigParams) WithTimeout(timeout time.Duration) *CreateCustomerConfigParams
WithTimeout adds the timeout to the create customer config params
func (*CreateCustomerConfigParams) WriteToRequest ¶
func (o *CreateCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *DeleteCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *DeleteCustomerConfigParams
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 ¶
func (o *DeleteCustomerConfigParams) WithContext(ctx context.Context) *DeleteCustomerConfigParams
WithContext adds the context to the delete customer config params
func (*DeleteCustomerConfigParams) WithDefaults ¶
func (o *DeleteCustomerConfigParams) WithDefaults() *DeleteCustomerConfigParams
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 ¶
func (o *DeleteCustomerConfigParams) WithHTTPClient(client *http.Client) *DeleteCustomerConfigParams
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 ¶
func (o *DeleteCustomerConfigParams) WithTimeout(timeout time.Duration) *DeleteCustomerConfigParams
WithTimeout adds the timeout to the delete customer config params
func (*DeleteCustomerConfigParams) WriteToRequest ¶
func (o *DeleteCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *DeleteCustomerConfigV2Params) WithCUUID(cUUID strfmt.UUID) *DeleteCustomerConfigV2Params
WithCUUID adds the cUUID to the delete customer config v2 params
func (*DeleteCustomerConfigV2Params) WithConfigUUID ¶
func (o *DeleteCustomerConfigV2Params) WithConfigUUID(configUUID strfmt.UUID) *DeleteCustomerConfigV2Params
WithConfigUUID adds the configUUID to the delete customer config v2 params
func (*DeleteCustomerConfigV2Params) WithContext ¶
func (o *DeleteCustomerConfigV2Params) WithContext(ctx context.Context) *DeleteCustomerConfigV2Params
WithContext adds the context to the delete customer config v2 params
func (*DeleteCustomerConfigV2Params) WithDefaults ¶
func (o *DeleteCustomerConfigV2Params) WithDefaults() *DeleteCustomerConfigV2Params
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 ¶
func (o *DeleteCustomerConfigV2Params) WithHTTPClient(client *http.Client) *DeleteCustomerConfigV2Params
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 ¶
func (o *DeleteCustomerConfigV2Params) WithTimeout(timeout time.Duration) *DeleteCustomerConfigV2Params
WithTimeout adds the timeout to the delete customer config v2 params
func (*DeleteCustomerConfigV2Params) WriteToRequest ¶
func (o *DeleteCustomerConfigV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *EditCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *EditCustomerConfigParams
WithCUUID adds the cUUID to the edit customer config params
func (*EditCustomerConfigParams) WithConfig ¶
func (o *EditCustomerConfigParams) WithConfig(config *models.CustomerConfig) *EditCustomerConfigParams
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 ¶
func (o *EditCustomerConfigParams) WithContext(ctx context.Context) *EditCustomerConfigParams
WithContext adds the context to the edit customer config params
func (*EditCustomerConfigParams) WithDefaults ¶
func (o *EditCustomerConfigParams) WithDefaults() *EditCustomerConfigParams
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 ¶
func (o *EditCustomerConfigParams) WithTimeout(timeout time.Duration) *EditCustomerConfigParams
WithTimeout adds the timeout to the edit customer config params
func (*EditCustomerConfigParams) WriteToRequest ¶
func (o *EditCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *EditCustomerConfigV2Params) WithCUUID(cUUID strfmt.UUID) *EditCustomerConfigV2Params
WithCUUID adds the cUUID to the edit customer config v2 params
func (*EditCustomerConfigV2Params) WithConfig ¶
func (o *EditCustomerConfigV2Params) WithConfig(config *models.CustomerConfig) *EditCustomerConfigV2Params
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 ¶
func (o *EditCustomerConfigV2Params) WithContext(ctx context.Context) *EditCustomerConfigV2Params
WithContext adds the context to the edit customer config v2 params
func (*EditCustomerConfigV2Params) WithDefaults ¶
func (o *EditCustomerConfigV2Params) WithDefaults() *EditCustomerConfigV2Params
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 ¶
func (o *EditCustomerConfigV2Params) WithHTTPClient(client *http.Client) *EditCustomerConfigV2Params
WithHTTPClient adds the HTTPClient to the edit customer config v2 params
func (*EditCustomerConfigV2Params) WithTimeout ¶
func (o *EditCustomerConfigV2Params) WithTimeout(timeout time.Duration) *EditCustomerConfigV2Params
WithTimeout adds the timeout to the edit customer config v2 params
func (*EditCustomerConfigV2Params) WriteToRequest ¶
func (o *EditCustomerConfigV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GenerateAPITokenParams) WithCUUID(cUUID strfmt.UUID) *GenerateAPITokenParams
WithCUUID adds the cUUID to the generate API token params
func (*GenerateAPITokenParams) WithContext ¶
func (o *GenerateAPITokenParams) WithContext(ctx context.Context) *GenerateAPITokenParams
WithContext adds the context to the generate API token params
func (*GenerateAPITokenParams) WithDefaults ¶
func (o *GenerateAPITokenParams) WithDefaults() *GenerateAPITokenParams
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 ¶
func (o *GenerateAPITokenParams) WithDummy(dummy *models.DummyBody) *GenerateAPITokenParams
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 ¶
func (o *GenerateAPITokenParams) WithTimeout(timeout time.Duration) *GenerateAPITokenParams
WithTimeout adds the timeout to the generate API token params
func (*GenerateAPITokenParams) WriteToRequest ¶
func (o *GenerateAPITokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetListOfCustomerConfigOK) GetPayload() []*models.CustomerConfigUI
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 ¶
func (o *GetListOfCustomerConfigParams) WithCUUID(cUUID strfmt.UUID) *GetListOfCustomerConfigParams
WithCUUID adds the cUUID to the get list of customer config params
func (*GetListOfCustomerConfigParams) WithContext ¶
func (o *GetListOfCustomerConfigParams) WithContext(ctx context.Context) *GetListOfCustomerConfigParams
WithContext adds the context to the get list of customer config params
func (*GetListOfCustomerConfigParams) WithDefaults ¶
func (o *GetListOfCustomerConfigParams) WithDefaults() *GetListOfCustomerConfigParams
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 ¶
func (o *GetListOfCustomerConfigParams) WithHTTPClient(client *http.Client) *GetListOfCustomerConfigParams
WithHTTPClient adds the HTTPClient to the get list of customer config params
func (*GetListOfCustomerConfigParams) WithTimeout ¶
func (o *GetListOfCustomerConfigParams) WithTimeout(timeout time.Duration) *GetListOfCustomerConfigParams
WithTimeout adds the timeout to the get list of customer config params
func (*GetListOfCustomerConfigParams) WriteToRequest ¶
func (o *GetListOfCustomerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_customer_config_parameters.go
- create_customer_config_responses.go
- customer_configuration_client.go
- delete_customer_config_parameters.go
- delete_customer_config_responses.go
- delete_customer_config_v2_parameters.go
- delete_customer_config_v2_responses.go
- edit_customer_config_parameters.go
- edit_customer_config_responses.go
- edit_customer_config_v2_parameters.go
- edit_customer_config_v2_responses.go
- generate_api_token_parameters.go
- generate_api_token_responses.go
- get_list_of_customer_config_parameters.go
- get_list_of_customer_config_responses.go