root_configuration

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 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 root configuration API

func (*Client) ExportSystemConfig

func (a *Client) ExportSystemConfig(params *ExportSystemConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportSystemConfigOK, error)
ExportSystemConfig exports tenant configuration

Returns a JSON with the configuration of the specified tenant.

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

func (*Client) ImportSystemConfig

func (a *Client) ImportSystemConfig(params *ImportSystemConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSystemConfigNoContent, error)
ImportSystemConfig imports tenant configuration

Import tenant's configuration.

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

func (*Client) PatchSystemConfigRfc6902

PatchSystemConfigRfc6902 JSONs patch

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

Applies the [RFC 6902](https://datatracker.ietf.org/doc/html/rfc6902) JSON Patch to the tenant configuration.

The Patch JSON API is intended for easy configuration changes when there are a small number of known tenant modifications and the user applying the patch is familiar with them.

The Patch JSON API accepts a JSON Array which objects represent a single operation applied to the target JSON (tenant configuration). Evaluation continues until all operations are successfully applied or until an error condition is encountered.

func (*Client) PatchSystemConfigRfc7396

PatchSystemConfigRfc7396 JSONs merge patch

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

Applies the [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396) JSON Merge Patch to the tenant configuration.

The JSON Merge Patch API facilitates the automated promotion of larger configuration changes. It provides a straightforward and efficient way to apply extensive modifications, such as through scripts or automated methods. This API streamlines the process of implementing significant configuration updates, improving efficiency and accuracy.

The JSON Merge Patch API accepts a JSON that describes changes to be made to a target tenant configuration using a syntax that closely mimics the configuration being modified.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ExportSystemConfig(params *ExportSystemConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportSystemConfigOK, error)

	ImportSystemConfig(params *ImportSystemConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSystemConfigNoContent, error)

	PatchSystemConfigRfc6902(params *PatchSystemConfigRfc6902Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSystemConfigRfc6902NoContent, error)

	PatchSystemConfigRfc7396(params *PatchSystemConfigRfc7396Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSystemConfigRfc7396NoContent, 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 root configuration API client.

type ExportSystemConfigBadRequest

type ExportSystemConfigBadRequest struct {
	Payload *models.Error
}

ExportSystemConfigBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExportSystemConfigBadRequest

func NewExportSystemConfigBadRequest() *ExportSystemConfigBadRequest

NewExportSystemConfigBadRequest creates a ExportSystemConfigBadRequest with default headers values

func (*ExportSystemConfigBadRequest) Code

Code gets the status code for the export system config bad request response

func (*ExportSystemConfigBadRequest) Error

func (*ExportSystemConfigBadRequest) GetPayload

func (o *ExportSystemConfigBadRequest) GetPayload() *models.Error

func (*ExportSystemConfigBadRequest) IsClientError

func (o *ExportSystemConfigBadRequest) IsClientError() bool

IsClientError returns true when this export system config bad request response has a 4xx status code

func (*ExportSystemConfigBadRequest) IsCode

func (o *ExportSystemConfigBadRequest) IsCode(code int) bool

IsCode returns true when this export system config bad request response a status code equal to that given

func (*ExportSystemConfigBadRequest) IsRedirect

func (o *ExportSystemConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this export system config bad request response has a 3xx status code

func (*ExportSystemConfigBadRequest) IsServerError

func (o *ExportSystemConfigBadRequest) IsServerError() bool

IsServerError returns true when this export system config bad request response has a 5xx status code

func (*ExportSystemConfigBadRequest) IsSuccess

func (o *ExportSystemConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this export system config bad request response has a 2xx status code

func (*ExportSystemConfigBadRequest) String

type ExportSystemConfigForbidden

type ExportSystemConfigForbidden struct {
	Payload *models.Error
}

ExportSystemConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewExportSystemConfigForbidden

func NewExportSystemConfigForbidden() *ExportSystemConfigForbidden

NewExportSystemConfigForbidden creates a ExportSystemConfigForbidden with default headers values

func (*ExportSystemConfigForbidden) Code

func (o *ExportSystemConfigForbidden) Code() int

Code gets the status code for the export system config forbidden response

func (*ExportSystemConfigForbidden) Error

func (*ExportSystemConfigForbidden) GetPayload

func (o *ExportSystemConfigForbidden) GetPayload() *models.Error

func (*ExportSystemConfigForbidden) IsClientError

func (o *ExportSystemConfigForbidden) IsClientError() bool

IsClientError returns true when this export system config forbidden response has a 4xx status code

func (*ExportSystemConfigForbidden) IsCode

func (o *ExportSystemConfigForbidden) IsCode(code int) bool

IsCode returns true when this export system config forbidden response a status code equal to that given

func (*ExportSystemConfigForbidden) IsRedirect

func (o *ExportSystemConfigForbidden) IsRedirect() bool

IsRedirect returns true when this export system config forbidden response has a 3xx status code

func (*ExportSystemConfigForbidden) IsServerError

func (o *ExportSystemConfigForbidden) IsServerError() bool

IsServerError returns true when this export system config forbidden response has a 5xx status code

func (*ExportSystemConfigForbidden) IsSuccess

func (o *ExportSystemConfigForbidden) IsSuccess() bool

IsSuccess returns true when this export system config forbidden response has a 2xx status code

func (*ExportSystemConfigForbidden) String

func (o *ExportSystemConfigForbidden) String() string

type ExportSystemConfigNotFound

type ExportSystemConfigNotFound struct {
	Payload *models.Error
}

ExportSystemConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewExportSystemConfigNotFound

func NewExportSystemConfigNotFound() *ExportSystemConfigNotFound

NewExportSystemConfigNotFound creates a ExportSystemConfigNotFound with default headers values

func (*ExportSystemConfigNotFound) Code

func (o *ExportSystemConfigNotFound) Code() int

Code gets the status code for the export system config not found response

func (*ExportSystemConfigNotFound) Error

func (*ExportSystemConfigNotFound) GetPayload

func (o *ExportSystemConfigNotFound) GetPayload() *models.Error

func (*ExportSystemConfigNotFound) IsClientError

func (o *ExportSystemConfigNotFound) IsClientError() bool

IsClientError returns true when this export system config not found response has a 4xx status code

func (*ExportSystemConfigNotFound) IsCode

func (o *ExportSystemConfigNotFound) IsCode(code int) bool

IsCode returns true when this export system config not found response a status code equal to that given

func (*ExportSystemConfigNotFound) IsRedirect

func (o *ExportSystemConfigNotFound) IsRedirect() bool

IsRedirect returns true when this export system config not found response has a 3xx status code

func (*ExportSystemConfigNotFound) IsServerError

func (o *ExportSystemConfigNotFound) IsServerError() bool

IsServerError returns true when this export system config not found response has a 5xx status code

func (*ExportSystemConfigNotFound) IsSuccess

func (o *ExportSystemConfigNotFound) IsSuccess() bool

IsSuccess returns true when this export system config not found response has a 2xx status code

func (*ExportSystemConfigNotFound) String

func (o *ExportSystemConfigNotFound) String() string

type ExportSystemConfigOK

type ExportSystemConfigOK struct {
	Payload *models.TreeTenant
}

ExportSystemConfigOK describes a response with status code 200, with default header values.

Tenant configuration JSON

func NewExportSystemConfigOK

func NewExportSystemConfigOK() *ExportSystemConfigOK

NewExportSystemConfigOK creates a ExportSystemConfigOK with default headers values

func (*ExportSystemConfigOK) Code

func (o *ExportSystemConfigOK) Code() int

Code gets the status code for the export system config o k response

func (*ExportSystemConfigOK) Error

func (o *ExportSystemConfigOK) Error() string

func (*ExportSystemConfigOK) GetPayload

func (o *ExportSystemConfigOK) GetPayload() *models.TreeTenant

func (*ExportSystemConfigOK) IsClientError

func (o *ExportSystemConfigOK) IsClientError() bool

IsClientError returns true when this export system config o k response has a 4xx status code

func (*ExportSystemConfigOK) IsCode

func (o *ExportSystemConfigOK) IsCode(code int) bool

IsCode returns true when this export system config o k response a status code equal to that given

func (*ExportSystemConfigOK) IsRedirect

func (o *ExportSystemConfigOK) IsRedirect() bool

IsRedirect returns true when this export system config o k response has a 3xx status code

func (*ExportSystemConfigOK) IsServerError

func (o *ExportSystemConfigOK) IsServerError() bool

IsServerError returns true when this export system config o k response has a 5xx status code

func (*ExportSystemConfigOK) IsSuccess

func (o *ExportSystemConfigOK) IsSuccess() bool

IsSuccess returns true when this export system config o k response has a 2xx status code

func (*ExportSystemConfigOK) String

func (o *ExportSystemConfigOK) String() string

type ExportSystemConfigParams

type ExportSystemConfigParams struct {

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

	/* WithCredentials.

	   With credentials - if true, credentials are included in the tenant export response
	*/
	WithCredentials *bool

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

ExportSystemConfigParams contains all the parameters to send to the API endpoint

for the export system config operation.

Typically these are written to a http.Request.

func NewExportSystemConfigParams

func NewExportSystemConfigParams() *ExportSystemConfigParams

NewExportSystemConfigParams creates a new ExportSystemConfigParams 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 NewExportSystemConfigParamsWithContext

func NewExportSystemConfigParamsWithContext(ctx context.Context) *ExportSystemConfigParams

NewExportSystemConfigParamsWithContext creates a new ExportSystemConfigParams object with the ability to set a context for a request.

func NewExportSystemConfigParamsWithHTTPClient

func NewExportSystemConfigParamsWithHTTPClient(client *http.Client) *ExportSystemConfigParams

NewExportSystemConfigParamsWithHTTPClient creates a new ExportSystemConfigParams object with the ability to set a custom HTTPClient for a request.

func NewExportSystemConfigParamsWithTimeout

func NewExportSystemConfigParamsWithTimeout(timeout time.Duration) *ExportSystemConfigParams

NewExportSystemConfigParamsWithTimeout creates a new ExportSystemConfigParams object with the ability to set a timeout on a request.

func (*ExportSystemConfigParams) SetContext

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

SetContext adds the context to the export system config params

func (*ExportSystemConfigParams) SetDefaults

func (o *ExportSystemConfigParams) SetDefaults()

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

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

func (*ExportSystemConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export system config params

func (*ExportSystemConfigParams) SetTid

func (o *ExportSystemConfigParams) SetTid(tid string)

SetTid adds the tid to the export system config params

func (*ExportSystemConfigParams) SetTimeout

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

SetTimeout adds the timeout to the export system config params

func (*ExportSystemConfigParams) SetWithCredentials

func (o *ExportSystemConfigParams) SetWithCredentials(withCredentials *bool)

SetWithCredentials adds the withCredentials to the export system config params

func (*ExportSystemConfigParams) WithContext

WithContext adds the context to the export system config params

func (*ExportSystemConfigParams) WithDefaults

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

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

func (*ExportSystemConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export system config params

func (*ExportSystemConfigParams) WithTid

WithTid adds the tid to the export system config params

func (*ExportSystemConfigParams) WithTimeout

WithTimeout adds the timeout to the export system config params

func (*ExportSystemConfigParams) WithWithCredentials

func (o *ExportSystemConfigParams) WithWithCredentials(withCredentials *bool) *ExportSystemConfigParams

WithWithCredentials adds the withCredentials to the export system config params

func (*ExportSystemConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportSystemConfigReader

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

ExportSystemConfigReader is a Reader for the ExportSystemConfig structure.

func (*ExportSystemConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportSystemConfigTooManyRequests

type ExportSystemConfigTooManyRequests struct {
	Payload *models.Error
}

ExportSystemConfigTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewExportSystemConfigTooManyRequests

func NewExportSystemConfigTooManyRequests() *ExportSystemConfigTooManyRequests

NewExportSystemConfigTooManyRequests creates a ExportSystemConfigTooManyRequests with default headers values

func (*ExportSystemConfigTooManyRequests) Code

Code gets the status code for the export system config too many requests response

func (*ExportSystemConfigTooManyRequests) Error

func (*ExportSystemConfigTooManyRequests) GetPayload

func (*ExportSystemConfigTooManyRequests) IsClientError

func (o *ExportSystemConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this export system config too many requests response has a 4xx status code

func (*ExportSystemConfigTooManyRequests) IsCode

func (o *ExportSystemConfigTooManyRequests) IsCode(code int) bool

IsCode returns true when this export system config too many requests response a status code equal to that given

func (*ExportSystemConfigTooManyRequests) IsRedirect

func (o *ExportSystemConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this export system config too many requests response has a 3xx status code

func (*ExportSystemConfigTooManyRequests) IsServerError

func (o *ExportSystemConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this export system config too many requests response has a 5xx status code

func (*ExportSystemConfigTooManyRequests) IsSuccess

func (o *ExportSystemConfigTooManyRequests) IsSuccess() bool

IsSuccess returns true when this export system config too many requests response has a 2xx status code

func (*ExportSystemConfigTooManyRequests) String

type ExportSystemConfigUnauthorized

type ExportSystemConfigUnauthorized struct {
	Payload *models.Error
}

ExportSystemConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewExportSystemConfigUnauthorized

func NewExportSystemConfigUnauthorized() *ExportSystemConfigUnauthorized

NewExportSystemConfigUnauthorized creates a ExportSystemConfigUnauthorized with default headers values

func (*ExportSystemConfigUnauthorized) Code

Code gets the status code for the export system config unauthorized response

func (*ExportSystemConfigUnauthorized) Error

func (*ExportSystemConfigUnauthorized) GetPayload

func (o *ExportSystemConfigUnauthorized) GetPayload() *models.Error

func (*ExportSystemConfigUnauthorized) IsClientError

func (o *ExportSystemConfigUnauthorized) IsClientError() bool

IsClientError returns true when this export system config unauthorized response has a 4xx status code

func (*ExportSystemConfigUnauthorized) IsCode

func (o *ExportSystemConfigUnauthorized) IsCode(code int) bool

IsCode returns true when this export system config unauthorized response a status code equal to that given

func (*ExportSystemConfigUnauthorized) IsRedirect

func (o *ExportSystemConfigUnauthorized) IsRedirect() bool

IsRedirect returns true when this export system config unauthorized response has a 3xx status code

func (*ExportSystemConfigUnauthorized) IsServerError

func (o *ExportSystemConfigUnauthorized) IsServerError() bool

IsServerError returns true when this export system config unauthorized response has a 5xx status code

func (*ExportSystemConfigUnauthorized) IsSuccess

func (o *ExportSystemConfigUnauthorized) IsSuccess() bool

IsSuccess returns true when this export system config unauthorized response has a 2xx status code

func (*ExportSystemConfigUnauthorized) String

type ExportSystemConfigUnprocessableEntity

type ExportSystemConfigUnprocessableEntity struct {
	Payload *models.Error
}

ExportSystemConfigUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewExportSystemConfigUnprocessableEntity

func NewExportSystemConfigUnprocessableEntity() *ExportSystemConfigUnprocessableEntity

NewExportSystemConfigUnprocessableEntity creates a ExportSystemConfigUnprocessableEntity with default headers values

func (*ExportSystemConfigUnprocessableEntity) Code

Code gets the status code for the export system config unprocessable entity response

func (*ExportSystemConfigUnprocessableEntity) Error

func (*ExportSystemConfigUnprocessableEntity) GetPayload

func (*ExportSystemConfigUnprocessableEntity) IsClientError

func (o *ExportSystemConfigUnprocessableEntity) IsClientError() bool

IsClientError returns true when this export system config unprocessable entity response has a 4xx status code

func (*ExportSystemConfigUnprocessableEntity) IsCode

IsCode returns true when this export system config unprocessable entity response a status code equal to that given

func (*ExportSystemConfigUnprocessableEntity) IsRedirect

IsRedirect returns true when this export system config unprocessable entity response has a 3xx status code

func (*ExportSystemConfigUnprocessableEntity) IsServerError

func (o *ExportSystemConfigUnprocessableEntity) IsServerError() bool

IsServerError returns true when this export system config unprocessable entity response has a 5xx status code

func (*ExportSystemConfigUnprocessableEntity) IsSuccess

IsSuccess returns true when this export system config unprocessable entity response has a 2xx status code

func (*ExportSystemConfigUnprocessableEntity) String

type ImportSystemConfigBadRequest

type ImportSystemConfigBadRequest struct {
	Payload *models.Error
}

ImportSystemConfigBadRequest describes a response with status code 400, with default header values.

Bad request

func NewImportSystemConfigBadRequest

func NewImportSystemConfigBadRequest() *ImportSystemConfigBadRequest

NewImportSystemConfigBadRequest creates a ImportSystemConfigBadRequest with default headers values

func (*ImportSystemConfigBadRequest) Code

Code gets the status code for the import system config bad request response

func (*ImportSystemConfigBadRequest) Error

func (*ImportSystemConfigBadRequest) GetPayload

func (o *ImportSystemConfigBadRequest) GetPayload() *models.Error

func (*ImportSystemConfigBadRequest) IsClientError

func (o *ImportSystemConfigBadRequest) IsClientError() bool

IsClientError returns true when this import system config bad request response has a 4xx status code

func (*ImportSystemConfigBadRequest) IsCode

func (o *ImportSystemConfigBadRequest) IsCode(code int) bool

IsCode returns true when this import system config bad request response a status code equal to that given

func (*ImportSystemConfigBadRequest) IsRedirect

func (o *ImportSystemConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this import system config bad request response has a 3xx status code

func (*ImportSystemConfigBadRequest) IsServerError

func (o *ImportSystemConfigBadRequest) IsServerError() bool

IsServerError returns true when this import system config bad request response has a 5xx status code

func (*ImportSystemConfigBadRequest) IsSuccess

func (o *ImportSystemConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this import system config bad request response has a 2xx status code

func (*ImportSystemConfigBadRequest) String

type ImportSystemConfigForbidden

type ImportSystemConfigForbidden struct {
	Payload *models.Error
}

ImportSystemConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewImportSystemConfigForbidden

func NewImportSystemConfigForbidden() *ImportSystemConfigForbidden

NewImportSystemConfigForbidden creates a ImportSystemConfigForbidden with default headers values

func (*ImportSystemConfigForbidden) Code

func (o *ImportSystemConfigForbidden) Code() int

Code gets the status code for the import system config forbidden response

func (*ImportSystemConfigForbidden) Error

func (*ImportSystemConfigForbidden) GetPayload

func (o *ImportSystemConfigForbidden) GetPayload() *models.Error

func (*ImportSystemConfigForbidden) IsClientError

func (o *ImportSystemConfigForbidden) IsClientError() bool

IsClientError returns true when this import system config forbidden response has a 4xx status code

func (*ImportSystemConfigForbidden) IsCode

func (o *ImportSystemConfigForbidden) IsCode(code int) bool

IsCode returns true when this import system config forbidden response a status code equal to that given

func (*ImportSystemConfigForbidden) IsRedirect

func (o *ImportSystemConfigForbidden) IsRedirect() bool

IsRedirect returns true when this import system config forbidden response has a 3xx status code

func (*ImportSystemConfigForbidden) IsServerError

func (o *ImportSystemConfigForbidden) IsServerError() bool

IsServerError returns true when this import system config forbidden response has a 5xx status code

func (*ImportSystemConfigForbidden) IsSuccess

func (o *ImportSystemConfigForbidden) IsSuccess() bool

IsSuccess returns true when this import system config forbidden response has a 2xx status code

func (*ImportSystemConfigForbidden) String

func (o *ImportSystemConfigForbidden) String() string

type ImportSystemConfigNoContent

type ImportSystemConfigNoContent struct {
}

ImportSystemConfigNoContent describes a response with status code 204, with default header values.

configuration has been imported

func NewImportSystemConfigNoContent

func NewImportSystemConfigNoContent() *ImportSystemConfigNoContent

NewImportSystemConfigNoContent creates a ImportSystemConfigNoContent with default headers values

func (*ImportSystemConfigNoContent) Code

func (o *ImportSystemConfigNoContent) Code() int

Code gets the status code for the import system config no content response

func (*ImportSystemConfigNoContent) Error

func (*ImportSystemConfigNoContent) IsClientError

func (o *ImportSystemConfigNoContent) IsClientError() bool

IsClientError returns true when this import system config no content response has a 4xx status code

func (*ImportSystemConfigNoContent) IsCode

func (o *ImportSystemConfigNoContent) IsCode(code int) bool

IsCode returns true when this import system config no content response a status code equal to that given

func (*ImportSystemConfigNoContent) IsRedirect

func (o *ImportSystemConfigNoContent) IsRedirect() bool

IsRedirect returns true when this import system config no content response has a 3xx status code

func (*ImportSystemConfigNoContent) IsServerError

func (o *ImportSystemConfigNoContent) IsServerError() bool

IsServerError returns true when this import system config no content response has a 5xx status code

func (*ImportSystemConfigNoContent) IsSuccess

func (o *ImportSystemConfigNoContent) IsSuccess() bool

IsSuccess returns true when this import system config no content response has a 2xx status code

func (*ImportSystemConfigNoContent) String

func (o *ImportSystemConfigNoContent) String() string

type ImportSystemConfigNotFound

type ImportSystemConfigNotFound struct {
	Payload *models.Error
}

ImportSystemConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewImportSystemConfigNotFound

func NewImportSystemConfigNotFound() *ImportSystemConfigNotFound

NewImportSystemConfigNotFound creates a ImportSystemConfigNotFound with default headers values

func (*ImportSystemConfigNotFound) Code

func (o *ImportSystemConfigNotFound) Code() int

Code gets the status code for the import system config not found response

func (*ImportSystemConfigNotFound) Error

func (*ImportSystemConfigNotFound) GetPayload

func (o *ImportSystemConfigNotFound) GetPayload() *models.Error

func (*ImportSystemConfigNotFound) IsClientError

func (o *ImportSystemConfigNotFound) IsClientError() bool

IsClientError returns true when this import system config not found response has a 4xx status code

func (*ImportSystemConfigNotFound) IsCode

func (o *ImportSystemConfigNotFound) IsCode(code int) bool

IsCode returns true when this import system config not found response a status code equal to that given

func (*ImportSystemConfigNotFound) IsRedirect

func (o *ImportSystemConfigNotFound) IsRedirect() bool

IsRedirect returns true when this import system config not found response has a 3xx status code

func (*ImportSystemConfigNotFound) IsServerError

func (o *ImportSystemConfigNotFound) IsServerError() bool

IsServerError returns true when this import system config not found response has a 5xx status code

func (*ImportSystemConfigNotFound) IsSuccess

func (o *ImportSystemConfigNotFound) IsSuccess() bool

IsSuccess returns true when this import system config not found response has a 2xx status code

func (*ImportSystemConfigNotFound) String

func (o *ImportSystemConfigNotFound) String() string

type ImportSystemConfigParams

type ImportSystemConfigParams struct {

	// Config.
	Config *models.TreeTenant

	/* Mode.

	     Insert mode

	Defines what happens in case of patched configuration import conflicts.

	The `mode` parameter defines
	what happens if there are any conflicts when importing your configuration. For example, if a
	client already exists within Cloudentity and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	Cloudentity can handle the request:

	`mode` set to `ignore`, Cloudentity ignores the changes that come from your configuration import.

	`mode` set to `fail`, Cloudentity stops processing the import and returns an error.

	`mode` set to `update`, Cloudentity updates the value from the previous configuration with the value
	provided in the request.

	     Format: insertMode
	*/
	Mode *string

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

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

ImportSystemConfigParams contains all the parameters to send to the API endpoint

for the import system config operation.

Typically these are written to a http.Request.

func NewImportSystemConfigParams

func NewImportSystemConfigParams() *ImportSystemConfigParams

NewImportSystemConfigParams creates a new ImportSystemConfigParams 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 NewImportSystemConfigParamsWithContext

func NewImportSystemConfigParamsWithContext(ctx context.Context) *ImportSystemConfigParams

NewImportSystemConfigParamsWithContext creates a new ImportSystemConfigParams object with the ability to set a context for a request.

func NewImportSystemConfigParamsWithHTTPClient

func NewImportSystemConfigParamsWithHTTPClient(client *http.Client) *ImportSystemConfigParams

NewImportSystemConfigParamsWithHTTPClient creates a new ImportSystemConfigParams object with the ability to set a custom HTTPClient for a request.

func NewImportSystemConfigParamsWithTimeout

func NewImportSystemConfigParamsWithTimeout(timeout time.Duration) *ImportSystemConfigParams

NewImportSystemConfigParamsWithTimeout creates a new ImportSystemConfigParams object with the ability to set a timeout on a request.

func (*ImportSystemConfigParams) SetConfig

func (o *ImportSystemConfigParams) SetConfig(config *models.TreeTenant)

SetConfig adds the config to the import system config params

func (*ImportSystemConfigParams) SetContext

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

SetContext adds the context to the import system config params

func (*ImportSystemConfigParams) SetDefaults

func (o *ImportSystemConfigParams) SetDefaults()

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

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

func (*ImportSystemConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import system config params

func (*ImportSystemConfigParams) SetMode

func (o *ImportSystemConfigParams) SetMode(mode *string)

SetMode adds the mode to the import system config params

func (*ImportSystemConfigParams) SetTid

func (o *ImportSystemConfigParams) SetTid(tid string)

SetTid adds the tid to the import system config params

func (*ImportSystemConfigParams) SetTimeout

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

SetTimeout adds the timeout to the import system config params

func (*ImportSystemConfigParams) WithConfig

WithConfig adds the config to the import system config params

func (*ImportSystemConfigParams) WithContext

WithContext adds the context to the import system config params

func (*ImportSystemConfigParams) WithDefaults

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

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

func (*ImportSystemConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import system config params

func (*ImportSystemConfigParams) WithMode

WithMode adds the mode to the import system config params

func (*ImportSystemConfigParams) WithTid

WithTid adds the tid to the import system config params

func (*ImportSystemConfigParams) WithTimeout

WithTimeout adds the timeout to the import system config params

func (*ImportSystemConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSystemConfigReader

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

ImportSystemConfigReader is a Reader for the ImportSystemConfig structure.

func (*ImportSystemConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSystemConfigTooManyRequests

type ImportSystemConfigTooManyRequests struct {
	Payload *models.Error
}

ImportSystemConfigTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewImportSystemConfigTooManyRequests

func NewImportSystemConfigTooManyRequests() *ImportSystemConfigTooManyRequests

NewImportSystemConfigTooManyRequests creates a ImportSystemConfigTooManyRequests with default headers values

func (*ImportSystemConfigTooManyRequests) Code

Code gets the status code for the import system config too many requests response

func (*ImportSystemConfigTooManyRequests) Error

func (*ImportSystemConfigTooManyRequests) GetPayload

func (*ImportSystemConfigTooManyRequests) IsClientError

func (o *ImportSystemConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this import system config too many requests response has a 4xx status code

func (*ImportSystemConfigTooManyRequests) IsCode

func (o *ImportSystemConfigTooManyRequests) IsCode(code int) bool

IsCode returns true when this import system config too many requests response a status code equal to that given

func (*ImportSystemConfigTooManyRequests) IsRedirect

func (o *ImportSystemConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this import system config too many requests response has a 3xx status code

func (*ImportSystemConfigTooManyRequests) IsServerError

func (o *ImportSystemConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this import system config too many requests response has a 5xx status code

func (*ImportSystemConfigTooManyRequests) IsSuccess

func (o *ImportSystemConfigTooManyRequests) IsSuccess() bool

IsSuccess returns true when this import system config too many requests response has a 2xx status code

func (*ImportSystemConfigTooManyRequests) String

type ImportSystemConfigUnauthorized

type ImportSystemConfigUnauthorized struct {
	Payload *models.Error
}

ImportSystemConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewImportSystemConfigUnauthorized

func NewImportSystemConfigUnauthorized() *ImportSystemConfigUnauthorized

NewImportSystemConfigUnauthorized creates a ImportSystemConfigUnauthorized with default headers values

func (*ImportSystemConfigUnauthorized) Code

Code gets the status code for the import system config unauthorized response

func (*ImportSystemConfigUnauthorized) Error

func (*ImportSystemConfigUnauthorized) GetPayload

func (o *ImportSystemConfigUnauthorized) GetPayload() *models.Error

func (*ImportSystemConfigUnauthorized) IsClientError

func (o *ImportSystemConfigUnauthorized) IsClientError() bool

IsClientError returns true when this import system config unauthorized response has a 4xx status code

func (*ImportSystemConfigUnauthorized) IsCode

func (o *ImportSystemConfigUnauthorized) IsCode(code int) bool

IsCode returns true when this import system config unauthorized response a status code equal to that given

func (*ImportSystemConfigUnauthorized) IsRedirect

func (o *ImportSystemConfigUnauthorized) IsRedirect() bool

IsRedirect returns true when this import system config unauthorized response has a 3xx status code

func (*ImportSystemConfigUnauthorized) IsServerError

func (o *ImportSystemConfigUnauthorized) IsServerError() bool

IsServerError returns true when this import system config unauthorized response has a 5xx status code

func (*ImportSystemConfigUnauthorized) IsSuccess

func (o *ImportSystemConfigUnauthorized) IsSuccess() bool

IsSuccess returns true when this import system config unauthorized response has a 2xx status code

func (*ImportSystemConfigUnauthorized) String

type ImportSystemConfigUnprocessableEntity

type ImportSystemConfigUnprocessableEntity struct {
	Payload *models.Error
}

ImportSystemConfigUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewImportSystemConfigUnprocessableEntity

func NewImportSystemConfigUnprocessableEntity() *ImportSystemConfigUnprocessableEntity

NewImportSystemConfigUnprocessableEntity creates a ImportSystemConfigUnprocessableEntity with default headers values

func (*ImportSystemConfigUnprocessableEntity) Code

Code gets the status code for the import system config unprocessable entity response

func (*ImportSystemConfigUnprocessableEntity) Error

func (*ImportSystemConfigUnprocessableEntity) GetPayload

func (*ImportSystemConfigUnprocessableEntity) IsClientError

func (o *ImportSystemConfigUnprocessableEntity) IsClientError() bool

IsClientError returns true when this import system config unprocessable entity response has a 4xx status code

func (*ImportSystemConfigUnprocessableEntity) IsCode

IsCode returns true when this import system config unprocessable entity response a status code equal to that given

func (*ImportSystemConfigUnprocessableEntity) IsRedirect

IsRedirect returns true when this import system config unprocessable entity response has a 3xx status code

func (*ImportSystemConfigUnprocessableEntity) IsServerError

func (o *ImportSystemConfigUnprocessableEntity) IsServerError() bool

IsServerError returns true when this import system config unprocessable entity response has a 5xx status code

func (*ImportSystemConfigUnprocessableEntity) IsSuccess

IsSuccess returns true when this import system config unprocessable entity response has a 2xx status code

func (*ImportSystemConfigUnprocessableEntity) String

type PatchSystemConfigRfc6902BadRequest

type PatchSystemConfigRfc6902BadRequest struct {
	Payload *models.Error
}

PatchSystemConfigRfc6902BadRequest describes a response with status code 400, with default header values.

Bad request

func NewPatchSystemConfigRfc6902BadRequest

func NewPatchSystemConfigRfc6902BadRequest() *PatchSystemConfigRfc6902BadRequest

NewPatchSystemConfigRfc6902BadRequest creates a PatchSystemConfigRfc6902BadRequest with default headers values

func (*PatchSystemConfigRfc6902BadRequest) Code

Code gets the status code for the patch system config rfc6902 bad request response

func (*PatchSystemConfigRfc6902BadRequest) Error

func (*PatchSystemConfigRfc6902BadRequest) GetPayload

func (*PatchSystemConfigRfc6902BadRequest) IsClientError

func (o *PatchSystemConfigRfc6902BadRequest) IsClientError() bool

IsClientError returns true when this patch system config rfc6902 bad request response has a 4xx status code

func (*PatchSystemConfigRfc6902BadRequest) IsCode

IsCode returns true when this patch system config rfc6902 bad request response a status code equal to that given

func (*PatchSystemConfigRfc6902BadRequest) IsRedirect

func (o *PatchSystemConfigRfc6902BadRequest) IsRedirect() bool

IsRedirect returns true when this patch system config rfc6902 bad request response has a 3xx status code

func (*PatchSystemConfigRfc6902BadRequest) IsServerError

func (o *PatchSystemConfigRfc6902BadRequest) IsServerError() bool

IsServerError returns true when this patch system config rfc6902 bad request response has a 5xx status code

func (*PatchSystemConfigRfc6902BadRequest) IsSuccess

IsSuccess returns true when this patch system config rfc6902 bad request response has a 2xx status code

func (*PatchSystemConfigRfc6902BadRequest) String

type PatchSystemConfigRfc6902Forbidden

type PatchSystemConfigRfc6902Forbidden struct {
	Payload *models.Error
}

PatchSystemConfigRfc6902Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchSystemConfigRfc6902Forbidden

func NewPatchSystemConfigRfc6902Forbidden() *PatchSystemConfigRfc6902Forbidden

NewPatchSystemConfigRfc6902Forbidden creates a PatchSystemConfigRfc6902Forbidden with default headers values

func (*PatchSystemConfigRfc6902Forbidden) Code

Code gets the status code for the patch system config rfc6902 forbidden response

func (*PatchSystemConfigRfc6902Forbidden) Error

func (*PatchSystemConfigRfc6902Forbidden) GetPayload

func (*PatchSystemConfigRfc6902Forbidden) IsClientError

func (o *PatchSystemConfigRfc6902Forbidden) IsClientError() bool

IsClientError returns true when this patch system config rfc6902 forbidden response has a 4xx status code

func (*PatchSystemConfigRfc6902Forbidden) IsCode

func (o *PatchSystemConfigRfc6902Forbidden) IsCode(code int) bool

IsCode returns true when this patch system config rfc6902 forbidden response a status code equal to that given

func (*PatchSystemConfigRfc6902Forbidden) IsRedirect

func (o *PatchSystemConfigRfc6902Forbidden) IsRedirect() bool

IsRedirect returns true when this patch system config rfc6902 forbidden response has a 3xx status code

func (*PatchSystemConfigRfc6902Forbidden) IsServerError

func (o *PatchSystemConfigRfc6902Forbidden) IsServerError() bool

IsServerError returns true when this patch system config rfc6902 forbidden response has a 5xx status code

func (*PatchSystemConfigRfc6902Forbidden) IsSuccess

func (o *PatchSystemConfigRfc6902Forbidden) IsSuccess() bool

IsSuccess returns true when this patch system config rfc6902 forbidden response has a 2xx status code

func (*PatchSystemConfigRfc6902Forbidden) String

type PatchSystemConfigRfc6902NoContent

type PatchSystemConfigRfc6902NoContent struct {
}

PatchSystemConfigRfc6902NoContent describes a response with status code 204, with default header values.

patch applied

func NewPatchSystemConfigRfc6902NoContent

func NewPatchSystemConfigRfc6902NoContent() *PatchSystemConfigRfc6902NoContent

NewPatchSystemConfigRfc6902NoContent creates a PatchSystemConfigRfc6902NoContent with default headers values

func (*PatchSystemConfigRfc6902NoContent) Code

Code gets the status code for the patch system config rfc6902 no content response

func (*PatchSystemConfigRfc6902NoContent) Error

func (*PatchSystemConfigRfc6902NoContent) IsClientError

func (o *PatchSystemConfigRfc6902NoContent) IsClientError() bool

IsClientError returns true when this patch system config rfc6902 no content response has a 4xx status code

func (*PatchSystemConfigRfc6902NoContent) IsCode

func (o *PatchSystemConfigRfc6902NoContent) IsCode(code int) bool

IsCode returns true when this patch system config rfc6902 no content response a status code equal to that given

func (*PatchSystemConfigRfc6902NoContent) IsRedirect

func (o *PatchSystemConfigRfc6902NoContent) IsRedirect() bool

IsRedirect returns true when this patch system config rfc6902 no content response has a 3xx status code

func (*PatchSystemConfigRfc6902NoContent) IsServerError

func (o *PatchSystemConfigRfc6902NoContent) IsServerError() bool

IsServerError returns true when this patch system config rfc6902 no content response has a 5xx status code

func (*PatchSystemConfigRfc6902NoContent) IsSuccess

func (o *PatchSystemConfigRfc6902NoContent) IsSuccess() bool

IsSuccess returns true when this patch system config rfc6902 no content response has a 2xx status code

func (*PatchSystemConfigRfc6902NoContent) String

type PatchSystemConfigRfc6902NotFound

type PatchSystemConfigRfc6902NotFound struct {
	Payload *models.Error
}

PatchSystemConfigRfc6902NotFound describes a response with status code 404, with default header values.

Not found

func NewPatchSystemConfigRfc6902NotFound

func NewPatchSystemConfigRfc6902NotFound() *PatchSystemConfigRfc6902NotFound

NewPatchSystemConfigRfc6902NotFound creates a PatchSystemConfigRfc6902NotFound with default headers values

func (*PatchSystemConfigRfc6902NotFound) Code

Code gets the status code for the patch system config rfc6902 not found response

func (*PatchSystemConfigRfc6902NotFound) Error

func (*PatchSystemConfigRfc6902NotFound) GetPayload

func (*PatchSystemConfigRfc6902NotFound) IsClientError

func (o *PatchSystemConfigRfc6902NotFound) IsClientError() bool

IsClientError returns true when this patch system config rfc6902 not found response has a 4xx status code

func (*PatchSystemConfigRfc6902NotFound) IsCode

func (o *PatchSystemConfigRfc6902NotFound) IsCode(code int) bool

IsCode returns true when this patch system config rfc6902 not found response a status code equal to that given

func (*PatchSystemConfigRfc6902NotFound) IsRedirect

func (o *PatchSystemConfigRfc6902NotFound) IsRedirect() bool

IsRedirect returns true when this patch system config rfc6902 not found response has a 3xx status code

func (*PatchSystemConfigRfc6902NotFound) IsServerError

func (o *PatchSystemConfigRfc6902NotFound) IsServerError() bool

IsServerError returns true when this patch system config rfc6902 not found response has a 5xx status code

func (*PatchSystemConfigRfc6902NotFound) IsSuccess

func (o *PatchSystemConfigRfc6902NotFound) IsSuccess() bool

IsSuccess returns true when this patch system config rfc6902 not found response has a 2xx status code

func (*PatchSystemConfigRfc6902NotFound) String

type PatchSystemConfigRfc6902Params

type PatchSystemConfigRfc6902Params struct {

	/* Mode.

	     Insert mode

	Defines what happens in case of patched configuration import conflicts.

	The `mode` parameter defines
	what happens if there are any conflicts when importing your configuration. For example, if a
	client already exists within Cloudentity and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	Cloudentity can handle the request:

	`mode` set to `ignore`, Cloudentity ignores the changes that come from your configuration import.

	`mode` set to `fail`, Cloudentity stops processing the import and returns an error.

	`mode` set to `update`, Cloudentity updates the value from the previous configuration with the value
	provided in the request.

	     Format: insertMode
	*/
	Mode *string

	/* Patch.

	     Patch

	The `patch` parameter is a JSON object that contains an array of RFC-6902 patch operations.
	*/
	Patch models.Rfc6902PatchOperations

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

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

PatchSystemConfigRfc6902Params contains all the parameters to send to the API endpoint

for the patch system config rfc6902 operation.

Typically these are written to a http.Request.

func NewPatchSystemConfigRfc6902Params

func NewPatchSystemConfigRfc6902Params() *PatchSystemConfigRfc6902Params

NewPatchSystemConfigRfc6902Params creates a new PatchSystemConfigRfc6902Params 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 NewPatchSystemConfigRfc6902ParamsWithContext

func NewPatchSystemConfigRfc6902ParamsWithContext(ctx context.Context) *PatchSystemConfigRfc6902Params

NewPatchSystemConfigRfc6902ParamsWithContext creates a new PatchSystemConfigRfc6902Params object with the ability to set a context for a request.

func NewPatchSystemConfigRfc6902ParamsWithHTTPClient

func NewPatchSystemConfigRfc6902ParamsWithHTTPClient(client *http.Client) *PatchSystemConfigRfc6902Params

NewPatchSystemConfigRfc6902ParamsWithHTTPClient creates a new PatchSystemConfigRfc6902Params object with the ability to set a custom HTTPClient for a request.

func NewPatchSystemConfigRfc6902ParamsWithTimeout

func NewPatchSystemConfigRfc6902ParamsWithTimeout(timeout time.Duration) *PatchSystemConfigRfc6902Params

NewPatchSystemConfigRfc6902ParamsWithTimeout creates a new PatchSystemConfigRfc6902Params object with the ability to set a timeout on a request.

func (*PatchSystemConfigRfc6902Params) SetContext

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

SetContext adds the context to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) SetDefaults

func (o *PatchSystemConfigRfc6902Params) SetDefaults()

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

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

func (*PatchSystemConfigRfc6902Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) SetMode

func (o *PatchSystemConfigRfc6902Params) SetMode(mode *string)

SetMode adds the mode to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) SetPatch

SetPatch adds the patch to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) SetTid

func (o *PatchSystemConfigRfc6902Params) SetTid(tid string)

SetTid adds the tid to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) SetTimeout

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

SetTimeout adds the timeout to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WithContext

WithContext adds the context to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WithDefaults

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

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

func (*PatchSystemConfigRfc6902Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WithMode

WithMode adds the mode to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WithPatch

WithPatch adds the patch to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WithTid

WithTid adds the tid to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WithTimeout

WithTimeout adds the timeout to the patch system config rfc6902 params

func (*PatchSystemConfigRfc6902Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchSystemConfigRfc6902Reader

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

PatchSystemConfigRfc6902Reader is a Reader for the PatchSystemConfigRfc6902 structure.

func (*PatchSystemConfigRfc6902Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchSystemConfigRfc6902TooManyRequests

type PatchSystemConfigRfc6902TooManyRequests struct {
	Payload *models.Error
}

PatchSystemConfigRfc6902TooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewPatchSystemConfigRfc6902TooManyRequests

func NewPatchSystemConfigRfc6902TooManyRequests() *PatchSystemConfigRfc6902TooManyRequests

NewPatchSystemConfigRfc6902TooManyRequests creates a PatchSystemConfigRfc6902TooManyRequests with default headers values

func (*PatchSystemConfigRfc6902TooManyRequests) Code

Code gets the status code for the patch system config rfc6902 too many requests response

func (*PatchSystemConfigRfc6902TooManyRequests) Error

func (*PatchSystemConfigRfc6902TooManyRequests) GetPayload

func (*PatchSystemConfigRfc6902TooManyRequests) IsClientError

func (o *PatchSystemConfigRfc6902TooManyRequests) IsClientError() bool

IsClientError returns true when this patch system config rfc6902 too many requests response has a 4xx status code

func (*PatchSystemConfigRfc6902TooManyRequests) IsCode

IsCode returns true when this patch system config rfc6902 too many requests response a status code equal to that given

func (*PatchSystemConfigRfc6902TooManyRequests) IsRedirect

IsRedirect returns true when this patch system config rfc6902 too many requests response has a 3xx status code

func (*PatchSystemConfigRfc6902TooManyRequests) IsServerError

func (o *PatchSystemConfigRfc6902TooManyRequests) IsServerError() bool

IsServerError returns true when this patch system config rfc6902 too many requests response has a 5xx status code

func (*PatchSystemConfigRfc6902TooManyRequests) IsSuccess

IsSuccess returns true when this patch system config rfc6902 too many requests response has a 2xx status code

func (*PatchSystemConfigRfc6902TooManyRequests) String

type PatchSystemConfigRfc6902Unauthorized

type PatchSystemConfigRfc6902Unauthorized struct {
	Payload *models.Error
}

PatchSystemConfigRfc6902Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchSystemConfigRfc6902Unauthorized

func NewPatchSystemConfigRfc6902Unauthorized() *PatchSystemConfigRfc6902Unauthorized

NewPatchSystemConfigRfc6902Unauthorized creates a PatchSystemConfigRfc6902Unauthorized with default headers values

func (*PatchSystemConfigRfc6902Unauthorized) Code

Code gets the status code for the patch system config rfc6902 unauthorized response

func (*PatchSystemConfigRfc6902Unauthorized) Error

func (*PatchSystemConfigRfc6902Unauthorized) GetPayload

func (*PatchSystemConfigRfc6902Unauthorized) IsClientError

func (o *PatchSystemConfigRfc6902Unauthorized) IsClientError() bool

IsClientError returns true when this patch system config rfc6902 unauthorized response has a 4xx status code

func (*PatchSystemConfigRfc6902Unauthorized) IsCode

IsCode returns true when this patch system config rfc6902 unauthorized response a status code equal to that given

func (*PatchSystemConfigRfc6902Unauthorized) IsRedirect

IsRedirect returns true when this patch system config rfc6902 unauthorized response has a 3xx status code

func (*PatchSystemConfigRfc6902Unauthorized) IsServerError

func (o *PatchSystemConfigRfc6902Unauthorized) IsServerError() bool

IsServerError returns true when this patch system config rfc6902 unauthorized response has a 5xx status code

func (*PatchSystemConfigRfc6902Unauthorized) IsSuccess

IsSuccess returns true when this patch system config rfc6902 unauthorized response has a 2xx status code

func (*PatchSystemConfigRfc6902Unauthorized) String

type PatchSystemConfigRfc6902UnprocessableEntity

type PatchSystemConfigRfc6902UnprocessableEntity struct {
	Payload *models.Error
}

PatchSystemConfigRfc6902UnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewPatchSystemConfigRfc6902UnprocessableEntity

func NewPatchSystemConfigRfc6902UnprocessableEntity() *PatchSystemConfigRfc6902UnprocessableEntity

NewPatchSystemConfigRfc6902UnprocessableEntity creates a PatchSystemConfigRfc6902UnprocessableEntity with default headers values

func (*PatchSystemConfigRfc6902UnprocessableEntity) Code

Code gets the status code for the patch system config rfc6902 unprocessable entity response

func (*PatchSystemConfigRfc6902UnprocessableEntity) Error

func (*PatchSystemConfigRfc6902UnprocessableEntity) GetPayload

func (*PatchSystemConfigRfc6902UnprocessableEntity) IsClientError

IsClientError returns true when this patch system config rfc6902 unprocessable entity response has a 4xx status code

func (*PatchSystemConfigRfc6902UnprocessableEntity) IsCode

IsCode returns true when this patch system config rfc6902 unprocessable entity response a status code equal to that given

func (*PatchSystemConfigRfc6902UnprocessableEntity) IsRedirect

IsRedirect returns true when this patch system config rfc6902 unprocessable entity response has a 3xx status code

func (*PatchSystemConfigRfc6902UnprocessableEntity) IsServerError

IsServerError returns true when this patch system config rfc6902 unprocessable entity response has a 5xx status code

func (*PatchSystemConfigRfc6902UnprocessableEntity) IsSuccess

IsSuccess returns true when this patch system config rfc6902 unprocessable entity response has a 2xx status code

func (*PatchSystemConfigRfc6902UnprocessableEntity) String

type PatchSystemConfigRfc7396BadRequest

type PatchSystemConfigRfc7396BadRequest struct {
	Payload *models.Error
}

PatchSystemConfigRfc7396BadRequest describes a response with status code 400, with default header values.

Bad request

func NewPatchSystemConfigRfc7396BadRequest

func NewPatchSystemConfigRfc7396BadRequest() *PatchSystemConfigRfc7396BadRequest

NewPatchSystemConfigRfc7396BadRequest creates a PatchSystemConfigRfc7396BadRequest with default headers values

func (*PatchSystemConfigRfc7396BadRequest) Code

Code gets the status code for the patch system config rfc7396 bad request response

func (*PatchSystemConfigRfc7396BadRequest) Error

func (*PatchSystemConfigRfc7396BadRequest) GetPayload

func (*PatchSystemConfigRfc7396BadRequest) IsClientError

func (o *PatchSystemConfigRfc7396BadRequest) IsClientError() bool

IsClientError returns true when this patch system config rfc7396 bad request response has a 4xx status code

func (*PatchSystemConfigRfc7396BadRequest) IsCode

IsCode returns true when this patch system config rfc7396 bad request response a status code equal to that given

func (*PatchSystemConfigRfc7396BadRequest) IsRedirect

func (o *PatchSystemConfigRfc7396BadRequest) IsRedirect() bool

IsRedirect returns true when this patch system config rfc7396 bad request response has a 3xx status code

func (*PatchSystemConfigRfc7396BadRequest) IsServerError

func (o *PatchSystemConfigRfc7396BadRequest) IsServerError() bool

IsServerError returns true when this patch system config rfc7396 bad request response has a 5xx status code

func (*PatchSystemConfigRfc7396BadRequest) IsSuccess

IsSuccess returns true when this patch system config rfc7396 bad request response has a 2xx status code

func (*PatchSystemConfigRfc7396BadRequest) String

type PatchSystemConfigRfc7396Forbidden

type PatchSystemConfigRfc7396Forbidden struct {
	Payload *models.Error
}

PatchSystemConfigRfc7396Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchSystemConfigRfc7396Forbidden

func NewPatchSystemConfigRfc7396Forbidden() *PatchSystemConfigRfc7396Forbidden

NewPatchSystemConfigRfc7396Forbidden creates a PatchSystemConfigRfc7396Forbidden with default headers values

func (*PatchSystemConfigRfc7396Forbidden) Code

Code gets the status code for the patch system config rfc7396 forbidden response

func (*PatchSystemConfigRfc7396Forbidden) Error

func (*PatchSystemConfigRfc7396Forbidden) GetPayload

func (*PatchSystemConfigRfc7396Forbidden) IsClientError

func (o *PatchSystemConfigRfc7396Forbidden) IsClientError() bool

IsClientError returns true when this patch system config rfc7396 forbidden response has a 4xx status code

func (*PatchSystemConfigRfc7396Forbidden) IsCode

func (o *PatchSystemConfigRfc7396Forbidden) IsCode(code int) bool

IsCode returns true when this patch system config rfc7396 forbidden response a status code equal to that given

func (*PatchSystemConfigRfc7396Forbidden) IsRedirect

func (o *PatchSystemConfigRfc7396Forbidden) IsRedirect() bool

IsRedirect returns true when this patch system config rfc7396 forbidden response has a 3xx status code

func (*PatchSystemConfigRfc7396Forbidden) IsServerError

func (o *PatchSystemConfigRfc7396Forbidden) IsServerError() bool

IsServerError returns true when this patch system config rfc7396 forbidden response has a 5xx status code

func (*PatchSystemConfigRfc7396Forbidden) IsSuccess

func (o *PatchSystemConfigRfc7396Forbidden) IsSuccess() bool

IsSuccess returns true when this patch system config rfc7396 forbidden response has a 2xx status code

func (*PatchSystemConfigRfc7396Forbidden) String

type PatchSystemConfigRfc7396NoContent

type PatchSystemConfigRfc7396NoContent struct {
}

PatchSystemConfigRfc7396NoContent describes a response with status code 204, with default header values.

patch applied

func NewPatchSystemConfigRfc7396NoContent

func NewPatchSystemConfigRfc7396NoContent() *PatchSystemConfigRfc7396NoContent

NewPatchSystemConfigRfc7396NoContent creates a PatchSystemConfigRfc7396NoContent with default headers values

func (*PatchSystemConfigRfc7396NoContent) Code

Code gets the status code for the patch system config rfc7396 no content response

func (*PatchSystemConfigRfc7396NoContent) Error

func (*PatchSystemConfigRfc7396NoContent) IsClientError

func (o *PatchSystemConfigRfc7396NoContent) IsClientError() bool

IsClientError returns true when this patch system config rfc7396 no content response has a 4xx status code

func (*PatchSystemConfigRfc7396NoContent) IsCode

func (o *PatchSystemConfigRfc7396NoContent) IsCode(code int) bool

IsCode returns true when this patch system config rfc7396 no content response a status code equal to that given

func (*PatchSystemConfigRfc7396NoContent) IsRedirect

func (o *PatchSystemConfigRfc7396NoContent) IsRedirect() bool

IsRedirect returns true when this patch system config rfc7396 no content response has a 3xx status code

func (*PatchSystemConfigRfc7396NoContent) IsServerError

func (o *PatchSystemConfigRfc7396NoContent) IsServerError() bool

IsServerError returns true when this patch system config rfc7396 no content response has a 5xx status code

func (*PatchSystemConfigRfc7396NoContent) IsSuccess

func (o *PatchSystemConfigRfc7396NoContent) IsSuccess() bool

IsSuccess returns true when this patch system config rfc7396 no content response has a 2xx status code

func (*PatchSystemConfigRfc7396NoContent) String

type PatchSystemConfigRfc7396NotFound

type PatchSystemConfigRfc7396NotFound struct {
	Payload *models.Error
}

PatchSystemConfigRfc7396NotFound describes a response with status code 404, with default header values.

Not found

func NewPatchSystemConfigRfc7396NotFound

func NewPatchSystemConfigRfc7396NotFound() *PatchSystemConfigRfc7396NotFound

NewPatchSystemConfigRfc7396NotFound creates a PatchSystemConfigRfc7396NotFound with default headers values

func (*PatchSystemConfigRfc7396NotFound) Code

Code gets the status code for the patch system config rfc7396 not found response

func (*PatchSystemConfigRfc7396NotFound) Error

func (*PatchSystemConfigRfc7396NotFound) GetPayload

func (*PatchSystemConfigRfc7396NotFound) IsClientError

func (o *PatchSystemConfigRfc7396NotFound) IsClientError() bool

IsClientError returns true when this patch system config rfc7396 not found response has a 4xx status code

func (*PatchSystemConfigRfc7396NotFound) IsCode

func (o *PatchSystemConfigRfc7396NotFound) IsCode(code int) bool

IsCode returns true when this patch system config rfc7396 not found response a status code equal to that given

func (*PatchSystemConfigRfc7396NotFound) IsRedirect

func (o *PatchSystemConfigRfc7396NotFound) IsRedirect() bool

IsRedirect returns true when this patch system config rfc7396 not found response has a 3xx status code

func (*PatchSystemConfigRfc7396NotFound) IsServerError

func (o *PatchSystemConfigRfc7396NotFound) IsServerError() bool

IsServerError returns true when this patch system config rfc7396 not found response has a 5xx status code

func (*PatchSystemConfigRfc7396NotFound) IsSuccess

func (o *PatchSystemConfigRfc7396NotFound) IsSuccess() bool

IsSuccess returns true when this patch system config rfc7396 not found response has a 2xx status code

func (*PatchSystemConfigRfc7396NotFound) String

type PatchSystemConfigRfc7396Params

type PatchSystemConfigRfc7396Params struct {

	/* Mode.

	     Insert mode

	Defines what happens in case of patched configuration import conflicts.

	The `mode` parameter defines
	what happens if there are any conflicts when importing your configuration. For example, if a
	client already exists within Cloudentity and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	Cloudentity can handle the request:

	`mode` set to `ignore`, Cloudentity ignores the changes that come from your configuration import.

	`mode` set to `fail`, Cloudentity stops processing the import and returns an error.

	`mode` set to `update`, Cloudentity updates the value from the previous configuration with the value
	provided in the request.

	     Format: insertMode
	*/
	Mode *string

	// Patch.
	Patch models.Rfc7396PatchOperation

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

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

PatchSystemConfigRfc7396Params contains all the parameters to send to the API endpoint

for the patch system config rfc7396 operation.

Typically these are written to a http.Request.

func NewPatchSystemConfigRfc7396Params

func NewPatchSystemConfigRfc7396Params() *PatchSystemConfigRfc7396Params

NewPatchSystemConfigRfc7396Params creates a new PatchSystemConfigRfc7396Params 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 NewPatchSystemConfigRfc7396ParamsWithContext

func NewPatchSystemConfigRfc7396ParamsWithContext(ctx context.Context) *PatchSystemConfigRfc7396Params

NewPatchSystemConfigRfc7396ParamsWithContext creates a new PatchSystemConfigRfc7396Params object with the ability to set a context for a request.

func NewPatchSystemConfigRfc7396ParamsWithHTTPClient

func NewPatchSystemConfigRfc7396ParamsWithHTTPClient(client *http.Client) *PatchSystemConfigRfc7396Params

NewPatchSystemConfigRfc7396ParamsWithHTTPClient creates a new PatchSystemConfigRfc7396Params object with the ability to set a custom HTTPClient for a request.

func NewPatchSystemConfigRfc7396ParamsWithTimeout

func NewPatchSystemConfigRfc7396ParamsWithTimeout(timeout time.Duration) *PatchSystemConfigRfc7396Params

NewPatchSystemConfigRfc7396ParamsWithTimeout creates a new PatchSystemConfigRfc7396Params object with the ability to set a timeout on a request.

func (*PatchSystemConfigRfc7396Params) SetContext

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

SetContext adds the context to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) SetDefaults

func (o *PatchSystemConfigRfc7396Params) SetDefaults()

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

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

func (*PatchSystemConfigRfc7396Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) SetMode

func (o *PatchSystemConfigRfc7396Params) SetMode(mode *string)

SetMode adds the mode to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) SetPatch

SetPatch adds the patch to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) SetTid

func (o *PatchSystemConfigRfc7396Params) SetTid(tid string)

SetTid adds the tid to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) SetTimeout

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

SetTimeout adds the timeout to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WithContext

WithContext adds the context to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WithDefaults

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

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

func (*PatchSystemConfigRfc7396Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WithMode

WithMode adds the mode to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WithPatch

WithPatch adds the patch to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WithTid

WithTid adds the tid to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WithTimeout

WithTimeout adds the timeout to the patch system config rfc7396 params

func (*PatchSystemConfigRfc7396Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchSystemConfigRfc7396Reader

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

PatchSystemConfigRfc7396Reader is a Reader for the PatchSystemConfigRfc7396 structure.

func (*PatchSystemConfigRfc7396Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchSystemConfigRfc7396TooManyRequests

type PatchSystemConfigRfc7396TooManyRequests struct {
	Payload *models.Error
}

PatchSystemConfigRfc7396TooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewPatchSystemConfigRfc7396TooManyRequests

func NewPatchSystemConfigRfc7396TooManyRequests() *PatchSystemConfigRfc7396TooManyRequests

NewPatchSystemConfigRfc7396TooManyRequests creates a PatchSystemConfigRfc7396TooManyRequests with default headers values

func (*PatchSystemConfigRfc7396TooManyRequests) Code

Code gets the status code for the patch system config rfc7396 too many requests response

func (*PatchSystemConfigRfc7396TooManyRequests) Error

func (*PatchSystemConfigRfc7396TooManyRequests) GetPayload

func (*PatchSystemConfigRfc7396TooManyRequests) IsClientError

func (o *PatchSystemConfigRfc7396TooManyRequests) IsClientError() bool

IsClientError returns true when this patch system config rfc7396 too many requests response has a 4xx status code

func (*PatchSystemConfigRfc7396TooManyRequests) IsCode

IsCode returns true when this patch system config rfc7396 too many requests response a status code equal to that given

func (*PatchSystemConfigRfc7396TooManyRequests) IsRedirect

IsRedirect returns true when this patch system config rfc7396 too many requests response has a 3xx status code

func (*PatchSystemConfigRfc7396TooManyRequests) IsServerError

func (o *PatchSystemConfigRfc7396TooManyRequests) IsServerError() bool

IsServerError returns true when this patch system config rfc7396 too many requests response has a 5xx status code

func (*PatchSystemConfigRfc7396TooManyRequests) IsSuccess

IsSuccess returns true when this patch system config rfc7396 too many requests response has a 2xx status code

func (*PatchSystemConfigRfc7396TooManyRequests) String

type PatchSystemConfigRfc7396Unauthorized

type PatchSystemConfigRfc7396Unauthorized struct {
	Payload *models.Error
}

PatchSystemConfigRfc7396Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchSystemConfigRfc7396Unauthorized

func NewPatchSystemConfigRfc7396Unauthorized() *PatchSystemConfigRfc7396Unauthorized

NewPatchSystemConfigRfc7396Unauthorized creates a PatchSystemConfigRfc7396Unauthorized with default headers values

func (*PatchSystemConfigRfc7396Unauthorized) Code

Code gets the status code for the patch system config rfc7396 unauthorized response

func (*PatchSystemConfigRfc7396Unauthorized) Error

func (*PatchSystemConfigRfc7396Unauthorized) GetPayload

func (*PatchSystemConfigRfc7396Unauthorized) IsClientError

func (o *PatchSystemConfigRfc7396Unauthorized) IsClientError() bool

IsClientError returns true when this patch system config rfc7396 unauthorized response has a 4xx status code

func (*PatchSystemConfigRfc7396Unauthorized) IsCode

IsCode returns true when this patch system config rfc7396 unauthorized response a status code equal to that given

func (*PatchSystemConfigRfc7396Unauthorized) IsRedirect

IsRedirect returns true when this patch system config rfc7396 unauthorized response has a 3xx status code

func (*PatchSystemConfigRfc7396Unauthorized) IsServerError

func (o *PatchSystemConfigRfc7396Unauthorized) IsServerError() bool

IsServerError returns true when this patch system config rfc7396 unauthorized response has a 5xx status code

func (*PatchSystemConfigRfc7396Unauthorized) IsSuccess

IsSuccess returns true when this patch system config rfc7396 unauthorized response has a 2xx status code

func (*PatchSystemConfigRfc7396Unauthorized) String

type PatchSystemConfigRfc7396UnprocessableEntity

type PatchSystemConfigRfc7396UnprocessableEntity struct {
	Payload *models.Error
}

PatchSystemConfigRfc7396UnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewPatchSystemConfigRfc7396UnprocessableEntity

func NewPatchSystemConfigRfc7396UnprocessableEntity() *PatchSystemConfigRfc7396UnprocessableEntity

NewPatchSystemConfigRfc7396UnprocessableEntity creates a PatchSystemConfigRfc7396UnprocessableEntity with default headers values

func (*PatchSystemConfigRfc7396UnprocessableEntity) Code

Code gets the status code for the patch system config rfc7396 unprocessable entity response

func (*PatchSystemConfigRfc7396UnprocessableEntity) Error

func (*PatchSystemConfigRfc7396UnprocessableEntity) GetPayload

func (*PatchSystemConfigRfc7396UnprocessableEntity) IsClientError

IsClientError returns true when this patch system config rfc7396 unprocessable entity response has a 4xx status code

func (*PatchSystemConfigRfc7396UnprocessableEntity) IsCode

IsCode returns true when this patch system config rfc7396 unprocessable entity response a status code equal to that given

func (*PatchSystemConfigRfc7396UnprocessableEntity) IsRedirect

IsRedirect returns true when this patch system config rfc7396 unprocessable entity response has a 3xx status code

func (*PatchSystemConfigRfc7396UnprocessableEntity) IsServerError

IsServerError returns true when this patch system config rfc7396 unprocessable entity response has a 5xx status code

func (*PatchSystemConfigRfc7396UnprocessableEntity) IsSuccess

IsSuccess returns true when this patch system config rfc7396 unprocessable entity response has a 2xx status code

func (*PatchSystemConfigRfc7396UnprocessableEntity) String

Jump to

Keyboard shortcuts

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