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: 10 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) GetAdminTenant

func (a *Client) GetAdminTenant(params *GetAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminTenantOK, error)

GetAdminTenant gets tenant

Get tenant.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAdminTenant

func (a *Client) UpdateAdminTenant(params *UpdateAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAdminTenantOK, error)

UpdateAdminTenant updates tenant

Update tenant.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAdminTenant(params *GetAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminTenantOK, error)

	UpdateAdminTenant(params *UpdateAdminTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAdminTenantOK, 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 GetAdminTenantForbidden

type GetAdminTenantForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetAdminTenantForbidden

func NewGetAdminTenantForbidden() *GetAdminTenantForbidden

NewGetAdminTenantForbidden creates a GetAdminTenantForbidden with default headers values

func (*GetAdminTenantForbidden) Code

func (o *GetAdminTenantForbidden) Code() int

Code gets the status code for the get admin tenant forbidden response

func (*GetAdminTenantForbidden) Error

func (o *GetAdminTenantForbidden) Error() string

func (*GetAdminTenantForbidden) GetPayload

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

func (*GetAdminTenantForbidden) IsClientError

func (o *GetAdminTenantForbidden) IsClientError() bool

IsClientError returns true when this get admin tenant forbidden response has a 4xx status code

func (*GetAdminTenantForbidden) IsCode

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

IsCode returns true when this get admin tenant forbidden response a status code equal to that given

func (*GetAdminTenantForbidden) IsRedirect

func (o *GetAdminTenantForbidden) IsRedirect() bool

IsRedirect returns true when this get admin tenant forbidden response has a 3xx status code

func (*GetAdminTenantForbidden) IsServerError

func (o *GetAdminTenantForbidden) IsServerError() bool

IsServerError returns true when this get admin tenant forbidden response has a 5xx status code

func (*GetAdminTenantForbidden) IsSuccess

func (o *GetAdminTenantForbidden) IsSuccess() bool

IsSuccess returns true when this get admin tenant forbidden response has a 2xx status code

func (*GetAdminTenantForbidden) String

func (o *GetAdminTenantForbidden) String() string

type GetAdminTenantNotFound

type GetAdminTenantNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetAdminTenantNotFound

func NewGetAdminTenantNotFound() *GetAdminTenantNotFound

NewGetAdminTenantNotFound creates a GetAdminTenantNotFound with default headers values

func (*GetAdminTenantNotFound) Code

func (o *GetAdminTenantNotFound) Code() int

Code gets the status code for the get admin tenant not found response

func (*GetAdminTenantNotFound) Error

func (o *GetAdminTenantNotFound) Error() string

func (*GetAdminTenantNotFound) GetPayload

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

func (*GetAdminTenantNotFound) IsClientError

func (o *GetAdminTenantNotFound) IsClientError() bool

IsClientError returns true when this get admin tenant not found response has a 4xx status code

func (*GetAdminTenantNotFound) IsCode

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

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

func (*GetAdminTenantNotFound) IsRedirect

func (o *GetAdminTenantNotFound) IsRedirect() bool

IsRedirect returns true when this get admin tenant not found response has a 3xx status code

func (*GetAdminTenantNotFound) IsServerError

func (o *GetAdminTenantNotFound) IsServerError() bool

IsServerError returns true when this get admin tenant not found response has a 5xx status code

func (*GetAdminTenantNotFound) IsSuccess

func (o *GetAdminTenantNotFound) IsSuccess() bool

IsSuccess returns true when this get admin tenant not found response has a 2xx status code

func (*GetAdminTenantNotFound) String

func (o *GetAdminTenantNotFound) String() string

type GetAdminTenantOK

type GetAdminTenantOK struct {
	Payload *models.Tenant
}

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

Tenant

func NewGetAdminTenantOK

func NewGetAdminTenantOK() *GetAdminTenantOK

NewGetAdminTenantOK creates a GetAdminTenantOK with default headers values

func (*GetAdminTenantOK) Code

func (o *GetAdminTenantOK) Code() int

Code gets the status code for the get admin tenant o k response

func (*GetAdminTenantOK) Error

func (o *GetAdminTenantOK) Error() string

func (*GetAdminTenantOK) GetPayload

func (o *GetAdminTenantOK) GetPayload() *models.Tenant

func (*GetAdminTenantOK) IsClientError

func (o *GetAdminTenantOK) IsClientError() bool

IsClientError returns true when this get admin tenant o k response has a 4xx status code

func (*GetAdminTenantOK) IsCode

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

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

func (*GetAdminTenantOK) IsRedirect

func (o *GetAdminTenantOK) IsRedirect() bool

IsRedirect returns true when this get admin tenant o k response has a 3xx status code

func (*GetAdminTenantOK) IsServerError

func (o *GetAdminTenantOK) IsServerError() bool

IsServerError returns true when this get admin tenant o k response has a 5xx status code

func (*GetAdminTenantOK) IsSuccess

func (o *GetAdminTenantOK) IsSuccess() bool

IsSuccess returns true when this get admin tenant o k response has a 2xx status code

func (*GetAdminTenantOK) String

func (o *GetAdminTenantOK) String() string

type GetAdminTenantParams

type GetAdminTenantParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

GetAdminTenantParams contains all the parameters to send to the API endpoint

for the get admin tenant operation.

Typically these are written to a http.Request.

func NewGetAdminTenantParams

func NewGetAdminTenantParams() *GetAdminTenantParams

NewGetAdminTenantParams creates a new GetAdminTenantParams 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 NewGetAdminTenantParamsWithContext

func NewGetAdminTenantParamsWithContext(ctx context.Context) *GetAdminTenantParams

NewGetAdminTenantParamsWithContext creates a new GetAdminTenantParams object with the ability to set a context for a request.

func NewGetAdminTenantParamsWithHTTPClient

func NewGetAdminTenantParamsWithHTTPClient(client *http.Client) *GetAdminTenantParams

NewGetAdminTenantParamsWithHTTPClient creates a new GetAdminTenantParams object with the ability to set a custom HTTPClient for a request.

func NewGetAdminTenantParamsWithTimeout

func NewGetAdminTenantParamsWithTimeout(timeout time.Duration) *GetAdminTenantParams

NewGetAdminTenantParamsWithTimeout creates a new GetAdminTenantParams object with the ability to set a timeout on a request.

func (*GetAdminTenantParams) SetContext

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

SetContext adds the context to the get admin tenant params

func (*GetAdminTenantParams) SetDefaults

func (o *GetAdminTenantParams) SetDefaults()

SetDefaults hydrates default values in the get admin tenant params (not the query body).

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

func (*GetAdminTenantParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get admin tenant params

func (*GetAdminTenantParams) SetIfMatch

func (o *GetAdminTenantParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get admin tenant params

func (*GetAdminTenantParams) SetTimeout

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

SetTimeout adds the timeout to the get admin tenant params

func (*GetAdminTenantParams) WithContext

WithContext adds the context to the get admin tenant params

func (*GetAdminTenantParams) WithDefaults

func (o *GetAdminTenantParams) WithDefaults() *GetAdminTenantParams

WithDefaults hydrates default values in the get admin tenant params (not the query body).

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

func (*GetAdminTenantParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get admin tenant params

func (*GetAdminTenantParams) WithIfMatch

func (o *GetAdminTenantParams) WithIfMatch(ifMatch *string) *GetAdminTenantParams

WithIfMatch adds the ifMatch to the get admin tenant params

func (*GetAdminTenantParams) WithTimeout

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

WithTimeout adds the timeout to the get admin tenant params

func (*GetAdminTenantParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAdminTenantReader

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

GetAdminTenantReader is a Reader for the GetAdminTenant structure.

func (*GetAdminTenantReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAdminTenantTooManyRequests

type GetAdminTenantTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetAdminTenantTooManyRequests

func NewGetAdminTenantTooManyRequests() *GetAdminTenantTooManyRequests

NewGetAdminTenantTooManyRequests creates a GetAdminTenantTooManyRequests with default headers values

func (*GetAdminTenantTooManyRequests) Code

Code gets the status code for the get admin tenant too many requests response

func (*GetAdminTenantTooManyRequests) Error

func (*GetAdminTenantTooManyRequests) GetPayload

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

func (*GetAdminTenantTooManyRequests) IsClientError

func (o *GetAdminTenantTooManyRequests) IsClientError() bool

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

func (*GetAdminTenantTooManyRequests) IsCode

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

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

func (*GetAdminTenantTooManyRequests) IsRedirect

func (o *GetAdminTenantTooManyRequests) IsRedirect() bool

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

func (*GetAdminTenantTooManyRequests) IsServerError

func (o *GetAdminTenantTooManyRequests) IsServerError() bool

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

func (*GetAdminTenantTooManyRequests) IsSuccess

func (o *GetAdminTenantTooManyRequests) IsSuccess() bool

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

func (*GetAdminTenantTooManyRequests) String

type GetAdminTenantUnauthorized

type GetAdminTenantUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetAdminTenantUnauthorized

func NewGetAdminTenantUnauthorized() *GetAdminTenantUnauthorized

NewGetAdminTenantUnauthorized creates a GetAdminTenantUnauthorized with default headers values

func (*GetAdminTenantUnauthorized) Code

func (o *GetAdminTenantUnauthorized) Code() int

Code gets the status code for the get admin tenant unauthorized response

func (*GetAdminTenantUnauthorized) Error

func (*GetAdminTenantUnauthorized) GetPayload

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

func (*GetAdminTenantUnauthorized) IsClientError

func (o *GetAdminTenantUnauthorized) IsClientError() bool

IsClientError returns true when this get admin tenant unauthorized response has a 4xx status code

func (*GetAdminTenantUnauthorized) IsCode

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

IsCode returns true when this get admin tenant unauthorized response a status code equal to that given

func (*GetAdminTenantUnauthorized) IsRedirect

func (o *GetAdminTenantUnauthorized) IsRedirect() bool

IsRedirect returns true when this get admin tenant unauthorized response has a 3xx status code

func (*GetAdminTenantUnauthorized) IsServerError

func (o *GetAdminTenantUnauthorized) IsServerError() bool

IsServerError returns true when this get admin tenant unauthorized response has a 5xx status code

func (*GetAdminTenantUnauthorized) IsSuccess

func (o *GetAdminTenantUnauthorized) IsSuccess() bool

IsSuccess returns true when this get admin tenant unauthorized response has a 2xx status code

func (*GetAdminTenantUnauthorized) String

func (o *GetAdminTenantUnauthorized) String() string

type UpdateAdminTenantBadRequest

type UpdateAdminTenantBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewUpdateAdminTenantBadRequest

func NewUpdateAdminTenantBadRequest() *UpdateAdminTenantBadRequest

NewUpdateAdminTenantBadRequest creates a UpdateAdminTenantBadRequest with default headers values

func (*UpdateAdminTenantBadRequest) Code

func (o *UpdateAdminTenantBadRequest) Code() int

Code gets the status code for the update admin tenant bad request response

func (*UpdateAdminTenantBadRequest) Error

func (*UpdateAdminTenantBadRequest) GetPayload

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

func (*UpdateAdminTenantBadRequest) IsClientError

func (o *UpdateAdminTenantBadRequest) IsClientError() bool

IsClientError returns true when this update admin tenant bad request response has a 4xx status code

func (*UpdateAdminTenantBadRequest) IsCode

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

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

func (*UpdateAdminTenantBadRequest) IsRedirect

func (o *UpdateAdminTenantBadRequest) IsRedirect() bool

IsRedirect returns true when this update admin tenant bad request response has a 3xx status code

func (*UpdateAdminTenantBadRequest) IsServerError

func (o *UpdateAdminTenantBadRequest) IsServerError() bool

IsServerError returns true when this update admin tenant bad request response has a 5xx status code

func (*UpdateAdminTenantBadRequest) IsSuccess

func (o *UpdateAdminTenantBadRequest) IsSuccess() bool

IsSuccess returns true when this update admin tenant bad request response has a 2xx status code

func (*UpdateAdminTenantBadRequest) String

func (o *UpdateAdminTenantBadRequest) String() string

type UpdateAdminTenantForbidden

type UpdateAdminTenantForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdateAdminTenantForbidden

func NewUpdateAdminTenantForbidden() *UpdateAdminTenantForbidden

NewUpdateAdminTenantForbidden creates a UpdateAdminTenantForbidden with default headers values

func (*UpdateAdminTenantForbidden) Code

func (o *UpdateAdminTenantForbidden) Code() int

Code gets the status code for the update admin tenant forbidden response

func (*UpdateAdminTenantForbidden) Error

func (*UpdateAdminTenantForbidden) GetPayload

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

func (*UpdateAdminTenantForbidden) IsClientError

func (o *UpdateAdminTenantForbidden) IsClientError() bool

IsClientError returns true when this update admin tenant forbidden response has a 4xx status code

func (*UpdateAdminTenantForbidden) IsCode

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

IsCode returns true when this update admin tenant forbidden response a status code equal to that given

func (*UpdateAdminTenantForbidden) IsRedirect

func (o *UpdateAdminTenantForbidden) IsRedirect() bool

IsRedirect returns true when this update admin tenant forbidden response has a 3xx status code

func (*UpdateAdminTenantForbidden) IsServerError

func (o *UpdateAdminTenantForbidden) IsServerError() bool

IsServerError returns true when this update admin tenant forbidden response has a 5xx status code

func (*UpdateAdminTenantForbidden) IsSuccess

func (o *UpdateAdminTenantForbidden) IsSuccess() bool

IsSuccess returns true when this update admin tenant forbidden response has a 2xx status code

func (*UpdateAdminTenantForbidden) String

func (o *UpdateAdminTenantForbidden) String() string

type UpdateAdminTenantNotFound

type UpdateAdminTenantNotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdateAdminTenantNotFound

func NewUpdateAdminTenantNotFound() *UpdateAdminTenantNotFound

NewUpdateAdminTenantNotFound creates a UpdateAdminTenantNotFound with default headers values

func (*UpdateAdminTenantNotFound) Code

func (o *UpdateAdminTenantNotFound) Code() int

Code gets the status code for the update admin tenant not found response

func (*UpdateAdminTenantNotFound) Error

func (o *UpdateAdminTenantNotFound) Error() string

func (*UpdateAdminTenantNotFound) GetPayload

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

func (*UpdateAdminTenantNotFound) IsClientError

func (o *UpdateAdminTenantNotFound) IsClientError() bool

IsClientError returns true when this update admin tenant not found response has a 4xx status code

func (*UpdateAdminTenantNotFound) IsCode

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

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

func (*UpdateAdminTenantNotFound) IsRedirect

func (o *UpdateAdminTenantNotFound) IsRedirect() bool

IsRedirect returns true when this update admin tenant not found response has a 3xx status code

func (*UpdateAdminTenantNotFound) IsServerError

func (o *UpdateAdminTenantNotFound) IsServerError() bool

IsServerError returns true when this update admin tenant not found response has a 5xx status code

func (*UpdateAdminTenantNotFound) IsSuccess

func (o *UpdateAdminTenantNotFound) IsSuccess() bool

IsSuccess returns true when this update admin tenant not found response has a 2xx status code

func (*UpdateAdminTenantNotFound) String

func (o *UpdateAdminTenantNotFound) String() string

type UpdateAdminTenantOK

type UpdateAdminTenantOK struct {
	Payload *models.Tenant
}

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

Tenant

func NewUpdateAdminTenantOK

func NewUpdateAdminTenantOK() *UpdateAdminTenantOK

NewUpdateAdminTenantOK creates a UpdateAdminTenantOK with default headers values

func (*UpdateAdminTenantOK) Code

func (o *UpdateAdminTenantOK) Code() int

Code gets the status code for the update admin tenant o k response

func (*UpdateAdminTenantOK) Error

func (o *UpdateAdminTenantOK) Error() string

func (*UpdateAdminTenantOK) GetPayload

func (o *UpdateAdminTenantOK) GetPayload() *models.Tenant

func (*UpdateAdminTenantOK) IsClientError

func (o *UpdateAdminTenantOK) IsClientError() bool

IsClientError returns true when this update admin tenant o k response has a 4xx status code

func (*UpdateAdminTenantOK) IsCode

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

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

func (*UpdateAdminTenantOK) IsRedirect

func (o *UpdateAdminTenantOK) IsRedirect() bool

IsRedirect returns true when this update admin tenant o k response has a 3xx status code

func (*UpdateAdminTenantOK) IsServerError

func (o *UpdateAdminTenantOK) IsServerError() bool

IsServerError returns true when this update admin tenant o k response has a 5xx status code

func (*UpdateAdminTenantOK) IsSuccess

func (o *UpdateAdminTenantOK) IsSuccess() bool

IsSuccess returns true when this update admin tenant o k response has a 2xx status code

func (*UpdateAdminTenantOK) String

func (o *UpdateAdminTenantOK) String() string

type UpdateAdminTenantParams

type UpdateAdminTenantParams struct {

	// Tenant.
	Tenant *models.TenantPayload

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

UpdateAdminTenantParams contains all the parameters to send to the API endpoint

for the update admin tenant operation.

Typically these are written to a http.Request.

func NewUpdateAdminTenantParams

func NewUpdateAdminTenantParams() *UpdateAdminTenantParams

NewUpdateAdminTenantParams creates a new UpdateAdminTenantParams 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 NewUpdateAdminTenantParamsWithContext

func NewUpdateAdminTenantParamsWithContext(ctx context.Context) *UpdateAdminTenantParams

NewUpdateAdminTenantParamsWithContext creates a new UpdateAdminTenantParams object with the ability to set a context for a request.

func NewUpdateAdminTenantParamsWithHTTPClient

func NewUpdateAdminTenantParamsWithHTTPClient(client *http.Client) *UpdateAdminTenantParams

NewUpdateAdminTenantParamsWithHTTPClient creates a new UpdateAdminTenantParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAdminTenantParamsWithTimeout

func NewUpdateAdminTenantParamsWithTimeout(timeout time.Duration) *UpdateAdminTenantParams

NewUpdateAdminTenantParamsWithTimeout creates a new UpdateAdminTenantParams object with the ability to set a timeout on a request.

func (*UpdateAdminTenantParams) SetContext

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

SetContext adds the context to the update admin tenant params

func (*UpdateAdminTenantParams) SetDefaults

func (o *UpdateAdminTenantParams) SetDefaults()

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

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

func (*UpdateAdminTenantParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update admin tenant params

func (*UpdateAdminTenantParams) SetIfMatch

func (o *UpdateAdminTenantParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update admin tenant params

func (*UpdateAdminTenantParams) SetTenant

func (o *UpdateAdminTenantParams) SetTenant(tenant *models.TenantPayload)

SetTenant adds the tenant to the update admin tenant params

func (*UpdateAdminTenantParams) SetTimeout

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

SetTimeout adds the timeout to the update admin tenant params

func (*UpdateAdminTenantParams) WithContext

WithContext adds the context to the update admin tenant params

func (*UpdateAdminTenantParams) WithDefaults

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

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

func (*UpdateAdminTenantParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update admin tenant params

func (*UpdateAdminTenantParams) WithIfMatch

func (o *UpdateAdminTenantParams) WithIfMatch(ifMatch *string) *UpdateAdminTenantParams

WithIfMatch adds the ifMatch to the update admin tenant params

func (*UpdateAdminTenantParams) WithTenant

WithTenant adds the tenant to the update admin tenant params

func (*UpdateAdminTenantParams) WithTimeout

WithTimeout adds the timeout to the update admin tenant params

func (*UpdateAdminTenantParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAdminTenantReader

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

UpdateAdminTenantReader is a Reader for the UpdateAdminTenant structure.

func (*UpdateAdminTenantReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAdminTenantTooManyRequests

type UpdateAdminTenantTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdateAdminTenantTooManyRequests

func NewUpdateAdminTenantTooManyRequests() *UpdateAdminTenantTooManyRequests

NewUpdateAdminTenantTooManyRequests creates a UpdateAdminTenantTooManyRequests with default headers values

func (*UpdateAdminTenantTooManyRequests) Code

Code gets the status code for the update admin tenant too many requests response

func (*UpdateAdminTenantTooManyRequests) Error

func (*UpdateAdminTenantTooManyRequests) GetPayload

func (*UpdateAdminTenantTooManyRequests) IsClientError

func (o *UpdateAdminTenantTooManyRequests) IsClientError() bool

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

func (*UpdateAdminTenantTooManyRequests) IsCode

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

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

func (*UpdateAdminTenantTooManyRequests) IsRedirect

func (o *UpdateAdminTenantTooManyRequests) IsRedirect() bool

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

func (*UpdateAdminTenantTooManyRequests) IsServerError

func (o *UpdateAdminTenantTooManyRequests) IsServerError() bool

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

func (*UpdateAdminTenantTooManyRequests) IsSuccess

func (o *UpdateAdminTenantTooManyRequests) IsSuccess() bool

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

func (*UpdateAdminTenantTooManyRequests) String

type UpdateAdminTenantUnauthorized

type UpdateAdminTenantUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateAdminTenantUnauthorized

func NewUpdateAdminTenantUnauthorized() *UpdateAdminTenantUnauthorized

NewUpdateAdminTenantUnauthorized creates a UpdateAdminTenantUnauthorized with default headers values

func (*UpdateAdminTenantUnauthorized) Code

Code gets the status code for the update admin tenant unauthorized response

func (*UpdateAdminTenantUnauthorized) Error

func (*UpdateAdminTenantUnauthorized) GetPayload

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

func (*UpdateAdminTenantUnauthorized) IsClientError

func (o *UpdateAdminTenantUnauthorized) IsClientError() bool

IsClientError returns true when this update admin tenant unauthorized response has a 4xx status code

func (*UpdateAdminTenantUnauthorized) IsCode

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

IsCode returns true when this update admin tenant unauthorized response a status code equal to that given

func (*UpdateAdminTenantUnauthorized) IsRedirect

func (o *UpdateAdminTenantUnauthorized) IsRedirect() bool

IsRedirect returns true when this update admin tenant unauthorized response has a 3xx status code

func (*UpdateAdminTenantUnauthorized) IsServerError

func (o *UpdateAdminTenantUnauthorized) IsServerError() bool

IsServerError returns true when this update admin tenant unauthorized response has a 5xx status code

func (*UpdateAdminTenantUnauthorized) IsSuccess

func (o *UpdateAdminTenantUnauthorized) IsSuccess() bool

IsSuccess returns true when this update admin tenant unauthorized response has a 2xx status code

func (*UpdateAdminTenantUnauthorized) String

type UpdateAdminTenantUnprocessableEntity

type UpdateAdminTenantUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewUpdateAdminTenantUnprocessableEntity

func NewUpdateAdminTenantUnprocessableEntity() *UpdateAdminTenantUnprocessableEntity

NewUpdateAdminTenantUnprocessableEntity creates a UpdateAdminTenantUnprocessableEntity with default headers values

func (*UpdateAdminTenantUnprocessableEntity) Code

Code gets the status code for the update admin tenant unprocessable entity response

func (*UpdateAdminTenantUnprocessableEntity) Error

func (*UpdateAdminTenantUnprocessableEntity) GetPayload

func (*UpdateAdminTenantUnprocessableEntity) IsClientError

func (o *UpdateAdminTenantUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update admin tenant unprocessable entity response has a 4xx status code

func (*UpdateAdminTenantUnprocessableEntity) IsCode

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

func (*UpdateAdminTenantUnprocessableEntity) IsRedirect

IsRedirect returns true when this update admin tenant unprocessable entity response has a 3xx status code

func (*UpdateAdminTenantUnprocessableEntity) IsServerError

func (o *UpdateAdminTenantUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update admin tenant unprocessable entity response has a 5xx status code

func (*UpdateAdminTenantUnprocessableEntity) IsSuccess

IsSuccess returns true when this update admin tenant unprocessable entity response has a 2xx status code

func (*UpdateAdminTenantUnprocessableEntity) String

Jump to

Keyboard shortcuts

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