Documentation
¶
Index ¶
- type Client
- func (a *Client) ExportTenantConfiguration(params *ExportTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportTenantConfigurationOK, error)
- func (a *Client) ImportTenantConfiguration(params *ImportTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportTenantConfigurationNoContent, error)
- func (a *Client) PatchTenantConfiguration(params *PatchTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchTenantConfigurationNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ExportTenantConfigurationBadRequest
- func (o *ExportTenantConfigurationBadRequest) Code() int
- func (o *ExportTenantConfigurationBadRequest) Error() string
- func (o *ExportTenantConfigurationBadRequest) GetPayload() *models.Error
- func (o *ExportTenantConfigurationBadRequest) IsClientError() bool
- func (o *ExportTenantConfigurationBadRequest) IsCode(code int) bool
- func (o *ExportTenantConfigurationBadRequest) IsRedirect() bool
- func (o *ExportTenantConfigurationBadRequest) IsServerError() bool
- func (o *ExportTenantConfigurationBadRequest) IsSuccess() bool
- func (o *ExportTenantConfigurationBadRequest) String() string
- type ExportTenantConfigurationForbidden
- func (o *ExportTenantConfigurationForbidden) Code() int
- func (o *ExportTenantConfigurationForbidden) Error() string
- func (o *ExportTenantConfigurationForbidden) GetPayload() *models.Error
- func (o *ExportTenantConfigurationForbidden) IsClientError() bool
- func (o *ExportTenantConfigurationForbidden) IsCode(code int) bool
- func (o *ExportTenantConfigurationForbidden) IsRedirect() bool
- func (o *ExportTenantConfigurationForbidden) IsServerError() bool
- func (o *ExportTenantConfigurationForbidden) IsSuccess() bool
- func (o *ExportTenantConfigurationForbidden) String() string
- type ExportTenantConfigurationNotFound
- func (o *ExportTenantConfigurationNotFound) Code() int
- func (o *ExportTenantConfigurationNotFound) Error() string
- func (o *ExportTenantConfigurationNotFound) GetPayload() *models.Error
- func (o *ExportTenantConfigurationNotFound) IsClientError() bool
- func (o *ExportTenantConfigurationNotFound) IsCode(code int) bool
- func (o *ExportTenantConfigurationNotFound) IsRedirect() bool
- func (o *ExportTenantConfigurationNotFound) IsServerError() bool
- func (o *ExportTenantConfigurationNotFound) IsSuccess() bool
- func (o *ExportTenantConfigurationNotFound) String() string
- type ExportTenantConfigurationOK
- func (o *ExportTenantConfigurationOK) Code() int
- func (o *ExportTenantConfigurationOK) Error() string
- func (o *ExportTenantConfigurationOK) GetPayload() *models.TenantDump
- func (o *ExportTenantConfigurationOK) IsClientError() bool
- func (o *ExportTenantConfigurationOK) IsCode(code int) bool
- func (o *ExportTenantConfigurationOK) IsRedirect() bool
- func (o *ExportTenantConfigurationOK) IsServerError() bool
- func (o *ExportTenantConfigurationOK) IsSuccess() bool
- func (o *ExportTenantConfigurationOK) String() string
- type ExportTenantConfigurationParams
- func NewExportTenantConfigurationParams() *ExportTenantConfigurationParams
- func NewExportTenantConfigurationParamsWithContext(ctx context.Context) *ExportTenantConfigurationParams
- func NewExportTenantConfigurationParamsWithHTTPClient(client *http.Client) *ExportTenantConfigurationParams
- func NewExportTenantConfigurationParamsWithTimeout(timeout time.Duration) *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) SetContext(ctx context.Context)
- func (o *ExportTenantConfigurationParams) SetDefaults()
- func (o *ExportTenantConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *ExportTenantConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *ExportTenantConfigurationParams) SetWithData(withData *bool)
- func (o *ExportTenantConfigurationParams) SetWorkspaceID(workspaceID *string)
- func (o *ExportTenantConfigurationParams) WithContext(ctx context.Context) *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) WithDefaults() *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) WithHTTPClient(client *http.Client) *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) WithTimeout(timeout time.Duration) *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) WithWithData(withData *bool) *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) WithWorkspaceID(workspaceID *string) *ExportTenantConfigurationParams
- func (o *ExportTenantConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportTenantConfigurationReader
- type ExportTenantConfigurationTooManyRequests
- func (o *ExportTenantConfigurationTooManyRequests) Code() int
- func (o *ExportTenantConfigurationTooManyRequests) Error() string
- func (o *ExportTenantConfigurationTooManyRequests) GetPayload() *models.Error
- func (o *ExportTenantConfigurationTooManyRequests) IsClientError() bool
- func (o *ExportTenantConfigurationTooManyRequests) IsCode(code int) bool
- func (o *ExportTenantConfigurationTooManyRequests) IsRedirect() bool
- func (o *ExportTenantConfigurationTooManyRequests) IsServerError() bool
- func (o *ExportTenantConfigurationTooManyRequests) IsSuccess() bool
- func (o *ExportTenantConfigurationTooManyRequests) String() string
- type ExportTenantConfigurationUnauthorized
- func (o *ExportTenantConfigurationUnauthorized) Code() int
- func (o *ExportTenantConfigurationUnauthorized) Error() string
- func (o *ExportTenantConfigurationUnauthorized) GetPayload() *models.Error
- func (o *ExportTenantConfigurationUnauthorized) IsClientError() bool
- func (o *ExportTenantConfigurationUnauthorized) IsCode(code int) bool
- func (o *ExportTenantConfigurationUnauthorized) IsRedirect() bool
- func (o *ExportTenantConfigurationUnauthorized) IsServerError() bool
- func (o *ExportTenantConfigurationUnauthorized) IsSuccess() bool
- func (o *ExportTenantConfigurationUnauthorized) String() string
- type ExportTenantConfigurationUnprocessableEntity
- func (o *ExportTenantConfigurationUnprocessableEntity) Code() int
- func (o *ExportTenantConfigurationUnprocessableEntity) Error() string
- func (o *ExportTenantConfigurationUnprocessableEntity) GetPayload() *models.Error
- func (o *ExportTenantConfigurationUnprocessableEntity) IsClientError() bool
- func (o *ExportTenantConfigurationUnprocessableEntity) IsCode(code int) bool
- func (o *ExportTenantConfigurationUnprocessableEntity) IsRedirect() bool
- func (o *ExportTenantConfigurationUnprocessableEntity) IsServerError() bool
- func (o *ExportTenantConfigurationUnprocessableEntity) IsSuccess() bool
- func (o *ExportTenantConfigurationUnprocessableEntity) String() string
- type ImportTenantConfigurationBadRequest
- func (o *ImportTenantConfigurationBadRequest) Code() int
- func (o *ImportTenantConfigurationBadRequest) Error() string
- func (o *ImportTenantConfigurationBadRequest) GetPayload() *models.Error
- func (o *ImportTenantConfigurationBadRequest) IsClientError() bool
- func (o *ImportTenantConfigurationBadRequest) IsCode(code int) bool
- func (o *ImportTenantConfigurationBadRequest) IsRedirect() bool
- func (o *ImportTenantConfigurationBadRequest) IsServerError() bool
- func (o *ImportTenantConfigurationBadRequest) IsSuccess() bool
- func (o *ImportTenantConfigurationBadRequest) String() string
- type ImportTenantConfigurationConflict
- func (o *ImportTenantConfigurationConflict) Code() int
- func (o *ImportTenantConfigurationConflict) Error() string
- func (o *ImportTenantConfigurationConflict) GetPayload() *models.Error
- func (o *ImportTenantConfigurationConflict) IsClientError() bool
- func (o *ImportTenantConfigurationConflict) IsCode(code int) bool
- func (o *ImportTenantConfigurationConflict) IsRedirect() bool
- func (o *ImportTenantConfigurationConflict) IsServerError() bool
- func (o *ImportTenantConfigurationConflict) IsSuccess() bool
- func (o *ImportTenantConfigurationConflict) String() string
- type ImportTenantConfigurationForbidden
- func (o *ImportTenantConfigurationForbidden) Code() int
- func (o *ImportTenantConfigurationForbidden) Error() string
- func (o *ImportTenantConfigurationForbidden) GetPayload() *models.Error
- func (o *ImportTenantConfigurationForbidden) IsClientError() bool
- func (o *ImportTenantConfigurationForbidden) IsCode(code int) bool
- func (o *ImportTenantConfigurationForbidden) IsRedirect() bool
- func (o *ImportTenantConfigurationForbidden) IsServerError() bool
- func (o *ImportTenantConfigurationForbidden) IsSuccess() bool
- func (o *ImportTenantConfigurationForbidden) String() string
- type ImportTenantConfigurationNoContent
- func (o *ImportTenantConfigurationNoContent) Code() int
- func (o *ImportTenantConfigurationNoContent) Error() string
- func (o *ImportTenantConfigurationNoContent) IsClientError() bool
- func (o *ImportTenantConfigurationNoContent) IsCode(code int) bool
- func (o *ImportTenantConfigurationNoContent) IsRedirect() bool
- func (o *ImportTenantConfigurationNoContent) IsServerError() bool
- func (o *ImportTenantConfigurationNoContent) IsSuccess() bool
- func (o *ImportTenantConfigurationNoContent) String() string
- type ImportTenantConfigurationNotFound
- func (o *ImportTenantConfigurationNotFound) Code() int
- func (o *ImportTenantConfigurationNotFound) Error() string
- func (o *ImportTenantConfigurationNotFound) GetPayload() *models.Error
- func (o *ImportTenantConfigurationNotFound) IsClientError() bool
- func (o *ImportTenantConfigurationNotFound) IsCode(code int) bool
- func (o *ImportTenantConfigurationNotFound) IsRedirect() bool
- func (o *ImportTenantConfigurationNotFound) IsServerError() bool
- func (o *ImportTenantConfigurationNotFound) IsSuccess() bool
- func (o *ImportTenantConfigurationNotFound) String() string
- type ImportTenantConfigurationParams
- func NewImportTenantConfigurationParams() *ImportTenantConfigurationParams
- func NewImportTenantConfigurationParamsWithContext(ctx context.Context) *ImportTenantConfigurationParams
- func NewImportTenantConfigurationParamsWithHTTPClient(client *http.Client) *ImportTenantConfigurationParams
- func NewImportTenantConfigurationParamsWithTimeout(timeout time.Duration) *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) SetContext(ctx context.Context)
- func (o *ImportTenantConfigurationParams) SetDefaults()
- func (o *ImportTenantConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *ImportTenantConfigurationParams) SetMode(mode *string)
- func (o *ImportTenantConfigurationParams) SetTenantDump(tenantDump *models.TenantDump)
- func (o *ImportTenantConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *ImportTenantConfigurationParams) WithContext(ctx context.Context) *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) WithDefaults() *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) WithHTTPClient(client *http.Client) *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) WithMode(mode *string) *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) WithTenantDump(tenantDump *models.TenantDump) *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) WithTimeout(timeout time.Duration) *ImportTenantConfigurationParams
- func (o *ImportTenantConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportTenantConfigurationReader
- type ImportTenantConfigurationTooManyRequests
- func (o *ImportTenantConfigurationTooManyRequests) Code() int
- func (o *ImportTenantConfigurationTooManyRequests) Error() string
- func (o *ImportTenantConfigurationTooManyRequests) GetPayload() *models.Error
- func (o *ImportTenantConfigurationTooManyRequests) IsClientError() bool
- func (o *ImportTenantConfigurationTooManyRequests) IsCode(code int) bool
- func (o *ImportTenantConfigurationTooManyRequests) IsRedirect() bool
- func (o *ImportTenantConfigurationTooManyRequests) IsServerError() bool
- func (o *ImportTenantConfigurationTooManyRequests) IsSuccess() bool
- func (o *ImportTenantConfigurationTooManyRequests) String() string
- type ImportTenantConfigurationUnauthorized
- func (o *ImportTenantConfigurationUnauthorized) Code() int
- func (o *ImportTenantConfigurationUnauthorized) Error() string
- func (o *ImportTenantConfigurationUnauthorized) GetPayload() *models.Error
- func (o *ImportTenantConfigurationUnauthorized) IsClientError() bool
- func (o *ImportTenantConfigurationUnauthorized) IsCode(code int) bool
- func (o *ImportTenantConfigurationUnauthorized) IsRedirect() bool
- func (o *ImportTenantConfigurationUnauthorized) IsServerError() bool
- func (o *ImportTenantConfigurationUnauthorized) IsSuccess() bool
- func (o *ImportTenantConfigurationUnauthorized) String() string
- type ImportTenantConfigurationUnprocessableEntity
- func (o *ImportTenantConfigurationUnprocessableEntity) Code() int
- func (o *ImportTenantConfigurationUnprocessableEntity) Error() string
- func (o *ImportTenantConfigurationUnprocessableEntity) GetPayload() *models.Error
- func (o *ImportTenantConfigurationUnprocessableEntity) IsClientError() bool
- func (o *ImportTenantConfigurationUnprocessableEntity) IsCode(code int) bool
- func (o *ImportTenantConfigurationUnprocessableEntity) IsRedirect() bool
- func (o *ImportTenantConfigurationUnprocessableEntity) IsServerError() bool
- func (o *ImportTenantConfigurationUnprocessableEntity) IsSuccess() bool
- func (o *ImportTenantConfigurationUnprocessableEntity) String() string
- type PatchTenantConfigurationBadRequest
- func (o *PatchTenantConfigurationBadRequest) Code() int
- func (o *PatchTenantConfigurationBadRequest) Error() string
- func (o *PatchTenantConfigurationBadRequest) GetPayload() *models.Error
- func (o *PatchTenantConfigurationBadRequest) IsClientError() bool
- func (o *PatchTenantConfigurationBadRequest) IsCode(code int) bool
- func (o *PatchTenantConfigurationBadRequest) IsRedirect() bool
- func (o *PatchTenantConfigurationBadRequest) IsServerError() bool
- func (o *PatchTenantConfigurationBadRequest) IsSuccess() bool
- func (o *PatchTenantConfigurationBadRequest) String() string
- type PatchTenantConfigurationForbidden
- func (o *PatchTenantConfigurationForbidden) Code() int
- func (o *PatchTenantConfigurationForbidden) Error() string
- func (o *PatchTenantConfigurationForbidden) GetPayload() *models.Error
- func (o *PatchTenantConfigurationForbidden) IsClientError() bool
- func (o *PatchTenantConfigurationForbidden) IsCode(code int) bool
- func (o *PatchTenantConfigurationForbidden) IsRedirect() bool
- func (o *PatchTenantConfigurationForbidden) IsServerError() bool
- func (o *PatchTenantConfigurationForbidden) IsSuccess() bool
- func (o *PatchTenantConfigurationForbidden) String() string
- type PatchTenantConfigurationNoContent
- func (o *PatchTenantConfigurationNoContent) Code() int
- func (o *PatchTenantConfigurationNoContent) Error() string
- func (o *PatchTenantConfigurationNoContent) IsClientError() bool
- func (o *PatchTenantConfigurationNoContent) IsCode(code int) bool
- func (o *PatchTenantConfigurationNoContent) IsRedirect() bool
- func (o *PatchTenantConfigurationNoContent) IsServerError() bool
- func (o *PatchTenantConfigurationNoContent) IsSuccess() bool
- func (o *PatchTenantConfigurationNoContent) String() string
- type PatchTenantConfigurationNotFound
- func (o *PatchTenantConfigurationNotFound) Code() int
- func (o *PatchTenantConfigurationNotFound) Error() string
- func (o *PatchTenantConfigurationNotFound) GetPayload() *models.Error
- func (o *PatchTenantConfigurationNotFound) IsClientError() bool
- func (o *PatchTenantConfigurationNotFound) IsCode(code int) bool
- func (o *PatchTenantConfigurationNotFound) IsRedirect() bool
- func (o *PatchTenantConfigurationNotFound) IsServerError() bool
- func (o *PatchTenantConfigurationNotFound) IsSuccess() bool
- func (o *PatchTenantConfigurationNotFound) String() string
- type PatchTenantConfigurationParams
- func NewPatchTenantConfigurationParams() *PatchTenantConfigurationParams
- func NewPatchTenantConfigurationParamsWithContext(ctx context.Context) *PatchTenantConfigurationParams
- func NewPatchTenantConfigurationParamsWithHTTPClient(client *http.Client) *PatchTenantConfigurationParams
- func NewPatchTenantConfigurationParamsWithTimeout(timeout time.Duration) *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) SetContext(ctx context.Context)
- func (o *PatchTenantConfigurationParams) SetDefaults()
- func (o *PatchTenantConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *PatchTenantConfigurationParams) SetMode(mode *string)
- func (o *PatchTenantConfigurationParams) SetPatch(patch models.Rfc6902PatchOperations)
- func (o *PatchTenantConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *PatchTenantConfigurationParams) WithContext(ctx context.Context) *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) WithDefaults() *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) WithHTTPClient(client *http.Client) *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) WithMode(mode *string) *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) WithPatch(patch models.Rfc6902PatchOperations) *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) WithTimeout(timeout time.Duration) *PatchTenantConfigurationParams
- func (o *PatchTenantConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchTenantConfigurationReader
- type PatchTenantConfigurationTooManyRequests
- func (o *PatchTenantConfigurationTooManyRequests) Code() int
- func (o *PatchTenantConfigurationTooManyRequests) Error() string
- func (o *PatchTenantConfigurationTooManyRequests) GetPayload() *models.Error
- func (o *PatchTenantConfigurationTooManyRequests) IsClientError() bool
- func (o *PatchTenantConfigurationTooManyRequests) IsCode(code int) bool
- func (o *PatchTenantConfigurationTooManyRequests) IsRedirect() bool
- func (o *PatchTenantConfigurationTooManyRequests) IsServerError() bool
- func (o *PatchTenantConfigurationTooManyRequests) IsSuccess() bool
- func (o *PatchTenantConfigurationTooManyRequests) String() string
- type PatchTenantConfigurationUnauthorized
- func (o *PatchTenantConfigurationUnauthorized) Code() int
- func (o *PatchTenantConfigurationUnauthorized) Error() string
- func (o *PatchTenantConfigurationUnauthorized) GetPayload() *models.Error
- func (o *PatchTenantConfigurationUnauthorized) IsClientError() bool
- func (o *PatchTenantConfigurationUnauthorized) IsCode(code int) bool
- func (o *PatchTenantConfigurationUnauthorized) IsRedirect() bool
- func (o *PatchTenantConfigurationUnauthorized) IsServerError() bool
- func (o *PatchTenantConfigurationUnauthorized) IsSuccess() bool
- func (o *PatchTenantConfigurationUnauthorized) String() string
- type PatchTenantConfigurationUnprocessableEntity
- func (o *PatchTenantConfigurationUnprocessableEntity) Code() int
- func (o *PatchTenantConfigurationUnprocessableEntity) Error() string
- func (o *PatchTenantConfigurationUnprocessableEntity) GetPayload() *models.Error
- func (o *PatchTenantConfigurationUnprocessableEntity) IsClientError() bool
- func (o *PatchTenantConfigurationUnprocessableEntity) IsCode(code int) bool
- func (o *PatchTenantConfigurationUnprocessableEntity) IsRedirect() bool
- func (o *PatchTenantConfigurationUnprocessableEntity) IsServerError() bool
- func (o *PatchTenantConfigurationUnprocessableEntity) IsSuccess() bool
- func (o *PatchTenantConfigurationUnprocessableEntity) String() string
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 ¶
func (a *Client) ImportTenantConfiguration(params *ImportTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportTenantConfigurationNoContent, error)
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 ¶
func (a *Client) PatchTenantConfiguration(params *PatchTenantConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTenantConfigurationNoContent, error)
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new tenants API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new tenants API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type ExportTenantConfigurationBadRequest ¶
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 ¶
func (o *ExportTenantConfigurationBadRequest) Code() int
Code gets the status code for the export tenant configuration bad request response
func (*ExportTenantConfigurationBadRequest) Error ¶
func (o *ExportTenantConfigurationBadRequest) Error() string
func (*ExportTenantConfigurationBadRequest) GetPayload ¶
func (o *ExportTenantConfigurationBadRequest) GetPayload() *models.Error
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 ¶
func (o *ExportTenantConfigurationBadRequest) IsCode(code int) bool
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 ¶
func (o *ExportTenantConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this export tenant configuration bad request response has a 2xx status code
func (*ExportTenantConfigurationBadRequest) String ¶
func (o *ExportTenantConfigurationBadRequest) String() string
type ExportTenantConfigurationForbidden ¶
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 ¶
func (o *ExportTenantConfigurationForbidden) Code() int
Code gets the status code for the export tenant configuration forbidden response
func (*ExportTenantConfigurationForbidden) Error ¶
func (o *ExportTenantConfigurationForbidden) Error() string
func (*ExportTenantConfigurationForbidden) GetPayload ¶
func (o *ExportTenantConfigurationForbidden) GetPayload() *models.Error
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 ¶
func (o *ExportTenantConfigurationForbidden) IsCode(code int) bool
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 ¶
func (o *ExportTenantConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this export tenant configuration forbidden response has a 2xx status code
func (*ExportTenantConfigurationForbidden) String ¶
func (o *ExportTenantConfigurationForbidden) String() string
type ExportTenantConfigurationNotFound ¶
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 ¶
func (o *ExportTenantConfigurationNotFound) Code() int
Code gets the status code for the export tenant configuration not found response
func (*ExportTenantConfigurationNotFound) Error ¶
func (o *ExportTenantConfigurationNotFound) Error() string
func (*ExportTenantConfigurationNotFound) GetPayload ¶
func (o *ExportTenantConfigurationNotFound) GetPayload() *models.Error
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 ¶
func (o *ExportTenantConfigurationNotFound) String() 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 (o *ExportTenantConfigurationOK) Error() string
func (*ExportTenantConfigurationOK) GetPayload ¶
func (o *ExportTenantConfigurationOK) GetPayload() *models.TenantDump
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 ¶
func (o *ExportTenantConfigurationParams) WithContext(ctx context.Context) *ExportTenantConfigurationParams
WithContext adds the context to the export tenant configuration params
func (*ExportTenantConfigurationParams) WithDefaults ¶
func (o *ExportTenantConfigurationParams) WithDefaults() *ExportTenantConfigurationParams
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 ¶
func (o *ExportTenantConfigurationParams) WithHTTPClient(client *http.Client) *ExportTenantConfigurationParams
WithHTTPClient adds the HTTPClient to the export tenant configuration params
func (*ExportTenantConfigurationParams) WithTimeout ¶
func (o *ExportTenantConfigurationParams) WithTimeout(timeout time.Duration) *ExportTenantConfigurationParams
WithTimeout adds the timeout to the export tenant configuration params
func (*ExportTenantConfigurationParams) WithWithData ¶
func (o *ExportTenantConfigurationParams) WithWithData(withData *bool) *ExportTenantConfigurationParams
WithWithData adds the withData to the export tenant configuration params
func (*ExportTenantConfigurationParams) WithWorkspaceID ¶
func (o *ExportTenantConfigurationParams) WithWorkspaceID(workspaceID *string) *ExportTenantConfigurationParams
WithWorkspaceID adds the workspaceID to the export tenant configuration params
func (*ExportTenantConfigurationParams) WriteToRequest ¶
func (o *ExportTenantConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ExportTenantConfigurationTooManyRequests) Code() int
Code gets the status code for the export tenant configuration too many requests response
func (*ExportTenantConfigurationTooManyRequests) Error ¶
func (o *ExportTenantConfigurationTooManyRequests) Error() string
func (*ExportTenantConfigurationTooManyRequests) GetPayload ¶
func (o *ExportTenantConfigurationTooManyRequests) GetPayload() *models.Error
func (*ExportTenantConfigurationTooManyRequests) IsClientError ¶
func (o *ExportTenantConfigurationTooManyRequests) IsClientError() bool
IsClientError returns true when this export tenant configuration too many requests response has a 4xx status code
func (*ExportTenantConfigurationTooManyRequests) IsCode ¶
func (o *ExportTenantConfigurationTooManyRequests) IsCode(code int) bool
IsCode returns true when this export tenant configuration too many requests response a status code equal to that given
func (*ExportTenantConfigurationTooManyRequests) IsRedirect ¶
func (o *ExportTenantConfigurationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this export tenant configuration too many requests response has a 3xx status code
func (*ExportTenantConfigurationTooManyRequests) IsServerError ¶
func (o *ExportTenantConfigurationTooManyRequests) IsServerError() bool
IsServerError returns true when this export tenant configuration too many requests response has a 5xx status code
func (*ExportTenantConfigurationTooManyRequests) IsSuccess ¶
func (o *ExportTenantConfigurationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this export tenant configuration too many requests response has a 2xx status code
func (*ExportTenantConfigurationTooManyRequests) String ¶
func (o *ExportTenantConfigurationTooManyRequests) String() string
type ExportTenantConfigurationUnauthorized ¶
type ExportTenantConfigurationUnauthorized struct {
}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 ¶
func (o *ExportTenantConfigurationUnauthorized) Code() int
Code gets the status code for the export tenant configuration unauthorized response
func (*ExportTenantConfigurationUnauthorized) Error ¶
func (o *ExportTenantConfigurationUnauthorized) Error() string
func (*ExportTenantConfigurationUnauthorized) GetPayload ¶
func (o *ExportTenantConfigurationUnauthorized) GetPayload() *models.Error
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 ¶
func (o *ExportTenantConfigurationUnauthorized) IsCode(code int) bool
IsCode returns true when this export tenant configuration unauthorized response a status code equal to that given
func (*ExportTenantConfigurationUnauthorized) IsRedirect ¶
func (o *ExportTenantConfigurationUnauthorized) IsRedirect() bool
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 ¶
func (o *ExportTenantConfigurationUnauthorized) IsSuccess() bool
IsSuccess returns true when this export tenant configuration unauthorized response has a 2xx status code
func (*ExportTenantConfigurationUnauthorized) String ¶
func (o *ExportTenantConfigurationUnauthorized) String() string
type ExportTenantConfigurationUnprocessableEntity ¶
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 ¶
func (o *ExportTenantConfigurationUnprocessableEntity) Code() int
Code gets the status code for the export tenant configuration unprocessable entity response
func (*ExportTenantConfigurationUnprocessableEntity) Error ¶
func (o *ExportTenantConfigurationUnprocessableEntity) Error() string
func (*ExportTenantConfigurationUnprocessableEntity) GetPayload ¶
func (o *ExportTenantConfigurationUnprocessableEntity) GetPayload() *models.Error
func (*ExportTenantConfigurationUnprocessableEntity) IsClientError ¶
func (o *ExportTenantConfigurationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this export tenant configuration unprocessable entity response has a 4xx status code
func (*ExportTenantConfigurationUnprocessableEntity) IsCode ¶
func (o *ExportTenantConfigurationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this export tenant configuration unprocessable entity response a status code equal to that given
func (*ExportTenantConfigurationUnprocessableEntity) IsRedirect ¶
func (o *ExportTenantConfigurationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this export tenant configuration unprocessable entity response has a 3xx status code
func (*ExportTenantConfigurationUnprocessableEntity) IsServerError ¶
func (o *ExportTenantConfigurationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this export tenant configuration unprocessable entity response has a 5xx status code
func (*ExportTenantConfigurationUnprocessableEntity) IsSuccess ¶
func (o *ExportTenantConfigurationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this export tenant configuration unprocessable entity response has a 2xx status code
func (*ExportTenantConfigurationUnprocessableEntity) String ¶
func (o *ExportTenantConfigurationUnprocessableEntity) String() string
type ImportTenantConfigurationBadRequest ¶
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 ¶
func (o *ImportTenantConfigurationBadRequest) Code() int
Code gets the status code for the import tenant configuration bad request response
func (*ImportTenantConfigurationBadRequest) Error ¶
func (o *ImportTenantConfigurationBadRequest) Error() string
func (*ImportTenantConfigurationBadRequest) GetPayload ¶
func (o *ImportTenantConfigurationBadRequest) GetPayload() *models.Error
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 ¶
func (o *ImportTenantConfigurationBadRequest) IsCode(code int) bool
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 ¶
func (o *ImportTenantConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this import tenant configuration bad request response has a 2xx status code
func (*ImportTenantConfigurationBadRequest) String ¶
func (o *ImportTenantConfigurationBadRequest) String() string
type ImportTenantConfigurationConflict ¶
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 ¶
func (o *ImportTenantConfigurationConflict) Code() int
Code gets the status code for the import tenant configuration conflict response
func (*ImportTenantConfigurationConflict) Error ¶
func (o *ImportTenantConfigurationConflict) Error() string
func (*ImportTenantConfigurationConflict) GetPayload ¶
func (o *ImportTenantConfigurationConflict) GetPayload() *models.Error
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 ¶
func (o *ImportTenantConfigurationConflict) String() string
type ImportTenantConfigurationForbidden ¶
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 ¶
func (o *ImportTenantConfigurationForbidden) Code() int
Code gets the status code for the import tenant configuration forbidden response
func (*ImportTenantConfigurationForbidden) Error ¶
func (o *ImportTenantConfigurationForbidden) Error() string
func (*ImportTenantConfigurationForbidden) GetPayload ¶
func (o *ImportTenantConfigurationForbidden) GetPayload() *models.Error
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 ¶
func (o *ImportTenantConfigurationForbidden) IsCode(code int) bool
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 ¶
func (o *ImportTenantConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this import tenant configuration forbidden response has a 2xx status code
func (*ImportTenantConfigurationForbidden) String ¶
func (o *ImportTenantConfigurationForbidden) String() 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 ¶
func (o *ImportTenantConfigurationNoContent) Code() int
Code gets the status code for the import tenant configuration no content response
func (*ImportTenantConfigurationNoContent) Error ¶
func (o *ImportTenantConfigurationNoContent) Error() string
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 ¶
func (o *ImportTenantConfigurationNoContent) IsCode(code int) bool
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 ¶
func (o *ImportTenantConfigurationNoContent) IsSuccess() bool
IsSuccess returns true when this import tenant configuration no content response has a 2xx status code
func (*ImportTenantConfigurationNoContent) String ¶
func (o *ImportTenantConfigurationNoContent) String() string
type ImportTenantConfigurationNotFound ¶
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 ¶
func (o *ImportTenantConfigurationNotFound) Code() int
Code gets the status code for the import tenant configuration not found response
func (*ImportTenantConfigurationNotFound) Error ¶
func (o *ImportTenantConfigurationNotFound) Error() string
func (*ImportTenantConfigurationNotFound) GetPayload ¶
func (o *ImportTenantConfigurationNotFound) GetPayload() *models.Error
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 ¶
func (o *ImportTenantConfigurationNotFound) String() 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 ¶
func (o *ImportTenantConfigurationParams) WithContext(ctx context.Context) *ImportTenantConfigurationParams
WithContext adds the context to the import tenant configuration params
func (*ImportTenantConfigurationParams) WithDefaults ¶
func (o *ImportTenantConfigurationParams) WithDefaults() *ImportTenantConfigurationParams
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 ¶
func (o *ImportTenantConfigurationParams) WithHTTPClient(client *http.Client) *ImportTenantConfigurationParams
WithHTTPClient adds the HTTPClient to the import tenant configuration params
func (*ImportTenantConfigurationParams) WithMode ¶
func (o *ImportTenantConfigurationParams) WithMode(mode *string) *ImportTenantConfigurationParams
WithMode adds the mode to the import tenant configuration params
func (*ImportTenantConfigurationParams) WithTenantDump ¶
func (o *ImportTenantConfigurationParams) WithTenantDump(tenantDump *models.TenantDump) *ImportTenantConfigurationParams
WithTenantDump adds the tenantDump to the import tenant configuration params
func (*ImportTenantConfigurationParams) WithTimeout ¶
func (o *ImportTenantConfigurationParams) WithTimeout(timeout time.Duration) *ImportTenantConfigurationParams
WithTimeout adds the timeout to the import tenant configuration params
func (*ImportTenantConfigurationParams) WriteToRequest ¶
func (o *ImportTenantConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ImportTenantConfigurationTooManyRequests) Code() int
Code gets the status code for the import tenant configuration too many requests response
func (*ImportTenantConfigurationTooManyRequests) Error ¶
func (o *ImportTenantConfigurationTooManyRequests) Error() string
func (*ImportTenantConfigurationTooManyRequests) GetPayload ¶
func (o *ImportTenantConfigurationTooManyRequests) GetPayload() *models.Error
func (*ImportTenantConfigurationTooManyRequests) IsClientError ¶
func (o *ImportTenantConfigurationTooManyRequests) IsClientError() bool
IsClientError returns true when this import tenant configuration too many requests response has a 4xx status code
func (*ImportTenantConfigurationTooManyRequests) IsCode ¶
func (o *ImportTenantConfigurationTooManyRequests) IsCode(code int) bool
IsCode returns true when this import tenant configuration too many requests response a status code equal to that given
func (*ImportTenantConfigurationTooManyRequests) IsRedirect ¶
func (o *ImportTenantConfigurationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this import tenant configuration too many requests response has a 3xx status code
func (*ImportTenantConfigurationTooManyRequests) IsServerError ¶
func (o *ImportTenantConfigurationTooManyRequests) IsServerError() bool
IsServerError returns true when this import tenant configuration too many requests response has a 5xx status code
func (*ImportTenantConfigurationTooManyRequests) IsSuccess ¶
func (o *ImportTenantConfigurationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this import tenant configuration too many requests response has a 2xx status code
func (*ImportTenantConfigurationTooManyRequests) String ¶
func (o *ImportTenantConfigurationTooManyRequests) String() string
type ImportTenantConfigurationUnauthorized ¶
type ImportTenantConfigurationUnauthorized struct {
}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 ¶
func (o *ImportTenantConfigurationUnauthorized) Code() int
Code gets the status code for the import tenant configuration unauthorized response
func (*ImportTenantConfigurationUnauthorized) Error ¶
func (o *ImportTenantConfigurationUnauthorized) Error() string
func (*ImportTenantConfigurationUnauthorized) GetPayload ¶
func (o *ImportTenantConfigurationUnauthorized) GetPayload() *models.Error
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 ¶
func (o *ImportTenantConfigurationUnauthorized) IsCode(code int) bool
IsCode returns true when this import tenant configuration unauthorized response a status code equal to that given
func (*ImportTenantConfigurationUnauthorized) IsRedirect ¶
func (o *ImportTenantConfigurationUnauthorized) IsRedirect() bool
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 ¶
func (o *ImportTenantConfigurationUnauthorized) IsSuccess() bool
IsSuccess returns true when this import tenant configuration unauthorized response has a 2xx status code
func (*ImportTenantConfigurationUnauthorized) String ¶
func (o *ImportTenantConfigurationUnauthorized) String() string
type ImportTenantConfigurationUnprocessableEntity ¶
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 ¶
func (o *ImportTenantConfigurationUnprocessableEntity) Code() int
Code gets the status code for the import tenant configuration unprocessable entity response
func (*ImportTenantConfigurationUnprocessableEntity) Error ¶
func (o *ImportTenantConfigurationUnprocessableEntity) Error() string
func (*ImportTenantConfigurationUnprocessableEntity) GetPayload ¶
func (o *ImportTenantConfigurationUnprocessableEntity) GetPayload() *models.Error
func (*ImportTenantConfigurationUnprocessableEntity) IsClientError ¶
func (o *ImportTenantConfigurationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this import tenant configuration unprocessable entity response has a 4xx status code
func (*ImportTenantConfigurationUnprocessableEntity) IsCode ¶
func (o *ImportTenantConfigurationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this import tenant configuration unprocessable entity response a status code equal to that given
func (*ImportTenantConfigurationUnprocessableEntity) IsRedirect ¶
func (o *ImportTenantConfigurationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this import tenant configuration unprocessable entity response has a 3xx status code
func (*ImportTenantConfigurationUnprocessableEntity) IsServerError ¶
func (o *ImportTenantConfigurationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this import tenant configuration unprocessable entity response has a 5xx status code
func (*ImportTenantConfigurationUnprocessableEntity) IsSuccess ¶
func (o *ImportTenantConfigurationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this import tenant configuration unprocessable entity response has a 2xx status code
func (*ImportTenantConfigurationUnprocessableEntity) String ¶
func (o *ImportTenantConfigurationUnprocessableEntity) String() string
type PatchTenantConfigurationBadRequest ¶
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 ¶
func (o *PatchTenantConfigurationBadRequest) Code() int
Code gets the status code for the patch tenant configuration bad request response
func (*PatchTenantConfigurationBadRequest) Error ¶
func (o *PatchTenantConfigurationBadRequest) Error() string
func (*PatchTenantConfigurationBadRequest) GetPayload ¶
func (o *PatchTenantConfigurationBadRequest) GetPayload() *models.Error
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 ¶
func (o *PatchTenantConfigurationBadRequest) IsCode(code int) bool
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 ¶
func (o *PatchTenantConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this patch tenant configuration bad request response has a 2xx status code
func (*PatchTenantConfigurationBadRequest) String ¶
func (o *PatchTenantConfigurationBadRequest) String() string
type PatchTenantConfigurationForbidden ¶
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 ¶
func (o *PatchTenantConfigurationForbidden) Code() int
Code gets the status code for the patch tenant configuration forbidden response
func (*PatchTenantConfigurationForbidden) Error ¶
func (o *PatchTenantConfigurationForbidden) Error() string
func (*PatchTenantConfigurationForbidden) GetPayload ¶
func (o *PatchTenantConfigurationForbidden) GetPayload() *models.Error
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 ¶
func (o *PatchTenantConfigurationForbidden) String() 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 ¶
func (o *PatchTenantConfigurationNoContent) Code() int
Code gets the status code for the patch tenant configuration no content response
func (*PatchTenantConfigurationNoContent) Error ¶
func (o *PatchTenantConfigurationNoContent) Error() string
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 ¶
func (o *PatchTenantConfigurationNoContent) String() string
type PatchTenantConfigurationNotFound ¶
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 ¶
func (o *PatchTenantConfigurationNotFound) Code() int
Code gets the status code for the patch tenant configuration not found response
func (*PatchTenantConfigurationNotFound) Error ¶
func (o *PatchTenantConfigurationNotFound) Error() string
func (*PatchTenantConfigurationNotFound) GetPayload ¶
func (o *PatchTenantConfigurationNotFound) GetPayload() *models.Error
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 ¶
func (o *PatchTenantConfigurationNotFound) String() 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 ¶
func (o *PatchTenantConfigurationParams) SetPatch(patch models.Rfc6902PatchOperations)
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 ¶
func (o *PatchTenantConfigurationParams) WithContext(ctx context.Context) *PatchTenantConfigurationParams
WithContext adds the context to the patch tenant configuration params
func (*PatchTenantConfigurationParams) WithDefaults ¶
func (o *PatchTenantConfigurationParams) WithDefaults() *PatchTenantConfigurationParams
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 ¶
func (o *PatchTenantConfigurationParams) WithHTTPClient(client *http.Client) *PatchTenantConfigurationParams
WithHTTPClient adds the HTTPClient to the patch tenant configuration params
func (*PatchTenantConfigurationParams) WithMode ¶
func (o *PatchTenantConfigurationParams) WithMode(mode *string) *PatchTenantConfigurationParams
WithMode adds the mode to the patch tenant configuration params
func (*PatchTenantConfigurationParams) WithPatch ¶
func (o *PatchTenantConfigurationParams) WithPatch(patch models.Rfc6902PatchOperations) *PatchTenantConfigurationParams
WithPatch adds the patch to the patch tenant configuration params
func (*PatchTenantConfigurationParams) WithTimeout ¶
func (o *PatchTenantConfigurationParams) WithTimeout(timeout time.Duration) *PatchTenantConfigurationParams
WithTimeout adds the timeout to the patch tenant configuration params
func (*PatchTenantConfigurationParams) WriteToRequest ¶
func (o *PatchTenantConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchTenantConfigurationTooManyRequests) Code() int
Code gets the status code for the patch tenant configuration too many requests response
func (*PatchTenantConfigurationTooManyRequests) Error ¶
func (o *PatchTenantConfigurationTooManyRequests) Error() string
func (*PatchTenantConfigurationTooManyRequests) GetPayload ¶
func (o *PatchTenantConfigurationTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *PatchTenantConfigurationTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch tenant configuration too many requests response a status code equal to that given
func (*PatchTenantConfigurationTooManyRequests) IsRedirect ¶
func (o *PatchTenantConfigurationTooManyRequests) IsRedirect() bool
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 ¶
func (o *PatchTenantConfigurationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch tenant configuration too many requests response has a 2xx status code
func (*PatchTenantConfigurationTooManyRequests) String ¶
func (o *PatchTenantConfigurationTooManyRequests) String() string
type PatchTenantConfigurationUnauthorized ¶
type PatchTenantConfigurationUnauthorized struct {
}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 ¶
func (o *PatchTenantConfigurationUnauthorized) Code() int
Code gets the status code for the patch tenant configuration unauthorized response
func (*PatchTenantConfigurationUnauthorized) Error ¶
func (o *PatchTenantConfigurationUnauthorized) Error() string
func (*PatchTenantConfigurationUnauthorized) GetPayload ¶
func (o *PatchTenantConfigurationUnauthorized) GetPayload() *models.Error
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 ¶
func (o *PatchTenantConfigurationUnauthorized) IsCode(code int) bool
IsCode returns true when this patch tenant configuration unauthorized response a status code equal to that given
func (*PatchTenantConfigurationUnauthorized) IsRedirect ¶
func (o *PatchTenantConfigurationUnauthorized) IsRedirect() bool
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 ¶
func (o *PatchTenantConfigurationUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch tenant configuration unauthorized response has a 2xx status code
func (*PatchTenantConfigurationUnauthorized) String ¶
func (o *PatchTenantConfigurationUnauthorized) String() string
type PatchTenantConfigurationUnprocessableEntity ¶
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 ¶
func (o *PatchTenantConfigurationUnprocessableEntity) Code() int
Code gets the status code for the patch tenant configuration unprocessable entity response
func (*PatchTenantConfigurationUnprocessableEntity) Error ¶
func (o *PatchTenantConfigurationUnprocessableEntity) Error() string
func (*PatchTenantConfigurationUnprocessableEntity) GetPayload ¶
func (o *PatchTenantConfigurationUnprocessableEntity) GetPayload() *models.Error
func (*PatchTenantConfigurationUnprocessableEntity) IsClientError ¶
func (o *PatchTenantConfigurationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this patch tenant configuration unprocessable entity response has a 4xx status code
func (*PatchTenantConfigurationUnprocessableEntity) IsCode ¶
func (o *PatchTenantConfigurationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this patch tenant configuration unprocessable entity response a status code equal to that given
func (*PatchTenantConfigurationUnprocessableEntity) IsRedirect ¶
func (o *PatchTenantConfigurationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this patch tenant configuration unprocessable entity response has a 3xx status code
func (*PatchTenantConfigurationUnprocessableEntity) IsServerError ¶
func (o *PatchTenantConfigurationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this patch tenant configuration unprocessable entity response has a 5xx status code
func (*PatchTenantConfigurationUnprocessableEntity) IsSuccess ¶
func (o *PatchTenantConfigurationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this patch tenant configuration unprocessable entity response has a 2xx status code
func (*PatchTenantConfigurationUnprocessableEntity) String ¶
func (o *PatchTenantConfigurationUnprocessableEntity) String() string