tenant

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 11 Imported by: 2

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

func (*Client) CreateTenant added in v0.24.0

func (a *Client) CreateTenant(params *CreateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTenantCreated, error)

CreateTenant creates a tenant if the given ID already exists a conflict is returned

func (*Client) DeleteTenant added in v0.24.0

func (a *Client) DeleteTenant(params *DeleteTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTenantOK, error)

DeleteTenant deletes a tenant and returns the deleted entity

func (*Client) FindTenants added in v0.24.0

func (a *Client) FindTenants(params *FindTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindTenantsOK, error)

FindTenants gets all tenants that match given properties

func (*Client) GetTenant

func (a *Client) GetTenant(params *GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantOK, error)

GetTenant gets tenant by id

func (*Client) ListTenants

func (a *Client) ListTenants(params *ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTenantsOK, error)

ListTenants gets all tenants

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateTenant added in v0.24.0

func (a *Client) UpdateTenant(params *UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTenantOK, error)

UpdateTenant updates a tenant optimistic lock error can occur

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateTenant(params *CreateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTenantCreated, error)

	DeleteTenant(params *DeleteTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTenantOK, error)

	FindTenants(params *FindTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindTenantsOK, error)

	GetTenant(params *GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantOK, error)

	ListTenants(params *ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTenantsOK, error)

	UpdateTenant(params *UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTenantOK, 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 tenant API client.

type CreateTenantConflict added in v0.24.0

type CreateTenantConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

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

Conflict

func NewCreateTenantConflict added in v0.24.0

func NewCreateTenantConflict() *CreateTenantConflict

NewCreateTenantConflict creates a CreateTenantConflict with default headers values

func (*CreateTenantConflict) Code added in v0.24.0

func (o *CreateTenantConflict) Code() int

Code gets the status code for the create tenant conflict response

func (*CreateTenantConflict) Error added in v0.24.0

func (o *CreateTenantConflict) Error() string

func (*CreateTenantConflict) GetPayload added in v0.24.0

func (*CreateTenantConflict) IsClientError added in v0.24.0

func (o *CreateTenantConflict) IsClientError() bool

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

func (*CreateTenantConflict) IsCode added in v0.24.0

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

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

func (*CreateTenantConflict) IsRedirect added in v0.24.0

func (o *CreateTenantConflict) IsRedirect() bool

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

func (*CreateTenantConflict) IsServerError added in v0.24.0

func (o *CreateTenantConflict) IsServerError() bool

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

func (*CreateTenantConflict) IsSuccess added in v0.24.0

func (o *CreateTenantConflict) IsSuccess() bool

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

func (*CreateTenantConflict) String added in v0.24.0

func (o *CreateTenantConflict) String() string

type CreateTenantCreated added in v0.24.0

type CreateTenantCreated struct {
	Payload *models.V1TenantResponse
}

CreateTenantCreated describes a response with status code 201, with default header values.

Created

func NewCreateTenantCreated added in v0.24.0

func NewCreateTenantCreated() *CreateTenantCreated

NewCreateTenantCreated creates a CreateTenantCreated with default headers values

func (*CreateTenantCreated) Code added in v0.24.0

func (o *CreateTenantCreated) Code() int

Code gets the status code for the create tenant created response

func (*CreateTenantCreated) Error added in v0.24.0

func (o *CreateTenantCreated) Error() string

func (*CreateTenantCreated) GetPayload added in v0.24.0

func (o *CreateTenantCreated) GetPayload() *models.V1TenantResponse

func (*CreateTenantCreated) IsClientError added in v0.24.0

func (o *CreateTenantCreated) IsClientError() bool

IsClientError returns true when this create tenant created response has a 4xx status code

func (*CreateTenantCreated) IsCode added in v0.24.0

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

IsCode returns true when this create tenant created response a status code equal to that given

func (*CreateTenantCreated) IsRedirect added in v0.24.0

func (o *CreateTenantCreated) IsRedirect() bool

IsRedirect returns true when this create tenant created response has a 3xx status code

func (*CreateTenantCreated) IsServerError added in v0.24.0

func (o *CreateTenantCreated) IsServerError() bool

IsServerError returns true when this create tenant created response has a 5xx status code

func (*CreateTenantCreated) IsSuccess added in v0.24.0

func (o *CreateTenantCreated) IsSuccess() bool

IsSuccess returns true when this create tenant created response has a 2xx status code

func (*CreateTenantCreated) String added in v0.24.0

func (o *CreateTenantCreated) String() string

type CreateTenantDefault added in v0.24.0

type CreateTenantDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreateTenantDefault describes a response with status code -1, with default header values.

Error

func NewCreateTenantDefault added in v0.24.0

func NewCreateTenantDefault(code int) *CreateTenantDefault

NewCreateTenantDefault creates a CreateTenantDefault with default headers values

func (*CreateTenantDefault) Code added in v0.24.0

func (o *CreateTenantDefault) Code() int

Code gets the status code for the create tenant default response

func (*CreateTenantDefault) Error added in v0.24.0

func (o *CreateTenantDefault) Error() string

func (*CreateTenantDefault) GetPayload added in v0.24.0

func (*CreateTenantDefault) IsClientError added in v0.24.0

func (o *CreateTenantDefault) IsClientError() bool

IsClientError returns true when this create tenant default response has a 4xx status code

func (*CreateTenantDefault) IsCode added in v0.24.0

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

IsCode returns true when this create tenant default response a status code equal to that given

func (*CreateTenantDefault) IsRedirect added in v0.24.0

func (o *CreateTenantDefault) IsRedirect() bool

IsRedirect returns true when this create tenant default response has a 3xx status code

func (*CreateTenantDefault) IsServerError added in v0.24.0

func (o *CreateTenantDefault) IsServerError() bool

IsServerError returns true when this create tenant default response has a 5xx status code

func (*CreateTenantDefault) IsSuccess added in v0.24.0

func (o *CreateTenantDefault) IsSuccess() bool

IsSuccess returns true when this create tenant default response has a 2xx status code

func (*CreateTenantDefault) String added in v0.24.0

func (o *CreateTenantDefault) String() string

type CreateTenantParams added in v0.24.0

type CreateTenantParams struct {

	// Body.
	Body *models.V1TenantCreateRequest

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

CreateTenantParams contains all the parameters to send to the API endpoint

for the create tenant operation.

Typically these are written to a http.Request.

func NewCreateTenantParams added in v0.24.0

func NewCreateTenantParams() *CreateTenantParams

NewCreateTenantParams creates a new CreateTenantParams 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 NewCreateTenantParamsWithContext added in v0.24.0

func NewCreateTenantParamsWithContext(ctx context.Context) *CreateTenantParams

NewCreateTenantParamsWithContext creates a new CreateTenantParams object with the ability to set a context for a request.

func NewCreateTenantParamsWithHTTPClient added in v0.24.0

func NewCreateTenantParamsWithHTTPClient(client *http.Client) *CreateTenantParams

NewCreateTenantParamsWithHTTPClient creates a new CreateTenantParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTenantParamsWithTimeout added in v0.24.0

func NewCreateTenantParamsWithTimeout(timeout time.Duration) *CreateTenantParams

NewCreateTenantParamsWithTimeout creates a new CreateTenantParams object with the ability to set a timeout on a request.

func (*CreateTenantParams) SetBody added in v0.24.0

SetBody adds the body to the create tenant params

func (*CreateTenantParams) SetContext added in v0.24.0

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

SetContext adds the context to the create tenant params

func (*CreateTenantParams) SetDefaults added in v0.24.0

func (o *CreateTenantParams) SetDefaults()

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

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

func (*CreateTenantParams) SetHTTPClient added in v0.24.0

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

SetHTTPClient adds the HTTPClient to the create tenant params

func (*CreateTenantParams) SetTimeout added in v0.24.0

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

SetTimeout adds the timeout to the create tenant params

func (*CreateTenantParams) WithBody added in v0.24.0

WithBody adds the body to the create tenant params

func (*CreateTenantParams) WithContext added in v0.24.0

WithContext adds the context to the create tenant params

func (*CreateTenantParams) WithDefaults added in v0.24.0

func (o *CreateTenantParams) WithDefaults() *CreateTenantParams

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

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

func (*CreateTenantParams) WithHTTPClient added in v0.24.0

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

WithHTTPClient adds the HTTPClient to the create tenant params

func (*CreateTenantParams) WithTimeout added in v0.24.0

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

WithTimeout adds the timeout to the create tenant params

func (*CreateTenantParams) WriteToRequest added in v0.24.0

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

WriteToRequest writes these params to a swagger request

type CreateTenantReader added in v0.24.0

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

CreateTenantReader is a Reader for the CreateTenant structure.

func (*CreateTenantReader) ReadResponse added in v0.24.0

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

ReadResponse reads a server response into the received o.

type DeleteTenantDefault added in v0.24.0

type DeleteTenantDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

DeleteTenantDefault describes a response with status code -1, with default header values.

Error

func NewDeleteTenantDefault added in v0.24.0

func NewDeleteTenantDefault(code int) *DeleteTenantDefault

NewDeleteTenantDefault creates a DeleteTenantDefault with default headers values

func (*DeleteTenantDefault) Code added in v0.24.0

func (o *DeleteTenantDefault) Code() int

Code gets the status code for the delete tenant default response

func (*DeleteTenantDefault) Error added in v0.24.0

func (o *DeleteTenantDefault) Error() string

func (*DeleteTenantDefault) GetPayload added in v0.24.0

func (*DeleteTenantDefault) IsClientError added in v0.24.0

func (o *DeleteTenantDefault) IsClientError() bool

IsClientError returns true when this delete tenant default response has a 4xx status code

func (*DeleteTenantDefault) IsCode added in v0.24.0

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

IsCode returns true when this delete tenant default response a status code equal to that given

func (*DeleteTenantDefault) IsRedirect added in v0.24.0

func (o *DeleteTenantDefault) IsRedirect() bool

IsRedirect returns true when this delete tenant default response has a 3xx status code

func (*DeleteTenantDefault) IsServerError added in v0.24.0

func (o *DeleteTenantDefault) IsServerError() bool

IsServerError returns true when this delete tenant default response has a 5xx status code

func (*DeleteTenantDefault) IsSuccess added in v0.24.0

func (o *DeleteTenantDefault) IsSuccess() bool

IsSuccess returns true when this delete tenant default response has a 2xx status code

func (*DeleteTenantDefault) String added in v0.24.0

func (o *DeleteTenantDefault) String() string

type DeleteTenantOK added in v0.24.0

type DeleteTenantOK struct {
	Payload *models.V1TenantResponse
}

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

OK

func NewDeleteTenantOK added in v0.24.0

func NewDeleteTenantOK() *DeleteTenantOK

NewDeleteTenantOK creates a DeleteTenantOK with default headers values

func (*DeleteTenantOK) Code added in v0.24.0

func (o *DeleteTenantOK) Code() int

Code gets the status code for the delete tenant o k response

func (*DeleteTenantOK) Error added in v0.24.0

func (o *DeleteTenantOK) Error() string

func (*DeleteTenantOK) GetPayload added in v0.24.0

func (o *DeleteTenantOK) GetPayload() *models.V1TenantResponse

func (*DeleteTenantOK) IsClientError added in v0.24.0

func (o *DeleteTenantOK) IsClientError() bool

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

func (*DeleteTenantOK) IsCode added in v0.24.0

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

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

func (*DeleteTenantOK) IsRedirect added in v0.24.0

func (o *DeleteTenantOK) IsRedirect() bool

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

func (*DeleteTenantOK) IsServerError added in v0.24.0

func (o *DeleteTenantOK) IsServerError() bool

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

func (*DeleteTenantOK) IsSuccess added in v0.24.0

func (o *DeleteTenantOK) IsSuccess() bool

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

func (*DeleteTenantOK) String added in v0.24.0

func (o *DeleteTenantOK) String() string

type DeleteTenantParams added in v0.24.0

type DeleteTenantParams struct {

	/* ID.

	   identifier of the tenant
	*/
	ID string

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

DeleteTenantParams contains all the parameters to send to the API endpoint

for the delete tenant operation.

Typically these are written to a http.Request.

func NewDeleteTenantParams added in v0.24.0

func NewDeleteTenantParams() *DeleteTenantParams

NewDeleteTenantParams creates a new DeleteTenantParams 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 NewDeleteTenantParamsWithContext added in v0.24.0

func NewDeleteTenantParamsWithContext(ctx context.Context) *DeleteTenantParams

NewDeleteTenantParamsWithContext creates a new DeleteTenantParams object with the ability to set a context for a request.

func NewDeleteTenantParamsWithHTTPClient added in v0.24.0

func NewDeleteTenantParamsWithHTTPClient(client *http.Client) *DeleteTenantParams

NewDeleteTenantParamsWithHTTPClient creates a new DeleteTenantParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTenantParamsWithTimeout added in v0.24.0

func NewDeleteTenantParamsWithTimeout(timeout time.Duration) *DeleteTenantParams

NewDeleteTenantParamsWithTimeout creates a new DeleteTenantParams object with the ability to set a timeout on a request.

func (*DeleteTenantParams) SetContext added in v0.24.0

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

SetContext adds the context to the delete tenant params

func (*DeleteTenantParams) SetDefaults added in v0.24.0

func (o *DeleteTenantParams) SetDefaults()

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

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

func (*DeleteTenantParams) SetHTTPClient added in v0.24.0

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

SetHTTPClient adds the HTTPClient to the delete tenant params

func (*DeleteTenantParams) SetID added in v0.24.0

func (o *DeleteTenantParams) SetID(id string)

SetID adds the id to the delete tenant params

func (*DeleteTenantParams) SetTimeout added in v0.24.0

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

SetTimeout adds the timeout to the delete tenant params

func (*DeleteTenantParams) WithContext added in v0.24.0

WithContext adds the context to the delete tenant params

func (*DeleteTenantParams) WithDefaults added in v0.24.0

func (o *DeleteTenantParams) WithDefaults() *DeleteTenantParams

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

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

func (*DeleteTenantParams) WithHTTPClient added in v0.24.0

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

WithHTTPClient adds the HTTPClient to the delete tenant params

func (*DeleteTenantParams) WithID added in v0.24.0

WithID adds the id to the delete tenant params

func (*DeleteTenantParams) WithTimeout added in v0.24.0

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

WithTimeout adds the timeout to the delete tenant params

func (*DeleteTenantParams) WriteToRequest added in v0.24.0

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

WriteToRequest writes these params to a swagger request

type DeleteTenantReader added in v0.24.0

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

DeleteTenantReader is a Reader for the DeleteTenant structure.

func (*DeleteTenantReader) ReadResponse added in v0.24.0

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

ReadResponse reads a server response into the received o.

type FindTenantsDefault added in v0.24.0

type FindTenantsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FindTenantsDefault describes a response with status code -1, with default header values.

Error

func NewFindTenantsDefault added in v0.24.0

func NewFindTenantsDefault(code int) *FindTenantsDefault

NewFindTenantsDefault creates a FindTenantsDefault with default headers values

func (*FindTenantsDefault) Code added in v0.24.0

func (o *FindTenantsDefault) Code() int

Code gets the status code for the find tenants default response

func (*FindTenantsDefault) Error added in v0.24.0

func (o *FindTenantsDefault) Error() string

func (*FindTenantsDefault) GetPayload added in v0.24.0

func (*FindTenantsDefault) IsClientError added in v0.24.0

func (o *FindTenantsDefault) IsClientError() bool

IsClientError returns true when this find tenants default response has a 4xx status code

func (*FindTenantsDefault) IsCode added in v0.24.0

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

IsCode returns true when this find tenants default response a status code equal to that given

func (*FindTenantsDefault) IsRedirect added in v0.24.0

func (o *FindTenantsDefault) IsRedirect() bool

IsRedirect returns true when this find tenants default response has a 3xx status code

func (*FindTenantsDefault) IsServerError added in v0.24.0

func (o *FindTenantsDefault) IsServerError() bool

IsServerError returns true when this find tenants default response has a 5xx status code

func (*FindTenantsDefault) IsSuccess added in v0.24.0

func (o *FindTenantsDefault) IsSuccess() bool

IsSuccess returns true when this find tenants default response has a 2xx status code

func (*FindTenantsDefault) String added in v0.24.0

func (o *FindTenantsDefault) String() string

type FindTenantsOK added in v0.24.0

type FindTenantsOK struct {
	Payload []*models.V1TenantResponse
}

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

OK

func NewFindTenantsOK added in v0.24.0

func NewFindTenantsOK() *FindTenantsOK

NewFindTenantsOK creates a FindTenantsOK with default headers values

func (*FindTenantsOK) Code added in v0.24.0

func (o *FindTenantsOK) Code() int

Code gets the status code for the find tenants o k response

func (*FindTenantsOK) Error added in v0.24.0

func (o *FindTenantsOK) Error() string

func (*FindTenantsOK) GetPayload added in v0.24.0

func (o *FindTenantsOK) GetPayload() []*models.V1TenantResponse

func (*FindTenantsOK) IsClientError added in v0.24.0

func (o *FindTenantsOK) IsClientError() bool

IsClientError returns true when this find tenants o k response has a 4xx status code

func (*FindTenantsOK) IsCode added in v0.24.0

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

IsCode returns true when this find tenants o k response a status code equal to that given

func (*FindTenantsOK) IsRedirect added in v0.24.0

func (o *FindTenantsOK) IsRedirect() bool

IsRedirect returns true when this find tenants o k response has a 3xx status code

func (*FindTenantsOK) IsServerError added in v0.24.0

func (o *FindTenantsOK) IsServerError() bool

IsServerError returns true when this find tenants o k response has a 5xx status code

func (*FindTenantsOK) IsSuccess added in v0.24.0

func (o *FindTenantsOK) IsSuccess() bool

IsSuccess returns true when this find tenants o k response has a 2xx status code

func (*FindTenantsOK) String added in v0.24.0

func (o *FindTenantsOK) String() string

type FindTenantsParams added in v0.24.0

type FindTenantsParams struct {

	// Body.
	Body *models.V1TenantFindRequest

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

FindTenantsParams contains all the parameters to send to the API endpoint

for the find tenants operation.

Typically these are written to a http.Request.

func NewFindTenantsParams added in v0.24.0

func NewFindTenantsParams() *FindTenantsParams

NewFindTenantsParams creates a new FindTenantsParams 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 NewFindTenantsParamsWithContext added in v0.24.0

func NewFindTenantsParamsWithContext(ctx context.Context) *FindTenantsParams

NewFindTenantsParamsWithContext creates a new FindTenantsParams object with the ability to set a context for a request.

func NewFindTenantsParamsWithHTTPClient added in v0.24.0

func NewFindTenantsParamsWithHTTPClient(client *http.Client) *FindTenantsParams

NewFindTenantsParamsWithHTTPClient creates a new FindTenantsParams object with the ability to set a custom HTTPClient for a request.

func NewFindTenantsParamsWithTimeout added in v0.24.0

func NewFindTenantsParamsWithTimeout(timeout time.Duration) *FindTenantsParams

NewFindTenantsParamsWithTimeout creates a new FindTenantsParams object with the ability to set a timeout on a request.

func (*FindTenantsParams) SetBody added in v0.24.0

func (o *FindTenantsParams) SetBody(body *models.V1TenantFindRequest)

SetBody adds the body to the find tenants params

func (*FindTenantsParams) SetContext added in v0.24.0

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

SetContext adds the context to the find tenants params

func (*FindTenantsParams) SetDefaults added in v0.24.0

func (o *FindTenantsParams) SetDefaults()

SetDefaults hydrates default values in the find tenants params (not the query body).

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

func (*FindTenantsParams) SetHTTPClient added in v0.24.0

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

SetHTTPClient adds the HTTPClient to the find tenants params

func (*FindTenantsParams) SetTimeout added in v0.24.0

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

SetTimeout adds the timeout to the find tenants params

func (*FindTenantsParams) WithBody added in v0.24.0

WithBody adds the body to the find tenants params

func (*FindTenantsParams) WithContext added in v0.24.0

func (o *FindTenantsParams) WithContext(ctx context.Context) *FindTenantsParams

WithContext adds the context to the find tenants params

func (*FindTenantsParams) WithDefaults added in v0.24.0

func (o *FindTenantsParams) WithDefaults() *FindTenantsParams

WithDefaults hydrates default values in the find tenants params (not the query body).

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

func (*FindTenantsParams) WithHTTPClient added in v0.24.0

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

WithHTTPClient adds the HTTPClient to the find tenants params

func (*FindTenantsParams) WithTimeout added in v0.24.0

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

WithTimeout adds the timeout to the find tenants params

func (*FindTenantsParams) WriteToRequest added in v0.24.0

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

WriteToRequest writes these params to a swagger request

type FindTenantsReader added in v0.24.0

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

FindTenantsReader is a Reader for the FindTenants structure.

func (*FindTenantsReader) ReadResponse added in v0.24.0

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

ReadResponse reads a server response into the received o.

type GetTenantDefault

type GetTenantDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetTenantDefault describes a response with status code -1, with default header values.

Error

func NewGetTenantDefault

func NewGetTenantDefault(code int) *GetTenantDefault

NewGetTenantDefault creates a GetTenantDefault with default headers values

func (*GetTenantDefault) Code

func (o *GetTenantDefault) Code() int

Code gets the status code for the get tenant default response

func (*GetTenantDefault) Error

func (o *GetTenantDefault) Error() string

func (*GetTenantDefault) GetPayload

func (*GetTenantDefault) IsClientError added in v0.19.3

func (o *GetTenantDefault) IsClientError() bool

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

func (*GetTenantDefault) IsCode added in v0.19.3

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

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

func (*GetTenantDefault) IsRedirect added in v0.19.3

func (o *GetTenantDefault) IsRedirect() bool

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

func (*GetTenantDefault) IsServerError added in v0.19.3

func (o *GetTenantDefault) IsServerError() bool

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

func (*GetTenantDefault) IsSuccess added in v0.19.3

func (o *GetTenantDefault) IsSuccess() bool

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

func (*GetTenantDefault) String added in v0.19.3

func (o *GetTenantDefault) String() string

type GetTenantOK

type GetTenantOK struct {
	Payload *models.V1TenantResponse
}

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

OK

func NewGetTenantOK

func NewGetTenantOK() *GetTenantOK

NewGetTenantOK creates a GetTenantOK with default headers values

func (*GetTenantOK) Code added in v0.22.1

func (o *GetTenantOK) Code() int

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

func (*GetTenantOK) Error

func (o *GetTenantOK) Error() string

func (*GetTenantOK) GetPayload

func (o *GetTenantOK) GetPayload() *models.V1TenantResponse

func (*GetTenantOK) IsClientError added in v0.19.3

func (o *GetTenantOK) IsClientError() bool

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

func (*GetTenantOK) IsCode added in v0.19.3

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

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

func (*GetTenantOK) IsRedirect added in v0.19.3

func (o *GetTenantOK) IsRedirect() bool

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

func (*GetTenantOK) IsServerError added in v0.19.3

func (o *GetTenantOK) IsServerError() bool

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

func (*GetTenantOK) IsSuccess added in v0.19.3

func (o *GetTenantOK) IsSuccess() bool

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

func (*GetTenantOK) String added in v0.19.3

func (o *GetTenantOK) String() string

type GetTenantParams

type GetTenantParams struct {

	/* ID.

	   identifier of the tenant
	*/
	ID string

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

GetTenantParams contains all the parameters to send to the API endpoint

for the get tenant operation.

Typically these are written to a http.Request.

func NewGetTenantParams

func NewGetTenantParams() *GetTenantParams

NewGetTenantParams creates a new GetTenantParams 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 NewGetTenantParamsWithContext

func NewGetTenantParamsWithContext(ctx context.Context) *GetTenantParams

NewGetTenantParamsWithContext creates a new GetTenantParams object with the ability to set a context for a request.

func NewGetTenantParamsWithHTTPClient

func NewGetTenantParamsWithHTTPClient(client *http.Client) *GetTenantParams

NewGetTenantParamsWithHTTPClient creates a new GetTenantParams object with the ability to set a custom HTTPClient for a request.

func NewGetTenantParamsWithTimeout

func NewGetTenantParamsWithTimeout(timeout time.Duration) *GetTenantParams

NewGetTenantParamsWithTimeout creates a new GetTenantParams object with the ability to set a timeout on a request.

func (*GetTenantParams) SetContext

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

SetContext adds the context to the get tenant params

func (*GetTenantParams) SetDefaults

func (o *GetTenantParams) SetDefaults()

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

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

func (*GetTenantParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tenant params

func (*GetTenantParams) SetID

func (o *GetTenantParams) SetID(id string)

SetID adds the id to the get tenant params

func (*GetTenantParams) SetTimeout

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

SetTimeout adds the timeout to the get tenant params

func (*GetTenantParams) WithContext

func (o *GetTenantParams) WithContext(ctx context.Context) *GetTenantParams

WithContext adds the context to the get tenant params

func (*GetTenantParams) WithDefaults

func (o *GetTenantParams) WithDefaults() *GetTenantParams

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

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

func (*GetTenantParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tenant params

func (*GetTenantParams) WithID

func (o *GetTenantParams) WithID(id string) *GetTenantParams

WithID adds the id to the get tenant params

func (*GetTenantParams) WithTimeout

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

WithTimeout adds the timeout to the get tenant params

func (*GetTenantParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTenantReader

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

GetTenantReader is a Reader for the GetTenant structure.

func (*GetTenantReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTenantsDefault

type ListTenantsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ListTenantsDefault describes a response with status code -1, with default header values.

Error

func NewListTenantsDefault

func NewListTenantsDefault(code int) *ListTenantsDefault

NewListTenantsDefault creates a ListTenantsDefault with default headers values

func (*ListTenantsDefault) Code

func (o *ListTenantsDefault) Code() int

Code gets the status code for the list tenants default response

func (*ListTenantsDefault) Error

func (o *ListTenantsDefault) Error() string

func (*ListTenantsDefault) GetPayload

func (*ListTenantsDefault) IsClientError added in v0.19.3

func (o *ListTenantsDefault) IsClientError() bool

IsClientError returns true when this list tenants default response has a 4xx status code

func (*ListTenantsDefault) IsCode added in v0.19.3

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

IsCode returns true when this list tenants default response a status code equal to that given

func (*ListTenantsDefault) IsRedirect added in v0.19.3

func (o *ListTenantsDefault) IsRedirect() bool

IsRedirect returns true when this list tenants default response has a 3xx status code

func (*ListTenantsDefault) IsServerError added in v0.19.3

func (o *ListTenantsDefault) IsServerError() bool

IsServerError returns true when this list tenants default response has a 5xx status code

func (*ListTenantsDefault) IsSuccess added in v0.19.3

func (o *ListTenantsDefault) IsSuccess() bool

IsSuccess returns true when this list tenants default response has a 2xx status code

func (*ListTenantsDefault) String added in v0.19.3

func (o *ListTenantsDefault) String() string

type ListTenantsOK

type ListTenantsOK struct {
	Payload []*models.V1TenantResponse
}

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

OK

func NewListTenantsOK

func NewListTenantsOK() *ListTenantsOK

NewListTenantsOK creates a ListTenantsOK with default headers values

func (*ListTenantsOK) Code added in v0.22.1

func (o *ListTenantsOK) Code() int

Code gets the status code for the list tenants o k response

func (*ListTenantsOK) Error

func (o *ListTenantsOK) Error() string

func (*ListTenantsOK) GetPayload

func (o *ListTenantsOK) GetPayload() []*models.V1TenantResponse

func (*ListTenantsOK) IsClientError added in v0.19.3

func (o *ListTenantsOK) IsClientError() bool

IsClientError returns true when this list tenants o k response has a 4xx status code

func (*ListTenantsOK) IsCode added in v0.19.3

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

IsCode returns true when this list tenants o k response a status code equal to that given

func (*ListTenantsOK) IsRedirect added in v0.19.3

func (o *ListTenantsOK) IsRedirect() bool

IsRedirect returns true when this list tenants o k response has a 3xx status code

func (*ListTenantsOK) IsServerError added in v0.19.3

func (o *ListTenantsOK) IsServerError() bool

IsServerError returns true when this list tenants o k response has a 5xx status code

func (*ListTenantsOK) IsSuccess added in v0.19.3

func (o *ListTenantsOK) IsSuccess() bool

IsSuccess returns true when this list tenants o k response has a 2xx status code

func (*ListTenantsOK) String added in v0.19.3

func (o *ListTenantsOK) String() string

type ListTenantsParams

type ListTenantsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListTenantsParams contains all the parameters to send to the API endpoint

for the list tenants operation.

Typically these are written to a http.Request.

func NewListTenantsParams

func NewListTenantsParams() *ListTenantsParams

NewListTenantsParams creates a new ListTenantsParams 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 NewListTenantsParamsWithContext

func NewListTenantsParamsWithContext(ctx context.Context) *ListTenantsParams

NewListTenantsParamsWithContext creates a new ListTenantsParams object with the ability to set a context for a request.

func NewListTenantsParamsWithHTTPClient

func NewListTenantsParamsWithHTTPClient(client *http.Client) *ListTenantsParams

NewListTenantsParamsWithHTTPClient creates a new ListTenantsParams object with the ability to set a custom HTTPClient for a request.

func NewListTenantsParamsWithTimeout

func NewListTenantsParamsWithTimeout(timeout time.Duration) *ListTenantsParams

NewListTenantsParamsWithTimeout creates a new ListTenantsParams object with the ability to set a timeout on a request.

func (*ListTenantsParams) SetContext

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

SetContext adds the context to the list tenants params

func (*ListTenantsParams) SetDefaults

func (o *ListTenantsParams) SetDefaults()

SetDefaults hydrates default values in the list tenants params (not the query body).

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

func (*ListTenantsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tenants params

func (*ListTenantsParams) SetTimeout

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

SetTimeout adds the timeout to the list tenants params

func (*ListTenantsParams) WithContext

func (o *ListTenantsParams) WithContext(ctx context.Context) *ListTenantsParams

WithContext adds the context to the list tenants params

func (*ListTenantsParams) WithDefaults

func (o *ListTenantsParams) WithDefaults() *ListTenantsParams

WithDefaults hydrates default values in the list tenants params (not the query body).

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

func (*ListTenantsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tenants params

func (*ListTenantsParams) WithTimeout

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

WithTimeout adds the timeout to the list tenants params

func (*ListTenantsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTenantsReader

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

ListTenantsReader is a Reader for the ListTenants structure.

func (*ListTenantsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateTenantDefault added in v0.24.0

type UpdateTenantDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

UpdateTenantDefault describes a response with status code -1, with default header values.

Error

func NewUpdateTenantDefault added in v0.24.0

func NewUpdateTenantDefault(code int) *UpdateTenantDefault

NewUpdateTenantDefault creates a UpdateTenantDefault with default headers values

func (*UpdateTenantDefault) Code added in v0.24.0

func (o *UpdateTenantDefault) Code() int

Code gets the status code for the update tenant default response

func (*UpdateTenantDefault) Error added in v0.24.0

func (o *UpdateTenantDefault) Error() string

func (*UpdateTenantDefault) GetPayload added in v0.24.0

func (*UpdateTenantDefault) IsClientError added in v0.24.0

func (o *UpdateTenantDefault) IsClientError() bool

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

func (*UpdateTenantDefault) IsCode added in v0.24.0

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

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

func (*UpdateTenantDefault) IsRedirect added in v0.24.0

func (o *UpdateTenantDefault) IsRedirect() bool

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

func (*UpdateTenantDefault) IsServerError added in v0.24.0

func (o *UpdateTenantDefault) IsServerError() bool

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

func (*UpdateTenantDefault) IsSuccess added in v0.24.0

func (o *UpdateTenantDefault) IsSuccess() bool

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

func (*UpdateTenantDefault) String added in v0.24.0

func (o *UpdateTenantDefault) String() string

type UpdateTenantOK added in v0.24.0

type UpdateTenantOK struct {
	Payload *models.V1TenantResponse
}

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

Updated

func NewUpdateTenantOK added in v0.24.0

func NewUpdateTenantOK() *UpdateTenantOK

NewUpdateTenantOK creates a UpdateTenantOK with default headers values

func (*UpdateTenantOK) Code added in v0.24.0

func (o *UpdateTenantOK) Code() int

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

func (*UpdateTenantOK) Error added in v0.24.0

func (o *UpdateTenantOK) Error() string

func (*UpdateTenantOK) GetPayload added in v0.24.0

func (o *UpdateTenantOK) GetPayload() *models.V1TenantResponse

func (*UpdateTenantOK) IsClientError added in v0.24.0

func (o *UpdateTenantOK) IsClientError() bool

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

func (*UpdateTenantOK) IsCode added in v0.24.0

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

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

func (*UpdateTenantOK) IsRedirect added in v0.24.0

func (o *UpdateTenantOK) IsRedirect() bool

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

func (*UpdateTenantOK) IsServerError added in v0.24.0

func (o *UpdateTenantOK) IsServerError() bool

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

func (*UpdateTenantOK) IsSuccess added in v0.24.0

func (o *UpdateTenantOK) IsSuccess() bool

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

func (*UpdateTenantOK) String added in v0.24.0

func (o *UpdateTenantOK) String() string

type UpdateTenantParams added in v0.24.0

type UpdateTenantParams struct {

	// Body.
	Body *models.V1TenantUpdateRequest

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

UpdateTenantParams contains all the parameters to send to the API endpoint

for the update tenant operation.

Typically these are written to a http.Request.

func NewUpdateTenantParams added in v0.24.0

func NewUpdateTenantParams() *UpdateTenantParams

NewUpdateTenantParams creates a new UpdateTenantParams 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 NewUpdateTenantParamsWithContext added in v0.24.0

func NewUpdateTenantParamsWithContext(ctx context.Context) *UpdateTenantParams

NewUpdateTenantParamsWithContext creates a new UpdateTenantParams object with the ability to set a context for a request.

func NewUpdateTenantParamsWithHTTPClient added in v0.24.0

func NewUpdateTenantParamsWithHTTPClient(client *http.Client) *UpdateTenantParams

NewUpdateTenantParamsWithHTTPClient creates a new UpdateTenantParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTenantParamsWithTimeout added in v0.24.0

func NewUpdateTenantParamsWithTimeout(timeout time.Duration) *UpdateTenantParams

NewUpdateTenantParamsWithTimeout creates a new UpdateTenantParams object with the ability to set a timeout on a request.

func (*UpdateTenantParams) SetBody added in v0.24.0

SetBody adds the body to the update tenant params

func (*UpdateTenantParams) SetContext added in v0.24.0

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

SetContext adds the context to the update tenant params

func (*UpdateTenantParams) SetDefaults added in v0.24.0

func (o *UpdateTenantParams) SetDefaults()

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

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

func (*UpdateTenantParams) SetHTTPClient added in v0.24.0

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

SetHTTPClient adds the HTTPClient to the update tenant params

func (*UpdateTenantParams) SetTimeout added in v0.24.0

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

SetTimeout adds the timeout to the update tenant params

func (*UpdateTenantParams) WithBody added in v0.24.0

WithBody adds the body to the update tenant params

func (*UpdateTenantParams) WithContext added in v0.24.0

WithContext adds the context to the update tenant params

func (*UpdateTenantParams) WithDefaults added in v0.24.0

func (o *UpdateTenantParams) WithDefaults() *UpdateTenantParams

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

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

func (*UpdateTenantParams) WithHTTPClient added in v0.24.0

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

WithHTTPClient adds the HTTPClient to the update tenant params

func (*UpdateTenantParams) WithTimeout added in v0.24.0

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

WithTimeout adds the timeout to the update tenant params

func (*UpdateTenantParams) WriteToRequest added in v0.24.0

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

WriteToRequest writes these params to a swagger request

type UpdateTenantPreconditionFailed added in v0.24.0

type UpdateTenantPreconditionFailed struct {
	Payload *httperrors.HTTPErrorResponse
}

UpdateTenantPreconditionFailed describes a response with status code 412, with default header values.

OptimisticLock

func NewUpdateTenantPreconditionFailed added in v0.24.0

func NewUpdateTenantPreconditionFailed() *UpdateTenantPreconditionFailed

NewUpdateTenantPreconditionFailed creates a UpdateTenantPreconditionFailed with default headers values

func (*UpdateTenantPreconditionFailed) Code added in v0.24.0

Code gets the status code for the update tenant precondition failed response

func (*UpdateTenantPreconditionFailed) Error added in v0.24.0

func (*UpdateTenantPreconditionFailed) GetPayload added in v0.24.0

func (*UpdateTenantPreconditionFailed) IsClientError added in v0.24.0

func (o *UpdateTenantPreconditionFailed) IsClientError() bool

IsClientError returns true when this update tenant precondition failed response has a 4xx status code

func (*UpdateTenantPreconditionFailed) IsCode added in v0.24.0

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

IsCode returns true when this update tenant precondition failed response a status code equal to that given

func (*UpdateTenantPreconditionFailed) IsRedirect added in v0.24.0

func (o *UpdateTenantPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this update tenant precondition failed response has a 3xx status code

func (*UpdateTenantPreconditionFailed) IsServerError added in v0.24.0

func (o *UpdateTenantPreconditionFailed) IsServerError() bool

IsServerError returns true when this update tenant precondition failed response has a 5xx status code

func (*UpdateTenantPreconditionFailed) IsSuccess added in v0.24.0

func (o *UpdateTenantPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this update tenant precondition failed response has a 2xx status code

func (*UpdateTenantPreconditionFailed) String added in v0.24.0

type UpdateTenantReader added in v0.24.0

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

UpdateTenantReader is a Reader for the UpdateTenant structure.

func (*UpdateTenantReader) ReadResponse added in v0.24.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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