schema

package
v1.24.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const SchemaClusterStatusInternalServerErrorCode int = 500

SchemaClusterStatusInternalServerErrorCode is the HTTP code returned for type SchemaClusterStatusInternalServerError

View Source
const SchemaClusterStatusOKCode int = 200

SchemaClusterStatusOKCode is the HTTP code returned for type SchemaClusterStatusOK

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 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 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 SchemaClusterStatus added in v1.19.10

type SchemaClusterStatus struct {
	Context *middleware.Context
	Handler SchemaClusterStatusHandler
}
SchemaClusterStatus swagger:route GET /schema/cluster-status schema schemaClusterStatus

SchemaClusterStatus schema cluster status API

func NewSchemaClusterStatus added in v1.19.10

func NewSchemaClusterStatus(ctx *middleware.Context, handler SchemaClusterStatusHandler) *SchemaClusterStatus

NewSchemaClusterStatus creates a new http.Handler for the schema cluster status operation

func (*SchemaClusterStatus) ServeHTTP added in v1.19.10

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

type SchemaClusterStatusHandler added in v1.19.10

type SchemaClusterStatusHandler interface {
	Handle(SchemaClusterStatusParams, *models.Principal) middleware.Responder
}

SchemaClusterStatusHandler interface for that can handle valid schema cluster status params

type SchemaClusterStatusHandlerFunc added in v1.19.10

type SchemaClusterStatusHandlerFunc func(SchemaClusterStatusParams, *models.Principal) middleware.Responder

SchemaClusterStatusHandlerFunc turns a function with the right signature into a schema cluster status handler

func (SchemaClusterStatusHandlerFunc) Handle added in v1.19.10

Handle executing the request and returning a response

type SchemaClusterStatusInternalServerError added in v1.19.10

type SchemaClusterStatusInternalServerError struct {

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

SchemaClusterStatusInternalServerError The schema is either out of sync (see response body) or the sync check could not be completed.

swagger:response schemaClusterStatusInternalServerError

func NewSchemaClusterStatusInternalServerError added in v1.19.10

func NewSchemaClusterStatusInternalServerError() *SchemaClusterStatusInternalServerError

NewSchemaClusterStatusInternalServerError creates SchemaClusterStatusInternalServerError with default headers values

func (*SchemaClusterStatusInternalServerError) SetPayload added in v1.19.10

SetPayload sets the payload to the schema cluster status internal server error response

func (*SchemaClusterStatusInternalServerError) WithPayload added in v1.19.10

WithPayload adds the payload to the schema cluster status internal server error response

func (*SchemaClusterStatusInternalServerError) WriteResponse added in v1.19.10

WriteResponse to the client

type SchemaClusterStatusOK added in v1.19.10

type SchemaClusterStatusOK struct {

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

SchemaClusterStatusOK The schema in the cluster is in sync.

swagger:response schemaClusterStatusOK

func NewSchemaClusterStatusOK added in v1.19.10

func NewSchemaClusterStatusOK() *SchemaClusterStatusOK

NewSchemaClusterStatusOK creates SchemaClusterStatusOK with default headers values

func (*SchemaClusterStatusOK) SetPayload added in v1.19.10

func (o *SchemaClusterStatusOK) SetPayload(payload *models.SchemaClusterStatus)

SetPayload sets the payload to the schema cluster status o k response

func (*SchemaClusterStatusOK) WithPayload added in v1.19.10

WithPayload adds the payload to the schema cluster status o k response

func (*SchemaClusterStatusOK) WriteResponse added in v1.19.10

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

WriteResponse to the client

type SchemaClusterStatusParams added in v1.19.10

type SchemaClusterStatusParams struct {

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

SchemaClusterStatusParams contains all the bound params for the schema cluster status operation typically these are obtained from a http.Request

swagger:parameters schema.cluster.status

func NewSchemaClusterStatusParams added in v1.19.10

func NewSchemaClusterStatusParams() SchemaClusterStatusParams

NewSchemaClusterStatusParams creates a new SchemaClusterStatusParams object

There are no default values defined in the spec.

func (*SchemaClusterStatusParams) BindRequest added in v1.19.10

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 NewSchemaClusterStatusParams() beforehand.

type SchemaClusterStatusURL added in v1.19.10

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

SchemaClusterStatusURL generates an URL for the schema cluster status operation

func (*SchemaClusterStatusURL) Build added in v1.19.10

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

Build a url path and query string

func (*SchemaClusterStatusURL) BuildFull added in v1.19.10

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

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

func (*SchemaClusterStatusURL) Must added in v1.19.10

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

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

func (*SchemaClusterStatusURL) SetBasePath added in v1.19.10

func (o *SchemaClusterStatusURL) 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 (*SchemaClusterStatusURL) String added in v1.19.10

func (o *SchemaClusterStatusURL) String() string

String returns the string representation of the path with query string

func (*SchemaClusterStatusURL) StringFull added in v1.19.10

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

StringFull returns the string representation of a complete url

func (*SchemaClusterStatusURL) WithBasePath added in v1.19.10

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 SchemaDump

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

Dump the current the database 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:"-"`
}

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

There are no default values defined in the spec.

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.

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.

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
}

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

There are no default values defined in the spec.

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

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 shard status of an Object Class

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

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

func 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 TenantsCreate added in v1.20.0

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

Create a new tenant for a specific class

func NewTenantsCreate added in v1.20.0

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

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

func (*TenantsCreate) ServeHTTP added in v1.20.0

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

type TenantsCreateForbidden added in v1.20.0

type TenantsCreateForbidden struct {

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

TenantsCreateForbidden Forbidden

swagger:response tenantsCreateForbidden

func NewTenantsCreateForbidden added in v1.20.0

func NewTenantsCreateForbidden() *TenantsCreateForbidden

NewTenantsCreateForbidden creates TenantsCreateForbidden with default headers values

func (*TenantsCreateForbidden) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants create forbidden response

func (*TenantsCreateForbidden) WithPayload added in v1.20.0

WithPayload adds the payload to the tenants create forbidden response

func (*TenantsCreateForbidden) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsCreateHandler added in v1.20.0

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

TenantsCreateHandler interface for that can handle valid tenants create params

type TenantsCreateHandlerFunc added in v1.20.0

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

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

func (TenantsCreateHandlerFunc) Handle added in v1.20.0

Handle executing the request and returning a response

type TenantsCreateInternalServerError added in v1.20.0

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 added in v1.20.0

func NewTenantsCreateInternalServerError() *TenantsCreateInternalServerError

NewTenantsCreateInternalServerError creates TenantsCreateInternalServerError with default headers values

func (*TenantsCreateInternalServerError) SetPayload added in v1.20.0

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

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

func (*TenantsCreateInternalServerError) WithPayload added in v1.20.0

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

func (*TenantsCreateInternalServerError) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsCreateOK added in v1.20.0

type TenantsCreateOK struct {

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

TenantsCreateOK Added new tenants to the specified class

swagger:response tenantsCreateOK

func NewTenantsCreateOK added in v1.20.0

func NewTenantsCreateOK() *TenantsCreateOK

NewTenantsCreateOK creates TenantsCreateOK with default headers values

func (*TenantsCreateOK) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants create o k response

func (*TenantsCreateOK) WithPayload added in v1.20.0

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

WithPayload adds the payload to the tenants create o k response

func (*TenantsCreateOK) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsCreateParams added in v1.20.0

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 added in v1.20.0

func NewTenantsCreateParams() TenantsCreateParams

NewTenantsCreateParams creates a new TenantsCreateParams object

There are no default values defined in the spec.

func (*TenantsCreateParams) BindRequest added in v1.20.0

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 added in v1.20.0

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

TenantsCreateURL generates an URL for the tenants create operation

func (*TenantsCreateURL) Build added in v1.20.0

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

Build a url path and query string

func (*TenantsCreateURL) BuildFull added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

func (o *TenantsCreateURL) String() string

String returns the string representation of the path with query string

func (*TenantsCreateURL) StringFull added in v1.20.0

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

StringFull returns the string representation of a complete url

func (*TenantsCreateURL) WithBasePath added in v1.20.0

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 added in v1.20.0

type TenantsCreateUnauthorized struct {
}

TenantsCreateUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsCreateUnauthorized

func NewTenantsCreateUnauthorized added in v1.20.0

func NewTenantsCreateUnauthorized() *TenantsCreateUnauthorized

NewTenantsCreateUnauthorized creates TenantsCreateUnauthorized with default headers values

func (*TenantsCreateUnauthorized) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsCreateUnprocessableEntity added in v1.20.0

type TenantsCreateUnprocessableEntity struct {

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

TenantsCreateUnprocessableEntity Invalid Tenant class

swagger:response tenantsCreateUnprocessableEntity

func NewTenantsCreateUnprocessableEntity added in v1.20.0

func NewTenantsCreateUnprocessableEntity() *TenantsCreateUnprocessableEntity

NewTenantsCreateUnprocessableEntity creates TenantsCreateUnprocessableEntity with default headers values

func (*TenantsCreateUnprocessableEntity) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants create unprocessable entity response

func (*TenantsCreateUnprocessableEntity) WithPayload added in v1.20.0

WithPayload adds the payload to the tenants create unprocessable entity response

func (*TenantsCreateUnprocessableEntity) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsDelete added in v1.20.0

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 added in v1.20.0

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

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

func (*TenantsDelete) ServeHTTP added in v1.20.0

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

type TenantsDeleteForbidden added in v1.20.0

type TenantsDeleteForbidden struct {

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

TenantsDeleteForbidden Forbidden

swagger:response tenantsDeleteForbidden

func NewTenantsDeleteForbidden added in v1.20.0

func NewTenantsDeleteForbidden() *TenantsDeleteForbidden

NewTenantsDeleteForbidden creates TenantsDeleteForbidden with default headers values

func (*TenantsDeleteForbidden) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants delete forbidden response

func (*TenantsDeleteForbidden) WithPayload added in v1.20.0

WithPayload adds the payload to the tenants delete forbidden response

func (*TenantsDeleteForbidden) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsDeleteHandler added in v1.20.0

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

TenantsDeleteHandler interface for that can handle valid tenants delete params

type TenantsDeleteHandlerFunc added in v1.20.0

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

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

func (TenantsDeleteHandlerFunc) Handle added in v1.20.0

Handle executing the request and returning a response

type TenantsDeleteInternalServerError added in v1.20.0

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 added in v1.20.0

func NewTenantsDeleteInternalServerError() *TenantsDeleteInternalServerError

NewTenantsDeleteInternalServerError creates TenantsDeleteInternalServerError with default headers values

func (*TenantsDeleteInternalServerError) SetPayload added in v1.20.0

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

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

func (*TenantsDeleteInternalServerError) WithPayload added in v1.20.0

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

func (*TenantsDeleteInternalServerError) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsDeleteOK added in v1.20.0

type TenantsDeleteOK struct {
}

TenantsDeleteOK Deleted tenants from specified class.

swagger:response tenantsDeleteOK

func NewTenantsDeleteOK added in v1.20.0

func NewTenantsDeleteOK() *TenantsDeleteOK

NewTenantsDeleteOK creates TenantsDeleteOK with default headers values

func (*TenantsDeleteOK) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsDeleteParams added in v1.20.0

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 added in v1.20.0

func NewTenantsDeleteParams() TenantsDeleteParams

NewTenantsDeleteParams creates a new TenantsDeleteParams object

There are no default values defined in the spec.

func (*TenantsDeleteParams) BindRequest added in v1.20.0

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 added in v1.20.0

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

TenantsDeleteURL generates an URL for the tenants delete operation

func (*TenantsDeleteURL) Build added in v1.20.0

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

Build a url path and query string

func (*TenantsDeleteURL) BuildFull added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

func (o *TenantsDeleteURL) String() string

String returns the string representation of the path with query string

func (*TenantsDeleteURL) StringFull added in v1.20.0

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

StringFull returns the string representation of a complete url

func (*TenantsDeleteURL) WithBasePath added in v1.20.0

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 added in v1.20.0

type TenantsDeleteUnauthorized struct {
}

TenantsDeleteUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsDeleteUnauthorized

func NewTenantsDeleteUnauthorized added in v1.20.0

func NewTenantsDeleteUnauthorized() *TenantsDeleteUnauthorized

NewTenantsDeleteUnauthorized creates TenantsDeleteUnauthorized with default headers values

func (*TenantsDeleteUnauthorized) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsDeleteUnprocessableEntity added in v1.20.0

type TenantsDeleteUnprocessableEntity struct {

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

TenantsDeleteUnprocessableEntity Invalid Tenant class

swagger:response tenantsDeleteUnprocessableEntity

func NewTenantsDeleteUnprocessableEntity added in v1.20.0

func NewTenantsDeleteUnprocessableEntity() *TenantsDeleteUnprocessableEntity

NewTenantsDeleteUnprocessableEntity creates TenantsDeleteUnprocessableEntity with default headers values

func (*TenantsDeleteUnprocessableEntity) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants delete unprocessable entity response

func (*TenantsDeleteUnprocessableEntity) WithPayload added in v1.20.0

WithPayload adds the payload to the tenants delete unprocessable entity response

func (*TenantsDeleteUnprocessableEntity) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsGet added in v1.20.0

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

get all tenants from a specific class

func NewTenantsGet added in v1.20.0

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

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

func (*TenantsGet) ServeHTTP added in v1.20.0

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

type TenantsGetForbidden added in v1.20.0

type TenantsGetForbidden struct {

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

TenantsGetForbidden Forbidden

swagger:response tenantsGetForbidden

func NewTenantsGetForbidden added in v1.20.0

func NewTenantsGetForbidden() *TenantsGetForbidden

NewTenantsGetForbidden creates TenantsGetForbidden with default headers values

func (*TenantsGetForbidden) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants get forbidden response

func (*TenantsGetForbidden) WithPayload added in v1.20.0

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

WithPayload adds the payload to the tenants get forbidden response

func (*TenantsGetForbidden) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsGetHandler added in v1.20.0

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

TenantsGetHandler interface for that can handle valid tenants get params

type TenantsGetHandlerFunc added in v1.20.0

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

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

func (TenantsGetHandlerFunc) Handle added in v1.20.0

Handle executing the request and returning a response

type TenantsGetInternalServerError added in v1.20.0

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 added in v1.20.0

func NewTenantsGetInternalServerError() *TenantsGetInternalServerError

NewTenantsGetInternalServerError creates TenantsGetInternalServerError with default headers values

func (*TenantsGetInternalServerError) SetPayload added in v1.20.0

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

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

func (*TenantsGetInternalServerError) WithPayload added in v1.20.0

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

func (*TenantsGetInternalServerError) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsGetOK added in v1.20.0

type TenantsGetOK struct {

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

TenantsGetOK tenants from specified class.

swagger:response tenantsGetOK

func NewTenantsGetOK added in v1.20.0

func NewTenantsGetOK() *TenantsGetOK

NewTenantsGetOK creates TenantsGetOK with default headers values

func (*TenantsGetOK) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants get o k response

func (*TenantsGetOK) WithPayload added in v1.20.0

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

WithPayload adds the payload to the tenants get o k response

func (*TenantsGetOK) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsGetParams added in v1.20.0

type TenantsGetParams struct {

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

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

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 added in v1.20.0

func NewTenantsGetParams() TenantsGetParams

NewTenantsGetParams creates a new TenantsGetParams object

There are no default values defined in the spec.

func (*TenantsGetParams) BindRequest added in v1.20.0

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 added in v1.20.0

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

TenantsGetURL generates an URL for the tenants get operation

func (*TenantsGetURL) Build added in v1.20.0

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

Build a url path and query string

func (*TenantsGetURL) BuildFull added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

func (o *TenantsGetURL) String() string

String returns the string representation of the path with query string

func (*TenantsGetURL) StringFull added in v1.20.0

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

StringFull returns the string representation of a complete url

func (*TenantsGetURL) WithBasePath added in v1.20.0

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 added in v1.20.0

type TenantsGetUnauthorized struct {
}

TenantsGetUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsGetUnauthorized

func NewTenantsGetUnauthorized added in v1.20.0

func NewTenantsGetUnauthorized() *TenantsGetUnauthorized

NewTenantsGetUnauthorized creates TenantsGetUnauthorized with default headers values

func (*TenantsGetUnauthorized) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsGetUnprocessableEntity added in v1.20.0

type TenantsGetUnprocessableEntity struct {

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

TenantsGetUnprocessableEntity Invalid Tenant class

swagger:response tenantsGetUnprocessableEntity

func NewTenantsGetUnprocessableEntity added in v1.20.0

func NewTenantsGetUnprocessableEntity() *TenantsGetUnprocessableEntity

NewTenantsGetUnprocessableEntity creates TenantsGetUnprocessableEntity with default headers values

func (*TenantsGetUnprocessableEntity) SetPayload added in v1.20.0

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

SetPayload sets the payload to the tenants get unprocessable entity response

func (*TenantsGetUnprocessableEntity) WithPayload added in v1.20.0

WithPayload adds the payload to the tenants get unprocessable entity response

func (*TenantsGetUnprocessableEntity) WriteResponse added in v1.20.0

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

WriteResponse to the client

type TenantsUpdate added in v1.21.0

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

Update tenant of a specific class

func NewTenantsUpdate added in v1.21.0

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

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

func (*TenantsUpdate) ServeHTTP added in v1.21.0

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

type TenantsUpdateForbidden added in v1.21.0

type TenantsUpdateForbidden struct {

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

TenantsUpdateForbidden Forbidden

swagger:response tenantsUpdateForbidden

func NewTenantsUpdateForbidden added in v1.21.0

func NewTenantsUpdateForbidden() *TenantsUpdateForbidden

NewTenantsUpdateForbidden creates TenantsUpdateForbidden with default headers values

func (*TenantsUpdateForbidden) SetPayload added in v1.21.0

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

SetPayload sets the payload to the tenants update forbidden response

func (*TenantsUpdateForbidden) WithPayload added in v1.21.0

WithPayload adds the payload to the tenants update forbidden response

func (*TenantsUpdateForbidden) WriteResponse added in v1.21.0

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

WriteResponse to the client

type TenantsUpdateHandler added in v1.21.0

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

TenantsUpdateHandler interface for that can handle valid tenants update params

type TenantsUpdateHandlerFunc added in v1.21.0

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

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

func (TenantsUpdateHandlerFunc) Handle added in v1.21.0

Handle executing the request and returning a response

type TenantsUpdateInternalServerError added in v1.21.0

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 added in v1.21.0

func NewTenantsUpdateInternalServerError() *TenantsUpdateInternalServerError

NewTenantsUpdateInternalServerError creates TenantsUpdateInternalServerError with default headers values

func (*TenantsUpdateInternalServerError) SetPayload added in v1.21.0

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

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

func (*TenantsUpdateInternalServerError) WithPayload added in v1.21.0

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

func (*TenantsUpdateInternalServerError) WriteResponse added in v1.21.0

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

WriteResponse to the client

type TenantsUpdateOK added in v1.21.0

type TenantsUpdateOK struct {

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

TenantsUpdateOK Updated tenants of the specified class

swagger:response tenantsUpdateOK

func NewTenantsUpdateOK added in v1.21.0

func NewTenantsUpdateOK() *TenantsUpdateOK

NewTenantsUpdateOK creates TenantsUpdateOK with default headers values

func (*TenantsUpdateOK) SetPayload added in v1.21.0

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

SetPayload sets the payload to the tenants update o k response

func (*TenantsUpdateOK) WithPayload added in v1.21.0

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

WithPayload adds the payload to the tenants update o k response

func (*TenantsUpdateOK) WriteResponse added in v1.21.0

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

WriteResponse to the client

type TenantsUpdateParams added in v1.21.0

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 added in v1.21.0

func NewTenantsUpdateParams() TenantsUpdateParams

NewTenantsUpdateParams creates a new TenantsUpdateParams object

There are no default values defined in the spec.

func (*TenantsUpdateParams) BindRequest added in v1.21.0

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 added in v1.21.0

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

TenantsUpdateURL generates an URL for the tenants update operation

func (*TenantsUpdateURL) Build added in v1.21.0

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

Build a url path and query string

func (*TenantsUpdateURL) BuildFull added in v1.21.0

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 added in v1.21.0

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 added in v1.21.0

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 added in v1.21.0

func (o *TenantsUpdateURL) String() string

String returns the string representation of the path with query string

func (*TenantsUpdateURL) StringFull added in v1.21.0

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

StringFull returns the string representation of a complete url

func (*TenantsUpdateURL) WithBasePath added in v1.21.0

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 added in v1.21.0

type TenantsUpdateUnauthorized struct {
}

TenantsUpdateUnauthorized Unauthorized or invalid credentials.

swagger:response tenantsUpdateUnauthorized

func NewTenantsUpdateUnauthorized added in v1.21.0

func NewTenantsUpdateUnauthorized() *TenantsUpdateUnauthorized

NewTenantsUpdateUnauthorized creates TenantsUpdateUnauthorized with default headers values

func (*TenantsUpdateUnauthorized) WriteResponse added in v1.21.0

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

WriteResponse to the client

type TenantsUpdateUnprocessableEntity added in v1.21.0

type TenantsUpdateUnprocessableEntity struct {

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

TenantsUpdateUnprocessableEntity Invalid Tenant class

swagger:response tenantsUpdateUnprocessableEntity

func NewTenantsUpdateUnprocessableEntity added in v1.21.0

func NewTenantsUpdateUnprocessableEntity() *TenantsUpdateUnprocessableEntity

NewTenantsUpdateUnprocessableEntity creates TenantsUpdateUnprocessableEntity with default headers values

func (*TenantsUpdateUnprocessableEntity) SetPayload added in v1.21.0

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

SetPayload sets the payload to the tenants update unprocessable entity response

func (*TenantsUpdateUnprocessableEntity) WithPayload added in v1.21.0

WithPayload adds the payload to the tenants update unprocessable entity response

func (*TenantsUpdateUnprocessableEntity) WriteResponse added in v1.21.0

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