config

package
v0.16.62 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for config API

func (*Client) CreateConfig

func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigOK, 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) (*CreateConfigTypeOK, error)

CreateConfigType creates a config type requires admin access

func (*Client) DeleteConfig

func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*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) (*UpdateConfigTypeOK, error)

UpdateConfigType updates all fields on a config type

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

type ClientService

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

	CreateConfigType(params *CreateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigTypeOK, error)

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

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

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

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

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

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

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

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

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

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

	UpdateConfigType(params *UpdateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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 CreateConfigOK

type CreateConfigOK struct {
	Payload *rest_model.CreateEnvelope
}

CreateConfigOK handles this case with default header values.

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

func NewCreateConfigOK

func NewCreateConfigOK() *CreateConfigOK

NewCreateConfigOK creates a CreateConfigOK with default headers values

func (*CreateConfigOK) Error

func (o *CreateConfigOK) Error() string

func (*CreateConfigOK) GetPayload

func (o *CreateConfigOK) GetPayload() *rest_model.CreateEnvelope

type CreateConfigParams

type CreateConfigParams struct {

	/*Body
	  A config to create

	*/
	Body *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 values initialized.

func NewCreateConfigParamsWithContext

func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams

NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateConfigParams) SetBody

func (o *CreateConfigParams) SetBody(body *rest_model.ConfigCreate)

SetBody adds the body 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) 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) WithBody

WithBody adds the body to the create config params

func (*CreateConfigParams) WithContext

WithContext adds the context to the create config params

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 CreateConfigTypeBadRequest

type CreateConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

CreateConfigTypeBadRequest handles this case 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 CreateConfigTypeOK

type CreateConfigTypeOK struct {
	Payload *rest_model.CreateEnvelope
}

CreateConfigTypeOK handles this case with default header values.

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

func NewCreateConfigTypeOK

func NewCreateConfigTypeOK() *CreateConfigTypeOK

NewCreateConfigTypeOK creates a CreateConfigTypeOK with default headers values

func (*CreateConfigTypeOK) Error

func (o *CreateConfigTypeOK) Error() string

func (*CreateConfigTypeOK) GetPayload

func (o *CreateConfigTypeOK) GetPayload() *rest_model.CreateEnvelope

type CreateConfigTypeParams

type CreateConfigTypeParams struct {

	/*Body
	  A config-type to create

	*/
	Body *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 values initialized.

func NewCreateConfigTypeParamsWithContext

func NewCreateConfigTypeParamsWithContext(ctx context.Context) *CreateConfigTypeParams

NewCreateConfigTypeParamsWithContext creates a new CreateConfigTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateConfigTypeParams) SetBody

SetBody adds the body 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) 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) WithBody

WithBody adds the body to the create config type params

func (*CreateConfigTypeParams) WithContext

WithContext adds the context to the create config type params

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 CreateConfigTypeUnauthorized

type CreateConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

func NewDeleteConfigParamsWithContext

func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams

NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteConfigTypeBadRequest

type DeleteConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

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

func NewDeleteConfigTypeParamsWithContext

func NewDeleteConfigTypeParamsWithContext(ctx context.Context) *DeleteConfigTypeParams

NewDeleteConfigTypeParamsWithContext creates a new DeleteConfigTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteConfigTypeUnauthorized

type DeleteConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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

func NewDetailConfigParamsWithContext

func NewDetailConfigParamsWithContext(ctx context.Context) *DetailConfigParams

NewDetailConfigParamsWithContext creates a new DetailConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DetailConfigTypeNotFound

type DetailConfigTypeNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

func NewDetailConfigTypeParamsWithContext

func NewDetailConfigTypeParamsWithContext(ctx context.Context) *DetailConfigTypeParams

NewDetailConfigTypeParamsWithContext creates a new DetailConfigTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DetailConfigTypeUnauthorized

type DetailConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

DetailConfigTypeUnauthorized handles this case 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 handles this case 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 ListConfigTypesOK

type ListConfigTypesOK struct {
	Payload *rest_model.ListConfigTypesEnvelope
}

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

func NewListConfigTypesParamsWithContext

func NewListConfigTypesParamsWithContext(ctx context.Context) *ListConfigTypesParams

NewListConfigTypesParamsWithContext creates a new ListConfigTypesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListConfigsForConfigTypeOK

type ListConfigsForConfigTypeOK struct {
	Payload *rest_model.ListConfigsEnvelope
}

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

func NewListConfigsForConfigTypeParamsWithContext

func NewListConfigsForConfigTypeParamsWithContext(ctx context.Context) *ListConfigsForConfigTypeParams

NewListConfigsForConfigTypeParamsWithContext creates a new ListConfigsForConfigTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListConfigsOK

type ListConfigsOK struct {
	Payload *rest_model.ListConfigsEnvelope
}

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

func NewListConfigsParamsWithContext

func NewListConfigsParamsWithContext(ctx context.Context) *ListConfigsParams

NewListConfigsParamsWithContext creates a new ListConfigsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListConfigsUnauthorized

type ListConfigsUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListConfigsUnauthorized handles this case 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 handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  A config patch object

	*/
	Body *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 values initialized.

func NewPatchConfigParamsWithContext

func NewPatchConfigParamsWithContext(ctx context.Context) *PatchConfigParams

NewPatchConfigParamsWithContext creates a new PatchConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*PatchConfigParams) SetBody

func (o *PatchConfigParams) SetBody(body *rest_model.ConfigPatch)

SetBody adds the body 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) 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) WithBody

WithBody adds the body 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) 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 PatchConfigTypeBadRequest

type PatchConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchConfigTypeBadRequest handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  A config-type patch object

	*/
	Body *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 values initialized.

func NewPatchConfigTypeParamsWithContext

func NewPatchConfigTypeParamsWithContext(ctx context.Context) *PatchConfigTypeParams

NewPatchConfigTypeParamsWithContext creates a new PatchConfigTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*PatchConfigTypeParams) SetBody

SetBody adds the body 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) 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) WithBody

WithBody adds the body to the patch config type params

func (*PatchConfigTypeParams) WithContext

WithContext adds the context to the patch config type params

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 PatchConfigTypeUnauthorized

type PatchConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchConfigTypeUnauthorized handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  A config update object

	*/
	Body *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 values initialized.

func NewUpdateConfigParamsWithContext

func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams

NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateConfigParams) SetBody

func (o *UpdateConfigParams) SetBody(body *rest_model.ConfigUpdate)

SetBody adds the body 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) 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) WithBody

WithBody adds the body to the update config params

func (*UpdateConfigParams) WithContext

WithContext adds the context to the update config params

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 UpdateConfigTypeBadRequest

type UpdateConfigTypeBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateConfigTypeBadRequest handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  A config-type update object

	*/
	Body *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 values initialized.

func NewUpdateConfigTypeParamsWithContext

func NewUpdateConfigTypeParamsWithContext(ctx context.Context) *UpdateConfigTypeParams

NewUpdateConfigTypeParamsWithContext creates a new UpdateConfigTypeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateConfigTypeParams) SetBody

SetBody adds the body 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) 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) WithBody

WithBody adds the body to the update config type params

func (*UpdateConfigTypeParams) WithContext

WithContext adds the context to the update config type params

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 UpdateConfigTypeUnauthorized

type UpdateConfigTypeUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

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