schema

package
v0.0.0-...-5637490 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const SchemaDumpForbiddenCode int = 403

SchemaDumpForbiddenCode is the HTTP code returned for type SchemaDumpForbidden

View Source
const SchemaDumpInternalServerErrorCode int = 500

SchemaDumpInternalServerErrorCode is the HTTP code returned for type SchemaDumpInternalServerError

View Source
const SchemaDumpOKCode int = 200

SchemaDumpOKCode is the HTTP code returned for type SchemaDumpOK

View Source
const SchemaDumpUnauthorizedCode int = 401

SchemaDumpUnauthorizedCode is the HTTP code returned for type SchemaDumpUnauthorized

View Source
const SchemaObjectsCreateForbiddenCode int = 403

SchemaObjectsCreateForbiddenCode is the HTTP code returned for type SchemaObjectsCreateForbidden

View Source
const SchemaObjectsCreateInternalServerErrorCode int = 500

SchemaObjectsCreateInternalServerErrorCode is the HTTP code returned for type SchemaObjectsCreateInternalServerError

View Source
const SchemaObjectsCreateOKCode int = 200

SchemaObjectsCreateOKCode is the HTTP code returned for type SchemaObjectsCreateOK

View Source
const SchemaObjectsCreateUnauthorizedCode int = 401

SchemaObjectsCreateUnauthorizedCode is the HTTP code returned for type SchemaObjectsCreateUnauthorized

View Source
const SchemaObjectsCreateUnprocessableEntityCode int = 422

SchemaObjectsCreateUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsCreateUnprocessableEntity

View Source
const SchemaObjectsDeleteBadRequestCode int = 400

SchemaObjectsDeleteBadRequestCode is the HTTP code returned for type SchemaObjectsDeleteBadRequest

View Source
const SchemaObjectsDeleteForbiddenCode int = 403

SchemaObjectsDeleteForbiddenCode is the HTTP code returned for type SchemaObjectsDeleteForbidden

View Source
const SchemaObjectsDeleteInternalServerErrorCode int = 500

SchemaObjectsDeleteInternalServerErrorCode is the HTTP code returned for type SchemaObjectsDeleteInternalServerError

View Source
const SchemaObjectsDeleteOKCode int = 200

SchemaObjectsDeleteOKCode is the HTTP code returned for type SchemaObjectsDeleteOK

View Source
const SchemaObjectsDeleteUnauthorizedCode int = 401

SchemaObjectsDeleteUnauthorizedCode is the HTTP code returned for type SchemaObjectsDeleteUnauthorized

View Source
const SchemaObjectsGetForbiddenCode int = 403

SchemaObjectsGetForbiddenCode is the HTTP code returned for type SchemaObjectsGetForbidden

View Source
const SchemaObjectsGetInternalServerErrorCode int = 500

SchemaObjectsGetInternalServerErrorCode is the HTTP code returned for type SchemaObjectsGetInternalServerError

View Source
const SchemaObjectsGetNotFoundCode int = 404

SchemaObjectsGetNotFoundCode is the HTTP code returned for type SchemaObjectsGetNotFound

View Source
const SchemaObjectsGetOKCode int = 200

SchemaObjectsGetOKCode is the HTTP code returned for type SchemaObjectsGetOK

View Source
const SchemaObjectsGetUnauthorizedCode int = 401

SchemaObjectsGetUnauthorizedCode is the HTTP code returned for type SchemaObjectsGetUnauthorized

View Source
const SchemaObjectsPropertiesAddForbiddenCode int = 403

SchemaObjectsPropertiesAddForbiddenCode is the HTTP code returned for type SchemaObjectsPropertiesAddForbidden

View Source
const SchemaObjectsPropertiesAddInternalServerErrorCode int = 500

SchemaObjectsPropertiesAddInternalServerErrorCode is the HTTP code returned for type SchemaObjectsPropertiesAddInternalServerError

View Source
const SchemaObjectsPropertiesAddOKCode int = 200

SchemaObjectsPropertiesAddOKCode is the HTTP code returned for type SchemaObjectsPropertiesAddOK

View Source
const SchemaObjectsPropertiesAddUnauthorizedCode int = 401

SchemaObjectsPropertiesAddUnauthorizedCode is the HTTP code returned for type SchemaObjectsPropertiesAddUnauthorized

View Source
const SchemaObjectsPropertiesAddUnprocessableEntityCode int = 422

SchemaObjectsPropertiesAddUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsPropertiesAddUnprocessableEntity

View Source
const SchemaObjectsShardsGetForbiddenCode int = 403

SchemaObjectsShardsGetForbiddenCode is the HTTP code returned for type SchemaObjectsShardsGetForbidden

View Source
const SchemaObjectsShardsGetInternalServerErrorCode int = 500

SchemaObjectsShardsGetInternalServerErrorCode is the HTTP code returned for type SchemaObjectsShardsGetInternalServerError

View Source
const SchemaObjectsShardsGetNotFoundCode int = 404

SchemaObjectsShardsGetNotFoundCode is the HTTP code returned for type SchemaObjectsShardsGetNotFound

View Source
const SchemaObjectsShardsGetOKCode int = 200

SchemaObjectsShardsGetOKCode is the HTTP code returned for type SchemaObjectsShardsGetOK

View Source
const SchemaObjectsShardsGetUnauthorizedCode int = 401

SchemaObjectsShardsGetUnauthorizedCode is the HTTP code returned for type SchemaObjectsShardsGetUnauthorized

View Source
const SchemaObjectsShardsUpdateForbiddenCode int = 403

SchemaObjectsShardsUpdateForbiddenCode is the HTTP code returned for type SchemaObjectsShardsUpdateForbidden

View Source
const SchemaObjectsShardsUpdateInternalServerErrorCode int = 500

SchemaObjectsShardsUpdateInternalServerErrorCode is the HTTP code returned for type SchemaObjectsShardsUpdateInternalServerError

View Source
const SchemaObjectsShardsUpdateNotFoundCode int = 404

SchemaObjectsShardsUpdateNotFoundCode is the HTTP code returned for type SchemaObjectsShardsUpdateNotFound

View Source
const SchemaObjectsShardsUpdateOKCode int = 200

SchemaObjectsShardsUpdateOKCode is the HTTP code returned for type SchemaObjectsShardsUpdateOK

View Source
const SchemaObjectsShardsUpdateUnauthorizedCode int = 401

SchemaObjectsShardsUpdateUnauthorizedCode is the HTTP code returned for type SchemaObjectsShardsUpdateUnauthorized

View Source
const SchemaObjectsShardsUpdateUnprocessableEntityCode int = 422

SchemaObjectsShardsUpdateUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsShardsUpdateUnprocessableEntity

View Source
const SchemaObjectsUpdateForbiddenCode int = 403

SchemaObjectsUpdateForbiddenCode is the HTTP code returned for type SchemaObjectsUpdateForbidden

View Source
const SchemaObjectsUpdateInternalServerErrorCode int = 500

SchemaObjectsUpdateInternalServerErrorCode is the HTTP code returned for type SchemaObjectsUpdateInternalServerError

View Source
const SchemaObjectsUpdateNotFoundCode int = 404

SchemaObjectsUpdateNotFoundCode is the HTTP code returned for type SchemaObjectsUpdateNotFound

View Source
const SchemaObjectsUpdateOKCode int = 200

SchemaObjectsUpdateOKCode is the HTTP code returned for type SchemaObjectsUpdateOK

View Source
const SchemaObjectsUpdateUnauthorizedCode int = 401

SchemaObjectsUpdateUnauthorizedCode is the HTTP code returned for type SchemaObjectsUpdateUnauthorized

View Source
const SchemaObjectsUpdateUnprocessableEntityCode int = 422

SchemaObjectsUpdateUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsUpdateUnprocessableEntity

View Source
const TenantExistsForbiddenCode int = 403

TenantExistsForbiddenCode is the HTTP code returned for type TenantExistsForbidden

View Source
const TenantExistsInternalServerErrorCode int = 500

TenantExistsInternalServerErrorCode is the HTTP code returned for type TenantExistsInternalServerError

View Source
const TenantExistsNotFoundCode int = 404

TenantExistsNotFoundCode is the HTTP code returned for type TenantExistsNotFound

View Source
const TenantExistsOKCode int = 200

TenantExistsOKCode is the HTTP code returned for type TenantExistsOK

View Source
const TenantExistsUnauthorizedCode int = 401

TenantExistsUnauthorizedCode is the HTTP code returned for type TenantExistsUnauthorized

View Source
const TenantExistsUnprocessableEntityCode int = 422

TenantExistsUnprocessableEntityCode is the HTTP code returned for type TenantExistsUnprocessableEntity

View Source
const TenantsCreateForbiddenCode int = 403

TenantsCreateForbiddenCode is the HTTP code returned for type TenantsCreateForbidden

View Source
const TenantsCreateInternalServerErrorCode int = 500

TenantsCreateInternalServerErrorCode is the HTTP code returned for type TenantsCreateInternalServerError

View Source
const TenantsCreateOKCode int = 200

TenantsCreateOKCode is the HTTP code returned for type TenantsCreateOK

View Source
const TenantsCreateUnauthorizedCode int = 401

TenantsCreateUnauthorizedCode is the HTTP code returned for type TenantsCreateUnauthorized

View Source
const TenantsCreateUnprocessableEntityCode int = 422

TenantsCreateUnprocessableEntityCode is the HTTP code returned for type TenantsCreateUnprocessableEntity

View Source
const TenantsDeleteForbiddenCode int = 403

TenantsDeleteForbiddenCode is the HTTP code returned for type TenantsDeleteForbidden

View Source
const TenantsDeleteInternalServerErrorCode int = 500

TenantsDeleteInternalServerErrorCode is the HTTP code returned for type TenantsDeleteInternalServerError

View Source
const TenantsDeleteOKCode int = 200

TenantsDeleteOKCode is the HTTP code returned for type TenantsDeleteOK

View Source
const TenantsDeleteUnauthorizedCode int = 401

TenantsDeleteUnauthorizedCode is the HTTP code returned for type TenantsDeleteUnauthorized

View Source
const TenantsDeleteUnprocessableEntityCode int = 422

TenantsDeleteUnprocessableEntityCode is the HTTP code returned for type TenantsDeleteUnprocessableEntity

View Source
const TenantsGetForbiddenCode int = 403

TenantsGetForbiddenCode is the HTTP code returned for type TenantsGetForbidden

View Source
const TenantsGetInternalServerErrorCode int = 500

TenantsGetInternalServerErrorCode is the HTTP code returned for type TenantsGetInternalServerError

View Source
const TenantsGetOKCode int = 200

TenantsGetOKCode is the HTTP code returned for type TenantsGetOK

View Source
const TenantsGetOneForbiddenCode int = 403

TenantsGetOneForbiddenCode is the HTTP code returned for type TenantsGetOneForbidden

View Source
const TenantsGetOneInternalServerErrorCode int = 500

TenantsGetOneInternalServerErrorCode is the HTTP code returned for type TenantsGetOneInternalServerError

View Source
const TenantsGetOneNotFoundCode int = 404

TenantsGetOneNotFoundCode is the HTTP code returned for type TenantsGetOneNotFound

View Source
const TenantsGetOneOKCode int = 200

TenantsGetOneOKCode is the HTTP code returned for type TenantsGetOneOK

View Source
const TenantsGetOneUnauthorizedCode int = 401

TenantsGetOneUnauthorizedCode is the HTTP code returned for type TenantsGetOneUnauthorized

View Source
const TenantsGetOneUnprocessableEntityCode int = 422

TenantsGetOneUnprocessableEntityCode is the HTTP code returned for type TenantsGetOneUnprocessableEntity

View Source
const TenantsGetUnauthorizedCode int = 401

TenantsGetUnauthorizedCode is the HTTP code returned for type TenantsGetUnauthorized

View Source
const TenantsGetUnprocessableEntityCode int = 422

TenantsGetUnprocessableEntityCode is the HTTP code returned for type TenantsGetUnprocessableEntity

View Source
const TenantsUpdateForbiddenCode int = 403

TenantsUpdateForbiddenCode is the HTTP code returned for type TenantsUpdateForbidden

View Source
const TenantsUpdateInternalServerErrorCode int = 500

TenantsUpdateInternalServerErrorCode is the HTTP code returned for type TenantsUpdateInternalServerError

View Source
const TenantsUpdateOKCode int = 200

TenantsUpdateOKCode is the HTTP code returned for type TenantsUpdateOK

View Source
const TenantsUpdateUnauthorizedCode int = 401

TenantsUpdateUnauthorizedCode is the HTTP code returned for type TenantsUpdateUnauthorized

View Source
const TenantsUpdateUnprocessableEntityCode int = 422

TenantsUpdateUnprocessableEntityCode is the HTTP code returned for type TenantsUpdateUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaDump

type SchemaDump struct {
	Context *middleware.Context
	Handler SchemaDumpHandler
}
SchemaDump swagger:route GET /schema schema schemaDump

Dump the current the database schema.

Fetch an array of all collection definitions from the schema.

func NewSchemaDump

func NewSchemaDump(ctx *middleware.Context, handler SchemaDumpHandler) *SchemaDump

NewSchemaDump creates a new http.Handler for the schema dump operation

func (*SchemaDump) ServeHTTP

func (o *SchemaDump) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SchemaDumpForbidden

type SchemaDumpForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaDumpForbidden Forbidden

swagger:response schemaDumpForbidden

func NewSchemaDumpForbidden

func NewSchemaDumpForbidden() *SchemaDumpForbidden

NewSchemaDumpForbidden creates SchemaDumpForbidden with default headers values

func (*SchemaDumpForbidden) SetPayload

func (o *SchemaDumpForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema dump forbidden response

func (*SchemaDumpForbidden) WithPayload

func (o *SchemaDumpForbidden) WithPayload(payload *models.ErrorResponse) *SchemaDumpForbidden

WithPayload adds the payload to the schema dump forbidden response

func (*SchemaDumpForbidden) WriteResponse

func (o *SchemaDumpForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaDumpHandler

type SchemaDumpHandler interface {
	Handle(SchemaDumpParams, *models.Principal) middleware.Responder
}

SchemaDumpHandler interface for that can handle valid schema dump params

type SchemaDumpHandlerFunc

type SchemaDumpHandlerFunc func(SchemaDumpParams, *models.Principal) middleware.Responder

SchemaDumpHandlerFunc turns a function with the right signature into a schema dump handler

func (SchemaDumpHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaDumpInternalServerError

type SchemaDumpInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaDumpInternalServerError

func NewSchemaDumpInternalServerError

func NewSchemaDumpInternalServerError() *SchemaDumpInternalServerError

NewSchemaDumpInternalServerError creates SchemaDumpInternalServerError with default headers values

func (*SchemaDumpInternalServerError) SetPayload

func (o *SchemaDumpInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema dump internal server error response

func (*SchemaDumpInternalServerError) WithPayload

WithPayload adds the payload to the schema dump internal server error response

func (*SchemaDumpInternalServerError) WriteResponse

func (o *SchemaDumpInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaDumpOK

type SchemaDumpOK struct {

	/*
	  In: Body
	*/
	Payload *models.Schema `json:"body,omitempty"`
}

SchemaDumpOK Successfully dumped the database schema.

swagger:response schemaDumpOK

func NewSchemaDumpOK

func NewSchemaDumpOK() *SchemaDumpOK

NewSchemaDumpOK creates SchemaDumpOK with default headers values

func (*SchemaDumpOK) SetPayload

func (o *SchemaDumpOK) SetPayload(payload *models.Schema)

SetPayload sets the payload to the schema dump o k response

func (*SchemaDumpOK) WithPayload

func (o *SchemaDumpOK) WithPayload(payload *models.Schema) *SchemaDumpOK

WithPayload adds the payload to the schema dump o k response

func (*SchemaDumpOK) WriteResponse

func (o *SchemaDumpOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaDumpParams

type SchemaDumpParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency
	  In: header
	  Default: true
	*/
	Consistency *bool
}

SchemaDumpParams contains all the bound params for the schema dump operation typically these are obtained from a http.Request

swagger:parameters schema.dump

func NewSchemaDumpParams

func NewSchemaDumpParams() SchemaDumpParams

NewSchemaDumpParams creates a new SchemaDumpParams object with the default values initialized.

func (*SchemaDumpParams) BindRequest

func (o *SchemaDumpParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaDumpParams() beforehand.

type SchemaDumpURL

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

SchemaDumpURL generates an URL for the schema dump operation

func (*SchemaDumpURL) Build

func (o *SchemaDumpURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaDumpURL) BuildFull

func (o *SchemaDumpURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaDumpURL) Must

func (o *SchemaDumpURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaDumpURL) SetBasePath

func (o *SchemaDumpURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaDumpURL) String

func (o *SchemaDumpURL) String() string

String returns the string representation of the path with query string

func (*SchemaDumpURL) StringFull

func (o *SchemaDumpURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaDumpURL) WithBasePath

func (o *SchemaDumpURL) WithBasePath(bp string) *SchemaDumpURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaDumpUnauthorized

type SchemaDumpUnauthorized struct {
}

SchemaDumpUnauthorized Unauthorized or invalid credentials.

swagger:response schemaDumpUnauthorized

func NewSchemaDumpUnauthorized

func NewSchemaDumpUnauthorized() *SchemaDumpUnauthorized

NewSchemaDumpUnauthorized creates SchemaDumpUnauthorized with default headers values

func (*SchemaDumpUnauthorized) WriteResponse

func (o *SchemaDumpUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsCreate

type SchemaObjectsCreate struct {
	Context *middleware.Context
	Handler SchemaObjectsCreateHandler
}
SchemaObjectsCreate swagger:route POST /schema schema schemaObjectsCreate

Create a new Object class in the schema.

Create a new data object collection. <br/><br/>If AutoSchema is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments.

func NewSchemaObjectsCreate

func NewSchemaObjectsCreate(ctx *middleware.Context, handler SchemaObjectsCreateHandler) *SchemaObjectsCreate

NewSchemaObjectsCreate creates a new http.Handler for the schema objects create operation

func (*SchemaObjectsCreate) ServeHTTP

func (o *SchemaObjectsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SchemaObjectsCreateForbidden

type SchemaObjectsCreateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsCreateForbidden Forbidden

swagger:response schemaObjectsCreateForbidden

func NewSchemaObjectsCreateForbidden

func NewSchemaObjectsCreateForbidden() *SchemaObjectsCreateForbidden

NewSchemaObjectsCreateForbidden creates SchemaObjectsCreateForbidden with default headers values

func (*SchemaObjectsCreateForbidden) SetPayload

func (o *SchemaObjectsCreateForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects create forbidden response

func (*SchemaObjectsCreateForbidden) WithPayload

WithPayload adds the payload to the schema objects create forbidden response

func (*SchemaObjectsCreateForbidden) WriteResponse

func (o *SchemaObjectsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsCreateHandler

type SchemaObjectsCreateHandler interface {
	Handle(SchemaObjectsCreateParams, *models.Principal) middleware.Responder
}

SchemaObjectsCreateHandler interface for that can handle valid schema objects create params

type SchemaObjectsCreateHandlerFunc

type SchemaObjectsCreateHandlerFunc func(SchemaObjectsCreateParams, *models.Principal) middleware.Responder

SchemaObjectsCreateHandlerFunc turns a function with the right signature into a schema objects create handler

func (SchemaObjectsCreateHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsCreateInternalServerError

type SchemaObjectsCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsCreateInternalServerError

func NewSchemaObjectsCreateInternalServerError

func NewSchemaObjectsCreateInternalServerError() *SchemaObjectsCreateInternalServerError

NewSchemaObjectsCreateInternalServerError creates SchemaObjectsCreateInternalServerError with default headers values

func (*SchemaObjectsCreateInternalServerError) SetPayload

SetPayload sets the payload to the schema objects create internal server error response

func (*SchemaObjectsCreateInternalServerError) WithPayload

WithPayload adds the payload to the schema objects create internal server error response

func (*SchemaObjectsCreateInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsCreateOK

type SchemaObjectsCreateOK struct {

	/*
	  In: Body
	*/
	Payload *models.Class `json:"body,omitempty"`
}

SchemaObjectsCreateOK Added the new Object class to the schema.

swagger:response schemaObjectsCreateOK

func NewSchemaObjectsCreateOK

func NewSchemaObjectsCreateOK() *SchemaObjectsCreateOK

NewSchemaObjectsCreateOK creates SchemaObjectsCreateOK with default headers values

func (*SchemaObjectsCreateOK) SetPayload

func (o *SchemaObjectsCreateOK) SetPayload(payload *models.Class)

SetPayload sets the payload to the schema objects create o k response

func (*SchemaObjectsCreateOK) WithPayload

func (o *SchemaObjectsCreateOK) WithPayload(payload *models.Class) *SchemaObjectsCreateOK

WithPayload adds the payload to the schema objects create o k response

func (*SchemaObjectsCreateOK) WriteResponse

func (o *SchemaObjectsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsCreateParams

type SchemaObjectsCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	ObjectClass *models.Class
}

SchemaObjectsCreateParams contains all the bound params for the schema objects create operation typically these are obtained from a http.Request

swagger:parameters schema.objects.create

func NewSchemaObjectsCreateParams

func NewSchemaObjectsCreateParams() SchemaObjectsCreateParams

NewSchemaObjectsCreateParams creates a new SchemaObjectsCreateParams object

There are no default values defined in the spec.

func (*SchemaObjectsCreateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsCreateParams() beforehand.

type SchemaObjectsCreateURL

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

SchemaObjectsCreateURL generates an URL for the schema objects create operation

func (*SchemaObjectsCreateURL) Build

func (o *SchemaObjectsCreateURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsCreateURL) BuildFull

func (o *SchemaObjectsCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsCreateURL) Must

func (o *SchemaObjectsCreateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsCreateURL) SetBasePath

func (o *SchemaObjectsCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsCreateURL) String

func (o *SchemaObjectsCreateURL) String() string

String returns the string representation of the path with query string

func (*SchemaObjectsCreateURL) StringFull

func (o *SchemaObjectsCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsCreateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsCreateUnauthorized

type SchemaObjectsCreateUnauthorized struct {
}

SchemaObjectsCreateUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsCreateUnauthorized

func NewSchemaObjectsCreateUnauthorized

func NewSchemaObjectsCreateUnauthorized() *SchemaObjectsCreateUnauthorized

NewSchemaObjectsCreateUnauthorized creates SchemaObjectsCreateUnauthorized with default headers values

func (*SchemaObjectsCreateUnauthorized) WriteResponse

func (o *SchemaObjectsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsCreateUnprocessableEntity

type SchemaObjectsCreateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsCreateUnprocessableEntity Invalid Object class

swagger:response schemaObjectsCreateUnprocessableEntity

func NewSchemaObjectsCreateUnprocessableEntity

func NewSchemaObjectsCreateUnprocessableEntity() *SchemaObjectsCreateUnprocessableEntity

NewSchemaObjectsCreateUnprocessableEntity creates SchemaObjectsCreateUnprocessableEntity with default headers values

func (*SchemaObjectsCreateUnprocessableEntity) SetPayload

SetPayload sets the payload to the schema objects create unprocessable entity response

func (*SchemaObjectsCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the schema objects create unprocessable entity response

func (*SchemaObjectsCreateUnprocessableEntity) WriteResponse

WriteResponse to the client

type SchemaObjectsDelete

type SchemaObjectsDelete struct {
	Context *middleware.Context
	Handler SchemaObjectsDeleteHandler
}
SchemaObjectsDelete swagger:route DELETE /schema/{className} schema schemaObjectsDelete

Remove an Object class (and all data in the instances) from the schema.

Remove a collection from the schema. This will also delete all the objects in the collection.

func NewSchemaObjectsDelete

func NewSchemaObjectsDelete(ctx *middleware.Context, handler SchemaObjectsDeleteHandler) *SchemaObjectsDelete

NewSchemaObjectsDelete creates a new http.Handler for the schema objects delete operation

func (*SchemaObjectsDelete) ServeHTTP

func (o *SchemaObjectsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SchemaObjectsDeleteBadRequest

type SchemaObjectsDeleteBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsDeleteBadRequest Could not delete the Object class.

swagger:response schemaObjectsDeleteBadRequest

func NewSchemaObjectsDeleteBadRequest

func NewSchemaObjectsDeleteBadRequest() *SchemaObjectsDeleteBadRequest

NewSchemaObjectsDeleteBadRequest creates SchemaObjectsDeleteBadRequest with default headers values

func (*SchemaObjectsDeleteBadRequest) SetPayload

func (o *SchemaObjectsDeleteBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects delete bad request response

func (*SchemaObjectsDeleteBadRequest) WithPayload

WithPayload adds the payload to the schema objects delete bad request response

func (*SchemaObjectsDeleteBadRequest) WriteResponse

func (o *SchemaObjectsDeleteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsDeleteForbidden

type SchemaObjectsDeleteForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsDeleteForbidden Forbidden

swagger:response schemaObjectsDeleteForbidden

func NewSchemaObjectsDeleteForbidden

func NewSchemaObjectsDeleteForbidden() *SchemaObjectsDeleteForbidden

NewSchemaObjectsDeleteForbidden creates SchemaObjectsDeleteForbidden with default headers values

func (*SchemaObjectsDeleteForbidden) SetPayload

func (o *SchemaObjectsDeleteForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects delete forbidden response

func (*SchemaObjectsDeleteForbidden) WithPayload

WithPayload adds the payload to the schema objects delete forbidden response

func (*SchemaObjectsDeleteForbidden) WriteResponse

func (o *SchemaObjectsDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsDeleteHandler

type SchemaObjectsDeleteHandler interface {
	Handle(SchemaObjectsDeleteParams, *models.Principal) middleware.Responder
}

SchemaObjectsDeleteHandler interface for that can handle valid schema objects delete params

type SchemaObjectsDeleteHandlerFunc

type SchemaObjectsDeleteHandlerFunc func(SchemaObjectsDeleteParams, *models.Principal) middleware.Responder

SchemaObjectsDeleteHandlerFunc turns a function with the right signature into a schema objects delete handler

func (SchemaObjectsDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsDeleteInternalServerError

type SchemaObjectsDeleteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsDeleteInternalServerError

func NewSchemaObjectsDeleteInternalServerError

func NewSchemaObjectsDeleteInternalServerError() *SchemaObjectsDeleteInternalServerError

NewSchemaObjectsDeleteInternalServerError creates SchemaObjectsDeleteInternalServerError with default headers values

func (*SchemaObjectsDeleteInternalServerError) SetPayload

SetPayload sets the payload to the schema objects delete internal server error response

func (*SchemaObjectsDeleteInternalServerError) WithPayload

WithPayload adds the payload to the schema objects delete internal server error response

func (*SchemaObjectsDeleteInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsDeleteOK

type SchemaObjectsDeleteOK struct {
}

SchemaObjectsDeleteOK Removed the Object class from the schema.

swagger:response schemaObjectsDeleteOK

func NewSchemaObjectsDeleteOK

func NewSchemaObjectsDeleteOK() *SchemaObjectsDeleteOK

NewSchemaObjectsDeleteOK creates SchemaObjectsDeleteOK with default headers values

func (*SchemaObjectsDeleteOK) WriteResponse

func (o *SchemaObjectsDeleteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsDeleteParams

type SchemaObjectsDeleteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
}

SchemaObjectsDeleteParams contains all the bound params for the schema objects delete operation typically these are obtained from a http.Request

swagger:parameters schema.objects.delete

func NewSchemaObjectsDeleteParams

func NewSchemaObjectsDeleteParams() SchemaObjectsDeleteParams

NewSchemaObjectsDeleteParams creates a new SchemaObjectsDeleteParams object

There are no default values defined in the spec.

func (*SchemaObjectsDeleteParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsDeleteParams() beforehand.

type SchemaObjectsDeleteURL

type SchemaObjectsDeleteURL struct {
	ClassName string
	// contains filtered or unexported fields
}

SchemaObjectsDeleteURL generates an URL for the schema objects delete operation

func (*SchemaObjectsDeleteURL) Build

func (o *SchemaObjectsDeleteURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsDeleteURL) BuildFull

func (o *SchemaObjectsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsDeleteURL) Must

func (o *SchemaObjectsDeleteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsDeleteURL) SetBasePath

func (o *SchemaObjectsDeleteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsDeleteURL) String

func (o *SchemaObjectsDeleteURL) String() string

String returns the string representation of the path with query string

func (*SchemaObjectsDeleteURL) StringFull

func (o *SchemaObjectsDeleteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsDeleteURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsDeleteUnauthorized

type SchemaObjectsDeleteUnauthorized struct {
}

SchemaObjectsDeleteUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsDeleteUnauthorized

func NewSchemaObjectsDeleteUnauthorized

func NewSchemaObjectsDeleteUnauthorized() *SchemaObjectsDeleteUnauthorized

NewSchemaObjectsDeleteUnauthorized creates SchemaObjectsDeleteUnauthorized with default headers values

func (*SchemaObjectsDeleteUnauthorized) WriteResponse

func (o *SchemaObjectsDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsGet

type SchemaObjectsGet struct {
	Context *middleware.Context
	Handler SchemaObjectsGetHandler
}
SchemaObjectsGet swagger:route GET /schema/{className} schema schemaObjectsGet

Get a single class from the schema

func NewSchemaObjectsGet

func NewSchemaObjectsGet(ctx *middleware.Context, handler SchemaObjectsGetHandler) *SchemaObjectsGet

NewSchemaObjectsGet creates a new http.Handler for the schema objects get operation

func (*SchemaObjectsGet) ServeHTTP

func (o *SchemaObjectsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SchemaObjectsGetForbidden

type SchemaObjectsGetForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsGetForbidden Forbidden

swagger:response schemaObjectsGetForbidden

func NewSchemaObjectsGetForbidden

func NewSchemaObjectsGetForbidden() *SchemaObjectsGetForbidden

NewSchemaObjectsGetForbidden creates SchemaObjectsGetForbidden with default headers values

func (*SchemaObjectsGetForbidden) SetPayload

func (o *SchemaObjectsGetForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects get forbidden response

func (*SchemaObjectsGetForbidden) WithPayload

WithPayload adds the payload to the schema objects get forbidden response

func (*SchemaObjectsGetForbidden) WriteResponse

func (o *SchemaObjectsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsGetHandler

type SchemaObjectsGetHandler interface {
	Handle(SchemaObjectsGetParams, *models.Principal) middleware.Responder
}

SchemaObjectsGetHandler interface for that can handle valid schema objects get params

type SchemaObjectsGetHandlerFunc

type SchemaObjectsGetHandlerFunc func(SchemaObjectsGetParams, *models.Principal) middleware.Responder

SchemaObjectsGetHandlerFunc turns a function with the right signature into a schema objects get handler

func (SchemaObjectsGetHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsGetInternalServerError

type SchemaObjectsGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsGetInternalServerError

func NewSchemaObjectsGetInternalServerError

func NewSchemaObjectsGetInternalServerError() *SchemaObjectsGetInternalServerError

NewSchemaObjectsGetInternalServerError creates SchemaObjectsGetInternalServerError with default headers values

func (*SchemaObjectsGetInternalServerError) SetPayload

SetPayload sets the payload to the schema objects get internal server error response

func (*SchemaObjectsGetInternalServerError) WithPayload

WithPayload adds the payload to the schema objects get internal server error response

func (*SchemaObjectsGetInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsGetNotFound

type SchemaObjectsGetNotFound struct {
}

SchemaObjectsGetNotFound This class does not exist

swagger:response schemaObjectsGetNotFound

func NewSchemaObjectsGetNotFound

func NewSchemaObjectsGetNotFound() *SchemaObjectsGetNotFound

NewSchemaObjectsGetNotFound creates SchemaObjectsGetNotFound with default headers values

func (*SchemaObjectsGetNotFound) WriteResponse

func (o *SchemaObjectsGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsGetOK

type SchemaObjectsGetOK struct {

	/*
	  In: Body
	*/
	Payload *models.Class `json:"body,omitempty"`
}

SchemaObjectsGetOK Found the Class, returned as body

swagger:response schemaObjectsGetOK

func NewSchemaObjectsGetOK

func NewSchemaObjectsGetOK() *SchemaObjectsGetOK

NewSchemaObjectsGetOK creates SchemaObjectsGetOK with default headers values

func (*SchemaObjectsGetOK) SetPayload

func (o *SchemaObjectsGetOK) SetPayload(payload *models.Class)

SetPayload sets the payload to the schema objects get o k response

func (*SchemaObjectsGetOK) WithPayload

func (o *SchemaObjectsGetOK) WithPayload(payload *models.Class) *SchemaObjectsGetOK

WithPayload adds the payload to the schema objects get o k response

func (*SchemaObjectsGetOK) WriteResponse

func (o *SchemaObjectsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsGetParams

type SchemaObjectsGetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency
	  In: header
	  Default: true
	*/
	Consistency *bool
}

SchemaObjectsGetParams contains all the bound params for the schema objects get operation typically these are obtained from a http.Request

swagger:parameters schema.objects.get

func NewSchemaObjectsGetParams

func NewSchemaObjectsGetParams() SchemaObjectsGetParams

NewSchemaObjectsGetParams creates a new SchemaObjectsGetParams object with the default values initialized.

func (*SchemaObjectsGetParams) BindRequest

func (o *SchemaObjectsGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsGetParams() beforehand.

type SchemaObjectsGetURL

type SchemaObjectsGetURL struct {
	ClassName string
	// contains filtered or unexported fields
}

SchemaObjectsGetURL generates an URL for the schema objects get operation

func (*SchemaObjectsGetURL) Build

func (o *SchemaObjectsGetURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsGetURL) BuildFull

func (o *SchemaObjectsGetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsGetURL) Must

func (o *SchemaObjectsGetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsGetURL) SetBasePath

func (o *SchemaObjectsGetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsGetURL) String

func (o *SchemaObjectsGetURL) String() string

String returns the string representation of the path with query string

func (*SchemaObjectsGetURL) StringFull

func (o *SchemaObjectsGetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsGetURL) WithBasePath

func (o *SchemaObjectsGetURL) WithBasePath(bp string) *SchemaObjectsGetURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsGetUnauthorized

type SchemaObjectsGetUnauthorized struct {
}

SchemaObjectsGetUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsGetUnauthorized

func NewSchemaObjectsGetUnauthorized

func NewSchemaObjectsGetUnauthorized() *SchemaObjectsGetUnauthorized

NewSchemaObjectsGetUnauthorized creates SchemaObjectsGetUnauthorized with default headers values

func (*SchemaObjectsGetUnauthorized) WriteResponse

func (o *SchemaObjectsGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsPropertiesAdd

type SchemaObjectsPropertiesAdd struct {
	Context *middleware.Context
	Handler SchemaObjectsPropertiesAddHandler
}
SchemaObjectsPropertiesAdd swagger:route POST /schema/{className}/properties schema schemaObjectsPropertiesAdd

Add a property to an Object class.

func NewSchemaObjectsPropertiesAdd

func NewSchemaObjectsPropertiesAdd(ctx *middleware.Context, handler SchemaObjectsPropertiesAddHandler) *SchemaObjectsPropertiesAdd

NewSchemaObjectsPropertiesAdd creates a new http.Handler for the schema objects properties add operation

func (*SchemaObjectsPropertiesAdd) ServeHTTP

type SchemaObjectsPropertiesAddForbidden

type SchemaObjectsPropertiesAddForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsPropertiesAddForbidden Forbidden

swagger:response schemaObjectsPropertiesAddForbidden

func NewSchemaObjectsPropertiesAddForbidden

func NewSchemaObjectsPropertiesAddForbidden() *SchemaObjectsPropertiesAddForbidden

NewSchemaObjectsPropertiesAddForbidden creates SchemaObjectsPropertiesAddForbidden with default headers values

func (*SchemaObjectsPropertiesAddForbidden) SetPayload

SetPayload sets the payload to the schema objects properties add forbidden response

func (*SchemaObjectsPropertiesAddForbidden) WithPayload

WithPayload adds the payload to the schema objects properties add forbidden response

func (*SchemaObjectsPropertiesAddForbidden) WriteResponse

WriteResponse to the client

type SchemaObjectsPropertiesAddHandler

type SchemaObjectsPropertiesAddHandler interface {
	Handle(SchemaObjectsPropertiesAddParams, *models.Principal) middleware.Responder
}

SchemaObjectsPropertiesAddHandler interface for that can handle valid schema objects properties add params

type SchemaObjectsPropertiesAddHandlerFunc

type SchemaObjectsPropertiesAddHandlerFunc func(SchemaObjectsPropertiesAddParams, *models.Principal) middleware.Responder

SchemaObjectsPropertiesAddHandlerFunc turns a function with the right signature into a schema objects properties add handler

func (SchemaObjectsPropertiesAddHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsPropertiesAddInternalServerError

type SchemaObjectsPropertiesAddInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsPropertiesAddInternalServerError

func NewSchemaObjectsPropertiesAddInternalServerError

func NewSchemaObjectsPropertiesAddInternalServerError() *SchemaObjectsPropertiesAddInternalServerError

NewSchemaObjectsPropertiesAddInternalServerError creates SchemaObjectsPropertiesAddInternalServerError with default headers values

func (*SchemaObjectsPropertiesAddInternalServerError) SetPayload

SetPayload sets the payload to the schema objects properties add internal server error response

func (*SchemaObjectsPropertiesAddInternalServerError) WithPayload

WithPayload adds the payload to the schema objects properties add internal server error response

func (*SchemaObjectsPropertiesAddInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsPropertiesAddOK

type SchemaObjectsPropertiesAddOK struct {

	/*
	  In: Body
	*/
	Payload *models.Property `json:"body,omitempty"`
}

SchemaObjectsPropertiesAddOK Added the property.

swagger:response schemaObjectsPropertiesAddOK

func NewSchemaObjectsPropertiesAddOK

func NewSchemaObjectsPropertiesAddOK() *SchemaObjectsPropertiesAddOK

NewSchemaObjectsPropertiesAddOK creates SchemaObjectsPropertiesAddOK with default headers values

func (*SchemaObjectsPropertiesAddOK) SetPayload

func (o *SchemaObjectsPropertiesAddOK) SetPayload(payload *models.Property)

SetPayload sets the payload to the schema objects properties add o k response

func (*SchemaObjectsPropertiesAddOK) WithPayload

WithPayload adds the payload to the schema objects properties add o k response

func (*SchemaObjectsPropertiesAddOK) WriteResponse

func (o *SchemaObjectsPropertiesAddOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsPropertiesAddParams

type SchemaObjectsPropertiesAddParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.Property
	/*
	  Required: true
	  In: path
	*/
	ClassName string
}

SchemaObjectsPropertiesAddParams contains all the bound params for the schema objects properties add operation typically these are obtained from a http.Request

swagger:parameters schema.objects.properties.add

func NewSchemaObjectsPropertiesAddParams

func NewSchemaObjectsPropertiesAddParams() SchemaObjectsPropertiesAddParams

NewSchemaObjectsPropertiesAddParams creates a new SchemaObjectsPropertiesAddParams object

There are no default values defined in the spec.

func (*SchemaObjectsPropertiesAddParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsPropertiesAddParams() beforehand.

type SchemaObjectsPropertiesAddURL

type SchemaObjectsPropertiesAddURL struct {
	ClassName string
	// contains filtered or unexported fields
}

SchemaObjectsPropertiesAddURL generates an URL for the schema objects properties add operation

func (*SchemaObjectsPropertiesAddURL) Build

func (o *SchemaObjectsPropertiesAddURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsPropertiesAddURL) BuildFull

func (o *SchemaObjectsPropertiesAddURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsPropertiesAddURL) Must

func (o *SchemaObjectsPropertiesAddURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsPropertiesAddURL) SetBasePath

func (o *SchemaObjectsPropertiesAddURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsPropertiesAddURL) String

String returns the string representation of the path with query string

func (*SchemaObjectsPropertiesAddURL) StringFull

func (o *SchemaObjectsPropertiesAddURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsPropertiesAddURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsPropertiesAddUnauthorized

type SchemaObjectsPropertiesAddUnauthorized struct {
}

SchemaObjectsPropertiesAddUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsPropertiesAddUnauthorized

func NewSchemaObjectsPropertiesAddUnauthorized

func NewSchemaObjectsPropertiesAddUnauthorized() *SchemaObjectsPropertiesAddUnauthorized

NewSchemaObjectsPropertiesAddUnauthorized creates SchemaObjectsPropertiesAddUnauthorized with default headers values

func (*SchemaObjectsPropertiesAddUnauthorized) WriteResponse

WriteResponse to the client

type SchemaObjectsPropertiesAddUnprocessableEntity

type SchemaObjectsPropertiesAddUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsPropertiesAddUnprocessableEntity Invalid property.

swagger:response schemaObjectsPropertiesAddUnprocessableEntity

func NewSchemaObjectsPropertiesAddUnprocessableEntity

func NewSchemaObjectsPropertiesAddUnprocessableEntity() *SchemaObjectsPropertiesAddUnprocessableEntity

NewSchemaObjectsPropertiesAddUnprocessableEntity creates SchemaObjectsPropertiesAddUnprocessableEntity with default headers values

func (*SchemaObjectsPropertiesAddUnprocessableEntity) SetPayload

SetPayload sets the payload to the schema objects properties add unprocessable entity response

func (*SchemaObjectsPropertiesAddUnprocessableEntity) WithPayload

WithPayload adds the payload to the schema objects properties add unprocessable entity response

func (*SchemaObjectsPropertiesAddUnprocessableEntity) WriteResponse

WriteResponse to the client

type SchemaObjectsShardsGet

type SchemaObjectsShardsGet struct {
	Context *middleware.Context
	Handler SchemaObjectsShardsGetHandler
}
SchemaObjectsShardsGet swagger:route GET /schema/{className}/shards schema schemaObjectsShardsGet

Get the shards status of an Object class

Get the status of every shard in the cluster.

func NewSchemaObjectsShardsGet

func NewSchemaObjectsShardsGet(ctx *middleware.Context, handler SchemaObjectsShardsGetHandler) *SchemaObjectsShardsGet

NewSchemaObjectsShardsGet creates a new http.Handler for the schema objects shards get operation

func (*SchemaObjectsShardsGet) ServeHTTP

func (o *SchemaObjectsShardsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SchemaObjectsShardsGetForbidden

type SchemaObjectsShardsGetForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsShardsGetForbidden Forbidden

swagger:response schemaObjectsShardsGetForbidden

func NewSchemaObjectsShardsGetForbidden

func NewSchemaObjectsShardsGetForbidden() *SchemaObjectsShardsGetForbidden

NewSchemaObjectsShardsGetForbidden creates SchemaObjectsShardsGetForbidden with default headers values

func (*SchemaObjectsShardsGetForbidden) SetPayload

func (o *SchemaObjectsShardsGetForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects shards get forbidden response

func (*SchemaObjectsShardsGetForbidden) WithPayload

WithPayload adds the payload to the schema objects shards get forbidden response

func (*SchemaObjectsShardsGetForbidden) WriteResponse

func (o *SchemaObjectsShardsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsShardsGetHandler

type SchemaObjectsShardsGetHandler interface {
	Handle(SchemaObjectsShardsGetParams, *models.Principal) middleware.Responder
}

SchemaObjectsShardsGetHandler interface for that can handle valid schema objects shards get params

type SchemaObjectsShardsGetHandlerFunc

type SchemaObjectsShardsGetHandlerFunc func(SchemaObjectsShardsGetParams, *models.Principal) middleware.Responder

SchemaObjectsShardsGetHandlerFunc turns a function with the right signature into a schema objects shards get handler

func (SchemaObjectsShardsGetHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsShardsGetInternalServerError

type SchemaObjectsShardsGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsShardsGetInternalServerError

func NewSchemaObjectsShardsGetInternalServerError

func NewSchemaObjectsShardsGetInternalServerError() *SchemaObjectsShardsGetInternalServerError

NewSchemaObjectsShardsGetInternalServerError creates SchemaObjectsShardsGetInternalServerError with default headers values

func (*SchemaObjectsShardsGetInternalServerError) SetPayload

SetPayload sets the payload to the schema objects shards get internal server error response

func (*SchemaObjectsShardsGetInternalServerError) WithPayload

WithPayload adds the payload to the schema objects shards get internal server error response

func (*SchemaObjectsShardsGetInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsShardsGetNotFound

type SchemaObjectsShardsGetNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsShardsGetNotFound This class does not exist

swagger:response schemaObjectsShardsGetNotFound

func NewSchemaObjectsShardsGetNotFound

func NewSchemaObjectsShardsGetNotFound() *SchemaObjectsShardsGetNotFound

NewSchemaObjectsShardsGetNotFound creates SchemaObjectsShardsGetNotFound with default headers values

func (*SchemaObjectsShardsGetNotFound) SetPayload

func (o *SchemaObjectsShardsGetNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects shards get not found response

func (*SchemaObjectsShardsGetNotFound) WithPayload

WithPayload adds the payload to the schema objects shards get not found response

func (*SchemaObjectsShardsGetNotFound) WriteResponse

func (o *SchemaObjectsShardsGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsShardsGetOK

type SchemaObjectsShardsGetOK struct {

	/*
	  In: Body
	*/
	Payload models.ShardStatusList `json:"body,omitempty"`
}

SchemaObjectsShardsGetOK Found the status of the shards, returned as body

swagger:response schemaObjectsShardsGetOK

func NewSchemaObjectsShardsGetOK

func NewSchemaObjectsShardsGetOK() *SchemaObjectsShardsGetOK

NewSchemaObjectsShardsGetOK creates SchemaObjectsShardsGetOK with default headers values

func (*SchemaObjectsShardsGetOK) SetPayload

func (o *SchemaObjectsShardsGetOK) SetPayload(payload models.ShardStatusList)

SetPayload sets the payload to the schema objects shards get o k response

func (*SchemaObjectsShardsGetOK) WithPayload

WithPayload adds the payload to the schema objects shards get o k response

func (*SchemaObjectsShardsGetOK) WriteResponse

func (o *SchemaObjectsShardsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsShardsGetParams

type SchemaObjectsShardsGetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*
	  In: query
	*/
	Tenant *string
}

SchemaObjectsShardsGetParams contains all the bound params for the schema objects shards get operation typically these are obtained from a http.Request

swagger:parameters schema.objects.shards.get

func NewSchemaObjectsShardsGetParams

func NewSchemaObjectsShardsGetParams() SchemaObjectsShardsGetParams

NewSchemaObjectsShardsGetParams creates a new SchemaObjectsShardsGetParams object

There are no default values defined in the spec.

func (*SchemaObjectsShardsGetParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsShardsGetParams() beforehand.

type SchemaObjectsShardsGetURL

type SchemaObjectsShardsGetURL struct {
	ClassName string

	Tenant *string
	// contains filtered or unexported fields
}

SchemaObjectsShardsGetURL generates an URL for the schema objects shards get operation

func (*SchemaObjectsShardsGetURL) Build

func (o *SchemaObjectsShardsGetURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsShardsGetURL) BuildFull

func (o *SchemaObjectsShardsGetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsShardsGetURL) Must

func (o *SchemaObjectsShardsGetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsShardsGetURL) SetBasePath

func (o *SchemaObjectsShardsGetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsShardsGetURL) String

func (o *SchemaObjectsShardsGetURL) String() string

String returns the string representation of the path with query string

func (*SchemaObjectsShardsGetURL) StringFull

func (o *SchemaObjectsShardsGetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsShardsGetURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsShardsGetUnauthorized

type SchemaObjectsShardsGetUnauthorized struct {
}

SchemaObjectsShardsGetUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsShardsGetUnauthorized

func NewSchemaObjectsShardsGetUnauthorized

func NewSchemaObjectsShardsGetUnauthorized() *SchemaObjectsShardsGetUnauthorized

NewSchemaObjectsShardsGetUnauthorized creates SchemaObjectsShardsGetUnauthorized with default headers values

func (*SchemaObjectsShardsGetUnauthorized) WriteResponse

WriteResponse to the client

type SchemaObjectsShardsUpdate

type SchemaObjectsShardsUpdate struct {
	Context *middleware.Context
	Handler SchemaObjectsShardsUpdateHandler
}
SchemaObjectsShardsUpdate swagger:route PUT /schema/{className}/shards/{shardName} schema schemaObjectsShardsUpdate

Update a shard status.

Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection.

func NewSchemaObjectsShardsUpdate

func NewSchemaObjectsShardsUpdate(ctx *middleware.Context, handler SchemaObjectsShardsUpdateHandler) *SchemaObjectsShardsUpdate

NewSchemaObjectsShardsUpdate creates a new http.Handler for the schema objects shards update operation

func (*SchemaObjectsShardsUpdate) ServeHTTP

type SchemaObjectsShardsUpdateForbidden

type SchemaObjectsShardsUpdateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsShardsUpdateForbidden Forbidden

swagger:response schemaObjectsShardsUpdateForbidden

func NewSchemaObjectsShardsUpdateForbidden

func NewSchemaObjectsShardsUpdateForbidden() *SchemaObjectsShardsUpdateForbidden

NewSchemaObjectsShardsUpdateForbidden creates SchemaObjectsShardsUpdateForbidden with default headers values

func (*SchemaObjectsShardsUpdateForbidden) SetPayload

SetPayload sets the payload to the schema objects shards update forbidden response

func (*SchemaObjectsShardsUpdateForbidden) WithPayload

WithPayload adds the payload to the schema objects shards update forbidden response

func (*SchemaObjectsShardsUpdateForbidden) WriteResponse

WriteResponse to the client

type SchemaObjectsShardsUpdateHandler

type SchemaObjectsShardsUpdateHandler interface {
	Handle(SchemaObjectsShardsUpdateParams, *models.Principal) middleware.Responder
}

SchemaObjectsShardsUpdateHandler interface for that can handle valid schema objects shards update params

type SchemaObjectsShardsUpdateHandlerFunc

type SchemaObjectsShardsUpdateHandlerFunc func(SchemaObjectsShardsUpdateParams, *models.Principal) middleware.Responder

SchemaObjectsShardsUpdateHandlerFunc turns a function with the right signature into a schema objects shards update handler

func (SchemaObjectsShardsUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsShardsUpdateInternalServerError

type SchemaObjectsShardsUpdateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsShardsUpdateInternalServerError

func NewSchemaObjectsShardsUpdateInternalServerError

func NewSchemaObjectsShardsUpdateInternalServerError() *SchemaObjectsShardsUpdateInternalServerError

NewSchemaObjectsShardsUpdateInternalServerError creates SchemaObjectsShardsUpdateInternalServerError with default headers values

func (*SchemaObjectsShardsUpdateInternalServerError) SetPayload

SetPayload sets the payload to the schema objects shards update internal server error response

func (*SchemaObjectsShardsUpdateInternalServerError) WithPayload

WithPayload adds the payload to the schema objects shards update internal server error response

func (*SchemaObjectsShardsUpdateInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsShardsUpdateNotFound

type SchemaObjectsShardsUpdateNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsShardsUpdateNotFound Shard to be updated does not exist

swagger:response schemaObjectsShardsUpdateNotFound

func NewSchemaObjectsShardsUpdateNotFound

func NewSchemaObjectsShardsUpdateNotFound() *SchemaObjectsShardsUpdateNotFound

NewSchemaObjectsShardsUpdateNotFound creates SchemaObjectsShardsUpdateNotFound with default headers values

func (*SchemaObjectsShardsUpdateNotFound) SetPayload

func (o *SchemaObjectsShardsUpdateNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects shards update not found response

func (*SchemaObjectsShardsUpdateNotFound) WithPayload

WithPayload adds the payload to the schema objects shards update not found response

func (*SchemaObjectsShardsUpdateNotFound) WriteResponse

func (o *SchemaObjectsShardsUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsShardsUpdateOK

type SchemaObjectsShardsUpdateOK struct {

	/*
	  In: Body
	*/
	Payload *models.ShardStatus `json:"body,omitempty"`
}

SchemaObjectsShardsUpdateOK Shard status was updated successfully

swagger:response schemaObjectsShardsUpdateOK

func NewSchemaObjectsShardsUpdateOK

func NewSchemaObjectsShardsUpdateOK() *SchemaObjectsShardsUpdateOK

NewSchemaObjectsShardsUpdateOK creates SchemaObjectsShardsUpdateOK with default headers values

func (*SchemaObjectsShardsUpdateOK) SetPayload

func (o *SchemaObjectsShardsUpdateOK) SetPayload(payload *models.ShardStatus)

SetPayload sets the payload to the schema objects shards update o k response

func (*SchemaObjectsShardsUpdateOK) WithPayload

WithPayload adds the payload to the schema objects shards update o k response

func (*SchemaObjectsShardsUpdateOK) WriteResponse

func (o *SchemaObjectsShardsUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsShardsUpdateParams

type SchemaObjectsShardsUpdateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.ShardStatus
	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*
	  Required: true
	  In: path
	*/
	ShardName string
}

SchemaObjectsShardsUpdateParams contains all the bound params for the schema objects shards update operation typically these are obtained from a http.Request

swagger:parameters schema.objects.shards.update

func NewSchemaObjectsShardsUpdateParams

func NewSchemaObjectsShardsUpdateParams() SchemaObjectsShardsUpdateParams

NewSchemaObjectsShardsUpdateParams creates a new SchemaObjectsShardsUpdateParams object

There are no default values defined in the spec.

func (*SchemaObjectsShardsUpdateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsShardsUpdateParams() beforehand.

type SchemaObjectsShardsUpdateURL

type SchemaObjectsShardsUpdateURL struct {
	ClassName string
	ShardName string
	// contains filtered or unexported fields
}

SchemaObjectsShardsUpdateURL generates an URL for the schema objects shards update operation

func (*SchemaObjectsShardsUpdateURL) Build

func (o *SchemaObjectsShardsUpdateURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsShardsUpdateURL) BuildFull

func (o *SchemaObjectsShardsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsShardsUpdateURL) Must

func (o *SchemaObjectsShardsUpdateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsShardsUpdateURL) SetBasePath

func (o *SchemaObjectsShardsUpdateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsShardsUpdateURL) String

String returns the string representation of the path with query string

func (*SchemaObjectsShardsUpdateURL) StringFull

func (o *SchemaObjectsShardsUpdateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsShardsUpdateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsShardsUpdateUnauthorized

type SchemaObjectsShardsUpdateUnauthorized struct {
}

SchemaObjectsShardsUpdateUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsShardsUpdateUnauthorized

func NewSchemaObjectsShardsUpdateUnauthorized

func NewSchemaObjectsShardsUpdateUnauthorized() *SchemaObjectsShardsUpdateUnauthorized

NewSchemaObjectsShardsUpdateUnauthorized creates SchemaObjectsShardsUpdateUnauthorized with default headers values

func (*SchemaObjectsShardsUpdateUnauthorized) WriteResponse

WriteResponse to the client

type SchemaObjectsShardsUpdateUnprocessableEntity

type SchemaObjectsShardsUpdateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsShardsUpdateUnprocessableEntity Invalid update attempt

swagger:response schemaObjectsShardsUpdateUnprocessableEntity

func NewSchemaObjectsShardsUpdateUnprocessableEntity

func NewSchemaObjectsShardsUpdateUnprocessableEntity() *SchemaObjectsShardsUpdateUnprocessableEntity

NewSchemaObjectsShardsUpdateUnprocessableEntity creates SchemaObjectsShardsUpdateUnprocessableEntity with default headers values

func (*SchemaObjectsShardsUpdateUnprocessableEntity) SetPayload

SetPayload sets the payload to the schema objects shards update unprocessable entity response

func (*SchemaObjectsShardsUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the schema objects shards update unprocessable entity response

func (*SchemaObjectsShardsUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type SchemaObjectsUpdate

type SchemaObjectsUpdate struct {
	Context *middleware.Context
	Handler SchemaObjectsUpdateHandler
}
SchemaObjectsUpdate swagger:route PUT /schema/{className} schema schemaObjectsUpdate

Update settings of an existing schema class

Add a property to an existing collection.

func NewSchemaObjectsUpdate

func NewSchemaObjectsUpdate(ctx *middleware.Context, handler SchemaObjectsUpdateHandler) *SchemaObjectsUpdate

NewSchemaObjectsUpdate creates a new http.Handler for the schema objects update operation

func (*SchemaObjectsUpdate) ServeHTTP

func (o *SchemaObjectsUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SchemaObjectsUpdateForbidden

type SchemaObjectsUpdateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsUpdateForbidden Forbidden

swagger:response schemaObjectsUpdateForbidden

func NewSchemaObjectsUpdateForbidden

func NewSchemaObjectsUpdateForbidden() *SchemaObjectsUpdateForbidden

NewSchemaObjectsUpdateForbidden creates SchemaObjectsUpdateForbidden with default headers values

func (*SchemaObjectsUpdateForbidden) SetPayload

func (o *SchemaObjectsUpdateForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects update forbidden response

func (*SchemaObjectsUpdateForbidden) WithPayload

WithPayload adds the payload to the schema objects update forbidden response

func (*SchemaObjectsUpdateForbidden) WriteResponse

func (o *SchemaObjectsUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsUpdateHandler

type SchemaObjectsUpdateHandler interface {
	Handle(SchemaObjectsUpdateParams, *models.Principal) middleware.Responder
}

SchemaObjectsUpdateHandler interface for that can handle valid schema objects update params

type SchemaObjectsUpdateHandlerFunc

type SchemaObjectsUpdateHandlerFunc func(SchemaObjectsUpdateParams, *models.Principal) middleware.Responder

SchemaObjectsUpdateHandlerFunc turns a function with the right signature into a schema objects update handler

func (SchemaObjectsUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type SchemaObjectsUpdateInternalServerError

type SchemaObjectsUpdateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response schemaObjectsUpdateInternalServerError

func NewSchemaObjectsUpdateInternalServerError

func NewSchemaObjectsUpdateInternalServerError() *SchemaObjectsUpdateInternalServerError

NewSchemaObjectsUpdateInternalServerError creates SchemaObjectsUpdateInternalServerError with default headers values

func (*SchemaObjectsUpdateInternalServerError) SetPayload

SetPayload sets the payload to the schema objects update internal server error response

func (*SchemaObjectsUpdateInternalServerError) WithPayload

WithPayload adds the payload to the schema objects update internal server error response

func (*SchemaObjectsUpdateInternalServerError) WriteResponse

WriteResponse to the client

type SchemaObjectsUpdateNotFound

type SchemaObjectsUpdateNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsUpdateNotFound Class to be updated does not exist

swagger:response schemaObjectsUpdateNotFound

func NewSchemaObjectsUpdateNotFound

func NewSchemaObjectsUpdateNotFound() *SchemaObjectsUpdateNotFound

NewSchemaObjectsUpdateNotFound creates SchemaObjectsUpdateNotFound with default headers values

func (*SchemaObjectsUpdateNotFound) SetPayload

func (o *SchemaObjectsUpdateNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the schema objects update not found response

func (*SchemaObjectsUpdateNotFound) WithPayload

WithPayload adds the payload to the schema objects update not found response

func (*SchemaObjectsUpdateNotFound) WriteResponse

func (o *SchemaObjectsUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsUpdateOK

type SchemaObjectsUpdateOK struct {

	/*
	  In: Body
	*/
	Payload *models.Class `json:"body,omitempty"`
}

SchemaObjectsUpdateOK Class was updated successfully

swagger:response schemaObjectsUpdateOK

func NewSchemaObjectsUpdateOK

func NewSchemaObjectsUpdateOK() *SchemaObjectsUpdateOK

NewSchemaObjectsUpdateOK creates SchemaObjectsUpdateOK with default headers values

func (*SchemaObjectsUpdateOK) SetPayload

func (o *SchemaObjectsUpdateOK) SetPayload(payload *models.Class)

SetPayload sets the payload to the schema objects update o k response

func (*SchemaObjectsUpdateOK) WithPayload

func (o *SchemaObjectsUpdateOK) WithPayload(payload *models.Class) *SchemaObjectsUpdateOK

WithPayload adds the payload to the schema objects update o k response

func (*SchemaObjectsUpdateOK) WriteResponse

func (o *SchemaObjectsUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsUpdateParams

type SchemaObjectsUpdateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*
	  Required: true
	  In: body
	*/
	ObjectClass *models.Class
}

SchemaObjectsUpdateParams contains all the bound params for the schema objects update operation typically these are obtained from a http.Request

swagger:parameters schema.objects.update

func NewSchemaObjectsUpdateParams

func NewSchemaObjectsUpdateParams() SchemaObjectsUpdateParams

NewSchemaObjectsUpdateParams creates a new SchemaObjectsUpdateParams object

There are no default values defined in the spec.

func (*SchemaObjectsUpdateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSchemaObjectsUpdateParams() beforehand.

type SchemaObjectsUpdateURL

type SchemaObjectsUpdateURL struct {
	ClassName string
	// contains filtered or unexported fields
}

SchemaObjectsUpdateURL generates an URL for the schema objects update operation

func (*SchemaObjectsUpdateURL) Build

func (o *SchemaObjectsUpdateURL) Build() (*url.URL, error)

Build a url path and query string

func (*SchemaObjectsUpdateURL) BuildFull

func (o *SchemaObjectsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SchemaObjectsUpdateURL) Must

func (o *SchemaObjectsUpdateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SchemaObjectsUpdateURL) SetBasePath

func (o *SchemaObjectsUpdateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SchemaObjectsUpdateURL) String

func (o *SchemaObjectsUpdateURL) String() string

String returns the string representation of the path with query string

func (*SchemaObjectsUpdateURL) StringFull

func (o *SchemaObjectsUpdateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SchemaObjectsUpdateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SchemaObjectsUpdateUnauthorized

type SchemaObjectsUpdateUnauthorized struct {
}

SchemaObjectsUpdateUnauthorized Unauthorized or invalid credentials.

swagger:response schemaObjectsUpdateUnauthorized

func NewSchemaObjectsUpdateUnauthorized

func NewSchemaObjectsUpdateUnauthorized() *SchemaObjectsUpdateUnauthorized

NewSchemaObjectsUpdateUnauthorized creates SchemaObjectsUpdateUnauthorized with default headers values

func (*SchemaObjectsUpdateUnauthorized) WriteResponse

func (o *SchemaObjectsUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SchemaObjectsUpdateUnprocessableEntity

type SchemaObjectsUpdateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SchemaObjectsUpdateUnprocessableEntity Invalid update attempt

swagger:response schemaObjectsUpdateUnprocessableEntity

func NewSchemaObjectsUpdateUnprocessableEntity

func NewSchemaObjectsUpdateUnprocessableEntity() *SchemaObjectsUpdateUnprocessableEntity

NewSchemaObjectsUpdateUnprocessableEntity creates SchemaObjectsUpdateUnprocessableEntity with default headers values

func (*SchemaObjectsUpdateUnprocessableEntity) SetPayload

SetPayload sets the payload to the schema objects update unprocessable entity response

func (*SchemaObjectsUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the schema objects update unprocessable entity response

func (*SchemaObjectsUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type TenantExists

type TenantExists struct {
	Context *middleware.Context
	Handler TenantExistsHandler
}
TenantExists swagger:route HEAD /schema/{className}/tenants/{tenantName} schema tenantExists

Check whether a tenant exists

Check if a tenant exists for a specific class

func NewTenantExists

func NewTenantExists(ctx *middleware.Context, handler TenantExistsHandler) *TenantExists

NewTenantExists creates a new http.Handler for the tenant exists operation

func (*TenantExists) ServeHTTP

func (o *TenantExists) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantExistsForbidden

type TenantExistsForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantExistsForbidden Forbidden

swagger:response tenantExistsForbidden

func NewTenantExistsForbidden

func NewTenantExistsForbidden() *TenantExistsForbidden

NewTenantExistsForbidden creates TenantExistsForbidden with default headers values

func (*TenantExistsForbidden) SetPayload

func (o *TenantExistsForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenant exists forbidden response

func (*TenantExistsForbidden) WithPayload

WithPayload adds the payload to the tenant exists forbidden response

func (*TenantExistsForbidden) WriteResponse

func (o *TenantExistsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantExistsHandler

type TenantExistsHandler interface {
	Handle(TenantExistsParams, *models.Principal) middleware.Responder
}

TenantExistsHandler interface for that can handle valid tenant exists params

type TenantExistsHandlerFunc

type TenantExistsHandlerFunc func(TenantExistsParams, *models.Principal) middleware.Responder

TenantExistsHandlerFunc turns a function with the right signature into a tenant exists handler

func (TenantExistsHandlerFunc) Handle

Handle executing the request and returning a response

type TenantExistsInternalServerError

type TenantExistsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response tenantExistsInternalServerError

func NewTenantExistsInternalServerError

func NewTenantExistsInternalServerError() *TenantExistsInternalServerError

NewTenantExistsInternalServerError creates TenantExistsInternalServerError with default headers values

func (*TenantExistsInternalServerError) SetPayload

func (o *TenantExistsInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenant exists internal server error response

func (*TenantExistsInternalServerError) WithPayload

WithPayload adds the payload to the tenant exists internal server error response

func (*TenantExistsInternalServerError) WriteResponse

func (o *TenantExistsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantExistsNotFound

type TenantExistsNotFound struct {
}

TenantExistsNotFound The tenant not found

swagger:response tenantExistsNotFound

func NewTenantExistsNotFound

func NewTenantExistsNotFound() *TenantExistsNotFound

NewTenantExistsNotFound creates TenantExistsNotFound with default headers values

func (*TenantExistsNotFound) WriteResponse

func (o *TenantExistsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantExistsOK

type TenantExistsOK struct {
}

TenantExistsOK The tenant exists in the specified class

swagger:response tenantExistsOK

func NewTenantExistsOK

func NewTenantExistsOK() *TenantExistsOK

NewTenantExistsOK creates TenantExistsOK with default headers values

func (*TenantExistsOK) WriteResponse

func (o *TenantExistsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantExistsParams

type TenantExistsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency
	  In: header
	  Default: true
	*/
	Consistency *bool
	/*
	  Required: true
	  In: path
	*/
	TenantName string
}

TenantExistsParams contains all the bound params for the tenant exists operation typically these are obtained from a http.Request

swagger:parameters tenant.exists

func NewTenantExistsParams

func NewTenantExistsParams() TenantExistsParams

NewTenantExistsParams creates a new TenantExistsParams object with the default values initialized.

func (*TenantExistsParams) BindRequest

func (o *TenantExistsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantExistsParams() beforehand.

type TenantExistsURL

type TenantExistsURL struct {
	ClassName  string
	TenantName string
	// contains filtered or unexported fields
}

TenantExistsURL generates an URL for the tenant exists operation

func (*TenantExistsURL) Build

func (o *TenantExistsURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantExistsURL) BuildFull

func (o *TenantExistsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantExistsURL) Must

func (o *TenantExistsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantExistsURL) SetBasePath

func (o *TenantExistsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantExistsURL) String

func (o *TenantExistsURL) String() string

String returns the string representation of the path with query string

func (*TenantExistsURL) StringFull

func (o *TenantExistsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantExistsURL) WithBasePath

func (o *TenantExistsURL) WithBasePath(bp string) *TenantExistsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantExistsUnauthorized

type TenantExistsUnauthorized struct {
}

TenantExistsUnauthorized Unauthorized or invalid credentials.

swagger:response tenantExistsUnauthorized

func NewTenantExistsUnauthorized

func NewTenantExistsUnauthorized() *TenantExistsUnauthorized

NewTenantExistsUnauthorized creates TenantExistsUnauthorized with default headers values

func (*TenantExistsUnauthorized) WriteResponse

func (o *TenantExistsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantExistsUnprocessableEntity

type TenantExistsUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantExistsUnprocessableEntity Invalid Tenant class

swagger:response tenantExistsUnprocessableEntity

func NewTenantExistsUnprocessableEntity

func NewTenantExistsUnprocessableEntity() *TenantExistsUnprocessableEntity

NewTenantExistsUnprocessableEntity creates TenantExistsUnprocessableEntity with default headers values

func (*TenantExistsUnprocessableEntity) SetPayload

func (o *TenantExistsUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenant exists unprocessable entity response

func (*TenantExistsUnprocessableEntity) WithPayload

WithPayload adds the payload to the tenant exists unprocessable entity response

func (*TenantExistsUnprocessableEntity) WriteResponse

func (o *TenantExistsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsCreate

type TenantsCreate struct {
	Context *middleware.Context
	Handler TenantsCreateHandler
}
TenantsCreate swagger:route POST /schema/{className}/tenants schema tenantsCreate

Create a new tenant

Create a new tenant for a collection. Multi-tenancy must be enabled in the collection definition.

func NewTenantsCreate

func NewTenantsCreate(ctx *middleware.Context, handler TenantsCreateHandler) *TenantsCreate

NewTenantsCreate creates a new http.Handler for the tenants create operation

func (*TenantsCreate) ServeHTTP

func (o *TenantsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantsCreateForbidden

type TenantsCreateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsCreateForbidden Forbidden

swagger:response tenantsCreateForbidden

func NewTenantsCreateForbidden

func NewTenantsCreateForbidden() *TenantsCreateForbidden

NewTenantsCreateForbidden creates TenantsCreateForbidden with default headers values

func (*TenantsCreateForbidden) SetPayload

func (o *TenantsCreateForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants create forbidden response

func (*TenantsCreateForbidden) WithPayload

WithPayload adds the payload to the tenants create forbidden response

func (*TenantsCreateForbidden) WriteResponse

func (o *TenantsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsCreateHandler

type TenantsCreateHandler interface {
	Handle(TenantsCreateParams, *models.Principal) middleware.Responder
}

TenantsCreateHandler interface for that can handle valid tenants create params

type TenantsCreateHandlerFunc

type TenantsCreateHandlerFunc func(TenantsCreateParams, *models.Principal) middleware.Responder

TenantsCreateHandlerFunc turns a function with the right signature into a tenants create handler

func (TenantsCreateHandlerFunc) Handle

Handle executing the request and returning a response

type TenantsCreateInternalServerError

type TenantsCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response tenantsCreateInternalServerError

func NewTenantsCreateInternalServerError

func NewTenantsCreateInternalServerError() *TenantsCreateInternalServerError

NewTenantsCreateInternalServerError creates TenantsCreateInternalServerError with default headers values

func (*TenantsCreateInternalServerError) SetPayload

func (o *TenantsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants create internal server error response

func (*TenantsCreateInternalServerError) WithPayload

WithPayload adds the payload to the tenants create internal server error response

func (*TenantsCreateInternalServerError) WriteResponse

func (o *TenantsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsCreateOK

type TenantsCreateOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Tenant `json:"body,omitempty"`
}

TenantsCreateOK Added new tenants to the specified class

swagger:response tenantsCreateOK

func NewTenantsCreateOK

func NewTenantsCreateOK() *TenantsCreateOK

NewTenantsCreateOK creates TenantsCreateOK with default headers values

func (*TenantsCreateOK) SetPayload

func (o *TenantsCreateOK) SetPayload(payload []*models.Tenant)

SetPayload sets the payload to the tenants create o k response

func (*TenantsCreateOK) WithPayload

func (o *TenantsCreateOK) WithPayload(payload []*models.Tenant) *TenantsCreateOK

WithPayload adds the payload to the tenants create o k response

func (*TenantsCreateOK) WriteResponse

func (o *TenantsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsCreateParams

type TenantsCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body []*models.Tenant
	/*
	  Required: true
	  In: path
	*/
	ClassName string
}

TenantsCreateParams contains all the bound params for the tenants create operation typically these are obtained from a http.Request

swagger:parameters tenants.create

func NewTenantsCreateParams

func NewTenantsCreateParams() TenantsCreateParams

NewTenantsCreateParams creates a new TenantsCreateParams object

There are no default values defined in the spec.

func (*TenantsCreateParams) BindRequest

func (o *TenantsCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantsCreateParams() beforehand.

type TenantsCreateURL

type TenantsCreateURL struct {
	ClassName string
	// contains filtered or unexported fields
}

TenantsCreateURL generates an URL for the tenants create operation

func (*TenantsCreateURL) Build

func (o *TenantsCreateURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantsCreateURL) BuildFull

func (o *TenantsCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantsCreateURL) Must

func (o *TenantsCreateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantsCreateURL) SetBasePath

func (o *TenantsCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantsCreateURL) String

func (o *TenantsCreateURL) String() string

String returns the string representation of the path with query string

func (*TenantsCreateURL) StringFull

func (o *TenantsCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantsCreateURL) WithBasePath

func (o *TenantsCreateURL) WithBasePath(bp string) *TenantsCreateURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantsCreateUnauthorized

type TenantsCreateUnauthorized struct {
}

TenantsCreateUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsCreateUnauthorized

func NewTenantsCreateUnauthorized

func NewTenantsCreateUnauthorized() *TenantsCreateUnauthorized

NewTenantsCreateUnauthorized creates TenantsCreateUnauthorized with default headers values

func (*TenantsCreateUnauthorized) WriteResponse

func (o *TenantsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsCreateUnprocessableEntity

type TenantsCreateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsCreateUnprocessableEntity Invalid Tenant class

swagger:response tenantsCreateUnprocessableEntity

func NewTenantsCreateUnprocessableEntity

func NewTenantsCreateUnprocessableEntity() *TenantsCreateUnprocessableEntity

NewTenantsCreateUnprocessableEntity creates TenantsCreateUnprocessableEntity with default headers values

func (*TenantsCreateUnprocessableEntity) SetPayload

func (o *TenantsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants create unprocessable entity response

func (*TenantsCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the tenants create unprocessable entity response

func (*TenantsCreateUnprocessableEntity) WriteResponse

func (o *TenantsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsDelete

type TenantsDelete struct {
	Context *middleware.Context
	Handler TenantsDeleteHandler
}
TenantsDelete swagger:route DELETE /schema/{className}/tenants schema tenantsDelete

delete tenants from a specific class

func NewTenantsDelete

func NewTenantsDelete(ctx *middleware.Context, handler TenantsDeleteHandler) *TenantsDelete

NewTenantsDelete creates a new http.Handler for the tenants delete operation

func (*TenantsDelete) ServeHTTP

func (o *TenantsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantsDeleteForbidden

type TenantsDeleteForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsDeleteForbidden Forbidden

swagger:response tenantsDeleteForbidden

func NewTenantsDeleteForbidden

func NewTenantsDeleteForbidden() *TenantsDeleteForbidden

NewTenantsDeleteForbidden creates TenantsDeleteForbidden with default headers values

func (*TenantsDeleteForbidden) SetPayload

func (o *TenantsDeleteForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants delete forbidden response

func (*TenantsDeleteForbidden) WithPayload

WithPayload adds the payload to the tenants delete forbidden response

func (*TenantsDeleteForbidden) WriteResponse

func (o *TenantsDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsDeleteHandler

type TenantsDeleteHandler interface {
	Handle(TenantsDeleteParams, *models.Principal) middleware.Responder
}

TenantsDeleteHandler interface for that can handle valid tenants delete params

type TenantsDeleteHandlerFunc

type TenantsDeleteHandlerFunc func(TenantsDeleteParams, *models.Principal) middleware.Responder

TenantsDeleteHandlerFunc turns a function with the right signature into a tenants delete handler

func (TenantsDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type TenantsDeleteInternalServerError

type TenantsDeleteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response tenantsDeleteInternalServerError

func NewTenantsDeleteInternalServerError

func NewTenantsDeleteInternalServerError() *TenantsDeleteInternalServerError

NewTenantsDeleteInternalServerError creates TenantsDeleteInternalServerError with default headers values

func (*TenantsDeleteInternalServerError) SetPayload

func (o *TenantsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants delete internal server error response

func (*TenantsDeleteInternalServerError) WithPayload

WithPayload adds the payload to the tenants delete internal server error response

func (*TenantsDeleteInternalServerError) WriteResponse

func (o *TenantsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsDeleteOK

type TenantsDeleteOK struct {
}

TenantsDeleteOK Deleted tenants from specified class.

swagger:response tenantsDeleteOK

func NewTenantsDeleteOK

func NewTenantsDeleteOK() *TenantsDeleteOK

NewTenantsDeleteOK creates TenantsDeleteOK with default headers values

func (*TenantsDeleteOK) WriteResponse

func (o *TenantsDeleteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsDeleteParams

type TenantsDeleteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*
	  Required: true
	  In: body
	*/
	Tenants []string
}

TenantsDeleteParams contains all the bound params for the tenants delete operation typically these are obtained from a http.Request

swagger:parameters tenants.delete

func NewTenantsDeleteParams

func NewTenantsDeleteParams() TenantsDeleteParams

NewTenantsDeleteParams creates a new TenantsDeleteParams object

There are no default values defined in the spec.

func (*TenantsDeleteParams) BindRequest

func (o *TenantsDeleteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantsDeleteParams() beforehand.

type TenantsDeleteURL

type TenantsDeleteURL struct {
	ClassName string
	// contains filtered or unexported fields
}

TenantsDeleteURL generates an URL for the tenants delete operation

func (*TenantsDeleteURL) Build

func (o *TenantsDeleteURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantsDeleteURL) BuildFull

func (o *TenantsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantsDeleteURL) Must

func (o *TenantsDeleteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantsDeleteURL) SetBasePath

func (o *TenantsDeleteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantsDeleteURL) String

func (o *TenantsDeleteURL) String() string

String returns the string representation of the path with query string

func (*TenantsDeleteURL) StringFull

func (o *TenantsDeleteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantsDeleteURL) WithBasePath

func (o *TenantsDeleteURL) WithBasePath(bp string) *TenantsDeleteURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantsDeleteUnauthorized

type TenantsDeleteUnauthorized struct {
}

TenantsDeleteUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsDeleteUnauthorized

func NewTenantsDeleteUnauthorized

func NewTenantsDeleteUnauthorized() *TenantsDeleteUnauthorized

NewTenantsDeleteUnauthorized creates TenantsDeleteUnauthorized with default headers values

func (*TenantsDeleteUnauthorized) WriteResponse

func (o *TenantsDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsDeleteUnprocessableEntity

type TenantsDeleteUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsDeleteUnprocessableEntity Invalid Tenant class

swagger:response tenantsDeleteUnprocessableEntity

func NewTenantsDeleteUnprocessableEntity

func NewTenantsDeleteUnprocessableEntity() *TenantsDeleteUnprocessableEntity

NewTenantsDeleteUnprocessableEntity creates TenantsDeleteUnprocessableEntity with default headers values

func (*TenantsDeleteUnprocessableEntity) SetPayload

func (o *TenantsDeleteUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants delete unprocessable entity response

func (*TenantsDeleteUnprocessableEntity) WithPayload

WithPayload adds the payload to the tenants delete unprocessable entity response

func (*TenantsDeleteUnprocessableEntity) WriteResponse

func (o *TenantsDeleteUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGet

type TenantsGet struct {
	Context *middleware.Context
	Handler TenantsGetHandler
}
TenantsGet swagger:route GET /schema/{className}/tenants schema tenantsGet

Get the list of tenants.

get all tenants from a specific class

func NewTenantsGet

func NewTenantsGet(ctx *middleware.Context, handler TenantsGetHandler) *TenantsGet

NewTenantsGet creates a new http.Handler for the tenants get operation

func (*TenantsGet) ServeHTTP

func (o *TenantsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantsGetForbidden

type TenantsGetForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsGetForbidden Forbidden

swagger:response tenantsGetForbidden

func NewTenantsGetForbidden

func NewTenantsGetForbidden() *TenantsGetForbidden

NewTenantsGetForbidden creates TenantsGetForbidden with default headers values

func (*TenantsGetForbidden) SetPayload

func (o *TenantsGetForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants get forbidden response

func (*TenantsGetForbidden) WithPayload

func (o *TenantsGetForbidden) WithPayload(payload *models.ErrorResponse) *TenantsGetForbidden

WithPayload adds the payload to the tenants get forbidden response

func (*TenantsGetForbidden) WriteResponse

func (o *TenantsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetHandler

type TenantsGetHandler interface {
	Handle(TenantsGetParams, *models.Principal) middleware.Responder
}

TenantsGetHandler interface for that can handle valid tenants get params

type TenantsGetHandlerFunc

type TenantsGetHandlerFunc func(TenantsGetParams, *models.Principal) middleware.Responder

TenantsGetHandlerFunc turns a function with the right signature into a tenants get handler

func (TenantsGetHandlerFunc) Handle

Handle executing the request and returning a response

type TenantsGetInternalServerError

type TenantsGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response tenantsGetInternalServerError

func NewTenantsGetInternalServerError

func NewTenantsGetInternalServerError() *TenantsGetInternalServerError

NewTenantsGetInternalServerError creates TenantsGetInternalServerError with default headers values

func (*TenantsGetInternalServerError) SetPayload

func (o *TenantsGetInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants get internal server error response

func (*TenantsGetInternalServerError) WithPayload

WithPayload adds the payload to the tenants get internal server error response

func (*TenantsGetInternalServerError) WriteResponse

func (o *TenantsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOK

type TenantsGetOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Tenant `json:"body,omitempty"`
}

TenantsGetOK tenants from specified class.

swagger:response tenantsGetOK

func NewTenantsGetOK

func NewTenantsGetOK() *TenantsGetOK

NewTenantsGetOK creates TenantsGetOK with default headers values

func (*TenantsGetOK) SetPayload

func (o *TenantsGetOK) SetPayload(payload []*models.Tenant)

SetPayload sets the payload to the tenants get o k response

func (*TenantsGetOK) WithPayload

func (o *TenantsGetOK) WithPayload(payload []*models.Tenant) *TenantsGetOK

WithPayload adds the payload to the tenants get o k response

func (*TenantsGetOK) WriteResponse

func (o *TenantsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOne

type TenantsGetOne struct {
	Context *middleware.Context
	Handler TenantsGetOneHandler
}
TenantsGetOne swagger:route GET /schema/{className}/tenants/{tenantName} schema tenantsGetOne

Get a specific tenant

get a specific tenant for the given class

func NewTenantsGetOne

func NewTenantsGetOne(ctx *middleware.Context, handler TenantsGetOneHandler) *TenantsGetOne

NewTenantsGetOne creates a new http.Handler for the tenants get one operation

func (*TenantsGetOne) ServeHTTP

func (o *TenantsGetOne) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantsGetOneForbidden

type TenantsGetOneForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsGetOneForbidden Forbidden

swagger:response tenantsGetOneForbidden

func NewTenantsGetOneForbidden

func NewTenantsGetOneForbidden() *TenantsGetOneForbidden

NewTenantsGetOneForbidden creates TenantsGetOneForbidden with default headers values

func (*TenantsGetOneForbidden) SetPayload

func (o *TenantsGetOneForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants get one forbidden response

func (*TenantsGetOneForbidden) WithPayload

WithPayload adds the payload to the tenants get one forbidden response

func (*TenantsGetOneForbidden) WriteResponse

func (o *TenantsGetOneForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOneHandler

type TenantsGetOneHandler interface {
	Handle(TenantsGetOneParams, *models.Principal) middleware.Responder
}

TenantsGetOneHandler interface for that can handle valid tenants get one params

type TenantsGetOneHandlerFunc

type TenantsGetOneHandlerFunc func(TenantsGetOneParams, *models.Principal) middleware.Responder

TenantsGetOneHandlerFunc turns a function with the right signature into a tenants get one handler

func (TenantsGetOneHandlerFunc) Handle

Handle executing the request and returning a response

type TenantsGetOneInternalServerError

type TenantsGetOneInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response tenantsGetOneInternalServerError

func NewTenantsGetOneInternalServerError

func NewTenantsGetOneInternalServerError() *TenantsGetOneInternalServerError

NewTenantsGetOneInternalServerError creates TenantsGetOneInternalServerError with default headers values

func (*TenantsGetOneInternalServerError) SetPayload

func (o *TenantsGetOneInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants get one internal server error response

func (*TenantsGetOneInternalServerError) WithPayload

WithPayload adds the payload to the tenants get one internal server error response

func (*TenantsGetOneInternalServerError) WriteResponse

func (o *TenantsGetOneInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOneNotFound

type TenantsGetOneNotFound struct {
}

TenantsGetOneNotFound Tenant not found

swagger:response tenantsGetOneNotFound

func NewTenantsGetOneNotFound

func NewTenantsGetOneNotFound() *TenantsGetOneNotFound

NewTenantsGetOneNotFound creates TenantsGetOneNotFound with default headers values

func (*TenantsGetOneNotFound) WriteResponse

func (o *TenantsGetOneNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOneOK

type TenantsGetOneOK struct {

	/*
	  In: Body
	*/
	Payload *models.TenantResponse `json:"body,omitempty"`
}

TenantsGetOneOK load the tenant given the specified class

swagger:response tenantsGetOneOK

func NewTenantsGetOneOK

func NewTenantsGetOneOK() *TenantsGetOneOK

NewTenantsGetOneOK creates TenantsGetOneOK with default headers values

func (*TenantsGetOneOK) SetPayload

func (o *TenantsGetOneOK) SetPayload(payload *models.TenantResponse)

SetPayload sets the payload to the tenants get one o k response

func (*TenantsGetOneOK) WithPayload

func (o *TenantsGetOneOK) WithPayload(payload *models.TenantResponse) *TenantsGetOneOK

WithPayload adds the payload to the tenants get one o k response

func (*TenantsGetOneOK) WriteResponse

func (o *TenantsGetOneOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOneParams

type TenantsGetOneParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency
	  In: header
	  Default: true
	*/
	Consistency *bool
	/*
	  Required: true
	  In: path
	*/
	TenantName string
}

TenantsGetOneParams contains all the bound params for the tenants get one operation typically these are obtained from a http.Request

swagger:parameters tenants.get.one

func NewTenantsGetOneParams

func NewTenantsGetOneParams() TenantsGetOneParams

NewTenantsGetOneParams creates a new TenantsGetOneParams object with the default values initialized.

func (*TenantsGetOneParams) BindRequest

func (o *TenantsGetOneParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantsGetOneParams() beforehand.

type TenantsGetOneURL

type TenantsGetOneURL struct {
	ClassName  string
	TenantName string
	// contains filtered or unexported fields
}

TenantsGetOneURL generates an URL for the tenants get one operation

func (*TenantsGetOneURL) Build

func (o *TenantsGetOneURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantsGetOneURL) BuildFull

func (o *TenantsGetOneURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantsGetOneURL) Must

func (o *TenantsGetOneURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantsGetOneURL) SetBasePath

func (o *TenantsGetOneURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantsGetOneURL) String

func (o *TenantsGetOneURL) String() string

String returns the string representation of the path with query string

func (*TenantsGetOneURL) StringFull

func (o *TenantsGetOneURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantsGetOneURL) WithBasePath

func (o *TenantsGetOneURL) WithBasePath(bp string) *TenantsGetOneURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantsGetOneUnauthorized

type TenantsGetOneUnauthorized struct {
}

TenantsGetOneUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsGetOneUnauthorized

func NewTenantsGetOneUnauthorized

func NewTenantsGetOneUnauthorized() *TenantsGetOneUnauthorized

NewTenantsGetOneUnauthorized creates TenantsGetOneUnauthorized with default headers values

func (*TenantsGetOneUnauthorized) WriteResponse

func (o *TenantsGetOneUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetOneUnprocessableEntity

type TenantsGetOneUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsGetOneUnprocessableEntity Invalid tenant or class

swagger:response tenantsGetOneUnprocessableEntity

func NewTenantsGetOneUnprocessableEntity

func NewTenantsGetOneUnprocessableEntity() *TenantsGetOneUnprocessableEntity

NewTenantsGetOneUnprocessableEntity creates TenantsGetOneUnprocessableEntity with default headers values

func (*TenantsGetOneUnprocessableEntity) SetPayload

func (o *TenantsGetOneUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants get one unprocessable entity response

func (*TenantsGetOneUnprocessableEntity) WithPayload

WithPayload adds the payload to the tenants get one unprocessable entity response

func (*TenantsGetOneUnprocessableEntity) WriteResponse

func (o *TenantsGetOneUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetParams

type TenantsGetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClassName string
	/*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency
	  In: header
	  Default: true
	*/
	Consistency *bool
}

TenantsGetParams contains all the bound params for the tenants get operation typically these are obtained from a http.Request

swagger:parameters tenants.get

func NewTenantsGetParams

func NewTenantsGetParams() TenantsGetParams

NewTenantsGetParams creates a new TenantsGetParams object with the default values initialized.

func (*TenantsGetParams) BindRequest

func (o *TenantsGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantsGetParams() beforehand.

type TenantsGetURL

type TenantsGetURL struct {
	ClassName string
	// contains filtered or unexported fields
}

TenantsGetURL generates an URL for the tenants get operation

func (*TenantsGetURL) Build

func (o *TenantsGetURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantsGetURL) BuildFull

func (o *TenantsGetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantsGetURL) Must

func (o *TenantsGetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantsGetURL) SetBasePath

func (o *TenantsGetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantsGetURL) String

func (o *TenantsGetURL) String() string

String returns the string representation of the path with query string

func (*TenantsGetURL) StringFull

func (o *TenantsGetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantsGetURL) WithBasePath

func (o *TenantsGetURL) WithBasePath(bp string) *TenantsGetURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantsGetUnauthorized

type TenantsGetUnauthorized struct {
}

TenantsGetUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsGetUnauthorized

func NewTenantsGetUnauthorized

func NewTenantsGetUnauthorized() *TenantsGetUnauthorized

NewTenantsGetUnauthorized creates TenantsGetUnauthorized with default headers values

func (*TenantsGetUnauthorized) WriteResponse

func (o *TenantsGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsGetUnprocessableEntity

type TenantsGetUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsGetUnprocessableEntity Invalid Tenant class

swagger:response tenantsGetUnprocessableEntity

func NewTenantsGetUnprocessableEntity

func NewTenantsGetUnprocessableEntity() *TenantsGetUnprocessableEntity

NewTenantsGetUnprocessableEntity creates TenantsGetUnprocessableEntity with default headers values

func (*TenantsGetUnprocessableEntity) SetPayload

func (o *TenantsGetUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants get unprocessable entity response

func (*TenantsGetUnprocessableEntity) WithPayload

WithPayload adds the payload to the tenants get unprocessable entity response

func (*TenantsGetUnprocessableEntity) WriteResponse

func (o *TenantsGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsUpdate

type TenantsUpdate struct {
	Context *middleware.Context
	Handler TenantsUpdateHandler
}
TenantsUpdate swagger:route PUT /schema/{className}/tenants schema tenantsUpdate

Update a tenant.

Update tenant of a specific class

func NewTenantsUpdate

func NewTenantsUpdate(ctx *middleware.Context, handler TenantsUpdateHandler) *TenantsUpdate

NewTenantsUpdate creates a new http.Handler for the tenants update operation

func (*TenantsUpdate) ServeHTTP

func (o *TenantsUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantsUpdateForbidden

type TenantsUpdateForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsUpdateForbidden Forbidden

swagger:response tenantsUpdateForbidden

func NewTenantsUpdateForbidden

func NewTenantsUpdateForbidden() *TenantsUpdateForbidden

NewTenantsUpdateForbidden creates TenantsUpdateForbidden with default headers values

func (*TenantsUpdateForbidden) SetPayload

func (o *TenantsUpdateForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants update forbidden response

func (*TenantsUpdateForbidden) WithPayload

WithPayload adds the payload to the tenants update forbidden response

func (*TenantsUpdateForbidden) WriteResponse

func (o *TenantsUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsUpdateHandler

type TenantsUpdateHandler interface {
	Handle(TenantsUpdateParams, *models.Principal) middleware.Responder
}

TenantsUpdateHandler interface for that can handle valid tenants update params

type TenantsUpdateHandlerFunc

type TenantsUpdateHandlerFunc func(TenantsUpdateParams, *models.Principal) middleware.Responder

TenantsUpdateHandlerFunc turns a function with the right signature into a tenants update handler

func (TenantsUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type TenantsUpdateInternalServerError

type TenantsUpdateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response tenantsUpdateInternalServerError

func NewTenantsUpdateInternalServerError

func NewTenantsUpdateInternalServerError() *TenantsUpdateInternalServerError

NewTenantsUpdateInternalServerError creates TenantsUpdateInternalServerError with default headers values

func (*TenantsUpdateInternalServerError) SetPayload

func (o *TenantsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants update internal server error response

func (*TenantsUpdateInternalServerError) WithPayload

WithPayload adds the payload to the tenants update internal server error response

func (*TenantsUpdateInternalServerError) WriteResponse

func (o *TenantsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsUpdateOK

type TenantsUpdateOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Tenant `json:"body,omitempty"`
}

TenantsUpdateOK Updated tenants of the specified class

swagger:response tenantsUpdateOK

func NewTenantsUpdateOK

func NewTenantsUpdateOK() *TenantsUpdateOK

NewTenantsUpdateOK creates TenantsUpdateOK with default headers values

func (*TenantsUpdateOK) SetPayload

func (o *TenantsUpdateOK) SetPayload(payload []*models.Tenant)

SetPayload sets the payload to the tenants update o k response

func (*TenantsUpdateOK) WithPayload

func (o *TenantsUpdateOK) WithPayload(payload []*models.Tenant) *TenantsUpdateOK

WithPayload adds the payload to the tenants update o k response

func (*TenantsUpdateOK) WriteResponse

func (o *TenantsUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsUpdateParams

type TenantsUpdateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body []*models.Tenant
	/*
	  Required: true
	  In: path
	*/
	ClassName string
}

TenantsUpdateParams contains all the bound params for the tenants update operation typically these are obtained from a http.Request

swagger:parameters tenants.update

func NewTenantsUpdateParams

func NewTenantsUpdateParams() TenantsUpdateParams

NewTenantsUpdateParams creates a new TenantsUpdateParams object

There are no default values defined in the spec.

func (*TenantsUpdateParams) BindRequest

func (o *TenantsUpdateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantsUpdateParams() beforehand.

type TenantsUpdateURL

type TenantsUpdateURL struct {
	ClassName string
	// contains filtered or unexported fields
}

TenantsUpdateURL generates an URL for the tenants update operation

func (*TenantsUpdateURL) Build

func (o *TenantsUpdateURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantsUpdateURL) BuildFull

func (o *TenantsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantsUpdateURL) Must

func (o *TenantsUpdateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantsUpdateURL) SetBasePath

func (o *TenantsUpdateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantsUpdateURL) String

func (o *TenantsUpdateURL) String() string

String returns the string representation of the path with query string

func (*TenantsUpdateURL) StringFull

func (o *TenantsUpdateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantsUpdateURL) WithBasePath

func (o *TenantsUpdateURL) WithBasePath(bp string) *TenantsUpdateURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantsUpdateUnauthorized

type TenantsUpdateUnauthorized struct {
}

TenantsUpdateUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsUpdateUnauthorized

func NewTenantsUpdateUnauthorized

func NewTenantsUpdateUnauthorized() *TenantsUpdateUnauthorized

NewTenantsUpdateUnauthorized creates TenantsUpdateUnauthorized with default headers values

func (*TenantsUpdateUnauthorized) WriteResponse

func (o *TenantsUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantsUpdateUnprocessableEntity

type TenantsUpdateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

TenantsUpdateUnprocessableEntity Invalid Tenant class

swagger:response tenantsUpdateUnprocessableEntity

func NewTenantsUpdateUnprocessableEntity

func NewTenantsUpdateUnprocessableEntity() *TenantsUpdateUnprocessableEntity

NewTenantsUpdateUnprocessableEntity creates TenantsUpdateUnprocessableEntity with default headers values

func (*TenantsUpdateUnprocessableEntity) SetPayload

func (o *TenantsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the tenants update unprocessable entity response

func (*TenantsUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the tenants update unprocessable entity response

func (*TenantsUpdateUnprocessableEntity) WriteResponse

func (o *TenantsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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