config

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

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 config API

func (*Client) CreateConfig

func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)

CreateConfig creates a config resource

Create a config resource. Requires admin access.

func (*Client) CreateConfigType

func (a *Client) CreateConfigType(params *CreateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigTypeCreated, error)

CreateConfigType creates a config type requires admin access

func (*Client) DeleteConfig

func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error)

DeleteConfig deletes a config

Delete a config by id. Requires admin access.

func (*Client) DeleteConfigType

func (a *Client) DeleteConfigType(params *DeleteConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigTypeOK, error)

DeleteConfigType deletes a config type

Delete a config-type by id. Removing a configuration type that are in use will result in a 409 conflict HTTP status code and error. All configurations of a type must be removed first.

func (*Client) DetailConfig

func (a *Client) DetailConfig(params *DetailConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigOK, error)

DetailConfig retrieves a single config

Retrieves a single config by id. Requires admin access.

func (*Client) DetailConfigType

func (a *Client) DetailConfigType(params *DetailConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigTypeOK, error)

DetailConfigType retrieves a single config type

Retrieves a single config-type by id. Requires admin access.

func (*Client) ListConfigTypes

func (a *Client) ListConfigTypes(params *ListConfigTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigTypesOK, error)

ListConfigTypes lists config types

Retrieves a list of config-type resources; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListConfigs

func (a *Client) ListConfigs(params *ListConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsOK, error)

ListConfigs lists configs

Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListConfigsForConfigType

func (a *Client) ListConfigsForConfigType(params *ListConfigsForConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsForConfigTypeOK, error)

ListConfigsForConfigType lists the configs of a specific config type

Lists the configs associated to a config-type. Requires admin access.

func (*Client) PatchConfig

func (a *Client) PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigOK, error)

PatchConfig updates the supplied fields on a config

Update the supplied fields on a config. Requires admin access.

func (*Client) PatchConfigType

func (a *Client) PatchConfigType(params *PatchConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigTypeOK, error)

PatchConfigType updates the supplied fields on a config type

Update the supplied fields on a config-type. Requires admin access.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateConfig

func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigOK, error)

UpdateConfig updates all fields on a config

Update all fields on a config by id. Requires admin access.

func (*Client) UpdateConfigType

func (a *Client) UpdateConfigType(params *UpdateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigTypeOK, error)

UpdateConfigType updates all fields on a config type

Update all fields on a config-type by id. Requires admin access.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)

	CreateConfigType(params *CreateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigTypeCreated, error)

	DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error)

	DeleteConfigType(params *DeleteConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigTypeOK, error)

	DetailConfig(params *DetailConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigOK, error)

	DetailConfigType(params *DetailConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigTypeOK, error)

	ListConfigTypes(params *ListConfigTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigTypesOK, error)

	ListConfigs(params *ListConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsOK, error)

	ListConfigsForConfigType(params *ListConfigsForConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsForConfigTypeOK, error)

	PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigOK, error)

	PatchConfigType(params *PatchConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigTypeOK, error)

	UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigOK, error)

	UpdateConfigType(params *UpdateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigTypeOK, 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 config API client.

type CreateConfigBadRequest

type CreateConfigBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateConfigBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateConfigBadRequest

func NewCreateConfigBadRequest() *CreateConfigBadRequest

NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values

func (*CreateConfigBadRequest) Error

func (o *CreateConfigBadRequest) Error() string

func (*CreateConfigBadRequest) GetPayload

type CreateConfigCreated

type CreateConfigCreated struct {
	Payload *rest_model.CreateEnvelope
}
CreateConfigCreated describes a response with status code 201, with default header values.

The create request was successful and the resource has been added at the following location

func NewCreateConfigCreated

func NewCreateConfigCreated() *CreateConfigCreated

NewCreateConfigCreated creates a CreateConfigCreated with default headers values

func (*CreateConfigCreated) Error

func (o *CreateConfigCreated) Error() string

func (*CreateConfigCreated) GetPayload

type CreateConfigParams

type CreateConfigParams struct {

	/* Config.

	   A config to create
	*/
	Config *rest_model.ConfigCreate

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

CreateConfigParams contains all the parameters to send to the API endpoint

for the create config operation.

Typically these are written to a http.Request.

func NewCreateConfigParams

func NewCreateConfigParams() *CreateConfigParams

NewCreateConfigParams creates a new CreateConfigParams 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 NewCreateConfigParamsWithContext

func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams

NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the ability to set a context for a request.

func NewCreateConfigParamsWithHTTPClient

func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams

NewCreateConfigParamsWithHTTPClient creates a new CreateConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConfigParamsWithTimeout

func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams

NewCreateConfigParamsWithTimeout creates a new CreateConfigParams object with the ability to set a timeout on a request.

func (*CreateConfigParams) SetConfig

func (o *CreateConfigParams) SetConfig(config *rest_model.ConfigCreate)

SetConfig adds the config to the create config params

func (*CreateConfigParams) SetContext

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

SetContext adds the context to the create config params

func (*CreateConfigParams) SetDefaults

func (o *CreateConfigParams) SetDefaults()

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

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

func (*CreateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create config params

func (*CreateConfigParams) WithConfig

WithConfig adds the config to the create config params

func (*CreateConfigParams) WithContext

WithContext adds the context to the create config params

func (*CreateConfigParams) WithDefaults

func (o *CreateConfigParams) WithDefaults() *CreateConfigParams

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

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

func (*CreateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the create config params

func (*CreateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateConfigReader

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

CreateConfigReader is a Reader for the CreateConfig structure.

func (*CreateConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConfigTooManyRequests added in v0.26.0

type CreateConfigTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateConfigTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewCreateConfigTooManyRequests added in v0.26.0

func NewCreateConfigTooManyRequests() *CreateConfigTooManyRequests

NewCreateConfigTooManyRequests creates a CreateConfigTooManyRequests with default headers values

func (*CreateConfigTooManyRequests) Error added in v0.26.0

func (*CreateConfigTooManyRequests) GetPayload added in v0.26.0

type CreateConfigTypeBadRequest

type CreateConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateConfigTypeBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateConfigTypeBadRequest

func NewCreateConfigTypeBadRequest() *CreateConfigTypeBadRequest

NewCreateConfigTypeBadRequest creates a CreateConfigTypeBadRequest with default headers values

func (*CreateConfigTypeBadRequest) Error

func (*CreateConfigTypeBadRequest) GetPayload

type CreateConfigTypeCreated

type CreateConfigTypeCreated struct {
	Payload *rest_model.CreateEnvelope
}
CreateConfigTypeCreated describes a response with status code 201, with default header values.

The create request was successful and the resource has been added at the following location

func NewCreateConfigTypeCreated

func NewCreateConfigTypeCreated() *CreateConfigTypeCreated

NewCreateConfigTypeCreated creates a CreateConfigTypeCreated with default headers values

func (*CreateConfigTypeCreated) Error

func (o *CreateConfigTypeCreated) Error() string

func (*CreateConfigTypeCreated) GetPayload

type CreateConfigTypeParams

type CreateConfigTypeParams struct {

	/* ConfigType.

	   A config-type to create
	*/
	ConfigType *rest_model.ConfigTypeCreate

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

CreateConfigTypeParams contains all the parameters to send to the API endpoint

for the create config type operation.

Typically these are written to a http.Request.

func NewCreateConfigTypeParams

func NewCreateConfigTypeParams() *CreateConfigTypeParams

NewCreateConfigTypeParams creates a new CreateConfigTypeParams 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 NewCreateConfigTypeParamsWithContext

func NewCreateConfigTypeParamsWithContext(ctx context.Context) *CreateConfigTypeParams

NewCreateConfigTypeParamsWithContext creates a new CreateConfigTypeParams object with the ability to set a context for a request.

func NewCreateConfigTypeParamsWithHTTPClient

func NewCreateConfigTypeParamsWithHTTPClient(client *http.Client) *CreateConfigTypeParams

NewCreateConfigTypeParamsWithHTTPClient creates a new CreateConfigTypeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConfigTypeParamsWithTimeout

func NewCreateConfigTypeParamsWithTimeout(timeout time.Duration) *CreateConfigTypeParams

NewCreateConfigTypeParamsWithTimeout creates a new CreateConfigTypeParams object with the ability to set a timeout on a request.

func (*CreateConfigTypeParams) SetConfigType

func (o *CreateConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypeCreate)

SetConfigType adds the configType to the create config type params

func (*CreateConfigTypeParams) SetContext

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

SetContext adds the context to the create config type params

func (*CreateConfigTypeParams) SetDefaults

func (o *CreateConfigTypeParams) SetDefaults()

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

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

func (*CreateConfigTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create config type params

func (*CreateConfigTypeParams) SetTimeout

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

SetTimeout adds the timeout to the create config type params

func (*CreateConfigTypeParams) WithConfigType

WithConfigType adds the configType to the create config type params

func (*CreateConfigTypeParams) WithContext

WithContext adds the context to the create config type params

func (*CreateConfigTypeParams) WithDefaults

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

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

func (*CreateConfigTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create config type params

func (*CreateConfigTypeParams) WithTimeout

WithTimeout adds the timeout to the create config type params

func (*CreateConfigTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateConfigTypeReader

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

CreateConfigTypeReader is a Reader for the CreateConfigType structure.

func (*CreateConfigTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConfigTypeTooManyRequests added in v0.26.0

type CreateConfigTypeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateConfigTypeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewCreateConfigTypeTooManyRequests added in v0.26.0

func NewCreateConfigTypeTooManyRequests() *CreateConfigTypeTooManyRequests

NewCreateConfigTypeTooManyRequests creates a CreateConfigTypeTooManyRequests with default headers values

func (*CreateConfigTypeTooManyRequests) Error added in v0.26.0

func (*CreateConfigTypeTooManyRequests) GetPayload added in v0.26.0

type CreateConfigTypeUnauthorized

type CreateConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateConfigTypeUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewCreateConfigTypeUnauthorized

func NewCreateConfigTypeUnauthorized() *CreateConfigTypeUnauthorized

NewCreateConfigTypeUnauthorized creates a CreateConfigTypeUnauthorized with default headers values

func (*CreateConfigTypeUnauthorized) Error

func (*CreateConfigTypeUnauthorized) GetPayload

type CreateConfigUnauthorized

type CreateConfigUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateConfigUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewCreateConfigUnauthorized

func NewCreateConfigUnauthorized() *CreateConfigUnauthorized

NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values

func (*CreateConfigUnauthorized) Error

func (o *CreateConfigUnauthorized) Error() string

func (*CreateConfigUnauthorized) GetPayload

type DeleteConfigBadRequest

type DeleteConfigBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteConfigBadRequest

func NewDeleteConfigBadRequest() *DeleteConfigBadRequest

NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values

func (*DeleteConfigBadRequest) Error

func (o *DeleteConfigBadRequest) Error() string

func (*DeleteConfigBadRequest) GetPayload

type DeleteConfigConflict

type DeleteConfigConflict struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigConflict describes a response with status code 409, with default header values.

The resource requested to be removed/altered cannot be as it is referenced by another object.

func NewDeleteConfigConflict

func NewDeleteConfigConflict() *DeleteConfigConflict

NewDeleteConfigConflict creates a DeleteConfigConflict with default headers values

func (*DeleteConfigConflict) Error

func (o *DeleteConfigConflict) Error() string

func (*DeleteConfigConflict) GetPayload

type DeleteConfigOK

type DeleteConfigOK struct {
	Payload *rest_model.Empty
}
DeleteConfigOK describes a response with status code 200, with default header values.

The delete request was successful and the resource has been removed

func NewDeleteConfigOK

func NewDeleteConfigOK() *DeleteConfigOK

NewDeleteConfigOK creates a DeleteConfigOK with default headers values

func (*DeleteConfigOK) Error

func (o *DeleteConfigOK) Error() string

func (*DeleteConfigOK) GetPayload

func (o *DeleteConfigOK) GetPayload() *rest_model.Empty

type DeleteConfigParams

type DeleteConfigParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteConfigParams contains all the parameters to send to the API endpoint

for the delete config operation.

Typically these are written to a http.Request.

func NewDeleteConfigParams

func NewDeleteConfigParams() *DeleteConfigParams

NewDeleteConfigParams creates a new DeleteConfigParams 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 NewDeleteConfigParamsWithContext

func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams

NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the ability to set a context for a request.

func NewDeleteConfigParamsWithHTTPClient

func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams

NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConfigParamsWithTimeout

func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams

NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the ability to set a timeout on a request.

func (*DeleteConfigParams) SetContext

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

SetContext adds the context to the delete config params

func (*DeleteConfigParams) SetDefaults

func (o *DeleteConfigParams) SetDefaults()

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

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

func (*DeleteConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) SetID

func (o *DeleteConfigParams) SetID(id string)

SetID adds the id to the delete config params

func (*DeleteConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WithContext

WithContext adds the context to the delete config params

func (*DeleteConfigParams) WithDefaults

func (o *DeleteConfigParams) WithDefaults() *DeleteConfigParams

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

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

func (*DeleteConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) WithID

WithID adds the id to the delete config params

func (*DeleteConfigParams) WithTimeout

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

WithTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteConfigReader

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

DeleteConfigReader is a Reader for the DeleteConfig structure.

func (*DeleteConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConfigTooManyRequests added in v0.26.0

type DeleteConfigTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewDeleteConfigTooManyRequests added in v0.26.0

func NewDeleteConfigTooManyRequests() *DeleteConfigTooManyRequests

NewDeleteConfigTooManyRequests creates a DeleteConfigTooManyRequests with default headers values

func (*DeleteConfigTooManyRequests) Error added in v0.26.0

func (*DeleteConfigTooManyRequests) GetPayload added in v0.26.0

type DeleteConfigTypeBadRequest

type DeleteConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTypeBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteConfigTypeBadRequest

func NewDeleteConfigTypeBadRequest() *DeleteConfigTypeBadRequest

NewDeleteConfigTypeBadRequest creates a DeleteConfigTypeBadRequest with default headers values

func (*DeleteConfigTypeBadRequest) Error

func (*DeleteConfigTypeBadRequest) GetPayload

type DeleteConfigTypeConflict

type DeleteConfigTypeConflict struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTypeConflict describes a response with status code 409, with default header values.

The resource requested to be removed/altered cannot be as it is referenced by another object.

func NewDeleteConfigTypeConflict

func NewDeleteConfigTypeConflict() *DeleteConfigTypeConflict

NewDeleteConfigTypeConflict creates a DeleteConfigTypeConflict with default headers values

func (*DeleteConfigTypeConflict) Error

func (o *DeleteConfigTypeConflict) Error() string

func (*DeleteConfigTypeConflict) GetPayload

type DeleteConfigTypeOK

type DeleteConfigTypeOK struct {
	Payload *rest_model.Empty
}
DeleteConfigTypeOK describes a response with status code 200, with default header values.

The delete request was successful and the resource has been removed

func NewDeleteConfigTypeOK

func NewDeleteConfigTypeOK() *DeleteConfigTypeOK

NewDeleteConfigTypeOK creates a DeleteConfigTypeOK with default headers values

func (*DeleteConfigTypeOK) Error

func (o *DeleteConfigTypeOK) Error() string

func (*DeleteConfigTypeOK) GetPayload

func (o *DeleteConfigTypeOK) GetPayload() *rest_model.Empty

type DeleteConfigTypeParams

type DeleteConfigTypeParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteConfigTypeParams contains all the parameters to send to the API endpoint

for the delete config type operation.

Typically these are written to a http.Request.

func NewDeleteConfigTypeParams

func NewDeleteConfigTypeParams() *DeleteConfigTypeParams

NewDeleteConfigTypeParams creates a new DeleteConfigTypeParams 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 NewDeleteConfigTypeParamsWithContext

func NewDeleteConfigTypeParamsWithContext(ctx context.Context) *DeleteConfigTypeParams

NewDeleteConfigTypeParamsWithContext creates a new DeleteConfigTypeParams object with the ability to set a context for a request.

func NewDeleteConfigTypeParamsWithHTTPClient

func NewDeleteConfigTypeParamsWithHTTPClient(client *http.Client) *DeleteConfigTypeParams

NewDeleteConfigTypeParamsWithHTTPClient creates a new DeleteConfigTypeParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConfigTypeParamsWithTimeout

func NewDeleteConfigTypeParamsWithTimeout(timeout time.Duration) *DeleteConfigTypeParams

NewDeleteConfigTypeParamsWithTimeout creates a new DeleteConfigTypeParams object with the ability to set a timeout on a request.

func (*DeleteConfigTypeParams) SetContext

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

SetContext adds the context to the delete config type params

func (*DeleteConfigTypeParams) SetDefaults

func (o *DeleteConfigTypeParams) SetDefaults()

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

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

func (*DeleteConfigTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete config type params

func (*DeleteConfigTypeParams) SetID

func (o *DeleteConfigTypeParams) SetID(id string)

SetID adds the id to the delete config type params

func (*DeleteConfigTypeParams) SetTimeout

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

SetTimeout adds the timeout to the delete config type params

func (*DeleteConfigTypeParams) WithContext

WithContext adds the context to the delete config type params

func (*DeleteConfigTypeParams) WithDefaults

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

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

func (*DeleteConfigTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete config type params

func (*DeleteConfigTypeParams) WithID

WithID adds the id to the delete config type params

func (*DeleteConfigTypeParams) WithTimeout

WithTimeout adds the timeout to the delete config type params

func (*DeleteConfigTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteConfigTypeReader

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

DeleteConfigTypeReader is a Reader for the DeleteConfigType structure.

func (*DeleteConfigTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConfigTypeTooManyRequests added in v0.26.0

type DeleteConfigTypeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTypeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewDeleteConfigTypeTooManyRequests added in v0.26.0

func NewDeleteConfigTypeTooManyRequests() *DeleteConfigTypeTooManyRequests

NewDeleteConfigTypeTooManyRequests creates a DeleteConfigTypeTooManyRequests with default headers values

func (*DeleteConfigTypeTooManyRequests) Error added in v0.26.0

func (*DeleteConfigTypeTooManyRequests) GetPayload added in v0.26.0

type DeleteConfigTypeUnauthorized

type DeleteConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTypeUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteConfigTypeUnauthorized

func NewDeleteConfigTypeUnauthorized() *DeleteConfigTypeUnauthorized

NewDeleteConfigTypeUnauthorized creates a DeleteConfigTypeUnauthorized with default headers values

func (*DeleteConfigTypeUnauthorized) Error

func (*DeleteConfigTypeUnauthorized) GetPayload

type DeleteConfigUnauthorized

type DeleteConfigUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteConfigUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteConfigUnauthorized

func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized

NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values

func (*DeleteConfigUnauthorized) Error

func (o *DeleteConfigUnauthorized) Error() string

func (*DeleteConfigUnauthorized) GetPayload

type DetailConfigNotFound

type DetailConfigNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailConfigNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailConfigNotFound

func NewDetailConfigNotFound() *DetailConfigNotFound

NewDetailConfigNotFound creates a DetailConfigNotFound with default headers values

func (*DetailConfigNotFound) Error

func (o *DetailConfigNotFound) Error() string

func (*DetailConfigNotFound) GetPayload

type DetailConfigOK

type DetailConfigOK struct {
	Payload *rest_model.DetailConfigEnvelope
}
DetailConfigOK describes a response with status code 200, with default header values.

A singular config resource

func NewDetailConfigOK

func NewDetailConfigOK() *DetailConfigOK

NewDetailConfigOK creates a DetailConfigOK with default headers values

func (*DetailConfigOK) Error

func (o *DetailConfigOK) Error() string

func (*DetailConfigOK) GetPayload

type DetailConfigParams

type DetailConfigParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailConfigParams contains all the parameters to send to the API endpoint

for the detail config operation.

Typically these are written to a http.Request.

func NewDetailConfigParams

func NewDetailConfigParams() *DetailConfigParams

NewDetailConfigParams creates a new DetailConfigParams 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 NewDetailConfigParamsWithContext

func NewDetailConfigParamsWithContext(ctx context.Context) *DetailConfigParams

NewDetailConfigParamsWithContext creates a new DetailConfigParams object with the ability to set a context for a request.

func NewDetailConfigParamsWithHTTPClient

func NewDetailConfigParamsWithHTTPClient(client *http.Client) *DetailConfigParams

NewDetailConfigParamsWithHTTPClient creates a new DetailConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDetailConfigParamsWithTimeout

func NewDetailConfigParamsWithTimeout(timeout time.Duration) *DetailConfigParams

NewDetailConfigParamsWithTimeout creates a new DetailConfigParams object with the ability to set a timeout on a request.

func (*DetailConfigParams) SetContext

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

SetContext adds the context to the detail config params

func (*DetailConfigParams) SetDefaults

func (o *DetailConfigParams) SetDefaults()

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

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

func (*DetailConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail config params

func (*DetailConfigParams) SetID

func (o *DetailConfigParams) SetID(id string)

SetID adds the id to the detail config params

func (*DetailConfigParams) SetTimeout

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

SetTimeout adds the timeout to the detail config params

func (*DetailConfigParams) WithContext

WithContext adds the context to the detail config params

func (*DetailConfigParams) WithDefaults

func (o *DetailConfigParams) WithDefaults() *DetailConfigParams

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

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

func (*DetailConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail config params

func (*DetailConfigParams) WithID

WithID adds the id to the detail config params

func (*DetailConfigParams) WithTimeout

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

WithTimeout adds the timeout to the detail config params

func (*DetailConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DetailConfigReader

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

DetailConfigReader is a Reader for the DetailConfig structure.

func (*DetailConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailConfigTooManyRequests added in v0.26.0

type DetailConfigTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailConfigTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewDetailConfigTooManyRequests added in v0.26.0

func NewDetailConfigTooManyRequests() *DetailConfigTooManyRequests

NewDetailConfigTooManyRequests creates a DetailConfigTooManyRequests with default headers values

func (*DetailConfigTooManyRequests) Error added in v0.26.0

func (*DetailConfigTooManyRequests) GetPayload added in v0.26.0

type DetailConfigTypeNotFound

type DetailConfigTypeNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailConfigTypeNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailConfigTypeNotFound

func NewDetailConfigTypeNotFound() *DetailConfigTypeNotFound

NewDetailConfigTypeNotFound creates a DetailConfigTypeNotFound with default headers values

func (*DetailConfigTypeNotFound) Error

func (o *DetailConfigTypeNotFound) Error() string

func (*DetailConfigTypeNotFound) GetPayload

type DetailConfigTypeOK

type DetailConfigTypeOK struct {
	Payload *rest_model.DetailConfigTypeEnvelope
}
DetailConfigTypeOK describes a response with status code 200, with default header values.

A singular config-type resource

func NewDetailConfigTypeOK

func NewDetailConfigTypeOK() *DetailConfigTypeOK

NewDetailConfigTypeOK creates a DetailConfigTypeOK with default headers values

func (*DetailConfigTypeOK) Error

func (o *DetailConfigTypeOK) Error() string

func (*DetailConfigTypeOK) GetPayload

type DetailConfigTypeParams

type DetailConfigTypeParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailConfigTypeParams contains all the parameters to send to the API endpoint

for the detail config type operation.

Typically these are written to a http.Request.

func NewDetailConfigTypeParams

func NewDetailConfigTypeParams() *DetailConfigTypeParams

NewDetailConfigTypeParams creates a new DetailConfigTypeParams 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 NewDetailConfigTypeParamsWithContext

func NewDetailConfigTypeParamsWithContext(ctx context.Context) *DetailConfigTypeParams

NewDetailConfigTypeParamsWithContext creates a new DetailConfigTypeParams object with the ability to set a context for a request.

func NewDetailConfigTypeParamsWithHTTPClient

func NewDetailConfigTypeParamsWithHTTPClient(client *http.Client) *DetailConfigTypeParams

NewDetailConfigTypeParamsWithHTTPClient creates a new DetailConfigTypeParams object with the ability to set a custom HTTPClient for a request.

func NewDetailConfigTypeParamsWithTimeout

func NewDetailConfigTypeParamsWithTimeout(timeout time.Duration) *DetailConfigTypeParams

NewDetailConfigTypeParamsWithTimeout creates a new DetailConfigTypeParams object with the ability to set a timeout on a request.

func (*DetailConfigTypeParams) SetContext

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

SetContext adds the context to the detail config type params

func (*DetailConfigTypeParams) SetDefaults

func (o *DetailConfigTypeParams) SetDefaults()

SetDefaults hydrates default values in the detail config type params (not the query body).

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

func (*DetailConfigTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail config type params

func (*DetailConfigTypeParams) SetID

func (o *DetailConfigTypeParams) SetID(id string)

SetID adds the id to the detail config type params

func (*DetailConfigTypeParams) SetTimeout

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

SetTimeout adds the timeout to the detail config type params

func (*DetailConfigTypeParams) WithContext

WithContext adds the context to the detail config type params

func (*DetailConfigTypeParams) WithDefaults

WithDefaults hydrates default values in the detail config type params (not the query body).

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

func (*DetailConfigTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail config type params

func (*DetailConfigTypeParams) WithID

WithID adds the id to the detail config type params

func (*DetailConfigTypeParams) WithTimeout

WithTimeout adds the timeout to the detail config type params

func (*DetailConfigTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailConfigTypeReader

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

DetailConfigTypeReader is a Reader for the DetailConfigType structure.

func (*DetailConfigTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailConfigTypeTooManyRequests added in v0.26.0

type DetailConfigTypeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailConfigTypeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewDetailConfigTypeTooManyRequests added in v0.26.0

func NewDetailConfigTypeTooManyRequests() *DetailConfigTypeTooManyRequests

NewDetailConfigTypeTooManyRequests creates a DetailConfigTypeTooManyRequests with default headers values

func (*DetailConfigTypeTooManyRequests) Error added in v0.26.0

func (*DetailConfigTypeTooManyRequests) GetPayload added in v0.26.0

type DetailConfigTypeUnauthorized

type DetailConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailConfigTypeUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDetailConfigTypeUnauthorized

func NewDetailConfigTypeUnauthorized() *DetailConfigTypeUnauthorized

NewDetailConfigTypeUnauthorized creates a DetailConfigTypeUnauthorized with default headers values

func (*DetailConfigTypeUnauthorized) Error

func (*DetailConfigTypeUnauthorized) GetPayload

type DetailConfigUnauthorized

type DetailConfigUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailConfigUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDetailConfigUnauthorized

func NewDetailConfigUnauthorized() *DetailConfigUnauthorized

NewDetailConfigUnauthorized creates a DetailConfigUnauthorized with default headers values

func (*DetailConfigUnauthorized) Error

func (o *DetailConfigUnauthorized) Error() string

func (*DetailConfigUnauthorized) GetPayload

type ListConfigTypesBadRequest

type ListConfigTypesBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigTypesBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListConfigTypesBadRequest

func NewListConfigTypesBadRequest() *ListConfigTypesBadRequest

NewListConfigTypesBadRequest creates a ListConfigTypesBadRequest with default headers values

func (*ListConfigTypesBadRequest) Error

func (o *ListConfigTypesBadRequest) Error() string

func (*ListConfigTypesBadRequest) GetPayload

type ListConfigTypesOK

type ListConfigTypesOK struct {
	Payload *rest_model.ListConfigTypesEnvelope
}
ListConfigTypesOK describes a response with status code 200, with default header values.

A list of config-types

func NewListConfigTypesOK

func NewListConfigTypesOK() *ListConfigTypesOK

NewListConfigTypesOK creates a ListConfigTypesOK with default headers values

func (*ListConfigTypesOK) Error

func (o *ListConfigTypesOK) Error() string

func (*ListConfigTypesOK) GetPayload

type ListConfigTypesParams

type ListConfigTypesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListConfigTypesParams contains all the parameters to send to the API endpoint

for the list config types operation.

Typically these are written to a http.Request.

func NewListConfigTypesParams

func NewListConfigTypesParams() *ListConfigTypesParams

NewListConfigTypesParams creates a new ListConfigTypesParams 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 NewListConfigTypesParamsWithContext

func NewListConfigTypesParamsWithContext(ctx context.Context) *ListConfigTypesParams

NewListConfigTypesParamsWithContext creates a new ListConfigTypesParams object with the ability to set a context for a request.

func NewListConfigTypesParamsWithHTTPClient

func NewListConfigTypesParamsWithHTTPClient(client *http.Client) *ListConfigTypesParams

NewListConfigTypesParamsWithHTTPClient creates a new ListConfigTypesParams object with the ability to set a custom HTTPClient for a request.

func NewListConfigTypesParamsWithTimeout

func NewListConfigTypesParamsWithTimeout(timeout time.Duration) *ListConfigTypesParams

NewListConfigTypesParamsWithTimeout creates a new ListConfigTypesParams object with the ability to set a timeout on a request.

func (*ListConfigTypesParams) SetContext

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

SetContext adds the context to the list config types params

func (*ListConfigTypesParams) SetDefaults

func (o *ListConfigTypesParams) SetDefaults()

SetDefaults hydrates default values in the list config types params (not the query body).

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

func (*ListConfigTypesParams) SetFilter

func (o *ListConfigTypesParams) SetFilter(filter *string)

SetFilter adds the filter to the list config types params

func (*ListConfigTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list config types params

func (*ListConfigTypesParams) SetLimit

func (o *ListConfigTypesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list config types params

func (*ListConfigTypesParams) SetOffset

func (o *ListConfigTypesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list config types params

func (*ListConfigTypesParams) SetTimeout

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

SetTimeout adds the timeout to the list config types params

func (*ListConfigTypesParams) WithContext

WithContext adds the context to the list config types params

func (*ListConfigTypesParams) WithDefaults

func (o *ListConfigTypesParams) WithDefaults() *ListConfigTypesParams

WithDefaults hydrates default values in the list config types params (not the query body).

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

func (*ListConfigTypesParams) WithFilter

func (o *ListConfigTypesParams) WithFilter(filter *string) *ListConfigTypesParams

WithFilter adds the filter to the list config types params

func (*ListConfigTypesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list config types params

func (*ListConfigTypesParams) WithLimit

func (o *ListConfigTypesParams) WithLimit(limit *int64) *ListConfigTypesParams

WithLimit adds the limit to the list config types params

func (*ListConfigTypesParams) WithOffset

func (o *ListConfigTypesParams) WithOffset(offset *int64) *ListConfigTypesParams

WithOffset adds the offset to the list config types params

func (*ListConfigTypesParams) WithTimeout

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

WithTimeout adds the timeout to the list config types params

func (*ListConfigTypesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListConfigTypesReader

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

ListConfigTypesReader is a Reader for the ListConfigTypes structure.

func (*ListConfigTypesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConfigTypesTooManyRequests added in v0.26.0

type ListConfigTypesTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigTypesTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewListConfigTypesTooManyRequests added in v0.26.0

func NewListConfigTypesTooManyRequests() *ListConfigTypesTooManyRequests

NewListConfigTypesTooManyRequests creates a ListConfigTypesTooManyRequests with default headers values

func (*ListConfigTypesTooManyRequests) Error added in v0.26.0

func (*ListConfigTypesTooManyRequests) GetPayload added in v0.26.0

type ListConfigTypesUnauthorized

type ListConfigTypesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigTypesUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListConfigTypesUnauthorized

func NewListConfigTypesUnauthorized() *ListConfigTypesUnauthorized

NewListConfigTypesUnauthorized creates a ListConfigTypesUnauthorized with default headers values

func (*ListConfigTypesUnauthorized) Error

func (*ListConfigTypesUnauthorized) GetPayload

type ListConfigsBadRequest

type ListConfigsBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigsBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListConfigsBadRequest

func NewListConfigsBadRequest() *ListConfigsBadRequest

NewListConfigsBadRequest creates a ListConfigsBadRequest with default headers values

func (*ListConfigsBadRequest) Error

func (o *ListConfigsBadRequest) Error() string

func (*ListConfigsBadRequest) GetPayload

type ListConfigsForConfigTypeOK

type ListConfigsForConfigTypeOK struct {
	Payload *rest_model.ListConfigsEnvelope
}
ListConfigsForConfigTypeOK describes a response with status code 200, with default header values.

A list of configs

func NewListConfigsForConfigTypeOK

func NewListConfigsForConfigTypeOK() *ListConfigsForConfigTypeOK

NewListConfigsForConfigTypeOK creates a ListConfigsForConfigTypeOK with default headers values

func (*ListConfigsForConfigTypeOK) Error

func (*ListConfigsForConfigTypeOK) GetPayload

type ListConfigsForConfigTypeParams

type ListConfigsForConfigTypeParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListConfigsForConfigTypeParams contains all the parameters to send to the API endpoint

for the list configs for config type operation.

Typically these are written to a http.Request.

func NewListConfigsForConfigTypeParams

func NewListConfigsForConfigTypeParams() *ListConfigsForConfigTypeParams

NewListConfigsForConfigTypeParams creates a new ListConfigsForConfigTypeParams 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 NewListConfigsForConfigTypeParamsWithContext

func NewListConfigsForConfigTypeParamsWithContext(ctx context.Context) *ListConfigsForConfigTypeParams

NewListConfigsForConfigTypeParamsWithContext creates a new ListConfigsForConfigTypeParams object with the ability to set a context for a request.

func NewListConfigsForConfigTypeParamsWithHTTPClient

func NewListConfigsForConfigTypeParamsWithHTTPClient(client *http.Client) *ListConfigsForConfigTypeParams

NewListConfigsForConfigTypeParamsWithHTTPClient creates a new ListConfigsForConfigTypeParams object with the ability to set a custom HTTPClient for a request.

func NewListConfigsForConfigTypeParamsWithTimeout

func NewListConfigsForConfigTypeParamsWithTimeout(timeout time.Duration) *ListConfigsForConfigTypeParams

NewListConfigsForConfigTypeParamsWithTimeout creates a new ListConfigsForConfigTypeParams object with the ability to set a timeout on a request.

func (*ListConfigsForConfigTypeParams) SetContext

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

SetContext adds the context to the list configs for config type params

func (*ListConfigsForConfigTypeParams) SetDefaults

func (o *ListConfigsForConfigTypeParams) SetDefaults()

SetDefaults hydrates default values in the list configs for config type params (not the query body).

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

func (*ListConfigsForConfigTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list configs for config type params

func (*ListConfigsForConfigTypeParams) SetID

SetID adds the id to the list configs for config type params

func (*ListConfigsForConfigTypeParams) SetTimeout

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

SetTimeout adds the timeout to the list configs for config type params

func (*ListConfigsForConfigTypeParams) WithContext

WithContext adds the context to the list configs for config type params

func (*ListConfigsForConfigTypeParams) WithDefaults

WithDefaults hydrates default values in the list configs for config type params (not the query body).

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

func (*ListConfigsForConfigTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list configs for config type params

func (*ListConfigsForConfigTypeParams) WithID

WithID adds the id to the list configs for config type params

func (*ListConfigsForConfigTypeParams) WithTimeout

WithTimeout adds the timeout to the list configs for config type params

func (*ListConfigsForConfigTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListConfigsForConfigTypeReader

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

ListConfigsForConfigTypeReader is a Reader for the ListConfigsForConfigType structure.

func (*ListConfigsForConfigTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConfigsForConfigTypeTooManyRequests added in v0.26.0

type ListConfigsForConfigTypeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigsForConfigTypeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewListConfigsForConfigTypeTooManyRequests added in v0.26.0

func NewListConfigsForConfigTypeTooManyRequests() *ListConfigsForConfigTypeTooManyRequests

NewListConfigsForConfigTypeTooManyRequests creates a ListConfigsForConfigTypeTooManyRequests with default headers values

func (*ListConfigsForConfigTypeTooManyRequests) Error added in v0.26.0

func (*ListConfigsForConfigTypeTooManyRequests) GetPayload added in v0.26.0

type ListConfigsOK

type ListConfigsOK struct {
	Payload *rest_model.ListConfigsEnvelope
}
ListConfigsOK describes a response with status code 200, with default header values.

A list of configs

func NewListConfigsOK

func NewListConfigsOK() *ListConfigsOK

NewListConfigsOK creates a ListConfigsOK with default headers values

func (*ListConfigsOK) Error

func (o *ListConfigsOK) Error() string

func (*ListConfigsOK) GetPayload

func (o *ListConfigsOK) GetPayload() *rest_model.ListConfigsEnvelope

type ListConfigsParams

type ListConfigsParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListConfigsParams contains all the parameters to send to the API endpoint

for the list configs operation.

Typically these are written to a http.Request.

func NewListConfigsParams

func NewListConfigsParams() *ListConfigsParams

NewListConfigsParams creates a new ListConfigsParams 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 NewListConfigsParamsWithContext

func NewListConfigsParamsWithContext(ctx context.Context) *ListConfigsParams

NewListConfigsParamsWithContext creates a new ListConfigsParams object with the ability to set a context for a request.

func NewListConfigsParamsWithHTTPClient

func NewListConfigsParamsWithHTTPClient(client *http.Client) *ListConfigsParams

NewListConfigsParamsWithHTTPClient creates a new ListConfigsParams object with the ability to set a custom HTTPClient for a request.

func NewListConfigsParamsWithTimeout

func NewListConfigsParamsWithTimeout(timeout time.Duration) *ListConfigsParams

NewListConfigsParamsWithTimeout creates a new ListConfigsParams object with the ability to set a timeout on a request.

func (*ListConfigsParams) SetContext

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

SetContext adds the context to the list configs params

func (*ListConfigsParams) SetDefaults

func (o *ListConfigsParams) SetDefaults()

SetDefaults hydrates default values in the list configs params (not the query body).

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

func (*ListConfigsParams) SetFilter

func (o *ListConfigsParams) SetFilter(filter *string)

SetFilter adds the filter to the list configs params

func (*ListConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list configs params

func (*ListConfigsParams) SetLimit

func (o *ListConfigsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list configs params

func (*ListConfigsParams) SetOffset

func (o *ListConfigsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list configs params

func (*ListConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the list configs params

func (*ListConfigsParams) WithContext

func (o *ListConfigsParams) WithContext(ctx context.Context) *ListConfigsParams

WithContext adds the context to the list configs params

func (*ListConfigsParams) WithDefaults

func (o *ListConfigsParams) WithDefaults() *ListConfigsParams

WithDefaults hydrates default values in the list configs params (not the query body).

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

func (*ListConfigsParams) WithFilter

func (o *ListConfigsParams) WithFilter(filter *string) *ListConfigsParams

WithFilter adds the filter to the list configs params

func (*ListConfigsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list configs params

func (*ListConfigsParams) WithLimit

func (o *ListConfigsParams) WithLimit(limit *int64) *ListConfigsParams

WithLimit adds the limit to the list configs params

func (*ListConfigsParams) WithOffset

func (o *ListConfigsParams) WithOffset(offset *int64) *ListConfigsParams

WithOffset adds the offset to the list configs params

func (*ListConfigsParams) WithTimeout

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

WithTimeout adds the timeout to the list configs params

func (*ListConfigsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListConfigsReader

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

ListConfigsReader is a Reader for the ListConfigs structure.

func (*ListConfigsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConfigsTooManyRequests added in v0.26.0

type ListConfigsTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigsTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewListConfigsTooManyRequests added in v0.26.0

func NewListConfigsTooManyRequests() *ListConfigsTooManyRequests

NewListConfigsTooManyRequests creates a ListConfigsTooManyRequests with default headers values

func (*ListConfigsTooManyRequests) Error added in v0.26.0

func (*ListConfigsTooManyRequests) GetPayload added in v0.26.0

type ListConfigsUnauthorized

type ListConfigsUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListConfigsUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListConfigsUnauthorized

func NewListConfigsUnauthorized() *ListConfigsUnauthorized

NewListConfigsUnauthorized creates a ListConfigsUnauthorized with default headers values

func (*ListConfigsUnauthorized) Error

func (o *ListConfigsUnauthorized) Error() string

func (*ListConfigsUnauthorized) GetPayload

type PatchConfigBadRequest

type PatchConfigBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewPatchConfigBadRequest

func NewPatchConfigBadRequest() *PatchConfigBadRequest

NewPatchConfigBadRequest creates a PatchConfigBadRequest with default headers values

func (*PatchConfigBadRequest) Error

func (o *PatchConfigBadRequest) Error() string

func (*PatchConfigBadRequest) GetPayload

type PatchConfigNotFound

type PatchConfigNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewPatchConfigNotFound

func NewPatchConfigNotFound() *PatchConfigNotFound

NewPatchConfigNotFound creates a PatchConfigNotFound with default headers values

func (*PatchConfigNotFound) Error

func (o *PatchConfigNotFound) Error() string

func (*PatchConfigNotFound) GetPayload

type PatchConfigOK

type PatchConfigOK struct {
	Payload *rest_model.Empty
}
PatchConfigOK describes a response with status code 200, with default header values.

The patch request was successful and the resource has been altered

func NewPatchConfigOK

func NewPatchConfigOK() *PatchConfigOK

NewPatchConfigOK creates a PatchConfigOK with default headers values

func (*PatchConfigOK) Error

func (o *PatchConfigOK) Error() string

func (*PatchConfigOK) GetPayload

func (o *PatchConfigOK) GetPayload() *rest_model.Empty

type PatchConfigParams

type PatchConfigParams struct {

	/* Config.

	   A config patch object
	*/
	Config *rest_model.ConfigPatch

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

PatchConfigParams contains all the parameters to send to the API endpoint

for the patch config operation.

Typically these are written to a http.Request.

func NewPatchConfigParams

func NewPatchConfigParams() *PatchConfigParams

NewPatchConfigParams creates a new PatchConfigParams 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 NewPatchConfigParamsWithContext

func NewPatchConfigParamsWithContext(ctx context.Context) *PatchConfigParams

NewPatchConfigParamsWithContext creates a new PatchConfigParams object with the ability to set a context for a request.

func NewPatchConfigParamsWithHTTPClient

func NewPatchConfigParamsWithHTTPClient(client *http.Client) *PatchConfigParams

NewPatchConfigParamsWithHTTPClient creates a new PatchConfigParams object with the ability to set a custom HTTPClient for a request.

func NewPatchConfigParamsWithTimeout

func NewPatchConfigParamsWithTimeout(timeout time.Duration) *PatchConfigParams

NewPatchConfigParamsWithTimeout creates a new PatchConfigParams object with the ability to set a timeout on a request.

func (*PatchConfigParams) SetConfig

func (o *PatchConfigParams) SetConfig(config *rest_model.ConfigPatch)

SetConfig adds the config to the patch config params

func (*PatchConfigParams) SetContext

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

SetContext adds the context to the patch config params

func (*PatchConfigParams) SetDefaults

func (o *PatchConfigParams) SetDefaults()

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

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

func (*PatchConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch config params

func (*PatchConfigParams) SetID

func (o *PatchConfigParams) SetID(id string)

SetID adds the id to the patch config params

func (*PatchConfigParams) SetTimeout

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

SetTimeout adds the timeout to the patch config params

func (*PatchConfigParams) WithConfig

WithConfig adds the config to the patch config params

func (*PatchConfigParams) WithContext

func (o *PatchConfigParams) WithContext(ctx context.Context) *PatchConfigParams

WithContext adds the context to the patch config params

func (*PatchConfigParams) WithDefaults

func (o *PatchConfigParams) WithDefaults() *PatchConfigParams

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

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

func (*PatchConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch config params

func (*PatchConfigParams) WithID

WithID adds the id to the patch config params

func (*PatchConfigParams) WithTimeout

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

WithTimeout adds the timeout to the patch config params

func (*PatchConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchConfigReader

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

PatchConfigReader is a Reader for the PatchConfig structure.

func (*PatchConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchConfigTooManyRequests added in v0.26.0

type PatchConfigTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewPatchConfigTooManyRequests added in v0.26.0

func NewPatchConfigTooManyRequests() *PatchConfigTooManyRequests

NewPatchConfigTooManyRequests creates a PatchConfigTooManyRequests with default headers values

func (*PatchConfigTooManyRequests) Error added in v0.26.0

func (*PatchConfigTooManyRequests) GetPayload added in v0.26.0

type PatchConfigTypeBadRequest

type PatchConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigTypeBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewPatchConfigTypeBadRequest

func NewPatchConfigTypeBadRequest() *PatchConfigTypeBadRequest

NewPatchConfigTypeBadRequest creates a PatchConfigTypeBadRequest with default headers values

func (*PatchConfigTypeBadRequest) Error

func (o *PatchConfigTypeBadRequest) Error() string

func (*PatchConfigTypeBadRequest) GetPayload

type PatchConfigTypeNotFound

type PatchConfigTypeNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigTypeNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewPatchConfigTypeNotFound

func NewPatchConfigTypeNotFound() *PatchConfigTypeNotFound

NewPatchConfigTypeNotFound creates a PatchConfigTypeNotFound with default headers values

func (*PatchConfigTypeNotFound) Error

func (o *PatchConfigTypeNotFound) Error() string

func (*PatchConfigTypeNotFound) GetPayload

type PatchConfigTypeOK

type PatchConfigTypeOK struct {
	Payload *rest_model.Empty
}
PatchConfigTypeOK describes a response with status code 200, with default header values.

The patch request was successful and the resource has been altered

func NewPatchConfigTypeOK

func NewPatchConfigTypeOK() *PatchConfigTypeOK

NewPatchConfigTypeOK creates a PatchConfigTypeOK with default headers values

func (*PatchConfigTypeOK) Error

func (o *PatchConfigTypeOK) Error() string

func (*PatchConfigTypeOK) GetPayload

func (o *PatchConfigTypeOK) GetPayload() *rest_model.Empty

type PatchConfigTypeParams

type PatchConfigTypeParams struct {

	/* ConfigType.

	   A config-type patch object
	*/
	ConfigType *rest_model.ConfigTypePatch

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

PatchConfigTypeParams contains all the parameters to send to the API endpoint

for the patch config type operation.

Typically these are written to a http.Request.

func NewPatchConfigTypeParams

func NewPatchConfigTypeParams() *PatchConfigTypeParams

NewPatchConfigTypeParams creates a new PatchConfigTypeParams 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 NewPatchConfigTypeParamsWithContext

func NewPatchConfigTypeParamsWithContext(ctx context.Context) *PatchConfigTypeParams

NewPatchConfigTypeParamsWithContext creates a new PatchConfigTypeParams object with the ability to set a context for a request.

func NewPatchConfigTypeParamsWithHTTPClient

func NewPatchConfigTypeParamsWithHTTPClient(client *http.Client) *PatchConfigTypeParams

NewPatchConfigTypeParamsWithHTTPClient creates a new PatchConfigTypeParams object with the ability to set a custom HTTPClient for a request.

func NewPatchConfigTypeParamsWithTimeout

func NewPatchConfigTypeParamsWithTimeout(timeout time.Duration) *PatchConfigTypeParams

NewPatchConfigTypeParamsWithTimeout creates a new PatchConfigTypeParams object with the ability to set a timeout on a request.

func (*PatchConfigTypeParams) SetConfigType

func (o *PatchConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypePatch)

SetConfigType adds the configType to the patch config type params

func (*PatchConfigTypeParams) SetContext

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

SetContext adds the context to the patch config type params

func (*PatchConfigTypeParams) SetDefaults

func (o *PatchConfigTypeParams) SetDefaults()

SetDefaults hydrates default values in the patch config type params (not the query body).

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

func (*PatchConfigTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch config type params

func (*PatchConfigTypeParams) SetID

func (o *PatchConfigTypeParams) SetID(id string)

SetID adds the id to the patch config type params

func (*PatchConfigTypeParams) SetTimeout

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

SetTimeout adds the timeout to the patch config type params

func (*PatchConfigTypeParams) WithConfigType

WithConfigType adds the configType to the patch config type params

func (*PatchConfigTypeParams) WithContext

WithContext adds the context to the patch config type params

func (*PatchConfigTypeParams) WithDefaults

func (o *PatchConfigTypeParams) WithDefaults() *PatchConfigTypeParams

WithDefaults hydrates default values in the patch config type params (not the query body).

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

func (*PatchConfigTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch config type params

func (*PatchConfigTypeParams) WithID

WithID adds the id to the patch config type params

func (*PatchConfigTypeParams) WithTimeout

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

WithTimeout adds the timeout to the patch config type params

func (*PatchConfigTypeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchConfigTypeReader

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

PatchConfigTypeReader is a Reader for the PatchConfigType structure.

func (*PatchConfigTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchConfigTypeTooManyRequests added in v0.26.0

type PatchConfigTypeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigTypeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewPatchConfigTypeTooManyRequests added in v0.26.0

func NewPatchConfigTypeTooManyRequests() *PatchConfigTypeTooManyRequests

NewPatchConfigTypeTooManyRequests creates a PatchConfigTypeTooManyRequests with default headers values

func (*PatchConfigTypeTooManyRequests) Error added in v0.26.0

func (*PatchConfigTypeTooManyRequests) GetPayload added in v0.26.0

type PatchConfigTypeUnauthorized

type PatchConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigTypeUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewPatchConfigTypeUnauthorized

func NewPatchConfigTypeUnauthorized() *PatchConfigTypeUnauthorized

NewPatchConfigTypeUnauthorized creates a PatchConfigTypeUnauthorized with default headers values

func (*PatchConfigTypeUnauthorized) Error

func (*PatchConfigTypeUnauthorized) GetPayload

type PatchConfigUnauthorized

type PatchConfigUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchConfigUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewPatchConfigUnauthorized

func NewPatchConfigUnauthorized() *PatchConfigUnauthorized

NewPatchConfigUnauthorized creates a PatchConfigUnauthorized with default headers values

func (*PatchConfigUnauthorized) Error

func (o *PatchConfigUnauthorized) Error() string

func (*PatchConfigUnauthorized) GetPayload

type UpdateConfigBadRequest

type UpdateConfigBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewUpdateConfigBadRequest

func NewUpdateConfigBadRequest() *UpdateConfigBadRequest

NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values

func (*UpdateConfigBadRequest) Error

func (o *UpdateConfigBadRequest) Error() string

func (*UpdateConfigBadRequest) GetPayload

type UpdateConfigNotFound

type UpdateConfigNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewUpdateConfigNotFound

func NewUpdateConfigNotFound() *UpdateConfigNotFound

NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values

func (*UpdateConfigNotFound) Error

func (o *UpdateConfigNotFound) Error() string

func (*UpdateConfigNotFound) GetPayload

type UpdateConfigOK

type UpdateConfigOK struct {
	Payload *rest_model.Empty
}
UpdateConfigOK describes a response with status code 200, with default header values.

The update request was successful and the resource has been altered

func NewUpdateConfigOK

func NewUpdateConfigOK() *UpdateConfigOK

NewUpdateConfigOK creates a UpdateConfigOK with default headers values

func (*UpdateConfigOK) Error

func (o *UpdateConfigOK) Error() string

func (*UpdateConfigOK) GetPayload

func (o *UpdateConfigOK) GetPayload() *rest_model.Empty

type UpdateConfigParams

type UpdateConfigParams struct {

	/* Config.

	   A config update object
	*/
	Config *rest_model.ConfigUpdate

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

UpdateConfigParams contains all the parameters to send to the API endpoint

for the update config operation.

Typically these are written to a http.Request.

func NewUpdateConfigParams

func NewUpdateConfigParams() *UpdateConfigParams

NewUpdateConfigParams creates a new UpdateConfigParams 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 NewUpdateConfigParamsWithContext

func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams

NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the ability to set a context for a request.

func NewUpdateConfigParamsWithHTTPClient

func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams

NewUpdateConfigParamsWithHTTPClient creates a new UpdateConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConfigParamsWithTimeout

func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams

NewUpdateConfigParamsWithTimeout creates a new UpdateConfigParams object with the ability to set a timeout on a request.

func (*UpdateConfigParams) SetConfig

func (o *UpdateConfigParams) SetConfig(config *rest_model.ConfigUpdate)

SetConfig adds the config to the update config params

func (*UpdateConfigParams) SetContext

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

SetContext adds the context to the update config params

func (*UpdateConfigParams) SetDefaults

func (o *UpdateConfigParams) SetDefaults()

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

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

func (*UpdateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) SetID

func (o *UpdateConfigParams) SetID(id string)

SetID adds the id to the update config params

func (*UpdateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WithConfig

WithConfig adds the config to the update config params

func (*UpdateConfigParams) WithContext

WithContext adds the context to the update config params

func (*UpdateConfigParams) WithDefaults

func (o *UpdateConfigParams) WithDefaults() *UpdateConfigParams

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

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

func (*UpdateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) WithID

WithID adds the id to the update config params

func (*UpdateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateConfigReader

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

UpdateConfigReader is a Reader for the UpdateConfig structure.

func (*UpdateConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConfigTooManyRequests added in v0.26.0

type UpdateConfigTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewUpdateConfigTooManyRequests added in v0.26.0

func NewUpdateConfigTooManyRequests() *UpdateConfigTooManyRequests

NewUpdateConfigTooManyRequests creates a UpdateConfigTooManyRequests with default headers values

func (*UpdateConfigTooManyRequests) Error added in v0.26.0

func (*UpdateConfigTooManyRequests) GetPayload added in v0.26.0

type UpdateConfigTypeBadRequest

type UpdateConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTypeBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewUpdateConfigTypeBadRequest

func NewUpdateConfigTypeBadRequest() *UpdateConfigTypeBadRequest

NewUpdateConfigTypeBadRequest creates a UpdateConfigTypeBadRequest with default headers values

func (*UpdateConfigTypeBadRequest) Error

func (*UpdateConfigTypeBadRequest) GetPayload

type UpdateConfigTypeNotFound

type UpdateConfigTypeNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTypeNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewUpdateConfigTypeNotFound

func NewUpdateConfigTypeNotFound() *UpdateConfigTypeNotFound

NewUpdateConfigTypeNotFound creates a UpdateConfigTypeNotFound with default headers values

func (*UpdateConfigTypeNotFound) Error

func (o *UpdateConfigTypeNotFound) Error() string

func (*UpdateConfigTypeNotFound) GetPayload

type UpdateConfigTypeOK

type UpdateConfigTypeOK struct {
	Payload *rest_model.Empty
}
UpdateConfigTypeOK describes a response with status code 200, with default header values.

The update request was successful and the resource has been altered

func NewUpdateConfigTypeOK

func NewUpdateConfigTypeOK() *UpdateConfigTypeOK

NewUpdateConfigTypeOK creates a UpdateConfigTypeOK with default headers values

func (*UpdateConfigTypeOK) Error

func (o *UpdateConfigTypeOK) Error() string

func (*UpdateConfigTypeOK) GetPayload

func (o *UpdateConfigTypeOK) GetPayload() *rest_model.Empty

type UpdateConfigTypeParams

type UpdateConfigTypeParams struct {

	/* ConfigType.

	   A config-type update object
	*/
	ConfigType *rest_model.ConfigTypeUpdate

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

UpdateConfigTypeParams contains all the parameters to send to the API endpoint

for the update config type operation.

Typically these are written to a http.Request.

func NewUpdateConfigTypeParams

func NewUpdateConfigTypeParams() *UpdateConfigTypeParams

NewUpdateConfigTypeParams creates a new UpdateConfigTypeParams 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 NewUpdateConfigTypeParamsWithContext

func NewUpdateConfigTypeParamsWithContext(ctx context.Context) *UpdateConfigTypeParams

NewUpdateConfigTypeParamsWithContext creates a new UpdateConfigTypeParams object with the ability to set a context for a request.

func NewUpdateConfigTypeParamsWithHTTPClient

func NewUpdateConfigTypeParamsWithHTTPClient(client *http.Client) *UpdateConfigTypeParams

NewUpdateConfigTypeParamsWithHTTPClient creates a new UpdateConfigTypeParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConfigTypeParamsWithTimeout

func NewUpdateConfigTypeParamsWithTimeout(timeout time.Duration) *UpdateConfigTypeParams

NewUpdateConfigTypeParamsWithTimeout creates a new UpdateConfigTypeParams object with the ability to set a timeout on a request.

func (*UpdateConfigTypeParams) SetConfigType

func (o *UpdateConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypeUpdate)

SetConfigType adds the configType to the update config type params

func (*UpdateConfigTypeParams) SetContext

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

SetContext adds the context to the update config type params

func (*UpdateConfigTypeParams) SetDefaults

func (o *UpdateConfigTypeParams) SetDefaults()

SetDefaults hydrates default values in the update config type params (not the query body).

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

func (*UpdateConfigTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update config type params

func (*UpdateConfigTypeParams) SetID

func (o *UpdateConfigTypeParams) SetID(id string)

SetID adds the id to the update config type params

func (*UpdateConfigTypeParams) SetTimeout

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

SetTimeout adds the timeout to the update config type params

func (*UpdateConfigTypeParams) WithConfigType

WithConfigType adds the configType to the update config type params

func (*UpdateConfigTypeParams) WithContext

WithContext adds the context to the update config type params

func (*UpdateConfigTypeParams) WithDefaults

WithDefaults hydrates default values in the update config type params (not the query body).

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

func (*UpdateConfigTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update config type params

func (*UpdateConfigTypeParams) WithID

WithID adds the id to the update config type params

func (*UpdateConfigTypeParams) WithTimeout

WithTimeout adds the timeout to the update config type params

func (*UpdateConfigTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateConfigTypeReader

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

UpdateConfigTypeReader is a Reader for the UpdateConfigType structure.

func (*UpdateConfigTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConfigTypeTooManyRequests added in v0.26.0

type UpdateConfigTypeTooManyRequests struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTypeTooManyRequests describes a response with status code 429, with default header values.

The resource requested is rate limited and the rate limit has been exceeded

func NewUpdateConfigTypeTooManyRequests added in v0.26.0

func NewUpdateConfigTypeTooManyRequests() *UpdateConfigTypeTooManyRequests

NewUpdateConfigTypeTooManyRequests creates a UpdateConfigTypeTooManyRequests with default headers values

func (*UpdateConfigTypeTooManyRequests) Error added in v0.26.0

func (*UpdateConfigTypeTooManyRequests) GetPayload added in v0.26.0

type UpdateConfigTypeUnauthorized

type UpdateConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTypeUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewUpdateConfigTypeUnauthorized

func NewUpdateConfigTypeUnauthorized() *UpdateConfigTypeUnauthorized

NewUpdateConfigTypeUnauthorized creates a UpdateConfigTypeUnauthorized with default headers values

func (*UpdateConfigTypeUnauthorized) Error

func (*UpdateConfigTypeUnauthorized) GetPayload

type UpdateConfigUnauthorized

type UpdateConfigUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateConfigUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewUpdateConfigUnauthorized

func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized

NewUpdateConfigUnauthorized creates a UpdateConfigUnauthorized with default headers values

func (*UpdateConfigUnauthorized) Error

func (o *UpdateConfigUnauthorized) Error() string

func (*UpdateConfigUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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