schema

package
v1.17.6 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 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) (*SchemaDumpOK, error)

SchemaDump dumps the current the database schema

func (*Client) SchemaObjectsCreate

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

SchemaObjectsCreate creates a new object class in the schema

func (*Client) SchemaObjectsDelete

func (a *Client) SchemaObjectsDelete(params *SchemaObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*SchemaObjectsGetOK, error)

SchemaObjectsGet gets a single class from the schema

func (*Client) SchemaObjectsPropertiesAdd

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

SchemaObjectsPropertiesAdd adds a property to an object class

func (*Client) SchemaObjectsShardsGet

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

SchemaObjectsShardsGet gets the shards status of an object class

func (*Client) SchemaObjectsShardsUpdate

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

SchemaObjectsShardsUpdate Update shard status of an Object Class

func (*Client) SchemaObjectsUpdate

func (a *Client) SchemaObjectsUpdate(params *SchemaObjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*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

type ClientService

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

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

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

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

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

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

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

	SchemaObjectsUpdate(params *SchemaObjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*SchemaObjectsUpdateOK, 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 handles this case with default header values.

Forbidden

func NewSchemaDumpForbidden

func NewSchemaDumpForbidden() *SchemaDumpForbidden

NewSchemaDumpForbidden creates a SchemaDumpForbidden with default headers values

func (*SchemaDumpForbidden) Error

func (o *SchemaDumpForbidden) Error() string

func (*SchemaDumpForbidden) GetPayload

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

type SchemaDumpInternalServerError

type SchemaDumpInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaDumpInternalServerError handles this case 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) Error

func (*SchemaDumpInternalServerError) GetPayload

type SchemaDumpOK

type SchemaDumpOK struct {
	Payload *models.Schema
}

SchemaDumpOK handles this case with default header values.

Successfully dumped the database schema.

func NewSchemaDumpOK

func NewSchemaDumpOK() *SchemaDumpOK

NewSchemaDumpOK creates a SchemaDumpOK with default headers values

func (*SchemaDumpOK) Error

func (o *SchemaDumpOK) Error() string

func (*SchemaDumpOK) GetPayload

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

type SchemaDumpParams

type SchemaDumpParams struct {
	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 values initialized.

func NewSchemaDumpParamsWithContext

func NewSchemaDumpParamsWithContext(ctx context.Context) *SchemaDumpParams

NewSchemaDumpParamsWithContext creates a new SchemaDumpParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*SchemaDumpParams) SetContext

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

SetContext adds the context to the schema dump params

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) WithContext

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

WithContext adds the context to the schema dump params

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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaDumpUnauthorized

func NewSchemaDumpUnauthorized() *SchemaDumpUnauthorized

NewSchemaDumpUnauthorized creates a SchemaDumpUnauthorized with default headers values

func (*SchemaDumpUnauthorized) Error

func (o *SchemaDumpUnauthorized) Error() string

type SchemaObjectsCreateForbidden

type SchemaObjectsCreateForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsCreateForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsCreateForbidden

func NewSchemaObjectsCreateForbidden() *SchemaObjectsCreateForbidden

NewSchemaObjectsCreateForbidden creates a SchemaObjectsCreateForbidden with default headers values

func (*SchemaObjectsCreateForbidden) Error

func (*SchemaObjectsCreateForbidden) GetPayload

type SchemaObjectsCreateInternalServerError

type SchemaObjectsCreateInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsCreateInternalServerError handles this case 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) Error

func (*SchemaObjectsCreateInternalServerError) GetPayload

type SchemaObjectsCreateOK

type SchemaObjectsCreateOK struct {
	Payload *models.Class
}

SchemaObjectsCreateOK handles this case 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) Error

func (o *SchemaObjectsCreateOK) Error() string

func (*SchemaObjectsCreateOK) GetPayload

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

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 values initialized.

func NewSchemaObjectsCreateParamsWithContext

func NewSchemaObjectsCreateParamsWithContext(ctx context.Context) *SchemaObjectsCreateParams

NewSchemaObjectsCreateParamsWithContext creates a new SchemaObjectsCreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsCreateUnauthorized

func NewSchemaObjectsCreateUnauthorized() *SchemaObjectsCreateUnauthorized

NewSchemaObjectsCreateUnauthorized creates a SchemaObjectsCreateUnauthorized with default headers values

func (*SchemaObjectsCreateUnauthorized) Error

type SchemaObjectsCreateUnprocessableEntity

type SchemaObjectsCreateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SchemaObjectsCreateUnprocessableEntity handles this case with default header values.

Invalid Object class

func NewSchemaObjectsCreateUnprocessableEntity

func NewSchemaObjectsCreateUnprocessableEntity() *SchemaObjectsCreateUnprocessableEntity

NewSchemaObjectsCreateUnprocessableEntity creates a SchemaObjectsCreateUnprocessableEntity with default headers values

func (*SchemaObjectsCreateUnprocessableEntity) Error

func (*SchemaObjectsCreateUnprocessableEntity) GetPayload

type SchemaObjectsDeleteBadRequest

type SchemaObjectsDeleteBadRequest struct {
	Payload *models.ErrorResponse
}

SchemaObjectsDeleteBadRequest handles this case 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) Error

func (*SchemaObjectsDeleteBadRequest) GetPayload

type SchemaObjectsDeleteForbidden

type SchemaObjectsDeleteForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsDeleteForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsDeleteForbidden

func NewSchemaObjectsDeleteForbidden() *SchemaObjectsDeleteForbidden

NewSchemaObjectsDeleteForbidden creates a SchemaObjectsDeleteForbidden with default headers values

func (*SchemaObjectsDeleteForbidden) Error

func (*SchemaObjectsDeleteForbidden) GetPayload

type SchemaObjectsDeleteInternalServerError

type SchemaObjectsDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsDeleteInternalServerError handles this case 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) Error

func (*SchemaObjectsDeleteInternalServerError) GetPayload

type SchemaObjectsDeleteOK

type SchemaObjectsDeleteOK struct {
}

SchemaObjectsDeleteOK handles this case 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) Error

func (o *SchemaObjectsDeleteOK) Error() string

type SchemaObjectsDeleteParams

type SchemaObjectsDeleteParams struct {

	/*ClassName*/
	ClassName string
	/*Force*/
	Force *bool

	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 values initialized.

func NewSchemaObjectsDeleteParamsWithContext

func NewSchemaObjectsDeleteParamsWithContext(ctx context.Context) *SchemaObjectsDeleteParams

NewSchemaObjectsDeleteParamsWithContext creates a new SchemaObjectsDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetForce added in v1.17.4

func (o *SchemaObjectsDeleteParams) SetForce(force *bool)

SetForce adds the force to the schema objects delete params

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) WithForce added in v1.17.4

WithForce adds the force to the schema objects delete params

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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsDeleteUnauthorized

func NewSchemaObjectsDeleteUnauthorized() *SchemaObjectsDeleteUnauthorized

NewSchemaObjectsDeleteUnauthorized creates a SchemaObjectsDeleteUnauthorized with default headers values

func (*SchemaObjectsDeleteUnauthorized) Error

type SchemaObjectsGetForbidden

type SchemaObjectsGetForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsGetForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsGetForbidden

func NewSchemaObjectsGetForbidden() *SchemaObjectsGetForbidden

NewSchemaObjectsGetForbidden creates a SchemaObjectsGetForbidden with default headers values

func (*SchemaObjectsGetForbidden) Error

func (o *SchemaObjectsGetForbidden) Error() string

func (*SchemaObjectsGetForbidden) GetPayload

type SchemaObjectsGetInternalServerError

type SchemaObjectsGetInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsGetInternalServerError handles this case 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) Error

func (*SchemaObjectsGetInternalServerError) GetPayload

type SchemaObjectsGetNotFound

type SchemaObjectsGetNotFound struct {
}

SchemaObjectsGetNotFound handles this case with default header values.

This class does not exist

func NewSchemaObjectsGetNotFound

func NewSchemaObjectsGetNotFound() *SchemaObjectsGetNotFound

NewSchemaObjectsGetNotFound creates a SchemaObjectsGetNotFound with default headers values

func (*SchemaObjectsGetNotFound) Error

func (o *SchemaObjectsGetNotFound) Error() string

type SchemaObjectsGetOK

type SchemaObjectsGetOK struct {
	Payload *models.Class
}

SchemaObjectsGetOK handles this case 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) Error

func (o *SchemaObjectsGetOK) Error() string

func (*SchemaObjectsGetOK) GetPayload

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

type SchemaObjectsGetParams

type SchemaObjectsGetParams struct {

	/*ClassName*/
	ClassName string

	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 values initialized.

func NewSchemaObjectsGetParamsWithContext

func NewSchemaObjectsGetParamsWithContext(ctx context.Context) *SchemaObjectsGetParams

NewSchemaObjectsGetParamsWithContext creates a new SchemaObjectsGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetContext

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

SetContext adds the context to the schema objects get params

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) WithContext

WithContext adds the context to the schema objects get params

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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsGetUnauthorized

func NewSchemaObjectsGetUnauthorized() *SchemaObjectsGetUnauthorized

NewSchemaObjectsGetUnauthorized creates a SchemaObjectsGetUnauthorized with default headers values

func (*SchemaObjectsGetUnauthorized) Error

type SchemaObjectsPropertiesAddForbidden

type SchemaObjectsPropertiesAddForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsPropertiesAddForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsPropertiesAddForbidden

func NewSchemaObjectsPropertiesAddForbidden() *SchemaObjectsPropertiesAddForbidden

NewSchemaObjectsPropertiesAddForbidden creates a SchemaObjectsPropertiesAddForbidden with default headers values

func (*SchemaObjectsPropertiesAddForbidden) Error

func (*SchemaObjectsPropertiesAddForbidden) GetPayload

type SchemaObjectsPropertiesAddInternalServerError

type SchemaObjectsPropertiesAddInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsPropertiesAddInternalServerError handles this case 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) Error

func (*SchemaObjectsPropertiesAddInternalServerError) GetPayload

type SchemaObjectsPropertiesAddOK

type SchemaObjectsPropertiesAddOK struct {
	Payload *models.Property
}

SchemaObjectsPropertiesAddOK handles this case with default header values.

Added the property.

func NewSchemaObjectsPropertiesAddOK

func NewSchemaObjectsPropertiesAddOK() *SchemaObjectsPropertiesAddOK

NewSchemaObjectsPropertiesAddOK creates a SchemaObjectsPropertiesAddOK with default headers values

func (*SchemaObjectsPropertiesAddOK) Error

func (*SchemaObjectsPropertiesAddOK) GetPayload

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

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 values initialized.

func NewSchemaObjectsPropertiesAddParamsWithContext

func NewSchemaObjectsPropertiesAddParamsWithContext(ctx context.Context) *SchemaObjectsPropertiesAddParams

NewSchemaObjectsPropertiesAddParamsWithContext creates a new SchemaObjectsPropertiesAddParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsPropertiesAddUnauthorized

func NewSchemaObjectsPropertiesAddUnauthorized() *SchemaObjectsPropertiesAddUnauthorized

NewSchemaObjectsPropertiesAddUnauthorized creates a SchemaObjectsPropertiesAddUnauthorized with default headers values

func (*SchemaObjectsPropertiesAddUnauthorized) Error

type SchemaObjectsPropertiesAddUnprocessableEntity

type SchemaObjectsPropertiesAddUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SchemaObjectsPropertiesAddUnprocessableEntity handles this case with default header values.

Invalid property.

func NewSchemaObjectsPropertiesAddUnprocessableEntity

func NewSchemaObjectsPropertiesAddUnprocessableEntity() *SchemaObjectsPropertiesAddUnprocessableEntity

NewSchemaObjectsPropertiesAddUnprocessableEntity creates a SchemaObjectsPropertiesAddUnprocessableEntity with default headers values

func (*SchemaObjectsPropertiesAddUnprocessableEntity) Error

func (*SchemaObjectsPropertiesAddUnprocessableEntity) GetPayload

type SchemaObjectsShardsGetForbidden

type SchemaObjectsShardsGetForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsGetForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsShardsGetForbidden

func NewSchemaObjectsShardsGetForbidden() *SchemaObjectsShardsGetForbidden

NewSchemaObjectsShardsGetForbidden creates a SchemaObjectsShardsGetForbidden with default headers values

func (*SchemaObjectsShardsGetForbidden) Error

func (*SchemaObjectsShardsGetForbidden) GetPayload

type SchemaObjectsShardsGetInternalServerError

type SchemaObjectsShardsGetInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsGetInternalServerError handles this case 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) Error

func (*SchemaObjectsShardsGetInternalServerError) GetPayload

type SchemaObjectsShardsGetNotFound

type SchemaObjectsShardsGetNotFound struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsGetNotFound handles this case with default header values.

This class does not exist

func NewSchemaObjectsShardsGetNotFound

func NewSchemaObjectsShardsGetNotFound() *SchemaObjectsShardsGetNotFound

NewSchemaObjectsShardsGetNotFound creates a SchemaObjectsShardsGetNotFound with default headers values

func (*SchemaObjectsShardsGetNotFound) Error

func (*SchemaObjectsShardsGetNotFound) GetPayload

type SchemaObjectsShardsGetOK

type SchemaObjectsShardsGetOK struct {
	Payload models.ShardStatusList
}

SchemaObjectsShardsGetOK handles this case 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) Error

func (o *SchemaObjectsShardsGetOK) Error() string

func (*SchemaObjectsShardsGetOK) GetPayload

type SchemaObjectsShardsGetParams

type SchemaObjectsShardsGetParams struct {

	/*ClassName*/
	ClassName 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 values initialized.

func NewSchemaObjectsShardsGetParamsWithContext

func NewSchemaObjectsShardsGetParamsWithContext(ctx context.Context) *SchemaObjectsShardsGetParams

NewSchemaObjectsShardsGetParamsWithContext creates a new SchemaObjectsShardsGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) WithHTTPClient

WithHTTPClient adds the HTTPClient 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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsShardsGetUnauthorized

func NewSchemaObjectsShardsGetUnauthorized() *SchemaObjectsShardsGetUnauthorized

NewSchemaObjectsShardsGetUnauthorized creates a SchemaObjectsShardsGetUnauthorized with default headers values

func (*SchemaObjectsShardsGetUnauthorized) Error

type SchemaObjectsShardsUpdateForbidden

type SchemaObjectsShardsUpdateForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsUpdateForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsShardsUpdateForbidden

func NewSchemaObjectsShardsUpdateForbidden() *SchemaObjectsShardsUpdateForbidden

NewSchemaObjectsShardsUpdateForbidden creates a SchemaObjectsShardsUpdateForbidden with default headers values

func (*SchemaObjectsShardsUpdateForbidden) Error

func (*SchemaObjectsShardsUpdateForbidden) GetPayload

type SchemaObjectsShardsUpdateInternalServerError

type SchemaObjectsShardsUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsUpdateInternalServerError handles this case 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) Error

func (*SchemaObjectsShardsUpdateInternalServerError) GetPayload

type SchemaObjectsShardsUpdateNotFound

type SchemaObjectsShardsUpdateNotFound struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsUpdateNotFound handles this case 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) Error

func (*SchemaObjectsShardsUpdateNotFound) GetPayload

type SchemaObjectsShardsUpdateOK

type SchemaObjectsShardsUpdateOK struct {
	Payload *models.ShardStatus
}

SchemaObjectsShardsUpdateOK handles this case with default header values.

Shard status was updated successfully

func NewSchemaObjectsShardsUpdateOK

func NewSchemaObjectsShardsUpdateOK() *SchemaObjectsShardsUpdateOK

NewSchemaObjectsShardsUpdateOK creates a SchemaObjectsShardsUpdateOK with default headers values

func (*SchemaObjectsShardsUpdateOK) Error

func (*SchemaObjectsShardsUpdateOK) GetPayload

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 values initialized.

func NewSchemaObjectsShardsUpdateParamsWithContext

func NewSchemaObjectsShardsUpdateParamsWithContext(ctx context.Context) *SchemaObjectsShardsUpdateParams

NewSchemaObjectsShardsUpdateParamsWithContext creates a new SchemaObjectsShardsUpdateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsShardsUpdateUnauthorized

func NewSchemaObjectsShardsUpdateUnauthorized() *SchemaObjectsShardsUpdateUnauthorized

NewSchemaObjectsShardsUpdateUnauthorized creates a SchemaObjectsShardsUpdateUnauthorized with default headers values

func (*SchemaObjectsShardsUpdateUnauthorized) Error

type SchemaObjectsShardsUpdateUnprocessableEntity

type SchemaObjectsShardsUpdateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SchemaObjectsShardsUpdateUnprocessableEntity handles this case with default header values.

Invalid update attempt

func NewSchemaObjectsShardsUpdateUnprocessableEntity

func NewSchemaObjectsShardsUpdateUnprocessableEntity() *SchemaObjectsShardsUpdateUnprocessableEntity

NewSchemaObjectsShardsUpdateUnprocessableEntity creates a SchemaObjectsShardsUpdateUnprocessableEntity with default headers values

func (*SchemaObjectsShardsUpdateUnprocessableEntity) Error

func (*SchemaObjectsShardsUpdateUnprocessableEntity) GetPayload

type SchemaObjectsUpdateForbidden

type SchemaObjectsUpdateForbidden struct {
	Payload *models.ErrorResponse
}

SchemaObjectsUpdateForbidden handles this case with default header values.

Forbidden

func NewSchemaObjectsUpdateForbidden

func NewSchemaObjectsUpdateForbidden() *SchemaObjectsUpdateForbidden

NewSchemaObjectsUpdateForbidden creates a SchemaObjectsUpdateForbidden with default headers values

func (*SchemaObjectsUpdateForbidden) Error

func (*SchemaObjectsUpdateForbidden) GetPayload

type SchemaObjectsUpdateInternalServerError

type SchemaObjectsUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}

SchemaObjectsUpdateInternalServerError handles this case 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) Error

func (*SchemaObjectsUpdateInternalServerError) GetPayload

type SchemaObjectsUpdateNotFound

type SchemaObjectsUpdateNotFound struct {
	Payload *models.ErrorResponse
}

SchemaObjectsUpdateNotFound handles this case 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) Error

func (*SchemaObjectsUpdateNotFound) GetPayload

type SchemaObjectsUpdateOK

type SchemaObjectsUpdateOK struct {
	Payload *models.Class
}

SchemaObjectsUpdateOK handles this case with default header values.

Class was updated successfully

func NewSchemaObjectsUpdateOK

func NewSchemaObjectsUpdateOK() *SchemaObjectsUpdateOK

NewSchemaObjectsUpdateOK creates a SchemaObjectsUpdateOK with default headers values

func (*SchemaObjectsUpdateOK) Error

func (o *SchemaObjectsUpdateOK) Error() string

func (*SchemaObjectsUpdateOK) GetPayload

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

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 values initialized.

func NewSchemaObjectsUpdateParamsWithContext

func NewSchemaObjectsUpdateParamsWithContext(ctx context.Context) *SchemaObjectsUpdateParams

NewSchemaObjectsUpdateParamsWithContext creates a new SchemaObjectsUpdateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Unauthorized or invalid credentials.

func NewSchemaObjectsUpdateUnauthorized

func NewSchemaObjectsUpdateUnauthorized() *SchemaObjectsUpdateUnauthorized

NewSchemaObjectsUpdateUnauthorized creates a SchemaObjectsUpdateUnauthorized with default headers values

func (*SchemaObjectsUpdateUnauthorized) Error

type SchemaObjectsUpdateUnprocessableEntity

type SchemaObjectsUpdateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

SchemaObjectsUpdateUnprocessableEntity handles this case with default header values.

Invalid update attempt

func NewSchemaObjectsUpdateUnprocessableEntity

func NewSchemaObjectsUpdateUnprocessableEntity() *SchemaObjectsUpdateUnprocessableEntity

NewSchemaObjectsUpdateUnprocessableEntity creates a SchemaObjectsUpdateUnprocessableEntity with default headers values

func (*SchemaObjectsUpdateUnprocessableEntity) Error

func (*SchemaObjectsUpdateUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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