schema

package
v1.26.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for schema API

func (*Client) SchemaDump

func (a *Client) SchemaDump(params *SchemaDumpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaDumpOK, error)

SchemaDump dumps the current the database schema

func (*Client) SchemaObjectsCreate

func (a *Client) SchemaObjectsCreate(params *SchemaObjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsCreateOK, error)

SchemaObjectsCreate creates a new object class in the schema

func (*Client) SchemaObjectsDelete

func (a *Client) SchemaObjectsDelete(params *SchemaObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsDeleteOK, error)

SchemaObjectsDelete removes an object class and all data in the instances from the schema

func (*Client) SchemaObjectsGet

func (a *Client) SchemaObjectsGet(params *SchemaObjectsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsGetOK, error)

SchemaObjectsGet gets a single class from the schema

func (*Client) SchemaObjectsPropertiesAdd

func (a *Client) SchemaObjectsPropertiesAdd(params *SchemaObjectsPropertiesAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsPropertiesAddOK, error)

SchemaObjectsPropertiesAdd adds a property to an object class

func (*Client) SchemaObjectsShardsGet

func (a *Client) SchemaObjectsShardsGet(params *SchemaObjectsShardsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsShardsGetOK, error)

SchemaObjectsShardsGet gets the shards status of an object class

func (*Client) SchemaObjectsShardsUpdate

func (a *Client) SchemaObjectsShardsUpdate(params *SchemaObjectsShardsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsShardsUpdateOK, error)

SchemaObjectsShardsUpdate Update shard status of an Object Class

func (*Client) SchemaObjectsUpdate

func (a *Client) SchemaObjectsUpdate(params *SchemaObjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsUpdateOK, error)

SchemaObjectsUpdate updates settings of an existing schema class

Use this endpoint to alter an existing class in the schema. Note that not all settings are mutable. If an error about immutable fields is returned and you still need to update this particular setting, you will have to delete the class (and the underlying data) and recreate. This endpoint cannot be used to modify properties. Instead use POST /v1/schema/{className}/properties. A typical use case for this endpoint is to update configuration, such as the vectorIndexConfig. Note that even in mutable sections, such as vectorIndexConfig, some fields may be immutable.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TenantExists added in v1.25.0

func (a *Client) TenantExists(params *TenantExistsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantExistsOK, error)

TenantExists Check if a tenant exists for a specific class

func (*Client) TenantsCreate added in v1.20.0

func (a *Client) TenantsCreate(params *TenantsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsCreateOK, error)

TenantsCreate Create a new tenant for a specific class

func (*Client) TenantsDelete added in v1.20.0

func (a *Client) TenantsDelete(params *TenantsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsDeleteOK, error)

TenantsDelete delete tenants from a specific class

func (*Client) TenantsGet added in v1.20.0

func (a *Client) TenantsGet(params *TenantsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsGetOK, error)

TenantsGet get all tenants from a specific class

func (*Client) TenantsUpdate added in v1.21.0

func (a *Client) TenantsUpdate(params *TenantsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsUpdateOK, error)

TenantsUpdate Update tenant of a specific class

type ClientOption added in v1.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SchemaDump(params *SchemaDumpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaDumpOK, error)

	SchemaObjectsCreate(params *SchemaObjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsCreateOK, error)

	SchemaObjectsDelete(params *SchemaObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsDeleteOK, error)

	SchemaObjectsGet(params *SchemaObjectsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsGetOK, error)

	SchemaObjectsPropertiesAdd(params *SchemaObjectsPropertiesAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsPropertiesAddOK, error)

	SchemaObjectsShardsGet(params *SchemaObjectsShardsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsShardsGetOK, error)

	SchemaObjectsShardsUpdate(params *SchemaObjectsShardsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsShardsUpdateOK, error)

	SchemaObjectsUpdate(params *SchemaObjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SchemaObjectsUpdateOK, error)

	TenantExists(params *TenantExistsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantExistsOK, error)

	TenantsCreate(params *TenantsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsCreateOK, error)

	TenantsDelete(params *TenantsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsDeleteOK, error)

	TenantsGet(params *TenantsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsGetOK, error)

	TenantsUpdate(params *TenantsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TenantsUpdateOK, 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 schema API client.

type SchemaDumpForbidden

type SchemaDumpForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaDumpForbidden

func NewSchemaDumpForbidden() *SchemaDumpForbidden

NewSchemaDumpForbidden creates a SchemaDumpForbidden with default headers values

func (*SchemaDumpForbidden) Code added in v1.18.0

func (o *SchemaDumpForbidden) Code() int

Code gets the status code for the schema dump forbidden response

func (*SchemaDumpForbidden) Error

func (o *SchemaDumpForbidden) Error() string

func (*SchemaDumpForbidden) GetPayload

func (o *SchemaDumpForbidden) GetPayload() *models.ErrorResponse

func (*SchemaDumpForbidden) IsClientError added in v1.18.0

func (o *SchemaDumpForbidden) IsClientError() bool

IsClientError returns true when this schema dump forbidden response has a 4xx status code

func (*SchemaDumpForbidden) IsCode added in v1.18.0

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

IsCode returns true when this schema dump forbidden response a status code equal to that given

func (*SchemaDumpForbidden) IsRedirect added in v1.18.0

func (o *SchemaDumpForbidden) IsRedirect() bool

IsRedirect returns true when this schema dump forbidden response has a 3xx status code

func (*SchemaDumpForbidden) IsServerError added in v1.18.0

func (o *SchemaDumpForbidden) IsServerError() bool

IsServerError returns true when this schema dump forbidden response has a 5xx status code

func (*SchemaDumpForbidden) IsSuccess added in v1.18.0

func (o *SchemaDumpForbidden) IsSuccess() bool

IsSuccess returns true when this schema dump forbidden response has a 2xx status code

func (*SchemaDumpForbidden) String added in v1.18.0

func (o *SchemaDumpForbidden) String() string

type SchemaDumpInternalServerError

type SchemaDumpInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaDumpInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaDumpInternalServerError

func NewSchemaDumpInternalServerError() *SchemaDumpInternalServerError

NewSchemaDumpInternalServerError creates a SchemaDumpInternalServerError with default headers values

func (*SchemaDumpInternalServerError) Code added in v1.18.0

Code gets the status code for the schema dump internal server error response

func (*SchemaDumpInternalServerError) Error

func (*SchemaDumpInternalServerError) GetPayload

func (*SchemaDumpInternalServerError) IsClientError added in v1.18.0

func (o *SchemaDumpInternalServerError) IsClientError() bool

IsClientError returns true when this schema dump internal server error response has a 4xx status code

func (*SchemaDumpInternalServerError) IsCode added in v1.18.0

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

IsCode returns true when this schema dump internal server error response a status code equal to that given

func (*SchemaDumpInternalServerError) IsRedirect added in v1.18.0

func (o *SchemaDumpInternalServerError) IsRedirect() bool

IsRedirect returns true when this schema dump internal server error response has a 3xx status code

func (*SchemaDumpInternalServerError) IsServerError added in v1.18.0

func (o *SchemaDumpInternalServerError) IsServerError() bool

IsServerError returns true when this schema dump internal server error response has a 5xx status code

func (*SchemaDumpInternalServerError) IsSuccess added in v1.18.0

func (o *SchemaDumpInternalServerError) IsSuccess() bool

IsSuccess returns true when this schema dump internal server error response has a 2xx status code

func (*SchemaDumpInternalServerError) String added in v1.18.0

type SchemaDumpOK

type SchemaDumpOK struct {
	Payload *models.Schema
}

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

Successfully dumped the database schema.

func NewSchemaDumpOK

func NewSchemaDumpOK() *SchemaDumpOK

NewSchemaDumpOK creates a SchemaDumpOK with default headers values

func (*SchemaDumpOK) Code added in v1.18.0

func (o *SchemaDumpOK) Code() int

Code gets the status code for the schema dump o k response

func (*SchemaDumpOK) Error

func (o *SchemaDumpOK) Error() string

func (*SchemaDumpOK) GetPayload

func (o *SchemaDumpOK) GetPayload() *models.Schema

func (*SchemaDumpOK) IsClientError added in v1.18.0

func (o *SchemaDumpOK) IsClientError() bool

IsClientError returns true when this schema dump o k response has a 4xx status code

func (*SchemaDumpOK) IsCode added in v1.18.0

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

IsCode returns true when this schema dump o k response a status code equal to that given

func (*SchemaDumpOK) IsRedirect added in v1.18.0

func (o *SchemaDumpOK) IsRedirect() bool

IsRedirect returns true when this schema dump o k response has a 3xx status code

func (*SchemaDumpOK) IsServerError added in v1.18.0

func (o *SchemaDumpOK) IsServerError() bool

IsServerError returns true when this schema dump o k response has a 5xx status code

func (*SchemaDumpOK) IsSuccess added in v1.18.0

func (o *SchemaDumpOK) IsSuccess() bool

IsSuccess returns true when this schema dump o k response has a 2xx status code

func (*SchemaDumpOK) String added in v1.18.0

func (o *SchemaDumpOK) String() string

type SchemaDumpParams

type SchemaDumpParams struct {

	/* Consistency.

	   If consistency is true, the request will be proxied to the leader to ensure strong schema consistency

	   Default: true
	*/
	Consistency *bool

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

SchemaDumpParams contains all the parameters to send to the API endpoint

for the schema dump operation.

Typically these are written to a http.Request.

func NewSchemaDumpParams

func NewSchemaDumpParams() *SchemaDumpParams

NewSchemaDumpParams creates a new SchemaDumpParams 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 NewSchemaDumpParamsWithContext

func NewSchemaDumpParamsWithContext(ctx context.Context) *SchemaDumpParams

NewSchemaDumpParamsWithContext creates a new SchemaDumpParams object with the ability to set a context for a request.

func NewSchemaDumpParamsWithHTTPClient

func NewSchemaDumpParamsWithHTTPClient(client *http.Client) *SchemaDumpParams

NewSchemaDumpParamsWithHTTPClient creates a new SchemaDumpParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaDumpParamsWithTimeout

func NewSchemaDumpParamsWithTimeout(timeout time.Duration) *SchemaDumpParams

NewSchemaDumpParamsWithTimeout creates a new SchemaDumpParams object with the ability to set a timeout on a request.

func (*SchemaDumpParams) SetConsistency added in v1.25.0

func (o *SchemaDumpParams) SetConsistency(consistency *bool)

SetConsistency adds the consistency to the schema dump params

func (*SchemaDumpParams) SetContext

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

SetContext adds the context to the schema dump params

func (*SchemaDumpParams) SetDefaults added in v1.18.0

func (o *SchemaDumpParams) SetDefaults()

SetDefaults hydrates default values in the schema dump params (not the query body).

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

func (*SchemaDumpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema dump params

func (*SchemaDumpParams) SetTimeout

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

SetTimeout adds the timeout to the schema dump params

func (*SchemaDumpParams) WithConsistency added in v1.25.0

func (o *SchemaDumpParams) WithConsistency(consistency *bool) *SchemaDumpParams

WithConsistency adds the consistency to the schema dump params

func (*SchemaDumpParams) WithContext

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

WithContext adds the context to the schema dump params

func (*SchemaDumpParams) WithDefaults added in v1.18.0

func (o *SchemaDumpParams) WithDefaults() *SchemaDumpParams

WithDefaults hydrates default values in the schema dump params (not the query body).

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

func (*SchemaDumpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema dump params

func (*SchemaDumpParams) WithTimeout

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

WithTimeout adds the timeout to the schema dump params

func (*SchemaDumpParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SchemaDumpReader

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

SchemaDumpReader is a Reader for the SchemaDump structure.

func (*SchemaDumpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaDumpUnauthorized

type SchemaDumpUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaDumpUnauthorized

func NewSchemaDumpUnauthorized() *SchemaDumpUnauthorized

NewSchemaDumpUnauthorized creates a SchemaDumpUnauthorized with default headers values

func (*SchemaDumpUnauthorized) Code added in v1.18.0

func (o *SchemaDumpUnauthorized) Code() int

Code gets the status code for the schema dump unauthorized response

func (*SchemaDumpUnauthorized) Error

func (o *SchemaDumpUnauthorized) Error() string

func (*SchemaDumpUnauthorized) IsClientError added in v1.18.0

func (o *SchemaDumpUnauthorized) IsClientError() bool

IsClientError returns true when this schema dump unauthorized response has a 4xx status code

func (*SchemaDumpUnauthorized) IsCode added in v1.18.0

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

IsCode returns true when this schema dump unauthorized response a status code equal to that given

func (*SchemaDumpUnauthorized) IsRedirect added in v1.18.0

func (o *SchemaDumpUnauthorized) IsRedirect() bool

IsRedirect returns true when this schema dump unauthorized response has a 3xx status code

func (*SchemaDumpUnauthorized) IsServerError added in v1.18.0

func (o *SchemaDumpUnauthorized) IsServerError() bool

IsServerError returns true when this schema dump unauthorized response has a 5xx status code

func (*SchemaDumpUnauthorized) IsSuccess added in v1.18.0

func (o *SchemaDumpUnauthorized) IsSuccess() bool

IsSuccess returns true when this schema dump unauthorized response has a 2xx status code

func (*SchemaDumpUnauthorized) String added in v1.18.0

func (o *SchemaDumpUnauthorized) String() string

type SchemaObjectsCreateForbidden

type SchemaObjectsCreateForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsCreateForbidden

func NewSchemaObjectsCreateForbidden() *SchemaObjectsCreateForbidden

NewSchemaObjectsCreateForbidden creates a SchemaObjectsCreateForbidden with default headers values

func (*SchemaObjectsCreateForbidden) Code added in v1.18.0

Code gets the status code for the schema objects create forbidden response

func (*SchemaObjectsCreateForbidden) Error

func (*SchemaObjectsCreateForbidden) GetPayload

func (*SchemaObjectsCreateForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsCreateForbidden) IsClientError() bool

IsClientError returns true when this schema objects create forbidden response has a 4xx status code

func (*SchemaObjectsCreateForbidden) IsCode added in v1.18.0

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

IsCode returns true when this schema objects create forbidden response a status code equal to that given

func (*SchemaObjectsCreateForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsCreateForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects create forbidden response has a 3xx status code

func (*SchemaObjectsCreateForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsCreateForbidden) IsServerError() bool

IsServerError returns true when this schema objects create forbidden response has a 5xx status code

func (*SchemaObjectsCreateForbidden) IsSuccess added in v1.18.0

func (o *SchemaObjectsCreateForbidden) IsSuccess() bool

IsSuccess returns true when this schema objects create forbidden response has a 2xx status code

func (*SchemaObjectsCreateForbidden) String added in v1.18.0

type SchemaObjectsCreateInternalServerError

type SchemaObjectsCreateInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsCreateInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsCreateInternalServerError

func NewSchemaObjectsCreateInternalServerError() *SchemaObjectsCreateInternalServerError

NewSchemaObjectsCreateInternalServerError creates a SchemaObjectsCreateInternalServerError with default headers values

func (*SchemaObjectsCreateInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects create internal server error response

func (*SchemaObjectsCreateInternalServerError) Error

func (*SchemaObjectsCreateInternalServerError) GetPayload

func (*SchemaObjectsCreateInternalServerError) IsClientError added in v1.18.0

func (o *SchemaObjectsCreateInternalServerError) IsClientError() bool

IsClientError returns true when this schema objects create internal server error response has a 4xx status code

func (*SchemaObjectsCreateInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects create internal server error response a status code equal to that given

func (*SchemaObjectsCreateInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects create internal server error response has a 3xx status code

func (*SchemaObjectsCreateInternalServerError) IsServerError added in v1.18.0

func (o *SchemaObjectsCreateInternalServerError) IsServerError() bool

IsServerError returns true when this schema objects create internal server error response has a 5xx status code

func (*SchemaObjectsCreateInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects create internal server error response has a 2xx status code

func (*SchemaObjectsCreateInternalServerError) String added in v1.18.0

type SchemaObjectsCreateOK

type SchemaObjectsCreateOK struct {
	Payload *models.Class
}

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

Added the new Object class to the schema.

func NewSchemaObjectsCreateOK

func NewSchemaObjectsCreateOK() *SchemaObjectsCreateOK

NewSchemaObjectsCreateOK creates a SchemaObjectsCreateOK with default headers values

func (*SchemaObjectsCreateOK) Code added in v1.18.0

func (o *SchemaObjectsCreateOK) Code() int

Code gets the status code for the schema objects create o k response

func (*SchemaObjectsCreateOK) Error

func (o *SchemaObjectsCreateOK) Error() string

func (*SchemaObjectsCreateOK) GetPayload

func (o *SchemaObjectsCreateOK) GetPayload() *models.Class

func (*SchemaObjectsCreateOK) IsClientError added in v1.18.0

func (o *SchemaObjectsCreateOK) IsClientError() bool

IsClientError returns true when this schema objects create o k response has a 4xx status code

func (*SchemaObjectsCreateOK) IsCode added in v1.18.0

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

IsCode returns true when this schema objects create o k response a status code equal to that given

func (*SchemaObjectsCreateOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsCreateOK) IsRedirect() bool

IsRedirect returns true when this schema objects create o k response has a 3xx status code

func (*SchemaObjectsCreateOK) IsServerError added in v1.18.0

func (o *SchemaObjectsCreateOK) IsServerError() bool

IsServerError returns true when this schema objects create o k response has a 5xx status code

func (*SchemaObjectsCreateOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsCreateOK) IsSuccess() bool

IsSuccess returns true when this schema objects create o k response has a 2xx status code

func (*SchemaObjectsCreateOK) String added in v1.18.0

func (o *SchemaObjectsCreateOK) String() string

type SchemaObjectsCreateParams

type SchemaObjectsCreateParams struct {

	// ObjectClass.
	ObjectClass *models.Class

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

SchemaObjectsCreateParams contains all the parameters to send to the API endpoint

for the schema objects create operation.

Typically these are written to a http.Request.

func NewSchemaObjectsCreateParams

func NewSchemaObjectsCreateParams() *SchemaObjectsCreateParams

NewSchemaObjectsCreateParams creates a new SchemaObjectsCreateParams 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 NewSchemaObjectsCreateParamsWithContext

func NewSchemaObjectsCreateParamsWithContext(ctx context.Context) *SchemaObjectsCreateParams

NewSchemaObjectsCreateParamsWithContext creates a new SchemaObjectsCreateParams object with the ability to set a context for a request.

func NewSchemaObjectsCreateParamsWithHTTPClient

func NewSchemaObjectsCreateParamsWithHTTPClient(client *http.Client) *SchemaObjectsCreateParams

NewSchemaObjectsCreateParamsWithHTTPClient creates a new SchemaObjectsCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsCreateParamsWithTimeout

func NewSchemaObjectsCreateParamsWithTimeout(timeout time.Duration) *SchemaObjectsCreateParams

NewSchemaObjectsCreateParamsWithTimeout creates a new SchemaObjectsCreateParams object with the ability to set a timeout on a request.

func (*SchemaObjectsCreateParams) SetContext

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

SetContext adds the context to the schema objects create params

func (*SchemaObjectsCreateParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsCreateParams) SetDefaults()

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

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

func (*SchemaObjectsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects create params

func (*SchemaObjectsCreateParams) SetObjectClass

func (o *SchemaObjectsCreateParams) SetObjectClass(objectClass *models.Class)

SetObjectClass adds the objectClass to the schema objects create params

func (*SchemaObjectsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects create params

func (*SchemaObjectsCreateParams) WithContext

WithContext adds the context to the schema objects create params

func (*SchemaObjectsCreateParams) WithDefaults added in v1.18.0

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

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

func (*SchemaObjectsCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema objects create params

func (*SchemaObjectsCreateParams) WithObjectClass

func (o *SchemaObjectsCreateParams) WithObjectClass(objectClass *models.Class) *SchemaObjectsCreateParams

WithObjectClass adds the objectClass to the schema objects create params

func (*SchemaObjectsCreateParams) WithTimeout

WithTimeout adds the timeout to the schema objects create params

func (*SchemaObjectsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsCreateReader

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

SchemaObjectsCreateReader is a Reader for the SchemaObjectsCreate structure.

func (*SchemaObjectsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsCreateUnauthorized

type SchemaObjectsCreateUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsCreateUnauthorized

func NewSchemaObjectsCreateUnauthorized() *SchemaObjectsCreateUnauthorized

NewSchemaObjectsCreateUnauthorized creates a SchemaObjectsCreateUnauthorized with default headers values

func (*SchemaObjectsCreateUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects create unauthorized response

func (*SchemaObjectsCreateUnauthorized) Error

func (*SchemaObjectsCreateUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsCreateUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects create unauthorized response has a 4xx status code

func (*SchemaObjectsCreateUnauthorized) IsCode added in v1.18.0

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

IsCode returns true when this schema objects create unauthorized response a status code equal to that given

func (*SchemaObjectsCreateUnauthorized) IsRedirect added in v1.18.0

func (o *SchemaObjectsCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this schema objects create unauthorized response has a 3xx status code

func (*SchemaObjectsCreateUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsCreateUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects create unauthorized response has a 5xx status code

func (*SchemaObjectsCreateUnauthorized) IsSuccess added in v1.18.0

func (o *SchemaObjectsCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this schema objects create unauthorized response has a 2xx status code

func (*SchemaObjectsCreateUnauthorized) String added in v1.18.0

type SchemaObjectsCreateUnprocessableEntity

type SchemaObjectsCreateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid Object class

func NewSchemaObjectsCreateUnprocessableEntity

func NewSchemaObjectsCreateUnprocessableEntity() *SchemaObjectsCreateUnprocessableEntity

NewSchemaObjectsCreateUnprocessableEntity creates a SchemaObjectsCreateUnprocessableEntity with default headers values

func (*SchemaObjectsCreateUnprocessableEntity) Code added in v1.18.0

Code gets the status code for the schema objects create unprocessable entity response

func (*SchemaObjectsCreateUnprocessableEntity) Error

func (*SchemaObjectsCreateUnprocessableEntity) GetPayload

func (*SchemaObjectsCreateUnprocessableEntity) IsClientError added in v1.18.0

func (o *SchemaObjectsCreateUnprocessableEntity) IsClientError() bool

IsClientError returns true when this schema objects create unprocessable entity response has a 4xx status code

func (*SchemaObjectsCreateUnprocessableEntity) IsCode added in v1.18.0

IsCode returns true when this schema objects create unprocessable entity response a status code equal to that given

func (*SchemaObjectsCreateUnprocessableEntity) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects create unprocessable entity response has a 3xx status code

func (*SchemaObjectsCreateUnprocessableEntity) IsServerError added in v1.18.0

func (o *SchemaObjectsCreateUnprocessableEntity) IsServerError() bool

IsServerError returns true when this schema objects create unprocessable entity response has a 5xx status code

func (*SchemaObjectsCreateUnprocessableEntity) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects create unprocessable entity response has a 2xx status code

func (*SchemaObjectsCreateUnprocessableEntity) String added in v1.18.0

type SchemaObjectsDeleteBadRequest

type SchemaObjectsDeleteBadRequest struct {
	Payload *models.ErrorResponse
}

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

Could not delete the Object class.

func NewSchemaObjectsDeleteBadRequest

func NewSchemaObjectsDeleteBadRequest() *SchemaObjectsDeleteBadRequest

NewSchemaObjectsDeleteBadRequest creates a SchemaObjectsDeleteBadRequest with default headers values

func (*SchemaObjectsDeleteBadRequest) Code added in v1.18.0

Code gets the status code for the schema objects delete bad request response

func (*SchemaObjectsDeleteBadRequest) Error

func (*SchemaObjectsDeleteBadRequest) GetPayload

func (*SchemaObjectsDeleteBadRequest) IsClientError added in v1.18.0

func (o *SchemaObjectsDeleteBadRequest) IsClientError() bool

IsClientError returns true when this schema objects delete bad request response has a 4xx status code

func (*SchemaObjectsDeleteBadRequest) IsCode added in v1.18.0

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

IsCode returns true when this schema objects delete bad request response a status code equal to that given

func (*SchemaObjectsDeleteBadRequest) IsRedirect added in v1.18.0

func (o *SchemaObjectsDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this schema objects delete bad request response has a 3xx status code

func (*SchemaObjectsDeleteBadRequest) IsServerError added in v1.18.0

func (o *SchemaObjectsDeleteBadRequest) IsServerError() bool

IsServerError returns true when this schema objects delete bad request response has a 5xx status code

func (*SchemaObjectsDeleteBadRequest) IsSuccess added in v1.18.0

func (o *SchemaObjectsDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this schema objects delete bad request response has a 2xx status code

func (*SchemaObjectsDeleteBadRequest) String added in v1.18.0

type SchemaObjectsDeleteForbidden

type SchemaObjectsDeleteForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsDeleteForbidden

func NewSchemaObjectsDeleteForbidden() *SchemaObjectsDeleteForbidden

NewSchemaObjectsDeleteForbidden creates a SchemaObjectsDeleteForbidden with default headers values

func (*SchemaObjectsDeleteForbidden) Code added in v1.18.0

Code gets the status code for the schema objects delete forbidden response

func (*SchemaObjectsDeleteForbidden) Error

func (*SchemaObjectsDeleteForbidden) GetPayload

func (*SchemaObjectsDeleteForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsDeleteForbidden) IsClientError() bool

IsClientError returns true when this schema objects delete forbidden response has a 4xx status code

func (*SchemaObjectsDeleteForbidden) IsCode added in v1.18.0

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

IsCode returns true when this schema objects delete forbidden response a status code equal to that given

func (*SchemaObjectsDeleteForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects delete forbidden response has a 3xx status code

func (*SchemaObjectsDeleteForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsDeleteForbidden) IsServerError() bool

IsServerError returns true when this schema objects delete forbidden response has a 5xx status code

func (*SchemaObjectsDeleteForbidden) IsSuccess added in v1.18.0

func (o *SchemaObjectsDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this schema objects delete forbidden response has a 2xx status code

func (*SchemaObjectsDeleteForbidden) String added in v1.18.0

type SchemaObjectsDeleteInternalServerError

type SchemaObjectsDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsDeleteInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsDeleteInternalServerError

func NewSchemaObjectsDeleteInternalServerError() *SchemaObjectsDeleteInternalServerError

NewSchemaObjectsDeleteInternalServerError creates a SchemaObjectsDeleteInternalServerError with default headers values

func (*SchemaObjectsDeleteInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects delete internal server error response

func (*SchemaObjectsDeleteInternalServerError) Error

func (*SchemaObjectsDeleteInternalServerError) GetPayload

func (*SchemaObjectsDeleteInternalServerError) IsClientError added in v1.18.0

func (o *SchemaObjectsDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this schema objects delete internal server error response has a 4xx status code

func (*SchemaObjectsDeleteInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects delete internal server error response a status code equal to that given

func (*SchemaObjectsDeleteInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects delete internal server error response has a 3xx status code

func (*SchemaObjectsDeleteInternalServerError) IsServerError added in v1.18.0

func (o *SchemaObjectsDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this schema objects delete internal server error response has a 5xx status code

func (*SchemaObjectsDeleteInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects delete internal server error response has a 2xx status code

func (*SchemaObjectsDeleteInternalServerError) String added in v1.18.0

type SchemaObjectsDeleteOK

type SchemaObjectsDeleteOK struct {
}

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

Removed the Object class from the schema.

func NewSchemaObjectsDeleteOK

func NewSchemaObjectsDeleteOK() *SchemaObjectsDeleteOK

NewSchemaObjectsDeleteOK creates a SchemaObjectsDeleteOK with default headers values

func (*SchemaObjectsDeleteOK) Code added in v1.18.0

func (o *SchemaObjectsDeleteOK) Code() int

Code gets the status code for the schema objects delete o k response

func (*SchemaObjectsDeleteOK) Error

func (o *SchemaObjectsDeleteOK) Error() string

func (*SchemaObjectsDeleteOK) IsClientError added in v1.18.0

func (o *SchemaObjectsDeleteOK) IsClientError() bool

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

func (*SchemaObjectsDeleteOK) IsCode added in v1.18.0

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

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

func (*SchemaObjectsDeleteOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsDeleteOK) IsRedirect() bool

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

func (*SchemaObjectsDeleteOK) IsServerError added in v1.18.0

func (o *SchemaObjectsDeleteOK) IsServerError() bool

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

func (*SchemaObjectsDeleteOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsDeleteOK) IsSuccess() bool

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

func (*SchemaObjectsDeleteOK) String added in v1.18.0

func (o *SchemaObjectsDeleteOK) String() string

type SchemaObjectsDeleteParams

type SchemaObjectsDeleteParams struct {

	// ClassName.
	ClassName string

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

SchemaObjectsDeleteParams contains all the parameters to send to the API endpoint

for the schema objects delete operation.

Typically these are written to a http.Request.

func NewSchemaObjectsDeleteParams

func NewSchemaObjectsDeleteParams() *SchemaObjectsDeleteParams

NewSchemaObjectsDeleteParams creates a new SchemaObjectsDeleteParams 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 NewSchemaObjectsDeleteParamsWithContext

func NewSchemaObjectsDeleteParamsWithContext(ctx context.Context) *SchemaObjectsDeleteParams

NewSchemaObjectsDeleteParamsWithContext creates a new SchemaObjectsDeleteParams object with the ability to set a context for a request.

func NewSchemaObjectsDeleteParamsWithHTTPClient

func NewSchemaObjectsDeleteParamsWithHTTPClient(client *http.Client) *SchemaObjectsDeleteParams

NewSchemaObjectsDeleteParamsWithHTTPClient creates a new SchemaObjectsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsDeleteParamsWithTimeout

func NewSchemaObjectsDeleteParamsWithTimeout(timeout time.Duration) *SchemaObjectsDeleteParams

NewSchemaObjectsDeleteParamsWithTimeout creates a new SchemaObjectsDeleteParams object with the ability to set a timeout on a request.

func (*SchemaObjectsDeleteParams) SetClassName

func (o *SchemaObjectsDeleteParams) SetClassName(className string)

SetClassName adds the className to the schema objects delete params

func (*SchemaObjectsDeleteParams) SetContext

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

SetContext adds the context to the schema objects delete params

func (*SchemaObjectsDeleteParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsDeleteParams) SetDefaults()

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

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

func (*SchemaObjectsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects delete params

func (*SchemaObjectsDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects delete params

func (*SchemaObjectsDeleteParams) WithClassName

func (o *SchemaObjectsDeleteParams) WithClassName(className string) *SchemaObjectsDeleteParams

WithClassName adds the className to the schema objects delete params

func (*SchemaObjectsDeleteParams) WithContext

WithContext adds the context to the schema objects delete params

func (*SchemaObjectsDeleteParams) WithDefaults added in v1.18.0

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

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

func (*SchemaObjectsDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema objects delete params

func (*SchemaObjectsDeleteParams) WithTimeout

WithTimeout adds the timeout to the schema objects delete params

func (*SchemaObjectsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsDeleteReader

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

SchemaObjectsDeleteReader is a Reader for the SchemaObjectsDelete structure.

func (*SchemaObjectsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsDeleteUnauthorized

type SchemaObjectsDeleteUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsDeleteUnauthorized

func NewSchemaObjectsDeleteUnauthorized() *SchemaObjectsDeleteUnauthorized

NewSchemaObjectsDeleteUnauthorized creates a SchemaObjectsDeleteUnauthorized with default headers values

func (*SchemaObjectsDeleteUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects delete unauthorized response

func (*SchemaObjectsDeleteUnauthorized) Error

func (*SchemaObjectsDeleteUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects delete unauthorized response has a 4xx status code

func (*SchemaObjectsDeleteUnauthorized) IsCode added in v1.18.0

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

IsCode returns true when this schema objects delete unauthorized response a status code equal to that given

func (*SchemaObjectsDeleteUnauthorized) IsRedirect added in v1.18.0

func (o *SchemaObjectsDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this schema objects delete unauthorized response has a 3xx status code

func (*SchemaObjectsDeleteUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects delete unauthorized response has a 5xx status code

func (*SchemaObjectsDeleteUnauthorized) IsSuccess added in v1.18.0

func (o *SchemaObjectsDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this schema objects delete unauthorized response has a 2xx status code

func (*SchemaObjectsDeleteUnauthorized) String added in v1.18.0

type SchemaObjectsGetForbidden

type SchemaObjectsGetForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsGetForbidden

func NewSchemaObjectsGetForbidden() *SchemaObjectsGetForbidden

NewSchemaObjectsGetForbidden creates a SchemaObjectsGetForbidden with default headers values

func (*SchemaObjectsGetForbidden) Code added in v1.18.0

func (o *SchemaObjectsGetForbidden) Code() int

Code gets the status code for the schema objects get forbidden response

func (*SchemaObjectsGetForbidden) Error

func (o *SchemaObjectsGetForbidden) Error() string

func (*SchemaObjectsGetForbidden) GetPayload

func (*SchemaObjectsGetForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsGetForbidden) IsClientError() bool

IsClientError returns true when this schema objects get forbidden response has a 4xx status code

func (*SchemaObjectsGetForbidden) IsCode added in v1.18.0

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

IsCode returns true when this schema objects get forbidden response a status code equal to that given

func (*SchemaObjectsGetForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsGetForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects get forbidden response has a 3xx status code

func (*SchemaObjectsGetForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsGetForbidden) IsServerError() bool

IsServerError returns true when this schema objects get forbidden response has a 5xx status code

func (*SchemaObjectsGetForbidden) IsSuccess added in v1.18.0

func (o *SchemaObjectsGetForbidden) IsSuccess() bool

IsSuccess returns true when this schema objects get forbidden response has a 2xx status code

func (*SchemaObjectsGetForbidden) String added in v1.18.0

func (o *SchemaObjectsGetForbidden) String() string

type SchemaObjectsGetInternalServerError

type SchemaObjectsGetInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsGetInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsGetInternalServerError

func NewSchemaObjectsGetInternalServerError() *SchemaObjectsGetInternalServerError

NewSchemaObjectsGetInternalServerError creates a SchemaObjectsGetInternalServerError with default headers values

func (*SchemaObjectsGetInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects get internal server error response

func (*SchemaObjectsGetInternalServerError) Error

func (*SchemaObjectsGetInternalServerError) GetPayload

func (*SchemaObjectsGetInternalServerError) IsClientError added in v1.18.0

func (o *SchemaObjectsGetInternalServerError) IsClientError() bool

IsClientError returns true when this schema objects get internal server error response has a 4xx status code

func (*SchemaObjectsGetInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects get internal server error response a status code equal to that given

func (*SchemaObjectsGetInternalServerError) IsRedirect added in v1.18.0

func (o *SchemaObjectsGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this schema objects get internal server error response has a 3xx status code

func (*SchemaObjectsGetInternalServerError) IsServerError added in v1.18.0

func (o *SchemaObjectsGetInternalServerError) IsServerError() bool

IsServerError returns true when this schema objects get internal server error response has a 5xx status code

func (*SchemaObjectsGetInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects get internal server error response has a 2xx status code

func (*SchemaObjectsGetInternalServerError) String added in v1.18.0

type SchemaObjectsGetNotFound

type SchemaObjectsGetNotFound struct {
}

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

This class does not exist

func NewSchemaObjectsGetNotFound

func NewSchemaObjectsGetNotFound() *SchemaObjectsGetNotFound

NewSchemaObjectsGetNotFound creates a SchemaObjectsGetNotFound with default headers values

func (*SchemaObjectsGetNotFound) Code added in v1.18.0

func (o *SchemaObjectsGetNotFound) Code() int

Code gets the status code for the schema objects get not found response

func (*SchemaObjectsGetNotFound) Error

func (o *SchemaObjectsGetNotFound) Error() string

func (*SchemaObjectsGetNotFound) IsClientError added in v1.18.0

func (o *SchemaObjectsGetNotFound) IsClientError() bool

IsClientError returns true when this schema objects get not found response has a 4xx status code

func (*SchemaObjectsGetNotFound) IsCode added in v1.18.0

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

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

func (*SchemaObjectsGetNotFound) IsRedirect added in v1.18.0

func (o *SchemaObjectsGetNotFound) IsRedirect() bool

IsRedirect returns true when this schema objects get not found response has a 3xx status code

func (*SchemaObjectsGetNotFound) IsServerError added in v1.18.0

func (o *SchemaObjectsGetNotFound) IsServerError() bool

IsServerError returns true when this schema objects get not found response has a 5xx status code

func (*SchemaObjectsGetNotFound) IsSuccess added in v1.18.0

func (o *SchemaObjectsGetNotFound) IsSuccess() bool

IsSuccess returns true when this schema objects get not found response has a 2xx status code

func (*SchemaObjectsGetNotFound) String added in v1.18.0

func (o *SchemaObjectsGetNotFound) String() string

type SchemaObjectsGetOK

type SchemaObjectsGetOK struct {
	Payload *models.Class
}

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

Found the Class, returned as body

func NewSchemaObjectsGetOK

func NewSchemaObjectsGetOK() *SchemaObjectsGetOK

NewSchemaObjectsGetOK creates a SchemaObjectsGetOK with default headers values

func (*SchemaObjectsGetOK) Code added in v1.18.0

func (o *SchemaObjectsGetOK) Code() int

Code gets the status code for the schema objects get o k response

func (*SchemaObjectsGetOK) Error

func (o *SchemaObjectsGetOK) Error() string

func (*SchemaObjectsGetOK) GetPayload

func (o *SchemaObjectsGetOK) GetPayload() *models.Class

func (*SchemaObjectsGetOK) IsClientError added in v1.18.0

func (o *SchemaObjectsGetOK) IsClientError() bool

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

func (*SchemaObjectsGetOK) IsCode added in v1.18.0

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

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

func (*SchemaObjectsGetOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsGetOK) IsRedirect() bool

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

func (*SchemaObjectsGetOK) IsServerError added in v1.18.0

func (o *SchemaObjectsGetOK) IsServerError() bool

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

func (*SchemaObjectsGetOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsGetOK) IsSuccess() bool

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

func (*SchemaObjectsGetOK) String added in v1.18.0

func (o *SchemaObjectsGetOK) String() string

type SchemaObjectsGetParams

type SchemaObjectsGetParams struct {

	// ClassName.
	ClassName string

	/* Consistency.

	   If consistency is true, the request will be proxied to the leader to ensure strong schema consistency

	   Default: true
	*/
	Consistency *bool

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

SchemaObjectsGetParams contains all the parameters to send to the API endpoint

for the schema objects get operation.

Typically these are written to a http.Request.

func NewSchemaObjectsGetParams

func NewSchemaObjectsGetParams() *SchemaObjectsGetParams

NewSchemaObjectsGetParams creates a new SchemaObjectsGetParams 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 NewSchemaObjectsGetParamsWithContext

func NewSchemaObjectsGetParamsWithContext(ctx context.Context) *SchemaObjectsGetParams

NewSchemaObjectsGetParamsWithContext creates a new SchemaObjectsGetParams object with the ability to set a context for a request.

func NewSchemaObjectsGetParamsWithHTTPClient

func NewSchemaObjectsGetParamsWithHTTPClient(client *http.Client) *SchemaObjectsGetParams

NewSchemaObjectsGetParamsWithHTTPClient creates a new SchemaObjectsGetParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsGetParamsWithTimeout

func NewSchemaObjectsGetParamsWithTimeout(timeout time.Duration) *SchemaObjectsGetParams

NewSchemaObjectsGetParamsWithTimeout creates a new SchemaObjectsGetParams object with the ability to set a timeout on a request.

func (*SchemaObjectsGetParams) SetClassName

func (o *SchemaObjectsGetParams) SetClassName(className string)

SetClassName adds the className to the schema objects get params

func (*SchemaObjectsGetParams) SetConsistency added in v1.25.0

func (o *SchemaObjectsGetParams) SetConsistency(consistency *bool)

SetConsistency adds the consistency to the schema objects get params

func (*SchemaObjectsGetParams) SetContext

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

SetContext adds the context to the schema objects get params

func (*SchemaObjectsGetParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsGetParams) SetDefaults()

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

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

func (*SchemaObjectsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects get params

func (*SchemaObjectsGetParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects get params

func (*SchemaObjectsGetParams) WithClassName

func (o *SchemaObjectsGetParams) WithClassName(className string) *SchemaObjectsGetParams

WithClassName adds the className to the schema objects get params

func (*SchemaObjectsGetParams) WithConsistency added in v1.25.0

func (o *SchemaObjectsGetParams) WithConsistency(consistency *bool) *SchemaObjectsGetParams

WithConsistency adds the consistency to the schema objects get params

func (*SchemaObjectsGetParams) WithContext

WithContext adds the context to the schema objects get params

func (*SchemaObjectsGetParams) WithDefaults added in v1.18.0

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

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

func (*SchemaObjectsGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema objects get params

func (*SchemaObjectsGetParams) WithTimeout

WithTimeout adds the timeout to the schema objects get params

func (*SchemaObjectsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsGetReader

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

SchemaObjectsGetReader is a Reader for the SchemaObjectsGet structure.

func (*SchemaObjectsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsGetUnauthorized

type SchemaObjectsGetUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsGetUnauthorized

func NewSchemaObjectsGetUnauthorized() *SchemaObjectsGetUnauthorized

NewSchemaObjectsGetUnauthorized creates a SchemaObjectsGetUnauthorized with default headers values

func (*SchemaObjectsGetUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects get unauthorized response

func (*SchemaObjectsGetUnauthorized) Error

func (*SchemaObjectsGetUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsGetUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects get unauthorized response has a 4xx status code

func (*SchemaObjectsGetUnauthorized) IsCode added in v1.18.0

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

IsCode returns true when this schema objects get unauthorized response a status code equal to that given

func (*SchemaObjectsGetUnauthorized) IsRedirect added in v1.18.0

func (o *SchemaObjectsGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this schema objects get unauthorized response has a 3xx status code

func (*SchemaObjectsGetUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsGetUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects get unauthorized response has a 5xx status code

func (*SchemaObjectsGetUnauthorized) IsSuccess added in v1.18.0

func (o *SchemaObjectsGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this schema objects get unauthorized response has a 2xx status code

func (*SchemaObjectsGetUnauthorized) String added in v1.18.0

type SchemaObjectsPropertiesAddForbidden

type SchemaObjectsPropertiesAddForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsPropertiesAddForbidden

func NewSchemaObjectsPropertiesAddForbidden() *SchemaObjectsPropertiesAddForbidden

NewSchemaObjectsPropertiesAddForbidden creates a SchemaObjectsPropertiesAddForbidden with default headers values

func (*SchemaObjectsPropertiesAddForbidden) Code added in v1.18.0

Code gets the status code for the schema objects properties add forbidden response

func (*SchemaObjectsPropertiesAddForbidden) Error

func (*SchemaObjectsPropertiesAddForbidden) GetPayload

func (*SchemaObjectsPropertiesAddForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsPropertiesAddForbidden) IsClientError() bool

IsClientError returns true when this schema objects properties add forbidden response has a 4xx status code

func (*SchemaObjectsPropertiesAddForbidden) IsCode added in v1.18.0

IsCode returns true when this schema objects properties add forbidden response a status code equal to that given

func (*SchemaObjectsPropertiesAddForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsPropertiesAddForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects properties add forbidden response has a 3xx status code

func (*SchemaObjectsPropertiesAddForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsPropertiesAddForbidden) IsServerError() bool

IsServerError returns true when this schema objects properties add forbidden response has a 5xx status code

func (*SchemaObjectsPropertiesAddForbidden) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects properties add forbidden response has a 2xx status code

func (*SchemaObjectsPropertiesAddForbidden) String added in v1.18.0

type SchemaObjectsPropertiesAddInternalServerError

type SchemaObjectsPropertiesAddInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsPropertiesAddInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsPropertiesAddInternalServerError

func NewSchemaObjectsPropertiesAddInternalServerError() *SchemaObjectsPropertiesAddInternalServerError

NewSchemaObjectsPropertiesAddInternalServerError creates a SchemaObjectsPropertiesAddInternalServerError with default headers values

func (*SchemaObjectsPropertiesAddInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects properties add internal server error response

func (*SchemaObjectsPropertiesAddInternalServerError) Error

func (*SchemaObjectsPropertiesAddInternalServerError) GetPayload

func (*SchemaObjectsPropertiesAddInternalServerError) IsClientError added in v1.18.0

IsClientError returns true when this schema objects properties add internal server error response has a 4xx status code

func (*SchemaObjectsPropertiesAddInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects properties add internal server error response a status code equal to that given

func (*SchemaObjectsPropertiesAddInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects properties add internal server error response has a 3xx status code

func (*SchemaObjectsPropertiesAddInternalServerError) IsServerError added in v1.18.0

IsServerError returns true when this schema objects properties add internal server error response has a 5xx status code

func (*SchemaObjectsPropertiesAddInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects properties add internal server error response has a 2xx status code

func (*SchemaObjectsPropertiesAddInternalServerError) String added in v1.18.0

type SchemaObjectsPropertiesAddOK

type SchemaObjectsPropertiesAddOK struct {
	Payload *models.Property
}

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

Added the property.

func NewSchemaObjectsPropertiesAddOK

func NewSchemaObjectsPropertiesAddOK() *SchemaObjectsPropertiesAddOK

NewSchemaObjectsPropertiesAddOK creates a SchemaObjectsPropertiesAddOK with default headers values

func (*SchemaObjectsPropertiesAddOK) Code added in v1.18.0

Code gets the status code for the schema objects properties add o k response

func (*SchemaObjectsPropertiesAddOK) Error

func (*SchemaObjectsPropertiesAddOK) GetPayload

func (o *SchemaObjectsPropertiesAddOK) GetPayload() *models.Property

func (*SchemaObjectsPropertiesAddOK) IsClientError added in v1.18.0

func (o *SchemaObjectsPropertiesAddOK) IsClientError() bool

IsClientError returns true when this schema objects properties add o k response has a 4xx status code

func (*SchemaObjectsPropertiesAddOK) IsCode added in v1.18.0

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

IsCode returns true when this schema objects properties add o k response a status code equal to that given

func (*SchemaObjectsPropertiesAddOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsPropertiesAddOK) IsRedirect() bool

IsRedirect returns true when this schema objects properties add o k response has a 3xx status code

func (*SchemaObjectsPropertiesAddOK) IsServerError added in v1.18.0

func (o *SchemaObjectsPropertiesAddOK) IsServerError() bool

IsServerError returns true when this schema objects properties add o k response has a 5xx status code

func (*SchemaObjectsPropertiesAddOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsPropertiesAddOK) IsSuccess() bool

IsSuccess returns true when this schema objects properties add o k response has a 2xx status code

func (*SchemaObjectsPropertiesAddOK) String added in v1.18.0

type SchemaObjectsPropertiesAddParams

type SchemaObjectsPropertiesAddParams struct {

	// Body.
	Body *models.Property

	// ClassName.
	ClassName string

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

SchemaObjectsPropertiesAddParams contains all the parameters to send to the API endpoint

for the schema objects properties add operation.

Typically these are written to a http.Request.

func NewSchemaObjectsPropertiesAddParams

func NewSchemaObjectsPropertiesAddParams() *SchemaObjectsPropertiesAddParams

NewSchemaObjectsPropertiesAddParams creates a new SchemaObjectsPropertiesAddParams 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 NewSchemaObjectsPropertiesAddParamsWithContext

func NewSchemaObjectsPropertiesAddParamsWithContext(ctx context.Context) *SchemaObjectsPropertiesAddParams

NewSchemaObjectsPropertiesAddParamsWithContext creates a new SchemaObjectsPropertiesAddParams object with the ability to set a context for a request.

func NewSchemaObjectsPropertiesAddParamsWithHTTPClient

func NewSchemaObjectsPropertiesAddParamsWithHTTPClient(client *http.Client) *SchemaObjectsPropertiesAddParams

NewSchemaObjectsPropertiesAddParamsWithHTTPClient creates a new SchemaObjectsPropertiesAddParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsPropertiesAddParamsWithTimeout

func NewSchemaObjectsPropertiesAddParamsWithTimeout(timeout time.Duration) *SchemaObjectsPropertiesAddParams

NewSchemaObjectsPropertiesAddParamsWithTimeout creates a new SchemaObjectsPropertiesAddParams object with the ability to set a timeout on a request.

func (*SchemaObjectsPropertiesAddParams) SetBody

SetBody adds the body to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) SetClassName

func (o *SchemaObjectsPropertiesAddParams) SetClassName(className string)

SetClassName adds the className to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) SetContext

SetContext adds the context to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsPropertiesAddParams) SetDefaults()

SetDefaults hydrates default values in the schema objects properties add params (not the query body).

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

func (*SchemaObjectsPropertiesAddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) WithBody

WithBody adds the body to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) WithClassName

WithClassName adds the className to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) WithContext

WithContext adds the context to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) WithDefaults added in v1.18.0

WithDefaults hydrates default values in the schema objects properties add params (not the query body).

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

func (*SchemaObjectsPropertiesAddParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) WithTimeout

WithTimeout adds the timeout to the schema objects properties add params

func (*SchemaObjectsPropertiesAddParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsPropertiesAddReader

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

SchemaObjectsPropertiesAddReader is a Reader for the SchemaObjectsPropertiesAdd structure.

func (*SchemaObjectsPropertiesAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsPropertiesAddUnauthorized

type SchemaObjectsPropertiesAddUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsPropertiesAddUnauthorized

func NewSchemaObjectsPropertiesAddUnauthorized() *SchemaObjectsPropertiesAddUnauthorized

NewSchemaObjectsPropertiesAddUnauthorized creates a SchemaObjectsPropertiesAddUnauthorized with default headers values

func (*SchemaObjectsPropertiesAddUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects properties add unauthorized response

func (*SchemaObjectsPropertiesAddUnauthorized) Error

func (*SchemaObjectsPropertiesAddUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsPropertiesAddUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects properties add unauthorized response has a 4xx status code

func (*SchemaObjectsPropertiesAddUnauthorized) IsCode added in v1.18.0

IsCode returns true when this schema objects properties add unauthorized response a status code equal to that given

func (*SchemaObjectsPropertiesAddUnauthorized) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects properties add unauthorized response has a 3xx status code

func (*SchemaObjectsPropertiesAddUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsPropertiesAddUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects properties add unauthorized response has a 5xx status code

func (*SchemaObjectsPropertiesAddUnauthorized) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects properties add unauthorized response has a 2xx status code

func (*SchemaObjectsPropertiesAddUnauthorized) String added in v1.18.0

type SchemaObjectsPropertiesAddUnprocessableEntity

type SchemaObjectsPropertiesAddUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid property.

func NewSchemaObjectsPropertiesAddUnprocessableEntity

func NewSchemaObjectsPropertiesAddUnprocessableEntity() *SchemaObjectsPropertiesAddUnprocessableEntity

NewSchemaObjectsPropertiesAddUnprocessableEntity creates a SchemaObjectsPropertiesAddUnprocessableEntity with default headers values

func (*SchemaObjectsPropertiesAddUnprocessableEntity) Code added in v1.18.0

Code gets the status code for the schema objects properties add unprocessable entity response

func (*SchemaObjectsPropertiesAddUnprocessableEntity) Error

func (*SchemaObjectsPropertiesAddUnprocessableEntity) GetPayload

func (*SchemaObjectsPropertiesAddUnprocessableEntity) IsClientError added in v1.18.0

IsClientError returns true when this schema objects properties add unprocessable entity response has a 4xx status code

func (*SchemaObjectsPropertiesAddUnprocessableEntity) IsCode added in v1.18.0

IsCode returns true when this schema objects properties add unprocessable entity response a status code equal to that given

func (*SchemaObjectsPropertiesAddUnprocessableEntity) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects properties add unprocessable entity response has a 3xx status code

func (*SchemaObjectsPropertiesAddUnprocessableEntity) IsServerError added in v1.18.0

IsServerError returns true when this schema objects properties add unprocessable entity response has a 5xx status code

func (*SchemaObjectsPropertiesAddUnprocessableEntity) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects properties add unprocessable entity response has a 2xx status code

func (*SchemaObjectsPropertiesAddUnprocessableEntity) String added in v1.18.0

type SchemaObjectsShardsGetForbidden

type SchemaObjectsShardsGetForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsShardsGetForbidden

func NewSchemaObjectsShardsGetForbidden() *SchemaObjectsShardsGetForbidden

NewSchemaObjectsShardsGetForbidden creates a SchemaObjectsShardsGetForbidden with default headers values

func (*SchemaObjectsShardsGetForbidden) Code added in v1.18.0

Code gets the status code for the schema objects shards get forbidden response

func (*SchemaObjectsShardsGetForbidden) Error

func (*SchemaObjectsShardsGetForbidden) GetPayload

func (*SchemaObjectsShardsGetForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsGetForbidden) IsClientError() bool

IsClientError returns true when this schema objects shards get forbidden response has a 4xx status code

func (*SchemaObjectsShardsGetForbidden) IsCode added in v1.18.0

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

IsCode returns true when this schema objects shards get forbidden response a status code equal to that given

func (*SchemaObjectsShardsGetForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsGetForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects shards get forbidden response has a 3xx status code

func (*SchemaObjectsShardsGetForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsGetForbidden) IsServerError() bool

IsServerError returns true when this schema objects shards get forbidden response has a 5xx status code

func (*SchemaObjectsShardsGetForbidden) IsSuccess added in v1.18.0

func (o *SchemaObjectsShardsGetForbidden) IsSuccess() bool

IsSuccess returns true when this schema objects shards get forbidden response has a 2xx status code

func (*SchemaObjectsShardsGetForbidden) String added in v1.18.0

type SchemaObjectsShardsGetInternalServerError

type SchemaObjectsShardsGetInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsGetInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsShardsGetInternalServerError

func NewSchemaObjectsShardsGetInternalServerError() *SchemaObjectsShardsGetInternalServerError

NewSchemaObjectsShardsGetInternalServerError creates a SchemaObjectsShardsGetInternalServerError with default headers values

func (*SchemaObjectsShardsGetInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects shards get internal server error response

func (*SchemaObjectsShardsGetInternalServerError) Error

func (*SchemaObjectsShardsGetInternalServerError) GetPayload

func (*SchemaObjectsShardsGetInternalServerError) IsClientError added in v1.18.0

IsClientError returns true when this schema objects shards get internal server error response has a 4xx status code

func (*SchemaObjectsShardsGetInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects shards get internal server error response a status code equal to that given

func (*SchemaObjectsShardsGetInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects shards get internal server error response has a 3xx status code

func (*SchemaObjectsShardsGetInternalServerError) IsServerError added in v1.18.0

IsServerError returns true when this schema objects shards get internal server error response has a 5xx status code

func (*SchemaObjectsShardsGetInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects shards get internal server error response has a 2xx status code

func (*SchemaObjectsShardsGetInternalServerError) String added in v1.18.0

type SchemaObjectsShardsGetNotFound

type SchemaObjectsShardsGetNotFound struct {
	Payload *models.ErrorResponse
}

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

This class does not exist

func NewSchemaObjectsShardsGetNotFound

func NewSchemaObjectsShardsGetNotFound() *SchemaObjectsShardsGetNotFound

NewSchemaObjectsShardsGetNotFound creates a SchemaObjectsShardsGetNotFound with default headers values

func (*SchemaObjectsShardsGetNotFound) Code added in v1.18.0

Code gets the status code for the schema objects shards get not found response

func (*SchemaObjectsShardsGetNotFound) Error

func (*SchemaObjectsShardsGetNotFound) GetPayload

func (*SchemaObjectsShardsGetNotFound) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsGetNotFound) IsClientError() bool

IsClientError returns true when this schema objects shards get not found response has a 4xx status code

func (*SchemaObjectsShardsGetNotFound) IsCode added in v1.18.0

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

IsCode returns true when this schema objects shards get not found response a status code equal to that given

func (*SchemaObjectsShardsGetNotFound) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsGetNotFound) IsRedirect() bool

IsRedirect returns true when this schema objects shards get not found response has a 3xx status code

func (*SchemaObjectsShardsGetNotFound) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsGetNotFound) IsServerError() bool

IsServerError returns true when this schema objects shards get not found response has a 5xx status code

func (*SchemaObjectsShardsGetNotFound) IsSuccess added in v1.18.0

func (o *SchemaObjectsShardsGetNotFound) IsSuccess() bool

IsSuccess returns true when this schema objects shards get not found response has a 2xx status code

func (*SchemaObjectsShardsGetNotFound) String added in v1.18.0

type SchemaObjectsShardsGetOK

type SchemaObjectsShardsGetOK struct {
	Payload models.ShardStatusList
}

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

Found the status of the shards, returned as body

func NewSchemaObjectsShardsGetOK

func NewSchemaObjectsShardsGetOK() *SchemaObjectsShardsGetOK

NewSchemaObjectsShardsGetOK creates a SchemaObjectsShardsGetOK with default headers values

func (*SchemaObjectsShardsGetOK) Code added in v1.18.0

func (o *SchemaObjectsShardsGetOK) Code() int

Code gets the status code for the schema objects shards get o k response

func (*SchemaObjectsShardsGetOK) Error

func (o *SchemaObjectsShardsGetOK) Error() string

func (*SchemaObjectsShardsGetOK) GetPayload

func (*SchemaObjectsShardsGetOK) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsGetOK) IsClientError() bool

IsClientError returns true when this schema objects shards get o k response has a 4xx status code

func (*SchemaObjectsShardsGetOK) IsCode added in v1.18.0

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

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

func (*SchemaObjectsShardsGetOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsGetOK) IsRedirect() bool

IsRedirect returns true when this schema objects shards get o k response has a 3xx status code

func (*SchemaObjectsShardsGetOK) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsGetOK) IsServerError() bool

IsServerError returns true when this schema objects shards get o k response has a 5xx status code

func (*SchemaObjectsShardsGetOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsShardsGetOK) IsSuccess() bool

IsSuccess returns true when this schema objects shards get o k response has a 2xx status code

func (*SchemaObjectsShardsGetOK) String added in v1.18.0

func (o *SchemaObjectsShardsGetOK) String() string

type SchemaObjectsShardsGetParams

type SchemaObjectsShardsGetParams struct {

	// ClassName.
	ClassName string

	// Tenant.
	Tenant *string

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

SchemaObjectsShardsGetParams contains all the parameters to send to the API endpoint

for the schema objects shards get operation.

Typically these are written to a http.Request.

func NewSchemaObjectsShardsGetParams

func NewSchemaObjectsShardsGetParams() *SchemaObjectsShardsGetParams

NewSchemaObjectsShardsGetParams creates a new SchemaObjectsShardsGetParams 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 NewSchemaObjectsShardsGetParamsWithContext

func NewSchemaObjectsShardsGetParamsWithContext(ctx context.Context) *SchemaObjectsShardsGetParams

NewSchemaObjectsShardsGetParamsWithContext creates a new SchemaObjectsShardsGetParams object with the ability to set a context for a request.

func NewSchemaObjectsShardsGetParamsWithHTTPClient

func NewSchemaObjectsShardsGetParamsWithHTTPClient(client *http.Client) *SchemaObjectsShardsGetParams

NewSchemaObjectsShardsGetParamsWithHTTPClient creates a new SchemaObjectsShardsGetParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsShardsGetParamsWithTimeout

func NewSchemaObjectsShardsGetParamsWithTimeout(timeout time.Duration) *SchemaObjectsShardsGetParams

NewSchemaObjectsShardsGetParamsWithTimeout creates a new SchemaObjectsShardsGetParams object with the ability to set a timeout on a request.

func (*SchemaObjectsShardsGetParams) SetClassName

func (o *SchemaObjectsShardsGetParams) SetClassName(className string)

SetClassName adds the className to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) SetContext

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

SetContext adds the context to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsShardsGetParams) SetDefaults()

SetDefaults hydrates default values in the schema objects shards get params (not the query body).

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

func (*SchemaObjectsShardsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) SetTenant added in v1.22.0

func (o *SchemaObjectsShardsGetParams) SetTenant(tenant *string)

SetTenant adds the tenant to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) WithClassName

WithClassName adds the className to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) WithContext

WithContext adds the context to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) WithDefaults added in v1.18.0

WithDefaults hydrates default values in the schema objects shards get params (not the query body).

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

func (*SchemaObjectsShardsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) WithTenant added in v1.22.0

WithTenant adds the tenant to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) WithTimeout

WithTimeout adds the timeout to the schema objects shards get params

func (*SchemaObjectsShardsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsShardsGetReader

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

SchemaObjectsShardsGetReader is a Reader for the SchemaObjectsShardsGet structure.

func (*SchemaObjectsShardsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsShardsGetUnauthorized

type SchemaObjectsShardsGetUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsShardsGetUnauthorized

func NewSchemaObjectsShardsGetUnauthorized() *SchemaObjectsShardsGetUnauthorized

NewSchemaObjectsShardsGetUnauthorized creates a SchemaObjectsShardsGetUnauthorized with default headers values

func (*SchemaObjectsShardsGetUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects shards get unauthorized response

func (*SchemaObjectsShardsGetUnauthorized) Error

func (*SchemaObjectsShardsGetUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsGetUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects shards get unauthorized response has a 4xx status code

func (*SchemaObjectsShardsGetUnauthorized) IsCode added in v1.18.0

IsCode returns true when this schema objects shards get unauthorized response a status code equal to that given

func (*SchemaObjectsShardsGetUnauthorized) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this schema objects shards get unauthorized response has a 3xx status code

func (*SchemaObjectsShardsGetUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsGetUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects shards get unauthorized response has a 5xx status code

func (*SchemaObjectsShardsGetUnauthorized) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects shards get unauthorized response has a 2xx status code

func (*SchemaObjectsShardsGetUnauthorized) String added in v1.18.0

type SchemaObjectsShardsUpdateForbidden

type SchemaObjectsShardsUpdateForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsShardsUpdateForbidden

func NewSchemaObjectsShardsUpdateForbidden() *SchemaObjectsShardsUpdateForbidden

NewSchemaObjectsShardsUpdateForbidden creates a SchemaObjectsShardsUpdateForbidden with default headers values

func (*SchemaObjectsShardsUpdateForbidden) Code added in v1.18.0

Code gets the status code for the schema objects shards update forbidden response

func (*SchemaObjectsShardsUpdateForbidden) Error

func (*SchemaObjectsShardsUpdateForbidden) GetPayload

func (*SchemaObjectsShardsUpdateForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsUpdateForbidden) IsClientError() bool

IsClientError returns true when this schema objects shards update forbidden response has a 4xx status code

func (*SchemaObjectsShardsUpdateForbidden) IsCode added in v1.18.0

IsCode returns true when this schema objects shards update forbidden response a status code equal to that given

func (*SchemaObjectsShardsUpdateForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects shards update forbidden response has a 3xx status code

func (*SchemaObjectsShardsUpdateForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsUpdateForbidden) IsServerError() bool

IsServerError returns true when this schema objects shards update forbidden response has a 5xx status code

func (*SchemaObjectsShardsUpdateForbidden) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects shards update forbidden response has a 2xx status code

func (*SchemaObjectsShardsUpdateForbidden) String added in v1.18.0

type SchemaObjectsShardsUpdateInternalServerError

type SchemaObjectsShardsUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsUpdateInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsShardsUpdateInternalServerError

func NewSchemaObjectsShardsUpdateInternalServerError() *SchemaObjectsShardsUpdateInternalServerError

NewSchemaObjectsShardsUpdateInternalServerError creates a SchemaObjectsShardsUpdateInternalServerError with default headers values

func (*SchemaObjectsShardsUpdateInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects shards update internal server error response

func (*SchemaObjectsShardsUpdateInternalServerError) Error

func (*SchemaObjectsShardsUpdateInternalServerError) GetPayload

func (*SchemaObjectsShardsUpdateInternalServerError) IsClientError added in v1.18.0

IsClientError returns true when this schema objects shards update internal server error response has a 4xx status code

func (*SchemaObjectsShardsUpdateInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects shards update internal server error response a status code equal to that given

func (*SchemaObjectsShardsUpdateInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects shards update internal server error response has a 3xx status code

func (*SchemaObjectsShardsUpdateInternalServerError) IsServerError added in v1.18.0

IsServerError returns true when this schema objects shards update internal server error response has a 5xx status code

func (*SchemaObjectsShardsUpdateInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects shards update internal server error response has a 2xx status code

func (*SchemaObjectsShardsUpdateInternalServerError) String added in v1.18.0

type SchemaObjectsShardsUpdateNotFound

type SchemaObjectsShardsUpdateNotFound struct {
	Payload *models.ErrorResponse
}

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

Shard to be updated does not exist

func NewSchemaObjectsShardsUpdateNotFound

func NewSchemaObjectsShardsUpdateNotFound() *SchemaObjectsShardsUpdateNotFound

NewSchemaObjectsShardsUpdateNotFound creates a SchemaObjectsShardsUpdateNotFound with default headers values

func (*SchemaObjectsShardsUpdateNotFound) Code added in v1.18.0

Code gets the status code for the schema objects shards update not found response

func (*SchemaObjectsShardsUpdateNotFound) Error

func (*SchemaObjectsShardsUpdateNotFound) GetPayload

func (*SchemaObjectsShardsUpdateNotFound) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsUpdateNotFound) IsClientError() bool

IsClientError returns true when this schema objects shards update not found response has a 4xx status code

func (*SchemaObjectsShardsUpdateNotFound) IsCode added in v1.18.0

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

IsCode returns true when this schema objects shards update not found response a status code equal to that given

func (*SchemaObjectsShardsUpdateNotFound) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this schema objects shards update not found response has a 3xx status code

func (*SchemaObjectsShardsUpdateNotFound) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsUpdateNotFound) IsServerError() bool

IsServerError returns true when this schema objects shards update not found response has a 5xx status code

func (*SchemaObjectsShardsUpdateNotFound) IsSuccess added in v1.18.0

func (o *SchemaObjectsShardsUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this schema objects shards update not found response has a 2xx status code

func (*SchemaObjectsShardsUpdateNotFound) String added in v1.18.0

type SchemaObjectsShardsUpdateOK

type SchemaObjectsShardsUpdateOK struct {
	Payload *models.ShardStatus
}

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

Shard status was updated successfully

func NewSchemaObjectsShardsUpdateOK

func NewSchemaObjectsShardsUpdateOK() *SchemaObjectsShardsUpdateOK

NewSchemaObjectsShardsUpdateOK creates a SchemaObjectsShardsUpdateOK with default headers values

func (*SchemaObjectsShardsUpdateOK) Code added in v1.18.0

func (o *SchemaObjectsShardsUpdateOK) Code() int

Code gets the status code for the schema objects shards update o k response

func (*SchemaObjectsShardsUpdateOK) Error

func (*SchemaObjectsShardsUpdateOK) GetPayload

func (*SchemaObjectsShardsUpdateOK) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsUpdateOK) IsClientError() bool

IsClientError returns true when this schema objects shards update o k response has a 4xx status code

func (*SchemaObjectsShardsUpdateOK) IsCode added in v1.18.0

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

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

func (*SchemaObjectsShardsUpdateOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsShardsUpdateOK) IsRedirect() bool

IsRedirect returns true when this schema objects shards update o k response has a 3xx status code

func (*SchemaObjectsShardsUpdateOK) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsUpdateOK) IsServerError() bool

IsServerError returns true when this schema objects shards update o k response has a 5xx status code

func (*SchemaObjectsShardsUpdateOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsShardsUpdateOK) IsSuccess() bool

IsSuccess returns true when this schema objects shards update o k response has a 2xx status code

func (*SchemaObjectsShardsUpdateOK) String added in v1.18.0

func (o *SchemaObjectsShardsUpdateOK) String() string

type SchemaObjectsShardsUpdateParams

type SchemaObjectsShardsUpdateParams struct {

	// Body.
	Body *models.ShardStatus

	// ClassName.
	ClassName string

	// ShardName.
	ShardName string

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

SchemaObjectsShardsUpdateParams contains all the parameters to send to the API endpoint

for the schema objects shards update operation.

Typically these are written to a http.Request.

func NewSchemaObjectsShardsUpdateParams

func NewSchemaObjectsShardsUpdateParams() *SchemaObjectsShardsUpdateParams

NewSchemaObjectsShardsUpdateParams creates a new SchemaObjectsShardsUpdateParams 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 NewSchemaObjectsShardsUpdateParamsWithContext

func NewSchemaObjectsShardsUpdateParamsWithContext(ctx context.Context) *SchemaObjectsShardsUpdateParams

NewSchemaObjectsShardsUpdateParamsWithContext creates a new SchemaObjectsShardsUpdateParams object with the ability to set a context for a request.

func NewSchemaObjectsShardsUpdateParamsWithHTTPClient

func NewSchemaObjectsShardsUpdateParamsWithHTTPClient(client *http.Client) *SchemaObjectsShardsUpdateParams

NewSchemaObjectsShardsUpdateParamsWithHTTPClient creates a new SchemaObjectsShardsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsShardsUpdateParamsWithTimeout

func NewSchemaObjectsShardsUpdateParamsWithTimeout(timeout time.Duration) *SchemaObjectsShardsUpdateParams

NewSchemaObjectsShardsUpdateParamsWithTimeout creates a new SchemaObjectsShardsUpdateParams object with the ability to set a timeout on a request.

func (*SchemaObjectsShardsUpdateParams) SetBody

SetBody adds the body to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) SetClassName

func (o *SchemaObjectsShardsUpdateParams) SetClassName(className string)

SetClassName adds the className to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) SetContext

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

SetContext adds the context to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsShardsUpdateParams) SetDefaults()

SetDefaults hydrates default values in the schema objects shards update params (not the query body).

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

func (*SchemaObjectsShardsUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) SetShardName

func (o *SchemaObjectsShardsUpdateParams) SetShardName(shardName string)

SetShardName adds the shardName to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WithBody

WithBody adds the body to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WithClassName

WithClassName adds the className to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WithContext

WithContext adds the context to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WithDefaults added in v1.18.0

WithDefaults hydrates default values in the schema objects shards update params (not the query body).

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

func (*SchemaObjectsShardsUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WithShardName

WithShardName adds the shardName to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WithTimeout

WithTimeout adds the timeout to the schema objects shards update params

func (*SchemaObjectsShardsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsShardsUpdateReader

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

SchemaObjectsShardsUpdateReader is a Reader for the SchemaObjectsShardsUpdate structure.

func (*SchemaObjectsShardsUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsShardsUpdateUnauthorized

type SchemaObjectsShardsUpdateUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsShardsUpdateUnauthorized

func NewSchemaObjectsShardsUpdateUnauthorized() *SchemaObjectsShardsUpdateUnauthorized

NewSchemaObjectsShardsUpdateUnauthorized creates a SchemaObjectsShardsUpdateUnauthorized with default headers values

func (*SchemaObjectsShardsUpdateUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects shards update unauthorized response

func (*SchemaObjectsShardsUpdateUnauthorized) Error

func (*SchemaObjectsShardsUpdateUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsShardsUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects shards update unauthorized response has a 4xx status code

func (*SchemaObjectsShardsUpdateUnauthorized) IsCode added in v1.18.0

IsCode returns true when this schema objects shards update unauthorized response a status code equal to that given

func (*SchemaObjectsShardsUpdateUnauthorized) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects shards update unauthorized response has a 3xx status code

func (*SchemaObjectsShardsUpdateUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsShardsUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects shards update unauthorized response has a 5xx status code

func (*SchemaObjectsShardsUpdateUnauthorized) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects shards update unauthorized response has a 2xx status code

func (*SchemaObjectsShardsUpdateUnauthorized) String added in v1.18.0

type SchemaObjectsShardsUpdateUnprocessableEntity

type SchemaObjectsShardsUpdateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid update attempt

func NewSchemaObjectsShardsUpdateUnprocessableEntity

func NewSchemaObjectsShardsUpdateUnprocessableEntity() *SchemaObjectsShardsUpdateUnprocessableEntity

NewSchemaObjectsShardsUpdateUnprocessableEntity creates a SchemaObjectsShardsUpdateUnprocessableEntity with default headers values

func (*SchemaObjectsShardsUpdateUnprocessableEntity) Code added in v1.18.0

Code gets the status code for the schema objects shards update unprocessable entity response

func (*SchemaObjectsShardsUpdateUnprocessableEntity) Error

func (*SchemaObjectsShardsUpdateUnprocessableEntity) GetPayload

func (*SchemaObjectsShardsUpdateUnprocessableEntity) IsClientError added in v1.18.0

IsClientError returns true when this schema objects shards update unprocessable entity response has a 4xx status code

func (*SchemaObjectsShardsUpdateUnprocessableEntity) IsCode added in v1.18.0

IsCode returns true when this schema objects shards update unprocessable entity response a status code equal to that given

func (*SchemaObjectsShardsUpdateUnprocessableEntity) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects shards update unprocessable entity response has a 3xx status code

func (*SchemaObjectsShardsUpdateUnprocessableEntity) IsServerError added in v1.18.0

IsServerError returns true when this schema objects shards update unprocessable entity response has a 5xx status code

func (*SchemaObjectsShardsUpdateUnprocessableEntity) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects shards update unprocessable entity response has a 2xx status code

func (*SchemaObjectsShardsUpdateUnprocessableEntity) String added in v1.18.0

type SchemaObjectsUpdateForbidden

type SchemaObjectsUpdateForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewSchemaObjectsUpdateForbidden

func NewSchemaObjectsUpdateForbidden() *SchemaObjectsUpdateForbidden

NewSchemaObjectsUpdateForbidden creates a SchemaObjectsUpdateForbidden with default headers values

func (*SchemaObjectsUpdateForbidden) Code added in v1.18.0

Code gets the status code for the schema objects update forbidden response

func (*SchemaObjectsUpdateForbidden) Error

func (*SchemaObjectsUpdateForbidden) GetPayload

func (*SchemaObjectsUpdateForbidden) IsClientError added in v1.18.0

func (o *SchemaObjectsUpdateForbidden) IsClientError() bool

IsClientError returns true when this schema objects update forbidden response has a 4xx status code

func (*SchemaObjectsUpdateForbidden) IsCode added in v1.18.0

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

IsCode returns true when this schema objects update forbidden response a status code equal to that given

func (*SchemaObjectsUpdateForbidden) IsRedirect added in v1.18.0

func (o *SchemaObjectsUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this schema objects update forbidden response has a 3xx status code

func (*SchemaObjectsUpdateForbidden) IsServerError added in v1.18.0

func (o *SchemaObjectsUpdateForbidden) IsServerError() bool

IsServerError returns true when this schema objects update forbidden response has a 5xx status code

func (*SchemaObjectsUpdateForbidden) IsSuccess added in v1.18.0

func (o *SchemaObjectsUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this schema objects update forbidden response has a 2xx status code

func (*SchemaObjectsUpdateForbidden) String added in v1.18.0

type SchemaObjectsUpdateInternalServerError

type SchemaObjectsUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsUpdateInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewSchemaObjectsUpdateInternalServerError

func NewSchemaObjectsUpdateInternalServerError() *SchemaObjectsUpdateInternalServerError

NewSchemaObjectsUpdateInternalServerError creates a SchemaObjectsUpdateInternalServerError with default headers values

func (*SchemaObjectsUpdateInternalServerError) Code added in v1.18.0

Code gets the status code for the schema objects update internal server error response

func (*SchemaObjectsUpdateInternalServerError) Error

func (*SchemaObjectsUpdateInternalServerError) GetPayload

func (*SchemaObjectsUpdateInternalServerError) IsClientError added in v1.18.0

func (o *SchemaObjectsUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this schema objects update internal server error response has a 4xx status code

func (*SchemaObjectsUpdateInternalServerError) IsCode added in v1.18.0

IsCode returns true when this schema objects update internal server error response a status code equal to that given

func (*SchemaObjectsUpdateInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects update internal server error response has a 3xx status code

func (*SchemaObjectsUpdateInternalServerError) IsServerError added in v1.18.0

func (o *SchemaObjectsUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this schema objects update internal server error response has a 5xx status code

func (*SchemaObjectsUpdateInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects update internal server error response has a 2xx status code

func (*SchemaObjectsUpdateInternalServerError) String added in v1.18.0

type SchemaObjectsUpdateNotFound

type SchemaObjectsUpdateNotFound struct {
	Payload *models.ErrorResponse
}

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

Class to be updated does not exist

func NewSchemaObjectsUpdateNotFound

func NewSchemaObjectsUpdateNotFound() *SchemaObjectsUpdateNotFound

NewSchemaObjectsUpdateNotFound creates a SchemaObjectsUpdateNotFound with default headers values

func (*SchemaObjectsUpdateNotFound) Code added in v1.18.0

func (o *SchemaObjectsUpdateNotFound) Code() int

Code gets the status code for the schema objects update not found response

func (*SchemaObjectsUpdateNotFound) Error

func (*SchemaObjectsUpdateNotFound) GetPayload

func (*SchemaObjectsUpdateNotFound) IsClientError added in v1.18.0

func (o *SchemaObjectsUpdateNotFound) IsClientError() bool

IsClientError returns true when this schema objects update not found response has a 4xx status code

func (*SchemaObjectsUpdateNotFound) IsCode added in v1.18.0

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

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

func (*SchemaObjectsUpdateNotFound) IsRedirect added in v1.18.0

func (o *SchemaObjectsUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this schema objects update not found response has a 3xx status code

func (*SchemaObjectsUpdateNotFound) IsServerError added in v1.18.0

func (o *SchemaObjectsUpdateNotFound) IsServerError() bool

IsServerError returns true when this schema objects update not found response has a 5xx status code

func (*SchemaObjectsUpdateNotFound) IsSuccess added in v1.18.0

func (o *SchemaObjectsUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this schema objects update not found response has a 2xx status code

func (*SchemaObjectsUpdateNotFound) String added in v1.18.0

func (o *SchemaObjectsUpdateNotFound) String() string

type SchemaObjectsUpdateOK

type SchemaObjectsUpdateOK struct {
	Payload *models.Class
}

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

Class was updated successfully

func NewSchemaObjectsUpdateOK

func NewSchemaObjectsUpdateOK() *SchemaObjectsUpdateOK

NewSchemaObjectsUpdateOK creates a SchemaObjectsUpdateOK with default headers values

func (*SchemaObjectsUpdateOK) Code added in v1.18.0

func (o *SchemaObjectsUpdateOK) Code() int

Code gets the status code for the schema objects update o k response

func (*SchemaObjectsUpdateOK) Error

func (o *SchemaObjectsUpdateOK) Error() string

func (*SchemaObjectsUpdateOK) GetPayload

func (o *SchemaObjectsUpdateOK) GetPayload() *models.Class

func (*SchemaObjectsUpdateOK) IsClientError added in v1.18.0

func (o *SchemaObjectsUpdateOK) IsClientError() bool

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

func (*SchemaObjectsUpdateOK) IsCode added in v1.18.0

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

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

func (*SchemaObjectsUpdateOK) IsRedirect added in v1.18.0

func (o *SchemaObjectsUpdateOK) IsRedirect() bool

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

func (*SchemaObjectsUpdateOK) IsServerError added in v1.18.0

func (o *SchemaObjectsUpdateOK) IsServerError() bool

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

func (*SchemaObjectsUpdateOK) IsSuccess added in v1.18.0

func (o *SchemaObjectsUpdateOK) IsSuccess() bool

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

func (*SchemaObjectsUpdateOK) String added in v1.18.0

func (o *SchemaObjectsUpdateOK) String() string

type SchemaObjectsUpdateParams

type SchemaObjectsUpdateParams struct {

	// ClassName.
	ClassName string

	// ObjectClass.
	ObjectClass *models.Class

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

SchemaObjectsUpdateParams contains all the parameters to send to the API endpoint

for the schema objects update operation.

Typically these are written to a http.Request.

func NewSchemaObjectsUpdateParams

func NewSchemaObjectsUpdateParams() *SchemaObjectsUpdateParams

NewSchemaObjectsUpdateParams creates a new SchemaObjectsUpdateParams 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 NewSchemaObjectsUpdateParamsWithContext

func NewSchemaObjectsUpdateParamsWithContext(ctx context.Context) *SchemaObjectsUpdateParams

NewSchemaObjectsUpdateParamsWithContext creates a new SchemaObjectsUpdateParams object with the ability to set a context for a request.

func NewSchemaObjectsUpdateParamsWithHTTPClient

func NewSchemaObjectsUpdateParamsWithHTTPClient(client *http.Client) *SchemaObjectsUpdateParams

NewSchemaObjectsUpdateParamsWithHTTPClient creates a new SchemaObjectsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewSchemaObjectsUpdateParamsWithTimeout

func NewSchemaObjectsUpdateParamsWithTimeout(timeout time.Duration) *SchemaObjectsUpdateParams

NewSchemaObjectsUpdateParamsWithTimeout creates a new SchemaObjectsUpdateParams object with the ability to set a timeout on a request.

func (*SchemaObjectsUpdateParams) SetClassName

func (o *SchemaObjectsUpdateParams) SetClassName(className string)

SetClassName adds the className to the schema objects update params

func (*SchemaObjectsUpdateParams) SetContext

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

SetContext adds the context to the schema objects update params

func (*SchemaObjectsUpdateParams) SetDefaults added in v1.18.0

func (o *SchemaObjectsUpdateParams) SetDefaults()

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

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

func (*SchemaObjectsUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema objects update params

func (*SchemaObjectsUpdateParams) SetObjectClass

func (o *SchemaObjectsUpdateParams) SetObjectClass(objectClass *models.Class)

SetObjectClass adds the objectClass to the schema objects update params

func (*SchemaObjectsUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the schema objects update params

func (*SchemaObjectsUpdateParams) WithClassName

func (o *SchemaObjectsUpdateParams) WithClassName(className string) *SchemaObjectsUpdateParams

WithClassName adds the className to the schema objects update params

func (*SchemaObjectsUpdateParams) WithContext

WithContext adds the context to the schema objects update params

func (*SchemaObjectsUpdateParams) WithDefaults added in v1.18.0

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

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

func (*SchemaObjectsUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema objects update params

func (*SchemaObjectsUpdateParams) WithObjectClass

func (o *SchemaObjectsUpdateParams) WithObjectClass(objectClass *models.Class) *SchemaObjectsUpdateParams

WithObjectClass adds the objectClass to the schema objects update params

func (*SchemaObjectsUpdateParams) WithTimeout

WithTimeout adds the timeout to the schema objects update params

func (*SchemaObjectsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaObjectsUpdateReader

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

SchemaObjectsUpdateReader is a Reader for the SchemaObjectsUpdate structure.

func (*SchemaObjectsUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaObjectsUpdateUnauthorized

type SchemaObjectsUpdateUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewSchemaObjectsUpdateUnauthorized

func NewSchemaObjectsUpdateUnauthorized() *SchemaObjectsUpdateUnauthorized

NewSchemaObjectsUpdateUnauthorized creates a SchemaObjectsUpdateUnauthorized with default headers values

func (*SchemaObjectsUpdateUnauthorized) Code added in v1.18.0

Code gets the status code for the schema objects update unauthorized response

func (*SchemaObjectsUpdateUnauthorized) Error

func (*SchemaObjectsUpdateUnauthorized) IsClientError added in v1.18.0

func (o *SchemaObjectsUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this schema objects update unauthorized response has a 4xx status code

func (*SchemaObjectsUpdateUnauthorized) IsCode added in v1.18.0

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

IsCode returns true when this schema objects update unauthorized response a status code equal to that given

func (*SchemaObjectsUpdateUnauthorized) IsRedirect added in v1.18.0

func (o *SchemaObjectsUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this schema objects update unauthorized response has a 3xx status code

func (*SchemaObjectsUpdateUnauthorized) IsServerError added in v1.18.0

func (o *SchemaObjectsUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this schema objects update unauthorized response has a 5xx status code

func (*SchemaObjectsUpdateUnauthorized) IsSuccess added in v1.18.0

func (o *SchemaObjectsUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this schema objects update unauthorized response has a 2xx status code

func (*SchemaObjectsUpdateUnauthorized) String added in v1.18.0

type SchemaObjectsUpdateUnprocessableEntity

type SchemaObjectsUpdateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid update attempt

func NewSchemaObjectsUpdateUnprocessableEntity

func NewSchemaObjectsUpdateUnprocessableEntity() *SchemaObjectsUpdateUnprocessableEntity

NewSchemaObjectsUpdateUnprocessableEntity creates a SchemaObjectsUpdateUnprocessableEntity with default headers values

func (*SchemaObjectsUpdateUnprocessableEntity) Code added in v1.18.0

Code gets the status code for the schema objects update unprocessable entity response

func (*SchemaObjectsUpdateUnprocessableEntity) Error

func (*SchemaObjectsUpdateUnprocessableEntity) GetPayload

func (*SchemaObjectsUpdateUnprocessableEntity) IsClientError added in v1.18.0

func (o *SchemaObjectsUpdateUnprocessableEntity) IsClientError() bool

IsClientError returns true when this schema objects update unprocessable entity response has a 4xx status code

func (*SchemaObjectsUpdateUnprocessableEntity) IsCode added in v1.18.0

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

func (*SchemaObjectsUpdateUnprocessableEntity) IsRedirect added in v1.18.0

IsRedirect returns true when this schema objects update unprocessable entity response has a 3xx status code

func (*SchemaObjectsUpdateUnprocessableEntity) IsServerError added in v1.18.0

func (o *SchemaObjectsUpdateUnprocessableEntity) IsServerError() bool

IsServerError returns true when this schema objects update unprocessable entity response has a 5xx status code

func (*SchemaObjectsUpdateUnprocessableEntity) IsSuccess added in v1.18.0

IsSuccess returns true when this schema objects update unprocessable entity response has a 2xx status code

func (*SchemaObjectsUpdateUnprocessableEntity) String added in v1.18.0

type TenantExistsForbidden added in v1.25.0

type TenantExistsForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewTenantExistsForbidden added in v1.25.0

func NewTenantExistsForbidden() *TenantExistsForbidden

NewTenantExistsForbidden creates a TenantExistsForbidden with default headers values

func (*TenantExistsForbidden) Code added in v1.25.0

func (o *TenantExistsForbidden) Code() int

Code gets the status code for the tenant exists forbidden response

func (*TenantExistsForbidden) Error added in v1.25.0

func (o *TenantExistsForbidden) Error() string

func (*TenantExistsForbidden) GetPayload added in v1.25.0

func (o *TenantExistsForbidden) GetPayload() *models.ErrorResponse

func (*TenantExistsForbidden) IsClientError added in v1.25.0

func (o *TenantExistsForbidden) IsClientError() bool

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

func (*TenantExistsForbidden) IsCode added in v1.25.0

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

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

func (*TenantExistsForbidden) IsRedirect added in v1.25.0

func (o *TenantExistsForbidden) IsRedirect() bool

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

func (*TenantExistsForbidden) IsServerError added in v1.25.0

func (o *TenantExistsForbidden) IsServerError() bool

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

func (*TenantExistsForbidden) IsSuccess added in v1.25.0

func (o *TenantExistsForbidden) IsSuccess() bool

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

func (*TenantExistsForbidden) String added in v1.25.0

func (o *TenantExistsForbidden) String() string

type TenantExistsInternalServerError added in v1.25.0

type TenantExistsInternalServerError struct {
	Payload *models.ErrorResponse
}

TenantExistsInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewTenantExistsInternalServerError added in v1.25.0

func NewTenantExistsInternalServerError() *TenantExistsInternalServerError

NewTenantExistsInternalServerError creates a TenantExistsInternalServerError with default headers values

func (*TenantExistsInternalServerError) Code added in v1.25.0

Code gets the status code for the tenant exists internal server error response

func (*TenantExistsInternalServerError) Error added in v1.25.0

func (*TenantExistsInternalServerError) GetPayload added in v1.25.0

func (*TenantExistsInternalServerError) IsClientError added in v1.25.0

func (o *TenantExistsInternalServerError) IsClientError() bool

IsClientError returns true when this tenant exists internal server error response has a 4xx status code

func (*TenantExistsInternalServerError) IsCode added in v1.25.0

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

IsCode returns true when this tenant exists internal server error response a status code equal to that given

func (*TenantExistsInternalServerError) IsRedirect added in v1.25.0

func (o *TenantExistsInternalServerError) IsRedirect() bool

IsRedirect returns true when this tenant exists internal server error response has a 3xx status code

func (*TenantExistsInternalServerError) IsServerError added in v1.25.0

func (o *TenantExistsInternalServerError) IsServerError() bool

IsServerError returns true when this tenant exists internal server error response has a 5xx status code

func (*TenantExistsInternalServerError) IsSuccess added in v1.25.0

func (o *TenantExistsInternalServerError) IsSuccess() bool

IsSuccess returns true when this tenant exists internal server error response has a 2xx status code

func (*TenantExistsInternalServerError) String added in v1.25.0

type TenantExistsNotFound added in v1.25.0

type TenantExistsNotFound struct {
}

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

The tenant not found

func NewTenantExistsNotFound added in v1.25.0

func NewTenantExistsNotFound() *TenantExistsNotFound

NewTenantExistsNotFound creates a TenantExistsNotFound with default headers values

func (*TenantExistsNotFound) Code added in v1.25.0

func (o *TenantExistsNotFound) Code() int

Code gets the status code for the tenant exists not found response

func (*TenantExistsNotFound) Error added in v1.25.0

func (o *TenantExistsNotFound) Error() string

func (*TenantExistsNotFound) IsClientError added in v1.25.0

func (o *TenantExistsNotFound) IsClientError() bool

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

func (*TenantExistsNotFound) IsCode added in v1.25.0

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

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

func (*TenantExistsNotFound) IsRedirect added in v1.25.0

func (o *TenantExistsNotFound) IsRedirect() bool

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

func (*TenantExistsNotFound) IsServerError added in v1.25.0

func (o *TenantExistsNotFound) IsServerError() bool

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

func (*TenantExistsNotFound) IsSuccess added in v1.25.0

func (o *TenantExistsNotFound) IsSuccess() bool

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

func (*TenantExistsNotFound) String added in v1.25.0

func (o *TenantExistsNotFound) String() string

type TenantExistsOK added in v1.25.0

type TenantExistsOK struct {
}

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

The tenant exists in the specified class

func NewTenantExistsOK added in v1.25.0

func NewTenantExistsOK() *TenantExistsOK

NewTenantExistsOK creates a TenantExistsOK with default headers values

func (*TenantExistsOK) Code added in v1.25.0

func (o *TenantExistsOK) Code() int

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

func (*TenantExistsOK) Error added in v1.25.0

func (o *TenantExistsOK) Error() string

func (*TenantExistsOK) IsClientError added in v1.25.0

func (o *TenantExistsOK) IsClientError() bool

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

func (*TenantExistsOK) IsCode added in v1.25.0

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

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

func (*TenantExistsOK) IsRedirect added in v1.25.0

func (o *TenantExistsOK) IsRedirect() bool

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

func (*TenantExistsOK) IsServerError added in v1.25.0

func (o *TenantExistsOK) IsServerError() bool

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

func (*TenantExistsOK) IsSuccess added in v1.25.0

func (o *TenantExistsOK) IsSuccess() bool

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

func (*TenantExistsOK) String added in v1.25.0

func (o *TenantExistsOK) String() string

type TenantExistsParams added in v1.25.0

type TenantExistsParams struct {

	// ClassName.
	ClassName string

	/* Consistency.

	   If consistency is true, the request will be proxied to the leader to ensure strong schema consistency

	   Default: true
	*/
	Consistency *bool

	// TenantName.
	TenantName string

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

TenantExistsParams contains all the parameters to send to the API endpoint

for the tenant exists operation.

Typically these are written to a http.Request.

func NewTenantExistsParams added in v1.25.0

func NewTenantExistsParams() *TenantExistsParams

NewTenantExistsParams creates a new TenantExistsParams 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 NewTenantExistsParamsWithContext added in v1.25.0

func NewTenantExistsParamsWithContext(ctx context.Context) *TenantExistsParams

NewTenantExistsParamsWithContext creates a new TenantExistsParams object with the ability to set a context for a request.

func NewTenantExistsParamsWithHTTPClient added in v1.25.0

func NewTenantExistsParamsWithHTTPClient(client *http.Client) *TenantExistsParams

NewTenantExistsParamsWithHTTPClient creates a new TenantExistsParams object with the ability to set a custom HTTPClient for a request.

func NewTenantExistsParamsWithTimeout added in v1.25.0

func NewTenantExistsParamsWithTimeout(timeout time.Duration) *TenantExistsParams

NewTenantExistsParamsWithTimeout creates a new TenantExistsParams object with the ability to set a timeout on a request.

func (*TenantExistsParams) SetClassName added in v1.25.0

func (o *TenantExistsParams) SetClassName(className string)

SetClassName adds the className to the tenant exists params

func (*TenantExistsParams) SetConsistency added in v1.25.0

func (o *TenantExistsParams) SetConsistency(consistency *bool)

SetConsistency adds the consistency to the tenant exists params

func (*TenantExistsParams) SetContext added in v1.25.0

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

SetContext adds the context to the tenant exists params

func (*TenantExistsParams) SetDefaults added in v1.25.0

func (o *TenantExistsParams) SetDefaults()

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

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

func (*TenantExistsParams) SetHTTPClient added in v1.25.0

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

SetHTTPClient adds the HTTPClient to the tenant exists params

func (*TenantExistsParams) SetTenantName added in v1.25.0

func (o *TenantExistsParams) SetTenantName(tenantName string)

SetTenantName adds the tenantName to the tenant exists params

func (*TenantExistsParams) SetTimeout added in v1.25.0

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

SetTimeout adds the timeout to the tenant exists params

func (*TenantExistsParams) WithClassName added in v1.25.0

func (o *TenantExistsParams) WithClassName(className string) *TenantExistsParams

WithClassName adds the className to the tenant exists params

func (*TenantExistsParams) WithConsistency added in v1.25.0

func (o *TenantExistsParams) WithConsistency(consistency *bool) *TenantExistsParams

WithConsistency adds the consistency to the tenant exists params

func (*TenantExistsParams) WithContext added in v1.25.0

WithContext adds the context to the tenant exists params

func (*TenantExistsParams) WithDefaults added in v1.25.0

func (o *TenantExistsParams) WithDefaults() *TenantExistsParams

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

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

func (*TenantExistsParams) WithHTTPClient added in v1.25.0

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

WithHTTPClient adds the HTTPClient to the tenant exists params

func (*TenantExistsParams) WithTenantName added in v1.25.0

func (o *TenantExistsParams) WithTenantName(tenantName string) *TenantExistsParams

WithTenantName adds the tenantName to the tenant exists params

func (*TenantExistsParams) WithTimeout added in v1.25.0

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

WithTimeout adds the timeout to the tenant exists params

func (*TenantExistsParams) WriteToRequest added in v1.25.0

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

WriteToRequest writes these params to a swagger request

type TenantExistsReader added in v1.25.0

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

TenantExistsReader is a Reader for the TenantExists structure.

func (*TenantExistsReader) ReadResponse added in v1.25.0

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

ReadResponse reads a server response into the received o.

type TenantExistsUnauthorized added in v1.25.0

type TenantExistsUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewTenantExistsUnauthorized added in v1.25.0

func NewTenantExistsUnauthorized() *TenantExistsUnauthorized

NewTenantExistsUnauthorized creates a TenantExistsUnauthorized with default headers values

func (*TenantExistsUnauthorized) Code added in v1.25.0

func (o *TenantExistsUnauthorized) Code() int

Code gets the status code for the tenant exists unauthorized response

func (*TenantExistsUnauthorized) Error added in v1.25.0

func (o *TenantExistsUnauthorized) Error() string

func (*TenantExistsUnauthorized) IsClientError added in v1.25.0

func (o *TenantExistsUnauthorized) IsClientError() bool

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

func (*TenantExistsUnauthorized) IsCode added in v1.25.0

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

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

func (*TenantExistsUnauthorized) IsRedirect added in v1.25.0

func (o *TenantExistsUnauthorized) IsRedirect() bool

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

func (*TenantExistsUnauthorized) IsServerError added in v1.25.0

func (o *TenantExistsUnauthorized) IsServerError() bool

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

func (*TenantExistsUnauthorized) IsSuccess added in v1.25.0

func (o *TenantExistsUnauthorized) IsSuccess() bool

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

func (*TenantExistsUnauthorized) String added in v1.25.0

func (o *TenantExistsUnauthorized) String() string

type TenantExistsUnprocessableEntity added in v1.25.0

type TenantExistsUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid Tenant class

func NewTenantExistsUnprocessableEntity added in v1.25.0

func NewTenantExistsUnprocessableEntity() *TenantExistsUnprocessableEntity

NewTenantExistsUnprocessableEntity creates a TenantExistsUnprocessableEntity with default headers values

func (*TenantExistsUnprocessableEntity) Code added in v1.25.0

Code gets the status code for the tenant exists unprocessable entity response

func (*TenantExistsUnprocessableEntity) Error added in v1.25.0

func (*TenantExistsUnprocessableEntity) GetPayload added in v1.25.0

func (*TenantExistsUnprocessableEntity) IsClientError added in v1.25.0

func (o *TenantExistsUnprocessableEntity) IsClientError() bool

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

func (*TenantExistsUnprocessableEntity) IsCode added in v1.25.0

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

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

func (*TenantExistsUnprocessableEntity) IsRedirect added in v1.25.0

func (o *TenantExistsUnprocessableEntity) IsRedirect() bool

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

func (*TenantExistsUnprocessableEntity) IsServerError added in v1.25.0

func (o *TenantExistsUnprocessableEntity) IsServerError() bool

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

func (*TenantExistsUnprocessableEntity) IsSuccess added in v1.25.0

func (o *TenantExistsUnprocessableEntity) IsSuccess() bool

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

func (*TenantExistsUnprocessableEntity) String added in v1.25.0

type TenantsCreateForbidden added in v1.20.0

type TenantsCreateForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewTenantsCreateForbidden added in v1.20.0

func NewTenantsCreateForbidden() *TenantsCreateForbidden

NewTenantsCreateForbidden creates a TenantsCreateForbidden with default headers values

func (*TenantsCreateForbidden) Code added in v1.20.0

func (o *TenantsCreateForbidden) Code() int

Code gets the status code for the tenants create forbidden response

func (*TenantsCreateForbidden) Error added in v1.20.0

func (o *TenantsCreateForbidden) Error() string

func (*TenantsCreateForbidden) GetPayload added in v1.20.0

func (o *TenantsCreateForbidden) GetPayload() *models.ErrorResponse

func (*TenantsCreateForbidden) IsClientError added in v1.20.0

func (o *TenantsCreateForbidden) IsClientError() bool

IsClientError returns true when this tenants create forbidden response has a 4xx status code

func (*TenantsCreateForbidden) IsCode added in v1.20.0

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

IsCode returns true when this tenants create forbidden response a status code equal to that given

func (*TenantsCreateForbidden) IsRedirect added in v1.20.0

func (o *TenantsCreateForbidden) IsRedirect() bool

IsRedirect returns true when this tenants create forbidden response has a 3xx status code

func (*TenantsCreateForbidden) IsServerError added in v1.20.0

func (o *TenantsCreateForbidden) IsServerError() bool

IsServerError returns true when this tenants create forbidden response has a 5xx status code

func (*TenantsCreateForbidden) IsSuccess added in v1.20.0

func (o *TenantsCreateForbidden) IsSuccess() bool

IsSuccess returns true when this tenants create forbidden response has a 2xx status code

func (*TenantsCreateForbidden) String added in v1.20.0

func (o *TenantsCreateForbidden) String() string

type TenantsCreateInternalServerError added in v1.20.0

type TenantsCreateInternalServerError struct {
	Payload *models.ErrorResponse
}

TenantsCreateInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewTenantsCreateInternalServerError added in v1.20.0

func NewTenantsCreateInternalServerError() *TenantsCreateInternalServerError

NewTenantsCreateInternalServerError creates a TenantsCreateInternalServerError with default headers values

func (*TenantsCreateInternalServerError) Code added in v1.20.0

Code gets the status code for the tenants create internal server error response

func (*TenantsCreateInternalServerError) Error added in v1.20.0

func (*TenantsCreateInternalServerError) GetPayload added in v1.20.0

func (*TenantsCreateInternalServerError) IsClientError added in v1.20.0

func (o *TenantsCreateInternalServerError) IsClientError() bool

IsClientError returns true when this tenants create internal server error response has a 4xx status code

func (*TenantsCreateInternalServerError) IsCode added in v1.20.0

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

IsCode returns true when this tenants create internal server error response a status code equal to that given

func (*TenantsCreateInternalServerError) IsRedirect added in v1.20.0

func (o *TenantsCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this tenants create internal server error response has a 3xx status code

func (*TenantsCreateInternalServerError) IsServerError added in v1.20.0

func (o *TenantsCreateInternalServerError) IsServerError() bool

IsServerError returns true when this tenants create internal server error response has a 5xx status code

func (*TenantsCreateInternalServerError) IsSuccess added in v1.20.0

func (o *TenantsCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this tenants create internal server error response has a 2xx status code

func (*TenantsCreateInternalServerError) String added in v1.20.0

type TenantsCreateOK added in v1.20.0

type TenantsCreateOK struct {
	Payload []*models.Tenant
}

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

Added new tenants to the specified class

func NewTenantsCreateOK added in v1.20.0

func NewTenantsCreateOK() *TenantsCreateOK

NewTenantsCreateOK creates a TenantsCreateOK with default headers values

func (*TenantsCreateOK) Code added in v1.20.0

func (o *TenantsCreateOK) Code() int

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

func (*TenantsCreateOK) Error added in v1.20.0

func (o *TenantsCreateOK) Error() string

func (*TenantsCreateOK) GetPayload added in v1.20.0

func (o *TenantsCreateOK) GetPayload() []*models.Tenant

func (*TenantsCreateOK) IsClientError added in v1.20.0

func (o *TenantsCreateOK) IsClientError() bool

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

func (*TenantsCreateOK) IsCode added in v1.20.0

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

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

func (*TenantsCreateOK) IsRedirect added in v1.20.0

func (o *TenantsCreateOK) IsRedirect() bool

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

func (*TenantsCreateOK) IsServerError added in v1.20.0

func (o *TenantsCreateOK) IsServerError() bool

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

func (*TenantsCreateOK) IsSuccess added in v1.20.0

func (o *TenantsCreateOK) IsSuccess() bool

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

func (*TenantsCreateOK) String added in v1.20.0

func (o *TenantsCreateOK) String() string

type TenantsCreateParams added in v1.20.0

type TenantsCreateParams struct {

	// Body.
	Body []*models.Tenant

	// ClassName.
	ClassName string

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

TenantsCreateParams contains all the parameters to send to the API endpoint

for the tenants create operation.

Typically these are written to a http.Request.

func NewTenantsCreateParams added in v1.20.0

func NewTenantsCreateParams() *TenantsCreateParams

NewTenantsCreateParams creates a new TenantsCreateParams 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 NewTenantsCreateParamsWithContext added in v1.20.0

func NewTenantsCreateParamsWithContext(ctx context.Context) *TenantsCreateParams

NewTenantsCreateParamsWithContext creates a new TenantsCreateParams object with the ability to set a context for a request.

func NewTenantsCreateParamsWithHTTPClient added in v1.20.0

func NewTenantsCreateParamsWithHTTPClient(client *http.Client) *TenantsCreateParams

NewTenantsCreateParamsWithHTTPClient creates a new TenantsCreateParams object with the ability to set a custom HTTPClient for a request.

func NewTenantsCreateParamsWithTimeout added in v1.20.0

func NewTenantsCreateParamsWithTimeout(timeout time.Duration) *TenantsCreateParams

NewTenantsCreateParamsWithTimeout creates a new TenantsCreateParams object with the ability to set a timeout on a request.

func (*TenantsCreateParams) SetBody added in v1.20.0

func (o *TenantsCreateParams) SetBody(body []*models.Tenant)

SetBody adds the body to the tenants create params

func (*TenantsCreateParams) SetClassName added in v1.20.0

func (o *TenantsCreateParams) SetClassName(className string)

SetClassName adds the className to the tenants create params

func (*TenantsCreateParams) SetContext added in v1.20.0

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

SetContext adds the context to the tenants create params

func (*TenantsCreateParams) SetDefaults added in v1.20.0

func (o *TenantsCreateParams) SetDefaults()

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

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

func (*TenantsCreateParams) SetHTTPClient added in v1.20.0

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

SetHTTPClient adds the HTTPClient to the tenants create params

func (*TenantsCreateParams) SetTimeout added in v1.20.0

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

SetTimeout adds the timeout to the tenants create params

func (*TenantsCreateParams) WithBody added in v1.20.0

func (o *TenantsCreateParams) WithBody(body []*models.Tenant) *TenantsCreateParams

WithBody adds the body to the tenants create params

func (*TenantsCreateParams) WithClassName added in v1.20.0

func (o *TenantsCreateParams) WithClassName(className string) *TenantsCreateParams

WithClassName adds the className to the tenants create params

func (*TenantsCreateParams) WithContext added in v1.20.0

WithContext adds the context to the tenants create params

func (*TenantsCreateParams) WithDefaults added in v1.20.0

func (o *TenantsCreateParams) WithDefaults() *TenantsCreateParams

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

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

func (*TenantsCreateParams) WithHTTPClient added in v1.20.0

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

WithHTTPClient adds the HTTPClient to the tenants create params

func (*TenantsCreateParams) WithTimeout added in v1.20.0

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

WithTimeout adds the timeout to the tenants create params

func (*TenantsCreateParams) WriteToRequest added in v1.20.0

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

WriteToRequest writes these params to a swagger request

type TenantsCreateReader added in v1.20.0

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

TenantsCreateReader is a Reader for the TenantsCreate structure.

func (*TenantsCreateReader) ReadResponse added in v1.20.0

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

ReadResponse reads a server response into the received o.

type TenantsCreateUnauthorized added in v1.20.0

type TenantsCreateUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewTenantsCreateUnauthorized added in v1.20.0

func NewTenantsCreateUnauthorized() *TenantsCreateUnauthorized

NewTenantsCreateUnauthorized creates a TenantsCreateUnauthorized with default headers values

func (*TenantsCreateUnauthorized) Code added in v1.20.0

func (o *TenantsCreateUnauthorized) Code() int

Code gets the status code for the tenants create unauthorized response

func (*TenantsCreateUnauthorized) Error added in v1.20.0

func (o *TenantsCreateUnauthorized) Error() string

func (*TenantsCreateUnauthorized) IsClientError added in v1.20.0

func (o *TenantsCreateUnauthorized) IsClientError() bool

IsClientError returns true when this tenants create unauthorized response has a 4xx status code

func (*TenantsCreateUnauthorized) IsCode added in v1.20.0

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

IsCode returns true when this tenants create unauthorized response a status code equal to that given

func (*TenantsCreateUnauthorized) IsRedirect added in v1.20.0

func (o *TenantsCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this tenants create unauthorized response has a 3xx status code

func (*TenantsCreateUnauthorized) IsServerError added in v1.20.0

func (o *TenantsCreateUnauthorized) IsServerError() bool

IsServerError returns true when this tenants create unauthorized response has a 5xx status code

func (*TenantsCreateUnauthorized) IsSuccess added in v1.20.0

func (o *TenantsCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this tenants create unauthorized response has a 2xx status code

func (*TenantsCreateUnauthorized) String added in v1.20.0

func (o *TenantsCreateUnauthorized) String() string

type TenantsCreateUnprocessableEntity added in v1.20.0

type TenantsCreateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid Tenant class

func NewTenantsCreateUnprocessableEntity added in v1.20.0

func NewTenantsCreateUnprocessableEntity() *TenantsCreateUnprocessableEntity

NewTenantsCreateUnprocessableEntity creates a TenantsCreateUnprocessableEntity with default headers values

func (*TenantsCreateUnprocessableEntity) Code added in v1.20.0

Code gets the status code for the tenants create unprocessable entity response

func (*TenantsCreateUnprocessableEntity) Error added in v1.20.0

func (*TenantsCreateUnprocessableEntity) GetPayload added in v1.20.0

func (*TenantsCreateUnprocessableEntity) IsClientError added in v1.20.0

func (o *TenantsCreateUnprocessableEntity) IsClientError() bool

IsClientError returns true when this tenants create unprocessable entity response has a 4xx status code

func (*TenantsCreateUnprocessableEntity) IsCode added in v1.20.0

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

IsCode returns true when this tenants create unprocessable entity response a status code equal to that given

func (*TenantsCreateUnprocessableEntity) IsRedirect added in v1.20.0

func (o *TenantsCreateUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this tenants create unprocessable entity response has a 3xx status code

func (*TenantsCreateUnprocessableEntity) IsServerError added in v1.20.0

func (o *TenantsCreateUnprocessableEntity) IsServerError() bool

IsServerError returns true when this tenants create unprocessable entity response has a 5xx status code

func (*TenantsCreateUnprocessableEntity) IsSuccess added in v1.20.0

func (o *TenantsCreateUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this tenants create unprocessable entity response has a 2xx status code

func (*TenantsCreateUnprocessableEntity) String added in v1.20.0

type TenantsDeleteForbidden added in v1.20.0

type TenantsDeleteForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewTenantsDeleteForbidden added in v1.20.0

func NewTenantsDeleteForbidden() *TenantsDeleteForbidden

NewTenantsDeleteForbidden creates a TenantsDeleteForbidden with default headers values

func (*TenantsDeleteForbidden) Code added in v1.20.0

func (o *TenantsDeleteForbidden) Code() int

Code gets the status code for the tenants delete forbidden response

func (*TenantsDeleteForbidden) Error added in v1.20.0

func (o *TenantsDeleteForbidden) Error() string

func (*TenantsDeleteForbidden) GetPayload added in v1.20.0

func (o *TenantsDeleteForbidden) GetPayload() *models.ErrorResponse

func (*TenantsDeleteForbidden) IsClientError added in v1.20.0

func (o *TenantsDeleteForbidden) IsClientError() bool

IsClientError returns true when this tenants delete forbidden response has a 4xx status code

func (*TenantsDeleteForbidden) IsCode added in v1.20.0

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

IsCode returns true when this tenants delete forbidden response a status code equal to that given

func (*TenantsDeleteForbidden) IsRedirect added in v1.20.0

func (o *TenantsDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this tenants delete forbidden response has a 3xx status code

func (*TenantsDeleteForbidden) IsServerError added in v1.20.0

func (o *TenantsDeleteForbidden) IsServerError() bool

IsServerError returns true when this tenants delete forbidden response has a 5xx status code

func (*TenantsDeleteForbidden) IsSuccess added in v1.20.0

func (o *TenantsDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this tenants delete forbidden response has a 2xx status code

func (*TenantsDeleteForbidden) String added in v1.20.0

func (o *TenantsDeleteForbidden) String() string

type TenantsDeleteInternalServerError added in v1.20.0

type TenantsDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}

TenantsDeleteInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewTenantsDeleteInternalServerError added in v1.20.0

func NewTenantsDeleteInternalServerError() *TenantsDeleteInternalServerError

NewTenantsDeleteInternalServerError creates a TenantsDeleteInternalServerError with default headers values

func (*TenantsDeleteInternalServerError) Code added in v1.20.0

Code gets the status code for the tenants delete internal server error response

func (*TenantsDeleteInternalServerError) Error added in v1.20.0

func (*TenantsDeleteInternalServerError) GetPayload added in v1.20.0

func (*TenantsDeleteInternalServerError) IsClientError added in v1.20.0

func (o *TenantsDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this tenants delete internal server error response has a 4xx status code

func (*TenantsDeleteInternalServerError) IsCode added in v1.20.0

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

IsCode returns true when this tenants delete internal server error response a status code equal to that given

func (*TenantsDeleteInternalServerError) IsRedirect added in v1.20.0

func (o *TenantsDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this tenants delete internal server error response has a 3xx status code

func (*TenantsDeleteInternalServerError) IsServerError added in v1.20.0

func (o *TenantsDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this tenants delete internal server error response has a 5xx status code

func (*TenantsDeleteInternalServerError) IsSuccess added in v1.20.0

func (o *TenantsDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this tenants delete internal server error response has a 2xx status code

func (*TenantsDeleteInternalServerError) String added in v1.20.0

type TenantsDeleteOK added in v1.20.0

type TenantsDeleteOK struct {
}

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

Deleted tenants from specified class.

func NewTenantsDeleteOK added in v1.20.0

func NewTenantsDeleteOK() *TenantsDeleteOK

NewTenantsDeleteOK creates a TenantsDeleteOK with default headers values

func (*TenantsDeleteOK) Code added in v1.20.0

func (o *TenantsDeleteOK) Code() int

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

func (*TenantsDeleteOK) Error added in v1.20.0

func (o *TenantsDeleteOK) Error() string

func (*TenantsDeleteOK) IsClientError added in v1.20.0

func (o *TenantsDeleteOK) IsClientError() bool

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

func (*TenantsDeleteOK) IsCode added in v1.20.0

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

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

func (*TenantsDeleteOK) IsRedirect added in v1.20.0

func (o *TenantsDeleteOK) IsRedirect() bool

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

func (*TenantsDeleteOK) IsServerError added in v1.20.0

func (o *TenantsDeleteOK) IsServerError() bool

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

func (*TenantsDeleteOK) IsSuccess added in v1.20.0

func (o *TenantsDeleteOK) IsSuccess() bool

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

func (*TenantsDeleteOK) String added in v1.20.0

func (o *TenantsDeleteOK) String() string

type TenantsDeleteParams added in v1.20.0

type TenantsDeleteParams struct {

	// ClassName.
	ClassName string

	// Tenants.
	Tenants []string

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

TenantsDeleteParams contains all the parameters to send to the API endpoint

for the tenants delete operation.

Typically these are written to a http.Request.

func NewTenantsDeleteParams added in v1.20.0

func NewTenantsDeleteParams() *TenantsDeleteParams

NewTenantsDeleteParams creates a new TenantsDeleteParams 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 NewTenantsDeleteParamsWithContext added in v1.20.0

func NewTenantsDeleteParamsWithContext(ctx context.Context) *TenantsDeleteParams

NewTenantsDeleteParamsWithContext creates a new TenantsDeleteParams object with the ability to set a context for a request.

func NewTenantsDeleteParamsWithHTTPClient added in v1.20.0

func NewTenantsDeleteParamsWithHTTPClient(client *http.Client) *TenantsDeleteParams

NewTenantsDeleteParamsWithHTTPClient creates a new TenantsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewTenantsDeleteParamsWithTimeout added in v1.20.0

func NewTenantsDeleteParamsWithTimeout(timeout time.Duration) *TenantsDeleteParams

NewTenantsDeleteParamsWithTimeout creates a new TenantsDeleteParams object with the ability to set a timeout on a request.

func (*TenantsDeleteParams) SetClassName added in v1.20.0

func (o *TenantsDeleteParams) SetClassName(className string)

SetClassName adds the className to the tenants delete params

func (*TenantsDeleteParams) SetContext added in v1.20.0

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

SetContext adds the context to the tenants delete params

func (*TenantsDeleteParams) SetDefaults added in v1.20.0

func (o *TenantsDeleteParams) SetDefaults()

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

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

func (*TenantsDeleteParams) SetHTTPClient added in v1.20.0

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

SetHTTPClient adds the HTTPClient to the tenants delete params

func (*TenantsDeleteParams) SetTenants added in v1.20.0

func (o *TenantsDeleteParams) SetTenants(tenants []string)

SetTenants adds the tenants to the tenants delete params

func (*TenantsDeleteParams) SetTimeout added in v1.20.0

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

SetTimeout adds the timeout to the tenants delete params

func (*TenantsDeleteParams) WithClassName added in v1.20.0

func (o *TenantsDeleteParams) WithClassName(className string) *TenantsDeleteParams

WithClassName adds the className to the tenants delete params

func (*TenantsDeleteParams) WithContext added in v1.20.0

WithContext adds the context to the tenants delete params

func (*TenantsDeleteParams) WithDefaults added in v1.20.0

func (o *TenantsDeleteParams) WithDefaults() *TenantsDeleteParams

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

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

func (*TenantsDeleteParams) WithHTTPClient added in v1.20.0

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

WithHTTPClient adds the HTTPClient to the tenants delete params

func (*TenantsDeleteParams) WithTenants added in v1.20.0

func (o *TenantsDeleteParams) WithTenants(tenants []string) *TenantsDeleteParams

WithTenants adds the tenants to the tenants delete params

func (*TenantsDeleteParams) WithTimeout added in v1.20.0

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

WithTimeout adds the timeout to the tenants delete params

func (*TenantsDeleteParams) WriteToRequest added in v1.20.0

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

WriteToRequest writes these params to a swagger request

type TenantsDeleteReader added in v1.20.0

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

TenantsDeleteReader is a Reader for the TenantsDelete structure.

func (*TenantsDeleteReader) ReadResponse added in v1.20.0

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

ReadResponse reads a server response into the received o.

type TenantsDeleteUnauthorized added in v1.20.0

type TenantsDeleteUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewTenantsDeleteUnauthorized added in v1.20.0

func NewTenantsDeleteUnauthorized() *TenantsDeleteUnauthorized

NewTenantsDeleteUnauthorized creates a TenantsDeleteUnauthorized with default headers values

func (*TenantsDeleteUnauthorized) Code added in v1.20.0

func (o *TenantsDeleteUnauthorized) Code() int

Code gets the status code for the tenants delete unauthorized response

func (*TenantsDeleteUnauthorized) Error added in v1.20.0

func (o *TenantsDeleteUnauthorized) Error() string

func (*TenantsDeleteUnauthorized) IsClientError added in v1.20.0

func (o *TenantsDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this tenants delete unauthorized response has a 4xx status code

func (*TenantsDeleteUnauthorized) IsCode added in v1.20.0

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

IsCode returns true when this tenants delete unauthorized response a status code equal to that given

func (*TenantsDeleteUnauthorized) IsRedirect added in v1.20.0

func (o *TenantsDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this tenants delete unauthorized response has a 3xx status code

func (*TenantsDeleteUnauthorized) IsServerError added in v1.20.0

func (o *TenantsDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this tenants delete unauthorized response has a 5xx status code

func (*TenantsDeleteUnauthorized) IsSuccess added in v1.20.0

func (o *TenantsDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this tenants delete unauthorized response has a 2xx status code

func (*TenantsDeleteUnauthorized) String added in v1.20.0

func (o *TenantsDeleteUnauthorized) String() string

type TenantsDeleteUnprocessableEntity added in v1.20.0

type TenantsDeleteUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid Tenant class

func NewTenantsDeleteUnprocessableEntity added in v1.20.0

func NewTenantsDeleteUnprocessableEntity() *TenantsDeleteUnprocessableEntity

NewTenantsDeleteUnprocessableEntity creates a TenantsDeleteUnprocessableEntity with default headers values

func (*TenantsDeleteUnprocessableEntity) Code added in v1.20.0

Code gets the status code for the tenants delete unprocessable entity response

func (*TenantsDeleteUnprocessableEntity) Error added in v1.20.0

func (*TenantsDeleteUnprocessableEntity) GetPayload added in v1.20.0

func (*TenantsDeleteUnprocessableEntity) IsClientError added in v1.20.0

func (o *TenantsDeleteUnprocessableEntity) IsClientError() bool

IsClientError returns true when this tenants delete unprocessable entity response has a 4xx status code

func (*TenantsDeleteUnprocessableEntity) IsCode added in v1.20.0

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

IsCode returns true when this tenants delete unprocessable entity response a status code equal to that given

func (*TenantsDeleteUnprocessableEntity) IsRedirect added in v1.20.0

func (o *TenantsDeleteUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this tenants delete unprocessable entity response has a 3xx status code

func (*TenantsDeleteUnprocessableEntity) IsServerError added in v1.20.0

func (o *TenantsDeleteUnprocessableEntity) IsServerError() bool

IsServerError returns true when this tenants delete unprocessable entity response has a 5xx status code

func (*TenantsDeleteUnprocessableEntity) IsSuccess added in v1.20.0

func (o *TenantsDeleteUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this tenants delete unprocessable entity response has a 2xx status code

func (*TenantsDeleteUnprocessableEntity) String added in v1.20.0

type TenantsGetForbidden added in v1.20.0

type TenantsGetForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewTenantsGetForbidden added in v1.20.0

func NewTenantsGetForbidden() *TenantsGetForbidden

NewTenantsGetForbidden creates a TenantsGetForbidden with default headers values

func (*TenantsGetForbidden) Code added in v1.20.0

func (o *TenantsGetForbidden) Code() int

Code gets the status code for the tenants get forbidden response

func (*TenantsGetForbidden) Error added in v1.20.0

func (o *TenantsGetForbidden) Error() string

func (*TenantsGetForbidden) GetPayload added in v1.20.0

func (o *TenantsGetForbidden) GetPayload() *models.ErrorResponse

func (*TenantsGetForbidden) IsClientError added in v1.20.0

func (o *TenantsGetForbidden) IsClientError() bool

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

func (*TenantsGetForbidden) IsCode added in v1.20.0

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

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

func (*TenantsGetForbidden) IsRedirect added in v1.20.0

func (o *TenantsGetForbidden) IsRedirect() bool

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

func (*TenantsGetForbidden) IsServerError added in v1.20.0

func (o *TenantsGetForbidden) IsServerError() bool

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

func (*TenantsGetForbidden) IsSuccess added in v1.20.0

func (o *TenantsGetForbidden) IsSuccess() bool

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

func (*TenantsGetForbidden) String added in v1.20.0

func (o *TenantsGetForbidden) String() string

type TenantsGetInternalServerError added in v1.20.0

type TenantsGetInternalServerError struct {
	Payload *models.ErrorResponse
}

TenantsGetInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewTenantsGetInternalServerError added in v1.20.0

func NewTenantsGetInternalServerError() *TenantsGetInternalServerError

NewTenantsGetInternalServerError creates a TenantsGetInternalServerError with default headers values

func (*TenantsGetInternalServerError) Code added in v1.20.0

Code gets the status code for the tenants get internal server error response

func (*TenantsGetInternalServerError) Error added in v1.20.0

func (*TenantsGetInternalServerError) GetPayload added in v1.20.0

func (*TenantsGetInternalServerError) IsClientError added in v1.20.0

func (o *TenantsGetInternalServerError) IsClientError() bool

IsClientError returns true when this tenants get internal server error response has a 4xx status code

func (*TenantsGetInternalServerError) IsCode added in v1.20.0

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

IsCode returns true when this tenants get internal server error response a status code equal to that given

func (*TenantsGetInternalServerError) IsRedirect added in v1.20.0

func (o *TenantsGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this tenants get internal server error response has a 3xx status code

func (*TenantsGetInternalServerError) IsServerError added in v1.20.0

func (o *TenantsGetInternalServerError) IsServerError() bool

IsServerError returns true when this tenants get internal server error response has a 5xx status code

func (*TenantsGetInternalServerError) IsSuccess added in v1.20.0

func (o *TenantsGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this tenants get internal server error response has a 2xx status code

func (*TenantsGetInternalServerError) String added in v1.20.0

type TenantsGetOK added in v1.20.0

type TenantsGetOK struct {
	Payload []*models.Tenant
}

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

tenants from specified class.

func NewTenantsGetOK added in v1.20.0

func NewTenantsGetOK() *TenantsGetOK

NewTenantsGetOK creates a TenantsGetOK with default headers values

func (*TenantsGetOK) Code added in v1.20.0

func (o *TenantsGetOK) Code() int

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

func (*TenantsGetOK) Error added in v1.20.0

func (o *TenantsGetOK) Error() string

func (*TenantsGetOK) GetPayload added in v1.20.0

func (o *TenantsGetOK) GetPayload() []*models.Tenant

func (*TenantsGetOK) IsClientError added in v1.20.0

func (o *TenantsGetOK) IsClientError() bool

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

func (*TenantsGetOK) IsCode added in v1.20.0

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

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

func (*TenantsGetOK) IsRedirect added in v1.20.0

func (o *TenantsGetOK) IsRedirect() bool

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

func (*TenantsGetOK) IsServerError added in v1.20.0

func (o *TenantsGetOK) IsServerError() bool

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

func (*TenantsGetOK) IsSuccess added in v1.20.0

func (o *TenantsGetOK) IsSuccess() bool

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

func (*TenantsGetOK) String added in v1.20.0

func (o *TenantsGetOK) String() string

type TenantsGetParams added in v1.20.0

type TenantsGetParams struct {

	// ClassName.
	ClassName string

	/* Consistency.

	   If consistency is true, the request will be proxied to the leader to ensure strong schema consistency

	   Default: true
	*/
	Consistency *bool

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

TenantsGetParams contains all the parameters to send to the API endpoint

for the tenants get operation.

Typically these are written to a http.Request.

func NewTenantsGetParams added in v1.20.0

func NewTenantsGetParams() *TenantsGetParams

NewTenantsGetParams creates a new TenantsGetParams 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 NewTenantsGetParamsWithContext added in v1.20.0

func NewTenantsGetParamsWithContext(ctx context.Context) *TenantsGetParams

NewTenantsGetParamsWithContext creates a new TenantsGetParams object with the ability to set a context for a request.

func NewTenantsGetParamsWithHTTPClient added in v1.20.0

func NewTenantsGetParamsWithHTTPClient(client *http.Client) *TenantsGetParams

NewTenantsGetParamsWithHTTPClient creates a new TenantsGetParams object with the ability to set a custom HTTPClient for a request.

func NewTenantsGetParamsWithTimeout added in v1.20.0

func NewTenantsGetParamsWithTimeout(timeout time.Duration) *TenantsGetParams

NewTenantsGetParamsWithTimeout creates a new TenantsGetParams object with the ability to set a timeout on a request.

func (*TenantsGetParams) SetClassName added in v1.20.0

func (o *TenantsGetParams) SetClassName(className string)

SetClassName adds the className to the tenants get params

func (*TenantsGetParams) SetConsistency added in v1.25.0

func (o *TenantsGetParams) SetConsistency(consistency *bool)

SetConsistency adds the consistency to the tenants get params

func (*TenantsGetParams) SetContext added in v1.20.0

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

SetContext adds the context to the tenants get params

func (*TenantsGetParams) SetDefaults added in v1.20.0

func (o *TenantsGetParams) SetDefaults()

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

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

func (*TenantsGetParams) SetHTTPClient added in v1.20.0

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

SetHTTPClient adds the HTTPClient to the tenants get params

func (*TenantsGetParams) SetTimeout added in v1.20.0

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

SetTimeout adds the timeout to the tenants get params

func (*TenantsGetParams) WithClassName added in v1.20.0

func (o *TenantsGetParams) WithClassName(className string) *TenantsGetParams

WithClassName adds the className to the tenants get params

func (*TenantsGetParams) WithConsistency added in v1.25.0

func (o *TenantsGetParams) WithConsistency(consistency *bool) *TenantsGetParams

WithConsistency adds the consistency to the tenants get params

func (*TenantsGetParams) WithContext added in v1.20.0

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

WithContext adds the context to the tenants get params

func (*TenantsGetParams) WithDefaults added in v1.20.0

func (o *TenantsGetParams) WithDefaults() *TenantsGetParams

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

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

func (*TenantsGetParams) WithHTTPClient added in v1.20.0

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

WithHTTPClient adds the HTTPClient to the tenants get params

func (*TenantsGetParams) WithTimeout added in v1.20.0

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

WithTimeout adds the timeout to the tenants get params

func (*TenantsGetParams) WriteToRequest added in v1.20.0

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

WriteToRequest writes these params to a swagger request

type TenantsGetReader added in v1.20.0

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

TenantsGetReader is a Reader for the TenantsGet structure.

func (*TenantsGetReader) ReadResponse added in v1.20.0

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

ReadResponse reads a server response into the received o.

type TenantsGetUnauthorized added in v1.20.0

type TenantsGetUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewTenantsGetUnauthorized added in v1.20.0

func NewTenantsGetUnauthorized() *TenantsGetUnauthorized

NewTenantsGetUnauthorized creates a TenantsGetUnauthorized with default headers values

func (*TenantsGetUnauthorized) Code added in v1.20.0

func (o *TenantsGetUnauthorized) Code() int

Code gets the status code for the tenants get unauthorized response

func (*TenantsGetUnauthorized) Error added in v1.20.0

func (o *TenantsGetUnauthorized) Error() string

func (*TenantsGetUnauthorized) IsClientError added in v1.20.0

func (o *TenantsGetUnauthorized) IsClientError() bool

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

func (*TenantsGetUnauthorized) IsCode added in v1.20.0

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

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

func (*TenantsGetUnauthorized) IsRedirect added in v1.20.0

func (o *TenantsGetUnauthorized) IsRedirect() bool

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

func (*TenantsGetUnauthorized) IsServerError added in v1.20.0

func (o *TenantsGetUnauthorized) IsServerError() bool

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

func (*TenantsGetUnauthorized) IsSuccess added in v1.20.0

func (o *TenantsGetUnauthorized) IsSuccess() bool

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

func (*TenantsGetUnauthorized) String added in v1.20.0

func (o *TenantsGetUnauthorized) String() string

type TenantsGetUnprocessableEntity added in v1.20.0

type TenantsGetUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid Tenant class

func NewTenantsGetUnprocessableEntity added in v1.20.0

func NewTenantsGetUnprocessableEntity() *TenantsGetUnprocessableEntity

NewTenantsGetUnprocessableEntity creates a TenantsGetUnprocessableEntity with default headers values

func (*TenantsGetUnprocessableEntity) Code added in v1.20.0

Code gets the status code for the tenants get unprocessable entity response

func (*TenantsGetUnprocessableEntity) Error added in v1.20.0

func (*TenantsGetUnprocessableEntity) GetPayload added in v1.20.0

func (*TenantsGetUnprocessableEntity) IsClientError added in v1.20.0

func (o *TenantsGetUnprocessableEntity) IsClientError() bool

IsClientError returns true when this tenants get unprocessable entity response has a 4xx status code

func (*TenantsGetUnprocessableEntity) IsCode added in v1.20.0

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

IsCode returns true when this tenants get unprocessable entity response a status code equal to that given

func (*TenantsGetUnprocessableEntity) IsRedirect added in v1.20.0

func (o *TenantsGetUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this tenants get unprocessable entity response has a 3xx status code

func (*TenantsGetUnprocessableEntity) IsServerError added in v1.20.0

func (o *TenantsGetUnprocessableEntity) IsServerError() bool

IsServerError returns true when this tenants get unprocessable entity response has a 5xx status code

func (*TenantsGetUnprocessableEntity) IsSuccess added in v1.20.0

func (o *TenantsGetUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this tenants get unprocessable entity response has a 2xx status code

func (*TenantsGetUnprocessableEntity) String added in v1.20.0

type TenantsUpdateForbidden added in v1.21.0

type TenantsUpdateForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewTenantsUpdateForbidden added in v1.21.0

func NewTenantsUpdateForbidden() *TenantsUpdateForbidden

NewTenantsUpdateForbidden creates a TenantsUpdateForbidden with default headers values

func (*TenantsUpdateForbidden) Code added in v1.21.0

func (o *TenantsUpdateForbidden) Code() int

Code gets the status code for the tenants update forbidden response

func (*TenantsUpdateForbidden) Error added in v1.21.0

func (o *TenantsUpdateForbidden) Error() string

func (*TenantsUpdateForbidden) GetPayload added in v1.21.0

func (o *TenantsUpdateForbidden) GetPayload() *models.ErrorResponse

func (*TenantsUpdateForbidden) IsClientError added in v1.21.0

func (o *TenantsUpdateForbidden) IsClientError() bool

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

func (*TenantsUpdateForbidden) IsCode added in v1.21.0

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

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

func (*TenantsUpdateForbidden) IsRedirect added in v1.21.0

func (o *TenantsUpdateForbidden) IsRedirect() bool

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

func (*TenantsUpdateForbidden) IsServerError added in v1.21.0

func (o *TenantsUpdateForbidden) IsServerError() bool

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

func (*TenantsUpdateForbidden) IsSuccess added in v1.21.0

func (o *TenantsUpdateForbidden) IsSuccess() bool

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

func (*TenantsUpdateForbidden) String added in v1.21.0

func (o *TenantsUpdateForbidden) String() string

type TenantsUpdateInternalServerError added in v1.21.0

type TenantsUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}

TenantsUpdateInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewTenantsUpdateInternalServerError added in v1.21.0

func NewTenantsUpdateInternalServerError() *TenantsUpdateInternalServerError

NewTenantsUpdateInternalServerError creates a TenantsUpdateInternalServerError with default headers values

func (*TenantsUpdateInternalServerError) Code added in v1.21.0

Code gets the status code for the tenants update internal server error response

func (*TenantsUpdateInternalServerError) Error added in v1.21.0

func (*TenantsUpdateInternalServerError) GetPayload added in v1.21.0

func (*TenantsUpdateInternalServerError) IsClientError added in v1.21.0

func (o *TenantsUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this tenants update internal server error response has a 4xx status code

func (*TenantsUpdateInternalServerError) IsCode added in v1.21.0

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

IsCode returns true when this tenants update internal server error response a status code equal to that given

func (*TenantsUpdateInternalServerError) IsRedirect added in v1.21.0

func (o *TenantsUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this tenants update internal server error response has a 3xx status code

func (*TenantsUpdateInternalServerError) IsServerError added in v1.21.0

func (o *TenantsUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this tenants update internal server error response has a 5xx status code

func (*TenantsUpdateInternalServerError) IsSuccess added in v1.21.0

func (o *TenantsUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this tenants update internal server error response has a 2xx status code

func (*TenantsUpdateInternalServerError) String added in v1.21.0

type TenantsUpdateOK added in v1.21.0

type TenantsUpdateOK struct {
	Payload []*models.Tenant
}

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

Updated tenants of the specified class

func NewTenantsUpdateOK added in v1.21.0

func NewTenantsUpdateOK() *TenantsUpdateOK

NewTenantsUpdateOK creates a TenantsUpdateOK with default headers values

func (*TenantsUpdateOK) Code added in v1.21.0

func (o *TenantsUpdateOK) Code() int

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

func (*TenantsUpdateOK) Error added in v1.21.0

func (o *TenantsUpdateOK) Error() string

func (*TenantsUpdateOK) GetPayload added in v1.21.0

func (o *TenantsUpdateOK) GetPayload() []*models.Tenant

func (*TenantsUpdateOK) IsClientError added in v1.21.0

func (o *TenantsUpdateOK) IsClientError() bool

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

func (*TenantsUpdateOK) IsCode added in v1.21.0

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

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

func (*TenantsUpdateOK) IsRedirect added in v1.21.0

func (o *TenantsUpdateOK) IsRedirect() bool

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

func (*TenantsUpdateOK) IsServerError added in v1.21.0

func (o *TenantsUpdateOK) IsServerError() bool

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

func (*TenantsUpdateOK) IsSuccess added in v1.21.0

func (o *TenantsUpdateOK) IsSuccess() bool

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

func (*TenantsUpdateOK) String added in v1.21.0

func (o *TenantsUpdateOK) String() string

type TenantsUpdateParams added in v1.21.0

type TenantsUpdateParams struct {

	// Body.
	Body []*models.Tenant

	// ClassName.
	ClassName string

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

TenantsUpdateParams contains all the parameters to send to the API endpoint

for the tenants update operation.

Typically these are written to a http.Request.

func NewTenantsUpdateParams added in v1.21.0

func NewTenantsUpdateParams() *TenantsUpdateParams

NewTenantsUpdateParams creates a new TenantsUpdateParams 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 NewTenantsUpdateParamsWithContext added in v1.21.0

func NewTenantsUpdateParamsWithContext(ctx context.Context) *TenantsUpdateParams

NewTenantsUpdateParamsWithContext creates a new TenantsUpdateParams object with the ability to set a context for a request.

func NewTenantsUpdateParamsWithHTTPClient added in v1.21.0

func NewTenantsUpdateParamsWithHTTPClient(client *http.Client) *TenantsUpdateParams

NewTenantsUpdateParamsWithHTTPClient creates a new TenantsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewTenantsUpdateParamsWithTimeout added in v1.21.0

func NewTenantsUpdateParamsWithTimeout(timeout time.Duration) *TenantsUpdateParams

NewTenantsUpdateParamsWithTimeout creates a new TenantsUpdateParams object with the ability to set a timeout on a request.

func (*TenantsUpdateParams) SetBody added in v1.21.0

func (o *TenantsUpdateParams) SetBody(body []*models.Tenant)

SetBody adds the body to the tenants update params

func (*TenantsUpdateParams) SetClassName added in v1.21.0

func (o *TenantsUpdateParams) SetClassName(className string)

SetClassName adds the className to the tenants update params

func (*TenantsUpdateParams) SetContext added in v1.21.0

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

SetContext adds the context to the tenants update params

func (*TenantsUpdateParams) SetDefaults added in v1.21.0

func (o *TenantsUpdateParams) SetDefaults()

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

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

func (*TenantsUpdateParams) SetHTTPClient added in v1.21.0

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

SetHTTPClient adds the HTTPClient to the tenants update params

func (*TenantsUpdateParams) SetTimeout added in v1.21.0

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

SetTimeout adds the timeout to the tenants update params

func (*TenantsUpdateParams) WithBody added in v1.21.0

func (o *TenantsUpdateParams) WithBody(body []*models.Tenant) *TenantsUpdateParams

WithBody adds the body to the tenants update params

func (*TenantsUpdateParams) WithClassName added in v1.21.0

func (o *TenantsUpdateParams) WithClassName(className string) *TenantsUpdateParams

WithClassName adds the className to the tenants update params

func (*TenantsUpdateParams) WithContext added in v1.21.0

WithContext adds the context to the tenants update params

func (*TenantsUpdateParams) WithDefaults added in v1.21.0

func (o *TenantsUpdateParams) WithDefaults() *TenantsUpdateParams

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

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

func (*TenantsUpdateParams) WithHTTPClient added in v1.21.0

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

WithHTTPClient adds the HTTPClient to the tenants update params

func (*TenantsUpdateParams) WithTimeout added in v1.21.0

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

WithTimeout adds the timeout to the tenants update params

func (*TenantsUpdateParams) WriteToRequest added in v1.21.0

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

WriteToRequest writes these params to a swagger request

type TenantsUpdateReader added in v1.21.0

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

TenantsUpdateReader is a Reader for the TenantsUpdate structure.

func (*TenantsUpdateReader) ReadResponse added in v1.21.0

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

ReadResponse reads a server response into the received o.

type TenantsUpdateUnauthorized added in v1.21.0

type TenantsUpdateUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewTenantsUpdateUnauthorized added in v1.21.0

func NewTenantsUpdateUnauthorized() *TenantsUpdateUnauthorized

NewTenantsUpdateUnauthorized creates a TenantsUpdateUnauthorized with default headers values

func (*TenantsUpdateUnauthorized) Code added in v1.21.0

func (o *TenantsUpdateUnauthorized) Code() int

Code gets the status code for the tenants update unauthorized response

func (*TenantsUpdateUnauthorized) Error added in v1.21.0

func (o *TenantsUpdateUnauthorized) Error() string

func (*TenantsUpdateUnauthorized) IsClientError added in v1.21.0

func (o *TenantsUpdateUnauthorized) IsClientError() bool

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

func (*TenantsUpdateUnauthorized) IsCode added in v1.21.0

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

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

func (*TenantsUpdateUnauthorized) IsRedirect added in v1.21.0

func (o *TenantsUpdateUnauthorized) IsRedirect() bool

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

func (*TenantsUpdateUnauthorized) IsServerError added in v1.21.0

func (o *TenantsUpdateUnauthorized) IsServerError() bool

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

func (*TenantsUpdateUnauthorized) IsSuccess added in v1.21.0

func (o *TenantsUpdateUnauthorized) IsSuccess() bool

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

func (*TenantsUpdateUnauthorized) String added in v1.21.0

func (o *TenantsUpdateUnauthorized) String() string

type TenantsUpdateUnprocessableEntity added in v1.21.0

type TenantsUpdateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

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

Invalid Tenant class

func NewTenantsUpdateUnprocessableEntity added in v1.21.0

func NewTenantsUpdateUnprocessableEntity() *TenantsUpdateUnprocessableEntity

NewTenantsUpdateUnprocessableEntity creates a TenantsUpdateUnprocessableEntity with default headers values

func (*TenantsUpdateUnprocessableEntity) Code added in v1.21.0

Code gets the status code for the tenants update unprocessable entity response

func (*TenantsUpdateUnprocessableEntity) Error added in v1.21.0

func (*TenantsUpdateUnprocessableEntity) GetPayload added in v1.21.0

func (*TenantsUpdateUnprocessableEntity) IsClientError added in v1.21.0

func (o *TenantsUpdateUnprocessableEntity) IsClientError() bool

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

func (*TenantsUpdateUnprocessableEntity) IsCode added in v1.21.0

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

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

func (*TenantsUpdateUnprocessableEntity) IsRedirect added in v1.21.0

func (o *TenantsUpdateUnprocessableEntity) IsRedirect() bool

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

func (*TenantsUpdateUnprocessableEntity) IsServerError added in v1.21.0

func (o *TenantsUpdateUnprocessableEntity) IsServerError() bool

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

func (*TenantsUpdateUnprocessableEntity) IsSuccess added in v1.21.0

func (o *TenantsUpdateUnprocessableEntity) IsSuccess() bool

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

func (*TenantsUpdateUnprocessableEntity) String added in v1.21.0

Jump to

Keyboard shortcuts

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