tenants

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

func (*Client) ExportTenantConfiguration

func (a *Client) ExportTenantConfiguration(params *ExportTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportTenantConfigurationOK, error)
ExportTenantConfiguration exports tenant s configuration

Returns a JSON with the configuration of the specified tenant.

With Cloudentity system API, you can export a specified tenant's configuration. You can, for example, move your tenant's configuration between different ACP deployments using the export API and, then, import it to a different ACP deployment using the import API. For example, a company that delivers its services to financial institutions and uses ACP to protect their APIs, may want to export an Open Banking directive compliant tenant's configuration from one of their deployments and import it the deployment of their customers.

To export your tenant configuration, your client application must have the `manage_configuration` scope assigned. When requesting an access token, you should also provide this scope as the one you would like to request.

Use the `tid` path parameter to specify which tenant is to have the configuration exported.

func (*Client) ImportTenantConfiguration

ImportTenantConfiguration imports tenant configuration

Allows to quickly import the specified tenant configuration.

With Cloudentity system API, you can import a specific tenant's configuration. You can, for example, move your tenant's configuration between different ACP deployments. For example, a company that delivers its services to financial institutions and uses ACP to protect their APIs, may want to import an Open Banking directive compliant tenant's configuration from one of their deployments to the deployment of their customers.

To import your tenant configuration, your client application must have the `manage_configuration` scope assigned. When requesting an access token, you should also provide this scope as the one you would like to request.

Use the `tid` path parameter to specify which tenant is to have the configuration imported.

func (*Client) PatchTenantConfiguration

PatchTenantConfiguration patches tenant configuration

Patch tenant configuration using RFC 6902 JSON Patch.

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 {
	ExportTenantConfiguration(params *ExportTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportTenantConfigurationOK, error)

	ImportTenantConfiguration(params *ImportTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportTenantConfigurationNoContent, error)

	PatchTenantConfiguration(params *PatchTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTenantConfigurationNoContent, 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 tenants API client.

type ExportTenantConfigurationBadRequest

type ExportTenantConfigurationBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewExportTenantConfigurationBadRequest

func NewExportTenantConfigurationBadRequest() *ExportTenantConfigurationBadRequest

NewExportTenantConfigurationBadRequest creates a ExportTenantConfigurationBadRequest with default headers values

func (*ExportTenantConfigurationBadRequest) Code

Code gets the status code for the export tenant configuration bad request response

func (*ExportTenantConfigurationBadRequest) Error

func (*ExportTenantConfigurationBadRequest) GetPayload

func (*ExportTenantConfigurationBadRequest) IsClientError

func (o *ExportTenantConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this export tenant configuration bad request response has a 4xx status code

func (*ExportTenantConfigurationBadRequest) IsCode

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

func (*ExportTenantConfigurationBadRequest) IsRedirect

func (o *ExportTenantConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this export tenant configuration bad request response has a 3xx status code

func (*ExportTenantConfigurationBadRequest) IsServerError

func (o *ExportTenantConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this export tenant configuration bad request response has a 5xx status code

func (*ExportTenantConfigurationBadRequest) IsSuccess

IsSuccess returns true when this export tenant configuration bad request response has a 2xx status code

func (*ExportTenantConfigurationBadRequest) String

type ExportTenantConfigurationForbidden

type ExportTenantConfigurationForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewExportTenantConfigurationForbidden

func NewExportTenantConfigurationForbidden() *ExportTenantConfigurationForbidden

NewExportTenantConfigurationForbidden creates a ExportTenantConfigurationForbidden with default headers values

func (*ExportTenantConfigurationForbidden) Code

Code gets the status code for the export tenant configuration forbidden response

func (*ExportTenantConfigurationForbidden) Error

func (*ExportTenantConfigurationForbidden) GetPayload

func (*ExportTenantConfigurationForbidden) IsClientError

func (o *ExportTenantConfigurationForbidden) IsClientError() bool

IsClientError returns true when this export tenant configuration forbidden response has a 4xx status code

func (*ExportTenantConfigurationForbidden) IsCode

IsCode returns true when this export tenant configuration forbidden response a status code equal to that given

func (*ExportTenantConfigurationForbidden) IsRedirect

func (o *ExportTenantConfigurationForbidden) IsRedirect() bool

IsRedirect returns true when this export tenant configuration forbidden response has a 3xx status code

func (*ExportTenantConfigurationForbidden) IsServerError

func (o *ExportTenantConfigurationForbidden) IsServerError() bool

IsServerError returns true when this export tenant configuration forbidden response has a 5xx status code

func (*ExportTenantConfigurationForbidden) IsSuccess

IsSuccess returns true when this export tenant configuration forbidden response has a 2xx status code

func (*ExportTenantConfigurationForbidden) String

type ExportTenantConfigurationNotFound

type ExportTenantConfigurationNotFound struct {
	Payload *models.Error
}

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

Not found

func NewExportTenantConfigurationNotFound

func NewExportTenantConfigurationNotFound() *ExportTenantConfigurationNotFound

NewExportTenantConfigurationNotFound creates a ExportTenantConfigurationNotFound with default headers values

func (*ExportTenantConfigurationNotFound) Code

Code gets the status code for the export tenant configuration not found response

func (*ExportTenantConfigurationNotFound) Error

func (*ExportTenantConfigurationNotFound) GetPayload

func (*ExportTenantConfigurationNotFound) IsClientError

func (o *ExportTenantConfigurationNotFound) IsClientError() bool

IsClientError returns true when this export tenant configuration not found response has a 4xx status code

func (*ExportTenantConfigurationNotFound) IsCode

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

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

func (*ExportTenantConfigurationNotFound) IsRedirect

func (o *ExportTenantConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this export tenant configuration not found response has a 3xx status code

func (*ExportTenantConfigurationNotFound) IsServerError

func (o *ExportTenantConfigurationNotFound) IsServerError() bool

IsServerError returns true when this export tenant configuration not found response has a 5xx status code

func (*ExportTenantConfigurationNotFound) IsSuccess

func (o *ExportTenantConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this export tenant configuration not found response has a 2xx status code

func (*ExportTenantConfigurationNotFound) String

type ExportTenantConfigurationOK

type ExportTenantConfigurationOK struct {
	Payload *models.TenantDump
}

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

Tenant dump

func NewExportTenantConfigurationOK

func NewExportTenantConfigurationOK() *ExportTenantConfigurationOK

NewExportTenantConfigurationOK creates a ExportTenantConfigurationOK with default headers values

func (*ExportTenantConfigurationOK) Code

func (o *ExportTenantConfigurationOK) Code() int

Code gets the status code for the export tenant configuration o k response

func (*ExportTenantConfigurationOK) Error

func (*ExportTenantConfigurationOK) GetPayload

func (*ExportTenantConfigurationOK) IsClientError

func (o *ExportTenantConfigurationOK) IsClientError() bool

IsClientError returns true when this export tenant configuration o k response has a 4xx status code

func (*ExportTenantConfigurationOK) IsCode

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

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

func (*ExportTenantConfigurationOK) IsRedirect

func (o *ExportTenantConfigurationOK) IsRedirect() bool

IsRedirect returns true when this export tenant configuration o k response has a 3xx status code

func (*ExportTenantConfigurationOK) IsServerError

func (o *ExportTenantConfigurationOK) IsServerError() bool

IsServerError returns true when this export tenant configuration o k response has a 5xx status code

func (*ExportTenantConfigurationOK) IsSuccess

func (o *ExportTenantConfigurationOK) IsSuccess() bool

IsSuccess returns true when this export tenant configuration o k response has a 2xx status code

func (*ExportTenantConfigurationOK) String

func (o *ExportTenantConfigurationOK) String() string

type ExportTenantConfigurationParams

type ExportTenantConfigurationParams struct {

	// WithData.
	WithData *bool

	// WorkspaceID.
	WorkspaceID *string

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

ExportTenantConfigurationParams contains all the parameters to send to the API endpoint

for the export tenant configuration operation.

Typically these are written to a http.Request.

func NewExportTenantConfigurationParams

func NewExportTenantConfigurationParams() *ExportTenantConfigurationParams

NewExportTenantConfigurationParams creates a new ExportTenantConfigurationParams 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 NewExportTenantConfigurationParamsWithContext

func NewExportTenantConfigurationParamsWithContext(ctx context.Context) *ExportTenantConfigurationParams

NewExportTenantConfigurationParamsWithContext creates a new ExportTenantConfigurationParams object with the ability to set a context for a request.

func NewExportTenantConfigurationParamsWithHTTPClient

func NewExportTenantConfigurationParamsWithHTTPClient(client *http.Client) *ExportTenantConfigurationParams

NewExportTenantConfigurationParamsWithHTTPClient creates a new ExportTenantConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewExportTenantConfigurationParamsWithTimeout

func NewExportTenantConfigurationParamsWithTimeout(timeout time.Duration) *ExportTenantConfigurationParams

NewExportTenantConfigurationParamsWithTimeout creates a new ExportTenantConfigurationParams object with the ability to set a timeout on a request.

func (*ExportTenantConfigurationParams) SetContext

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

SetContext adds the context to the export tenant configuration params

func (*ExportTenantConfigurationParams) SetDefaults

func (o *ExportTenantConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the export tenant configuration params (not the query body).

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

func (*ExportTenantConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export tenant configuration params

func (*ExportTenantConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the export tenant configuration params

func (*ExportTenantConfigurationParams) SetWithData

func (o *ExportTenantConfigurationParams) SetWithData(withData *bool)

SetWithData adds the withData to the export tenant configuration params

func (*ExportTenantConfigurationParams) SetWorkspaceID

func (o *ExportTenantConfigurationParams) SetWorkspaceID(workspaceID *string)

SetWorkspaceID adds the workspaceId to the export tenant configuration params

func (*ExportTenantConfigurationParams) WithContext

WithContext adds the context to the export tenant configuration params

func (*ExportTenantConfigurationParams) WithDefaults

WithDefaults hydrates default values in the export tenant configuration params (not the query body).

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

func (*ExportTenantConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the export tenant configuration params

func (*ExportTenantConfigurationParams) WithTimeout

WithTimeout adds the timeout to the export tenant configuration params

func (*ExportTenantConfigurationParams) WithWithData

WithWithData adds the withData to the export tenant configuration params

func (*ExportTenantConfigurationParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the export tenant configuration params

func (*ExportTenantConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportTenantConfigurationReader

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

ExportTenantConfigurationReader is a Reader for the ExportTenantConfiguration structure.

func (*ExportTenantConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportTenantConfigurationTooManyRequests

type ExportTenantConfigurationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewExportTenantConfigurationTooManyRequests

func NewExportTenantConfigurationTooManyRequests() *ExportTenantConfigurationTooManyRequests

NewExportTenantConfigurationTooManyRequests creates a ExportTenantConfigurationTooManyRequests with default headers values

func (*ExportTenantConfigurationTooManyRequests) Code

Code gets the status code for the export tenant configuration too many requests response

func (*ExportTenantConfigurationTooManyRequests) Error

func (*ExportTenantConfigurationTooManyRequests) GetPayload

func (*ExportTenantConfigurationTooManyRequests) IsClientError

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

func (*ExportTenantConfigurationTooManyRequests) IsCode

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

func (*ExportTenantConfigurationTooManyRequests) IsRedirect

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

func (*ExportTenantConfigurationTooManyRequests) IsServerError

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

func (*ExportTenantConfigurationTooManyRequests) IsSuccess

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

func (*ExportTenantConfigurationTooManyRequests) String

type ExportTenantConfigurationUnauthorized

type ExportTenantConfigurationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewExportTenantConfigurationUnauthorized

func NewExportTenantConfigurationUnauthorized() *ExportTenantConfigurationUnauthorized

NewExportTenantConfigurationUnauthorized creates a ExportTenantConfigurationUnauthorized with default headers values

func (*ExportTenantConfigurationUnauthorized) Code

Code gets the status code for the export tenant configuration unauthorized response

func (*ExportTenantConfigurationUnauthorized) Error

func (*ExportTenantConfigurationUnauthorized) GetPayload

func (*ExportTenantConfigurationUnauthorized) IsClientError

func (o *ExportTenantConfigurationUnauthorized) IsClientError() bool

IsClientError returns true when this export tenant configuration unauthorized response has a 4xx status code

func (*ExportTenantConfigurationUnauthorized) IsCode

IsCode returns true when this export tenant configuration unauthorized response a status code equal to that given

func (*ExportTenantConfigurationUnauthorized) IsRedirect

IsRedirect returns true when this export tenant configuration unauthorized response has a 3xx status code

func (*ExportTenantConfigurationUnauthorized) IsServerError

func (o *ExportTenantConfigurationUnauthorized) IsServerError() bool

IsServerError returns true when this export tenant configuration unauthorized response has a 5xx status code

func (*ExportTenantConfigurationUnauthorized) IsSuccess

IsSuccess returns true when this export tenant configuration unauthorized response has a 2xx status code

func (*ExportTenantConfigurationUnauthorized) String

type ExportTenantConfigurationUnprocessableEntity

type ExportTenantConfigurationUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewExportTenantConfigurationUnprocessableEntity

func NewExportTenantConfigurationUnprocessableEntity() *ExportTenantConfigurationUnprocessableEntity

NewExportTenantConfigurationUnprocessableEntity creates a ExportTenantConfigurationUnprocessableEntity with default headers values

func (*ExportTenantConfigurationUnprocessableEntity) Code

Code gets the status code for the export tenant configuration unprocessable entity response

func (*ExportTenantConfigurationUnprocessableEntity) Error

func (*ExportTenantConfigurationUnprocessableEntity) GetPayload

func (*ExportTenantConfigurationUnprocessableEntity) IsClientError

IsClientError returns true when this export tenant configuration unprocessable entity response has a 4xx status code

func (*ExportTenantConfigurationUnprocessableEntity) IsCode

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

func (*ExportTenantConfigurationUnprocessableEntity) IsRedirect

IsRedirect returns true when this export tenant configuration unprocessable entity response has a 3xx status code

func (*ExportTenantConfigurationUnprocessableEntity) IsServerError

IsServerError returns true when this export tenant configuration unprocessable entity response has a 5xx status code

func (*ExportTenantConfigurationUnprocessableEntity) IsSuccess

IsSuccess returns true when this export tenant configuration unprocessable entity response has a 2xx status code

func (*ExportTenantConfigurationUnprocessableEntity) String

type ImportTenantConfigurationBadRequest

type ImportTenantConfigurationBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportTenantConfigurationBadRequest

func NewImportTenantConfigurationBadRequest() *ImportTenantConfigurationBadRequest

NewImportTenantConfigurationBadRequest creates a ImportTenantConfigurationBadRequest with default headers values

func (*ImportTenantConfigurationBadRequest) Code

Code gets the status code for the import tenant configuration bad request response

func (*ImportTenantConfigurationBadRequest) Error

func (*ImportTenantConfigurationBadRequest) GetPayload

func (*ImportTenantConfigurationBadRequest) IsClientError

func (o *ImportTenantConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this import tenant configuration bad request response has a 4xx status code

func (*ImportTenantConfigurationBadRequest) IsCode

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

func (*ImportTenantConfigurationBadRequest) IsRedirect

func (o *ImportTenantConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this import tenant configuration bad request response has a 3xx status code

func (*ImportTenantConfigurationBadRequest) IsServerError

func (o *ImportTenantConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this import tenant configuration bad request response has a 5xx status code

func (*ImportTenantConfigurationBadRequest) IsSuccess

IsSuccess returns true when this import tenant configuration bad request response has a 2xx status code

func (*ImportTenantConfigurationBadRequest) String

type ImportTenantConfigurationConflict

type ImportTenantConfigurationConflict struct {
	Payload *models.Error
}

ImportTenantConfigurationConflict describes a response with status code 409, with default header values.

Conflict

func NewImportTenantConfigurationConflict

func NewImportTenantConfigurationConflict() *ImportTenantConfigurationConflict

NewImportTenantConfigurationConflict creates a ImportTenantConfigurationConflict with default headers values

func (*ImportTenantConfigurationConflict) Code

Code gets the status code for the import tenant configuration conflict response

func (*ImportTenantConfigurationConflict) Error

func (*ImportTenantConfigurationConflict) GetPayload

func (*ImportTenantConfigurationConflict) IsClientError

func (o *ImportTenantConfigurationConflict) IsClientError() bool

IsClientError returns true when this import tenant configuration conflict response has a 4xx status code

func (*ImportTenantConfigurationConflict) IsCode

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

IsCode returns true when this import tenant configuration conflict response a status code equal to that given

func (*ImportTenantConfigurationConflict) IsRedirect

func (o *ImportTenantConfigurationConflict) IsRedirect() bool

IsRedirect returns true when this import tenant configuration conflict response has a 3xx status code

func (*ImportTenantConfigurationConflict) IsServerError

func (o *ImportTenantConfigurationConflict) IsServerError() bool

IsServerError returns true when this import tenant configuration conflict response has a 5xx status code

func (*ImportTenantConfigurationConflict) IsSuccess

func (o *ImportTenantConfigurationConflict) IsSuccess() bool

IsSuccess returns true when this import tenant configuration conflict response has a 2xx status code

func (*ImportTenantConfigurationConflict) String

type ImportTenantConfigurationForbidden

type ImportTenantConfigurationForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportTenantConfigurationForbidden

func NewImportTenantConfigurationForbidden() *ImportTenantConfigurationForbidden

NewImportTenantConfigurationForbidden creates a ImportTenantConfigurationForbidden with default headers values

func (*ImportTenantConfigurationForbidden) Code

Code gets the status code for the import tenant configuration forbidden response

func (*ImportTenantConfigurationForbidden) Error

func (*ImportTenantConfigurationForbidden) GetPayload

func (*ImportTenantConfigurationForbidden) IsClientError

func (o *ImportTenantConfigurationForbidden) IsClientError() bool

IsClientError returns true when this import tenant configuration forbidden response has a 4xx status code

func (*ImportTenantConfigurationForbidden) IsCode

IsCode returns true when this import tenant configuration forbidden response a status code equal to that given

func (*ImportTenantConfigurationForbidden) IsRedirect

func (o *ImportTenantConfigurationForbidden) IsRedirect() bool

IsRedirect returns true when this import tenant configuration forbidden response has a 3xx status code

func (*ImportTenantConfigurationForbidden) IsServerError

func (o *ImportTenantConfigurationForbidden) IsServerError() bool

IsServerError returns true when this import tenant configuration forbidden response has a 5xx status code

func (*ImportTenantConfigurationForbidden) IsSuccess

IsSuccess returns true when this import tenant configuration forbidden response has a 2xx status code

func (*ImportTenantConfigurationForbidden) String

type ImportTenantConfigurationNoContent

type ImportTenantConfigurationNoContent struct {
}

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

configuration has been imported

func NewImportTenantConfigurationNoContent

func NewImportTenantConfigurationNoContent() *ImportTenantConfigurationNoContent

NewImportTenantConfigurationNoContent creates a ImportTenantConfigurationNoContent with default headers values

func (*ImportTenantConfigurationNoContent) Code

Code gets the status code for the import tenant configuration no content response

func (*ImportTenantConfigurationNoContent) Error

func (*ImportTenantConfigurationNoContent) IsClientError

func (o *ImportTenantConfigurationNoContent) IsClientError() bool

IsClientError returns true when this import tenant configuration no content response has a 4xx status code

func (*ImportTenantConfigurationNoContent) IsCode

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

func (*ImportTenantConfigurationNoContent) IsRedirect

func (o *ImportTenantConfigurationNoContent) IsRedirect() bool

IsRedirect returns true when this import tenant configuration no content response has a 3xx status code

func (*ImportTenantConfigurationNoContent) IsServerError

func (o *ImportTenantConfigurationNoContent) IsServerError() bool

IsServerError returns true when this import tenant configuration no content response has a 5xx status code

func (*ImportTenantConfigurationNoContent) IsSuccess

IsSuccess returns true when this import tenant configuration no content response has a 2xx status code

func (*ImportTenantConfigurationNoContent) String

type ImportTenantConfigurationNotFound

type ImportTenantConfigurationNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportTenantConfigurationNotFound

func NewImportTenantConfigurationNotFound() *ImportTenantConfigurationNotFound

NewImportTenantConfigurationNotFound creates a ImportTenantConfigurationNotFound with default headers values

func (*ImportTenantConfigurationNotFound) Code

Code gets the status code for the import tenant configuration not found response

func (*ImportTenantConfigurationNotFound) Error

func (*ImportTenantConfigurationNotFound) GetPayload

func (*ImportTenantConfigurationNotFound) IsClientError

func (o *ImportTenantConfigurationNotFound) IsClientError() bool

IsClientError returns true when this import tenant configuration not found response has a 4xx status code

func (*ImportTenantConfigurationNotFound) IsCode

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

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

func (*ImportTenantConfigurationNotFound) IsRedirect

func (o *ImportTenantConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this import tenant configuration not found response has a 3xx status code

func (*ImportTenantConfigurationNotFound) IsServerError

func (o *ImportTenantConfigurationNotFound) IsServerError() bool

IsServerError returns true when this import tenant configuration not found response has a 5xx status code

func (*ImportTenantConfigurationNotFound) IsSuccess

func (o *ImportTenantConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this import tenant configuration not found response has a 2xx status code

func (*ImportTenantConfigurationNotFound) String

type ImportTenantConfigurationParams

type ImportTenantConfigurationParams struct {

	// TenantDump.
	TenantDump *models.TenantDump

	/* Mode.

	     Insert mode

	Defines what happens in case of 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 ACP and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	ACP can handle the request:

	`mode` set to `ignore` - ACP ignores the changes that come from your configuration import.

	`mode` set to `fail` - ACP stops processing the import and returns an error.

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

	     Format: insertMode
	*/
	Mode *string

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

ImportTenantConfigurationParams contains all the parameters to send to the API endpoint

for the import tenant configuration operation.

Typically these are written to a http.Request.

func NewImportTenantConfigurationParams

func NewImportTenantConfigurationParams() *ImportTenantConfigurationParams

NewImportTenantConfigurationParams creates a new ImportTenantConfigurationParams 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 NewImportTenantConfigurationParamsWithContext

func NewImportTenantConfigurationParamsWithContext(ctx context.Context) *ImportTenantConfigurationParams

NewImportTenantConfigurationParamsWithContext creates a new ImportTenantConfigurationParams object with the ability to set a context for a request.

func NewImportTenantConfigurationParamsWithHTTPClient

func NewImportTenantConfigurationParamsWithHTTPClient(client *http.Client) *ImportTenantConfigurationParams

NewImportTenantConfigurationParamsWithHTTPClient creates a new ImportTenantConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewImportTenantConfigurationParamsWithTimeout

func NewImportTenantConfigurationParamsWithTimeout(timeout time.Duration) *ImportTenantConfigurationParams

NewImportTenantConfigurationParamsWithTimeout creates a new ImportTenantConfigurationParams object with the ability to set a timeout on a request.

func (*ImportTenantConfigurationParams) SetContext

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

SetContext adds the context to the import tenant configuration params

func (*ImportTenantConfigurationParams) SetDefaults

func (o *ImportTenantConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the import tenant configuration params (not the query body).

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

func (*ImportTenantConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import tenant configuration params

func (*ImportTenantConfigurationParams) SetMode

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

SetMode adds the mode to the import tenant configuration params

func (*ImportTenantConfigurationParams) SetTenantDump

func (o *ImportTenantConfigurationParams) SetTenantDump(tenantDump *models.TenantDump)

SetTenantDump adds the tenantDump to the import tenant configuration params

func (*ImportTenantConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the import tenant configuration params

func (*ImportTenantConfigurationParams) WithContext

WithContext adds the context to the import tenant configuration params

func (*ImportTenantConfigurationParams) WithDefaults

WithDefaults hydrates default values in the import tenant configuration params (not the query body).

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

func (*ImportTenantConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import tenant configuration params

func (*ImportTenantConfigurationParams) WithMode

WithMode adds the mode to the import tenant configuration params

func (*ImportTenantConfigurationParams) WithTenantDump

WithTenantDump adds the tenantDump to the import tenant configuration params

func (*ImportTenantConfigurationParams) WithTimeout

WithTimeout adds the timeout to the import tenant configuration params

func (*ImportTenantConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportTenantConfigurationReader

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

ImportTenantConfigurationReader is a Reader for the ImportTenantConfiguration structure.

func (*ImportTenantConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportTenantConfigurationTooManyRequests

type ImportTenantConfigurationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportTenantConfigurationTooManyRequests

func NewImportTenantConfigurationTooManyRequests() *ImportTenantConfigurationTooManyRequests

NewImportTenantConfigurationTooManyRequests creates a ImportTenantConfigurationTooManyRequests with default headers values

func (*ImportTenantConfigurationTooManyRequests) Code

Code gets the status code for the import tenant configuration too many requests response

func (*ImportTenantConfigurationTooManyRequests) Error

func (*ImportTenantConfigurationTooManyRequests) GetPayload

func (*ImportTenantConfigurationTooManyRequests) IsClientError

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

func (*ImportTenantConfigurationTooManyRequests) IsCode

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

func (*ImportTenantConfigurationTooManyRequests) IsRedirect

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

func (*ImportTenantConfigurationTooManyRequests) IsServerError

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

func (*ImportTenantConfigurationTooManyRequests) IsSuccess

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

func (*ImportTenantConfigurationTooManyRequests) String

type ImportTenantConfigurationUnauthorized

type ImportTenantConfigurationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportTenantConfigurationUnauthorized

func NewImportTenantConfigurationUnauthorized() *ImportTenantConfigurationUnauthorized

NewImportTenantConfigurationUnauthorized creates a ImportTenantConfigurationUnauthorized with default headers values

func (*ImportTenantConfigurationUnauthorized) Code

Code gets the status code for the import tenant configuration unauthorized response

func (*ImportTenantConfigurationUnauthorized) Error

func (*ImportTenantConfigurationUnauthorized) GetPayload

func (*ImportTenantConfigurationUnauthorized) IsClientError

func (o *ImportTenantConfigurationUnauthorized) IsClientError() bool

IsClientError returns true when this import tenant configuration unauthorized response has a 4xx status code

func (*ImportTenantConfigurationUnauthorized) IsCode

IsCode returns true when this import tenant configuration unauthorized response a status code equal to that given

func (*ImportTenantConfigurationUnauthorized) IsRedirect

IsRedirect returns true when this import tenant configuration unauthorized response has a 3xx status code

func (*ImportTenantConfigurationUnauthorized) IsServerError

func (o *ImportTenantConfigurationUnauthorized) IsServerError() bool

IsServerError returns true when this import tenant configuration unauthorized response has a 5xx status code

func (*ImportTenantConfigurationUnauthorized) IsSuccess

IsSuccess returns true when this import tenant configuration unauthorized response has a 2xx status code

func (*ImportTenantConfigurationUnauthorized) String

type ImportTenantConfigurationUnprocessableEntity

type ImportTenantConfigurationUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewImportTenantConfigurationUnprocessableEntity

func NewImportTenantConfigurationUnprocessableEntity() *ImportTenantConfigurationUnprocessableEntity

NewImportTenantConfigurationUnprocessableEntity creates a ImportTenantConfigurationUnprocessableEntity with default headers values

func (*ImportTenantConfigurationUnprocessableEntity) Code

Code gets the status code for the import tenant configuration unprocessable entity response

func (*ImportTenantConfigurationUnprocessableEntity) Error

func (*ImportTenantConfigurationUnprocessableEntity) GetPayload

func (*ImportTenantConfigurationUnprocessableEntity) IsClientError

IsClientError returns true when this import tenant configuration unprocessable entity response has a 4xx status code

func (*ImportTenantConfigurationUnprocessableEntity) IsCode

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

func (*ImportTenantConfigurationUnprocessableEntity) IsRedirect

IsRedirect returns true when this import tenant configuration unprocessable entity response has a 3xx status code

func (*ImportTenantConfigurationUnprocessableEntity) IsServerError

IsServerError returns true when this import tenant configuration unprocessable entity response has a 5xx status code

func (*ImportTenantConfigurationUnprocessableEntity) IsSuccess

IsSuccess returns true when this import tenant configuration unprocessable entity response has a 2xx status code

func (*ImportTenantConfigurationUnprocessableEntity) String

type PatchTenantConfigurationBadRequest

type PatchTenantConfigurationBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewPatchTenantConfigurationBadRequest

func NewPatchTenantConfigurationBadRequest() *PatchTenantConfigurationBadRequest

NewPatchTenantConfigurationBadRequest creates a PatchTenantConfigurationBadRequest with default headers values

func (*PatchTenantConfigurationBadRequest) Code

Code gets the status code for the patch tenant configuration bad request response

func (*PatchTenantConfigurationBadRequest) Error

func (*PatchTenantConfigurationBadRequest) GetPayload

func (*PatchTenantConfigurationBadRequest) IsClientError

func (o *PatchTenantConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this patch tenant configuration bad request response has a 4xx status code

func (*PatchTenantConfigurationBadRequest) IsCode

IsCode returns true when this patch tenant configuration bad request response a status code equal to that given

func (*PatchTenantConfigurationBadRequest) IsRedirect

func (o *PatchTenantConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this patch tenant configuration bad request response has a 3xx status code

func (*PatchTenantConfigurationBadRequest) IsServerError

func (o *PatchTenantConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this patch tenant configuration bad request response has a 5xx status code

func (*PatchTenantConfigurationBadRequest) IsSuccess

IsSuccess returns true when this patch tenant configuration bad request response has a 2xx status code

func (*PatchTenantConfigurationBadRequest) String

type PatchTenantConfigurationForbidden

type PatchTenantConfigurationForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPatchTenantConfigurationForbidden

func NewPatchTenantConfigurationForbidden() *PatchTenantConfigurationForbidden

NewPatchTenantConfigurationForbidden creates a PatchTenantConfigurationForbidden with default headers values

func (*PatchTenantConfigurationForbidden) Code

Code gets the status code for the patch tenant configuration forbidden response

func (*PatchTenantConfigurationForbidden) Error

func (*PatchTenantConfigurationForbidden) GetPayload

func (*PatchTenantConfigurationForbidden) IsClientError

func (o *PatchTenantConfigurationForbidden) IsClientError() bool

IsClientError returns true when this patch tenant configuration forbidden response has a 4xx status code

func (*PatchTenantConfigurationForbidden) IsCode

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

IsCode returns true when this patch tenant configuration forbidden response a status code equal to that given

func (*PatchTenantConfigurationForbidden) IsRedirect

func (o *PatchTenantConfigurationForbidden) IsRedirect() bool

IsRedirect returns true when this patch tenant configuration forbidden response has a 3xx status code

func (*PatchTenantConfigurationForbidden) IsServerError

func (o *PatchTenantConfigurationForbidden) IsServerError() bool

IsServerError returns true when this patch tenant configuration forbidden response has a 5xx status code

func (*PatchTenantConfigurationForbidden) IsSuccess

func (o *PatchTenantConfigurationForbidden) IsSuccess() bool

IsSuccess returns true when this patch tenant configuration forbidden response has a 2xx status code

func (*PatchTenantConfigurationForbidden) String

type PatchTenantConfigurationNoContent

type PatchTenantConfigurationNoContent struct {
}

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

patch applied

func NewPatchTenantConfigurationNoContent

func NewPatchTenantConfigurationNoContent() *PatchTenantConfigurationNoContent

NewPatchTenantConfigurationNoContent creates a PatchTenantConfigurationNoContent with default headers values

func (*PatchTenantConfigurationNoContent) Code

Code gets the status code for the patch tenant configuration no content response

func (*PatchTenantConfigurationNoContent) Error

func (*PatchTenantConfigurationNoContent) IsClientError

func (o *PatchTenantConfigurationNoContent) IsClientError() bool

IsClientError returns true when this patch tenant configuration no content response has a 4xx status code

func (*PatchTenantConfigurationNoContent) IsCode

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

IsCode returns true when this patch tenant configuration no content response a status code equal to that given

func (*PatchTenantConfigurationNoContent) IsRedirect

func (o *PatchTenantConfigurationNoContent) IsRedirect() bool

IsRedirect returns true when this patch tenant configuration no content response has a 3xx status code

func (*PatchTenantConfigurationNoContent) IsServerError

func (o *PatchTenantConfigurationNoContent) IsServerError() bool

IsServerError returns true when this patch tenant configuration no content response has a 5xx status code

func (*PatchTenantConfigurationNoContent) IsSuccess

func (o *PatchTenantConfigurationNoContent) IsSuccess() bool

IsSuccess returns true when this patch tenant configuration no content response has a 2xx status code

func (*PatchTenantConfigurationNoContent) String

type PatchTenantConfigurationNotFound

type PatchTenantConfigurationNotFound struct {
	Payload *models.Error
}

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

Not found

func NewPatchTenantConfigurationNotFound

func NewPatchTenantConfigurationNotFound() *PatchTenantConfigurationNotFound

NewPatchTenantConfigurationNotFound creates a PatchTenantConfigurationNotFound with default headers values

func (*PatchTenantConfigurationNotFound) Code

Code gets the status code for the patch tenant configuration not found response

func (*PatchTenantConfigurationNotFound) Error

func (*PatchTenantConfigurationNotFound) GetPayload

func (*PatchTenantConfigurationNotFound) IsClientError

func (o *PatchTenantConfigurationNotFound) IsClientError() bool

IsClientError returns true when this patch tenant configuration not found response has a 4xx status code

func (*PatchTenantConfigurationNotFound) IsCode

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

IsCode returns true when this patch tenant configuration not found response a status code equal to that given

func (*PatchTenantConfigurationNotFound) IsRedirect

func (o *PatchTenantConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this patch tenant configuration not found response has a 3xx status code

func (*PatchTenantConfigurationNotFound) IsServerError

func (o *PatchTenantConfigurationNotFound) IsServerError() bool

IsServerError returns true when this patch tenant configuration not found response has a 5xx status code

func (*PatchTenantConfigurationNotFound) IsSuccess

func (o *PatchTenantConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this patch tenant configuration not found response has a 2xx status code

func (*PatchTenantConfigurationNotFound) String

type PatchTenantConfigurationParams

type PatchTenantConfigurationParams struct {

	// Mode.
	//
	// Format: insertMode
	Mode *string

	// Patch.
	Patch models.Rfc6902PatchOperations

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

PatchTenantConfigurationParams contains all the parameters to send to the API endpoint

for the patch tenant configuration operation.

Typically these are written to a http.Request.

func NewPatchTenantConfigurationParams

func NewPatchTenantConfigurationParams() *PatchTenantConfigurationParams

NewPatchTenantConfigurationParams creates a new PatchTenantConfigurationParams 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 NewPatchTenantConfigurationParamsWithContext

func NewPatchTenantConfigurationParamsWithContext(ctx context.Context) *PatchTenantConfigurationParams

NewPatchTenantConfigurationParamsWithContext creates a new PatchTenantConfigurationParams object with the ability to set a context for a request.

func NewPatchTenantConfigurationParamsWithHTTPClient

func NewPatchTenantConfigurationParamsWithHTTPClient(client *http.Client) *PatchTenantConfigurationParams

NewPatchTenantConfigurationParamsWithHTTPClient creates a new PatchTenantConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewPatchTenantConfigurationParamsWithTimeout

func NewPatchTenantConfigurationParamsWithTimeout(timeout time.Duration) *PatchTenantConfigurationParams

NewPatchTenantConfigurationParamsWithTimeout creates a new PatchTenantConfigurationParams object with the ability to set a timeout on a request.

func (*PatchTenantConfigurationParams) SetContext

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

SetContext adds the context to the patch tenant configuration params

func (*PatchTenantConfigurationParams) SetDefaults

func (o *PatchTenantConfigurationParams) SetDefaults()

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

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

func (*PatchTenantConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch tenant configuration params

func (*PatchTenantConfigurationParams) SetMode

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

SetMode adds the mode to the patch tenant configuration params

func (*PatchTenantConfigurationParams) SetPatch

SetPatch adds the patch to the patch tenant configuration params

func (*PatchTenantConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the patch tenant configuration params

func (*PatchTenantConfigurationParams) WithContext

WithContext adds the context to the patch tenant configuration params

func (*PatchTenantConfigurationParams) WithDefaults

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

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

func (*PatchTenantConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch tenant configuration params

func (*PatchTenantConfigurationParams) WithMode

WithMode adds the mode to the patch tenant configuration params

func (*PatchTenantConfigurationParams) WithPatch

WithPatch adds the patch to the patch tenant configuration params

func (*PatchTenantConfigurationParams) WithTimeout

WithTimeout adds the timeout to the patch tenant configuration params

func (*PatchTenantConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchTenantConfigurationReader

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

PatchTenantConfigurationReader is a Reader for the PatchTenantConfiguration structure.

func (*PatchTenantConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchTenantConfigurationTooManyRequests

type PatchTenantConfigurationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewPatchTenantConfigurationTooManyRequests

func NewPatchTenantConfigurationTooManyRequests() *PatchTenantConfigurationTooManyRequests

NewPatchTenantConfigurationTooManyRequests creates a PatchTenantConfigurationTooManyRequests with default headers values

func (*PatchTenantConfigurationTooManyRequests) Code

Code gets the status code for the patch tenant configuration too many requests response

func (*PatchTenantConfigurationTooManyRequests) Error

func (*PatchTenantConfigurationTooManyRequests) GetPayload

func (*PatchTenantConfigurationTooManyRequests) IsClientError

func (o *PatchTenantConfigurationTooManyRequests) IsClientError() bool

IsClientError returns true when this patch tenant configuration too many requests response has a 4xx status code

func (*PatchTenantConfigurationTooManyRequests) IsCode

IsCode returns true when this patch tenant configuration too many requests response a status code equal to that given

func (*PatchTenantConfigurationTooManyRequests) IsRedirect

IsRedirect returns true when this patch tenant configuration too many requests response has a 3xx status code

func (*PatchTenantConfigurationTooManyRequests) IsServerError

func (o *PatchTenantConfigurationTooManyRequests) IsServerError() bool

IsServerError returns true when this patch tenant configuration too many requests response has a 5xx status code

func (*PatchTenantConfigurationTooManyRequests) IsSuccess

IsSuccess returns true when this patch tenant configuration too many requests response has a 2xx status code

func (*PatchTenantConfigurationTooManyRequests) String

type PatchTenantConfigurationUnauthorized

type PatchTenantConfigurationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPatchTenantConfigurationUnauthorized

func NewPatchTenantConfigurationUnauthorized() *PatchTenantConfigurationUnauthorized

NewPatchTenantConfigurationUnauthorized creates a PatchTenantConfigurationUnauthorized with default headers values

func (*PatchTenantConfigurationUnauthorized) Code

Code gets the status code for the patch tenant configuration unauthorized response

func (*PatchTenantConfigurationUnauthorized) Error

func (*PatchTenantConfigurationUnauthorized) GetPayload

func (*PatchTenantConfigurationUnauthorized) IsClientError

func (o *PatchTenantConfigurationUnauthorized) IsClientError() bool

IsClientError returns true when this patch tenant configuration unauthorized response has a 4xx status code

func (*PatchTenantConfigurationUnauthorized) IsCode

IsCode returns true when this patch tenant configuration unauthorized response a status code equal to that given

func (*PatchTenantConfigurationUnauthorized) IsRedirect

IsRedirect returns true when this patch tenant configuration unauthorized response has a 3xx status code

func (*PatchTenantConfigurationUnauthorized) IsServerError

func (o *PatchTenantConfigurationUnauthorized) IsServerError() bool

IsServerError returns true when this patch tenant configuration unauthorized response has a 5xx status code

func (*PatchTenantConfigurationUnauthorized) IsSuccess

IsSuccess returns true when this patch tenant configuration unauthorized response has a 2xx status code

func (*PatchTenantConfigurationUnauthorized) String

type PatchTenantConfigurationUnprocessableEntity

type PatchTenantConfigurationUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewPatchTenantConfigurationUnprocessableEntity

func NewPatchTenantConfigurationUnprocessableEntity() *PatchTenantConfigurationUnprocessableEntity

NewPatchTenantConfigurationUnprocessableEntity creates a PatchTenantConfigurationUnprocessableEntity with default headers values

func (*PatchTenantConfigurationUnprocessableEntity) Code

Code gets the status code for the patch tenant configuration unprocessable entity response

func (*PatchTenantConfigurationUnprocessableEntity) Error

func (*PatchTenantConfigurationUnprocessableEntity) GetPayload

func (*PatchTenantConfigurationUnprocessableEntity) IsClientError

IsClientError returns true when this patch tenant configuration unprocessable entity response has a 4xx status code

func (*PatchTenantConfigurationUnprocessableEntity) IsCode

IsCode returns true when this patch tenant configuration unprocessable entity response a status code equal to that given

func (*PatchTenantConfigurationUnprocessableEntity) IsRedirect

IsRedirect returns true when this patch tenant configuration unprocessable entity response has a 3xx status code

func (*PatchTenantConfigurationUnprocessableEntity) IsServerError

IsServerError returns true when this patch tenant configuration unprocessable entity response has a 5xx status code

func (*PatchTenantConfigurationUnprocessableEntity) IsSuccess

IsSuccess returns true when this patch tenant configuration unprocessable entity response has a 2xx status code

func (*PatchTenantConfigurationUnprocessableEntity) String

Jump to

Keyboard shortcuts

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