Documentation ¶
Index ¶
- Constants
- type SchemaDump
- type SchemaDumpForbidden
- type SchemaDumpHandler
- type SchemaDumpHandlerFunc
- type SchemaDumpInternalServerError
- func (o *SchemaDumpInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaDumpInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaDumpInternalServerError
- func (o *SchemaDumpInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaDumpOK
- type SchemaDumpParams
- type SchemaDumpURL
- func (o *SchemaDumpURL) Build() (*url.URL, error)
- func (o *SchemaDumpURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaDumpURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaDumpURL) SetBasePath(bp string)
- func (o *SchemaDumpURL) String() string
- func (o *SchemaDumpURL) StringFull(scheme, host string) string
- func (o *SchemaDumpURL) WithBasePath(bp string) *SchemaDumpURL
- type SchemaDumpUnauthorized
- type SchemaObjectsCreate
- type SchemaObjectsCreateForbidden
- type SchemaObjectsCreateHandler
- type SchemaObjectsCreateHandlerFunc
- type SchemaObjectsCreateInternalServerError
- func (o *SchemaObjectsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsCreateInternalServerError
- func (o *SchemaObjectsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsCreateOK
- type SchemaObjectsCreateParams
- type SchemaObjectsCreateURL
- func (o *SchemaObjectsCreateURL) Build() (*url.URL, error)
- func (o *SchemaObjectsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsCreateURL) SetBasePath(bp string)
- func (o *SchemaObjectsCreateURL) String() string
- func (o *SchemaObjectsCreateURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsCreateURL) WithBasePath(bp string) *SchemaObjectsCreateURL
- type SchemaObjectsCreateUnauthorized
- type SchemaObjectsCreateUnprocessableEntity
- func (o *SchemaObjectsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsCreateUnprocessableEntity
- func (o *SchemaObjectsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsDelete
- type SchemaObjectsDeleteBadRequest
- func (o *SchemaObjectsDeleteBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsDeleteBadRequest) WithPayload(payload *models.ErrorResponse) *SchemaObjectsDeleteBadRequest
- func (o *SchemaObjectsDeleteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsDeleteForbidden
- type SchemaObjectsDeleteHandler
- type SchemaObjectsDeleteHandlerFunc
- type SchemaObjectsDeleteInternalServerError
- func (o *SchemaObjectsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsDeleteInternalServerError
- func (o *SchemaObjectsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsDeleteOK
- type SchemaObjectsDeleteParams
- type SchemaObjectsDeleteURL
- func (o *SchemaObjectsDeleteURL) Build() (*url.URL, error)
- func (o *SchemaObjectsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsDeleteURL) SetBasePath(bp string)
- func (o *SchemaObjectsDeleteURL) String() string
- func (o *SchemaObjectsDeleteURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsDeleteURL) WithBasePath(bp string) *SchemaObjectsDeleteURL
- type SchemaObjectsDeleteUnauthorized
- type SchemaObjectsGet
- type SchemaObjectsGetForbidden
- type SchemaObjectsGetHandler
- type SchemaObjectsGetHandlerFunc
- type SchemaObjectsGetInternalServerError
- func (o *SchemaObjectsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsGetInternalServerError
- func (o *SchemaObjectsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsGetNotFound
- type SchemaObjectsGetOK
- type SchemaObjectsGetParams
- type SchemaObjectsGetURL
- func (o *SchemaObjectsGetURL) Build() (*url.URL, error)
- func (o *SchemaObjectsGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsGetURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsGetURL) SetBasePath(bp string)
- func (o *SchemaObjectsGetURL) String() string
- func (o *SchemaObjectsGetURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsGetURL) WithBasePath(bp string) *SchemaObjectsGetURL
- type SchemaObjectsGetUnauthorized
- type SchemaObjectsPropertiesAdd
- type SchemaObjectsPropertiesAddForbidden
- func (o *SchemaObjectsPropertiesAddForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsPropertiesAddForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsPropertiesAddForbidden
- func (o *SchemaObjectsPropertiesAddForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsPropertiesAddHandler
- type SchemaObjectsPropertiesAddHandlerFunc
- type SchemaObjectsPropertiesAddInternalServerError
- func (o *SchemaObjectsPropertiesAddInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsPropertiesAddInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsPropertiesAddInternalServerError
- func (o *SchemaObjectsPropertiesAddInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsPropertiesAddOK
- type SchemaObjectsPropertiesAddParams
- type SchemaObjectsPropertiesAddURL
- func (o *SchemaObjectsPropertiesAddURL) Build() (*url.URL, error)
- func (o *SchemaObjectsPropertiesAddURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsPropertiesAddURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsPropertiesAddURL) SetBasePath(bp string)
- func (o *SchemaObjectsPropertiesAddURL) String() string
- func (o *SchemaObjectsPropertiesAddURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsPropertiesAddURL) WithBasePath(bp string) *SchemaObjectsPropertiesAddURL
- type SchemaObjectsPropertiesAddUnauthorized
- type SchemaObjectsPropertiesAddUnprocessableEntity
- func (o *SchemaObjectsPropertiesAddUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsPropertiesAddUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsPropertiesAddUnprocessableEntity
- func (o *SchemaObjectsPropertiesAddUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsGet
- type SchemaObjectsShardsGetForbidden
- func (o *SchemaObjectsShardsGetForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsGetForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsGetForbidden
- func (o *SchemaObjectsShardsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsGetHandler
- type SchemaObjectsShardsGetHandlerFunc
- type SchemaObjectsShardsGetInternalServerError
- func (o *SchemaObjectsShardsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsGetInternalServerError
- func (o *SchemaObjectsShardsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsGetNotFound
- func (o *SchemaObjectsShardsGetNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsGetNotFound) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsGetNotFound
- func (o *SchemaObjectsShardsGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsGetOK
- type SchemaObjectsShardsGetParams
- type SchemaObjectsShardsGetURL
- func (o *SchemaObjectsShardsGetURL) Build() (*url.URL, error)
- func (o *SchemaObjectsShardsGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsShardsGetURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsShardsGetURL) SetBasePath(bp string)
- func (o *SchemaObjectsShardsGetURL) String() string
- func (o *SchemaObjectsShardsGetURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsShardsGetURL) WithBasePath(bp string) *SchemaObjectsShardsGetURL
- type SchemaObjectsShardsGetUnauthorized
- type SchemaObjectsShardsUpdate
- type SchemaObjectsShardsUpdateForbidden
- func (o *SchemaObjectsShardsUpdateForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsUpdateForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateForbidden
- func (o *SchemaObjectsShardsUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsUpdateHandler
- type SchemaObjectsShardsUpdateHandlerFunc
- type SchemaObjectsShardsUpdateInternalServerError
- func (o *SchemaObjectsShardsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateInternalServerError
- func (o *SchemaObjectsShardsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsUpdateNotFound
- func (o *SchemaObjectsShardsUpdateNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsUpdateNotFound) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateNotFound
- func (o *SchemaObjectsShardsUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsShardsUpdateOK
- type SchemaObjectsShardsUpdateParams
- type SchemaObjectsShardsUpdateURL
- func (o *SchemaObjectsShardsUpdateURL) Build() (*url.URL, error)
- func (o *SchemaObjectsShardsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsShardsUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsShardsUpdateURL) SetBasePath(bp string)
- func (o *SchemaObjectsShardsUpdateURL) String() string
- func (o *SchemaObjectsShardsUpdateURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsShardsUpdateURL) WithBasePath(bp string) *SchemaObjectsShardsUpdateURL
- type SchemaObjectsShardsUpdateUnauthorized
- type SchemaObjectsShardsUpdateUnprocessableEntity
- func (o *SchemaObjectsShardsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsShardsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateUnprocessableEntity
- func (o *SchemaObjectsShardsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsUpdate
- type SchemaObjectsUpdateForbidden
- type SchemaObjectsUpdateHandler
- type SchemaObjectsUpdateHandlerFunc
- type SchemaObjectsUpdateInternalServerError
- func (o *SchemaObjectsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsUpdateInternalServerError
- func (o *SchemaObjectsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SchemaObjectsUpdateNotFound
- type SchemaObjectsUpdateOK
- type SchemaObjectsUpdateParams
- type SchemaObjectsUpdateURL
- func (o *SchemaObjectsUpdateURL) Build() (*url.URL, error)
- func (o *SchemaObjectsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SchemaObjectsUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *SchemaObjectsUpdateURL) SetBasePath(bp string)
- func (o *SchemaObjectsUpdateURL) String() string
- func (o *SchemaObjectsUpdateURL) StringFull(scheme, host string) string
- func (o *SchemaObjectsUpdateURL) WithBasePath(bp string) *SchemaObjectsUpdateURL
- type SchemaObjectsUpdateUnauthorized
- type SchemaObjectsUpdateUnprocessableEntity
- func (o *SchemaObjectsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *SchemaObjectsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsUpdateUnprocessableEntity
- func (o *SchemaObjectsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantExists
- type TenantExistsForbidden
- type TenantExistsHandler
- type TenantExistsHandlerFunc
- type TenantExistsInternalServerError
- func (o *TenantExistsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *TenantExistsInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantExistsInternalServerError
- func (o *TenantExistsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantExistsNotFound
- type TenantExistsOK
- type TenantExistsParams
- type TenantExistsURL
- func (o *TenantExistsURL) Build() (*url.URL, error)
- func (o *TenantExistsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantExistsURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantExistsURL) SetBasePath(bp string)
- func (o *TenantExistsURL) String() string
- func (o *TenantExistsURL) StringFull(scheme, host string) string
- func (o *TenantExistsURL) WithBasePath(bp string) *TenantExistsURL
- type TenantExistsUnauthorized
- type TenantExistsUnprocessableEntity
- func (o *TenantExistsUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *TenantExistsUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantExistsUnprocessableEntity
- func (o *TenantExistsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsCreate
- type TenantsCreateForbidden
- type TenantsCreateHandler
- type TenantsCreateHandlerFunc
- type TenantsCreateInternalServerError
- func (o *TenantsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsCreateInternalServerError
- func (o *TenantsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsCreateOK
- type TenantsCreateParams
- type TenantsCreateURL
- func (o *TenantsCreateURL) Build() (*url.URL, error)
- func (o *TenantsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantsCreateURL) SetBasePath(bp string)
- func (o *TenantsCreateURL) String() string
- func (o *TenantsCreateURL) StringFull(scheme, host string) string
- func (o *TenantsCreateURL) WithBasePath(bp string) *TenantsCreateURL
- type TenantsCreateUnauthorized
- type TenantsCreateUnprocessableEntity
- func (o *TenantsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsCreateUnprocessableEntity
- func (o *TenantsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsDelete
- type TenantsDeleteForbidden
- type TenantsDeleteHandler
- type TenantsDeleteHandlerFunc
- type TenantsDeleteInternalServerError
- func (o *TenantsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsDeleteInternalServerError
- func (o *TenantsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsDeleteOK
- type TenantsDeleteParams
- type TenantsDeleteURL
- func (o *TenantsDeleteURL) Build() (*url.URL, error)
- func (o *TenantsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantsDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantsDeleteURL) SetBasePath(bp string)
- func (o *TenantsDeleteURL) String() string
- func (o *TenantsDeleteURL) StringFull(scheme, host string) string
- func (o *TenantsDeleteURL) WithBasePath(bp string) *TenantsDeleteURL
- type TenantsDeleteUnauthorized
- type TenantsDeleteUnprocessableEntity
- func (o *TenantsDeleteUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsDeleteUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsDeleteUnprocessableEntity
- func (o *TenantsDeleteUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsGet
- type TenantsGetForbidden
- type TenantsGetHandler
- type TenantsGetHandlerFunc
- type TenantsGetInternalServerError
- func (o *TenantsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsGetInternalServerError
- func (o *TenantsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsGetOK
- type TenantsGetOne
- type TenantsGetOneForbidden
- type TenantsGetOneHandler
- type TenantsGetOneHandlerFunc
- type TenantsGetOneInternalServerError
- func (o *TenantsGetOneInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsGetOneInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsGetOneInternalServerError
- func (o *TenantsGetOneInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsGetOneNotFound
- type TenantsGetOneOK
- type TenantsGetOneParams
- type TenantsGetOneURL
- func (o *TenantsGetOneURL) Build() (*url.URL, error)
- func (o *TenantsGetOneURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantsGetOneURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantsGetOneURL) SetBasePath(bp string)
- func (o *TenantsGetOneURL) String() string
- func (o *TenantsGetOneURL) StringFull(scheme, host string) string
- func (o *TenantsGetOneURL) WithBasePath(bp string) *TenantsGetOneURL
- type TenantsGetOneUnauthorized
- type TenantsGetOneUnprocessableEntity
- func (o *TenantsGetOneUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsGetOneUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsGetOneUnprocessableEntity
- func (o *TenantsGetOneUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsGetParams
- type TenantsGetURL
- func (o *TenantsGetURL) Build() (*url.URL, error)
- func (o *TenantsGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantsGetURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantsGetURL) SetBasePath(bp string)
- func (o *TenantsGetURL) String() string
- func (o *TenantsGetURL) StringFull(scheme, host string) string
- func (o *TenantsGetURL) WithBasePath(bp string) *TenantsGetURL
- type TenantsGetUnauthorized
- type TenantsGetUnprocessableEntity
- func (o *TenantsGetUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsGetUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsGetUnprocessableEntity
- func (o *TenantsGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsUpdate
- type TenantsUpdateForbidden
- type TenantsUpdateHandler
- type TenantsUpdateHandlerFunc
- type TenantsUpdateInternalServerError
- func (o *TenantsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsUpdateInternalServerError
- func (o *TenantsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type TenantsUpdateOK
- type TenantsUpdateParams
- type TenantsUpdateURL
- func (o *TenantsUpdateURL) Build() (*url.URL, error)
- func (o *TenantsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *TenantsUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *TenantsUpdateURL) SetBasePath(bp string)
- func (o *TenantsUpdateURL) String() string
- func (o *TenantsUpdateURL) StringFull(scheme, host string) string
- func (o *TenantsUpdateURL) WithBasePath(bp string) *TenantsUpdateURL
- type TenantsUpdateUnauthorized
- type TenantsUpdateUnprocessableEntity
- func (o *TenantsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *TenantsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsUpdateUnprocessableEntity
- func (o *TenantsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const SchemaDumpForbiddenCode int = 403
SchemaDumpForbiddenCode is the HTTP code returned for type SchemaDumpForbidden
const SchemaDumpInternalServerErrorCode int = 500
SchemaDumpInternalServerErrorCode is the HTTP code returned for type SchemaDumpInternalServerError
const SchemaDumpOKCode int = 200
SchemaDumpOKCode is the HTTP code returned for type SchemaDumpOK
SchemaDumpUnauthorizedCode is the HTTP code returned for type SchemaDumpUnauthorized
const SchemaObjectsCreateForbiddenCode int = 403
SchemaObjectsCreateForbiddenCode is the HTTP code returned for type SchemaObjectsCreateForbidden
const SchemaObjectsCreateInternalServerErrorCode int = 500
SchemaObjectsCreateInternalServerErrorCode is the HTTP code returned for type SchemaObjectsCreateInternalServerError
const SchemaObjectsCreateOKCode int = 200
SchemaObjectsCreateOKCode is the HTTP code returned for type SchemaObjectsCreateOK
SchemaObjectsCreateUnauthorizedCode is the HTTP code returned for type SchemaObjectsCreateUnauthorized
const SchemaObjectsCreateUnprocessableEntityCode int = 422
SchemaObjectsCreateUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsCreateUnprocessableEntity
const SchemaObjectsDeleteBadRequestCode int = 400
SchemaObjectsDeleteBadRequestCode is the HTTP code returned for type SchemaObjectsDeleteBadRequest
const SchemaObjectsDeleteForbiddenCode int = 403
SchemaObjectsDeleteForbiddenCode is the HTTP code returned for type SchemaObjectsDeleteForbidden
const SchemaObjectsDeleteInternalServerErrorCode int = 500
SchemaObjectsDeleteInternalServerErrorCode is the HTTP code returned for type SchemaObjectsDeleteInternalServerError
const SchemaObjectsDeleteOKCode int = 200
SchemaObjectsDeleteOKCode is the HTTP code returned for type SchemaObjectsDeleteOK
SchemaObjectsDeleteUnauthorizedCode is the HTTP code returned for type SchemaObjectsDeleteUnauthorized
const SchemaObjectsGetForbiddenCode int = 403
SchemaObjectsGetForbiddenCode is the HTTP code returned for type SchemaObjectsGetForbidden
const SchemaObjectsGetInternalServerErrorCode int = 500
SchemaObjectsGetInternalServerErrorCode is the HTTP code returned for type SchemaObjectsGetInternalServerError
const SchemaObjectsGetNotFoundCode int = 404
SchemaObjectsGetNotFoundCode is the HTTP code returned for type SchemaObjectsGetNotFound
const SchemaObjectsGetOKCode int = 200
SchemaObjectsGetOKCode is the HTTP code returned for type SchemaObjectsGetOK
SchemaObjectsGetUnauthorizedCode is the HTTP code returned for type SchemaObjectsGetUnauthorized
const SchemaObjectsPropertiesAddForbiddenCode int = 403
SchemaObjectsPropertiesAddForbiddenCode is the HTTP code returned for type SchemaObjectsPropertiesAddForbidden
const SchemaObjectsPropertiesAddInternalServerErrorCode int = 500
SchemaObjectsPropertiesAddInternalServerErrorCode is the HTTP code returned for type SchemaObjectsPropertiesAddInternalServerError
const SchemaObjectsPropertiesAddOKCode int = 200
SchemaObjectsPropertiesAddOKCode is the HTTP code returned for type SchemaObjectsPropertiesAddOK
SchemaObjectsPropertiesAddUnauthorizedCode is the HTTP code returned for type SchemaObjectsPropertiesAddUnauthorized
const SchemaObjectsPropertiesAddUnprocessableEntityCode int = 422
SchemaObjectsPropertiesAddUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsPropertiesAddUnprocessableEntity
const SchemaObjectsShardsGetForbiddenCode int = 403
SchemaObjectsShardsGetForbiddenCode is the HTTP code returned for type SchemaObjectsShardsGetForbidden
const SchemaObjectsShardsGetInternalServerErrorCode int = 500
SchemaObjectsShardsGetInternalServerErrorCode is the HTTP code returned for type SchemaObjectsShardsGetInternalServerError
const SchemaObjectsShardsGetNotFoundCode int = 404
SchemaObjectsShardsGetNotFoundCode is the HTTP code returned for type SchemaObjectsShardsGetNotFound
const SchemaObjectsShardsGetOKCode int = 200
SchemaObjectsShardsGetOKCode is the HTTP code returned for type SchemaObjectsShardsGetOK
SchemaObjectsShardsGetUnauthorizedCode is the HTTP code returned for type SchemaObjectsShardsGetUnauthorized
const SchemaObjectsShardsUpdateForbiddenCode int = 403
SchemaObjectsShardsUpdateForbiddenCode is the HTTP code returned for type SchemaObjectsShardsUpdateForbidden
const SchemaObjectsShardsUpdateInternalServerErrorCode int = 500
SchemaObjectsShardsUpdateInternalServerErrorCode is the HTTP code returned for type SchemaObjectsShardsUpdateInternalServerError
const SchemaObjectsShardsUpdateNotFoundCode int = 404
SchemaObjectsShardsUpdateNotFoundCode is the HTTP code returned for type SchemaObjectsShardsUpdateNotFound
const SchemaObjectsShardsUpdateOKCode int = 200
SchemaObjectsShardsUpdateOKCode is the HTTP code returned for type SchemaObjectsShardsUpdateOK
SchemaObjectsShardsUpdateUnauthorizedCode is the HTTP code returned for type SchemaObjectsShardsUpdateUnauthorized
const SchemaObjectsShardsUpdateUnprocessableEntityCode int = 422
SchemaObjectsShardsUpdateUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsShardsUpdateUnprocessableEntity
const SchemaObjectsUpdateForbiddenCode int = 403
SchemaObjectsUpdateForbiddenCode is the HTTP code returned for type SchemaObjectsUpdateForbidden
const SchemaObjectsUpdateInternalServerErrorCode int = 500
SchemaObjectsUpdateInternalServerErrorCode is the HTTP code returned for type SchemaObjectsUpdateInternalServerError
const SchemaObjectsUpdateNotFoundCode int = 404
SchemaObjectsUpdateNotFoundCode is the HTTP code returned for type SchemaObjectsUpdateNotFound
const SchemaObjectsUpdateOKCode int = 200
SchemaObjectsUpdateOKCode is the HTTP code returned for type SchemaObjectsUpdateOK
SchemaObjectsUpdateUnauthorizedCode is the HTTP code returned for type SchemaObjectsUpdateUnauthorized
const SchemaObjectsUpdateUnprocessableEntityCode int = 422
SchemaObjectsUpdateUnprocessableEntityCode is the HTTP code returned for type SchemaObjectsUpdateUnprocessableEntity
const TenantExistsForbiddenCode int = 403
TenantExistsForbiddenCode is the HTTP code returned for type TenantExistsForbidden
const TenantExistsInternalServerErrorCode int = 500
TenantExistsInternalServerErrorCode is the HTTP code returned for type TenantExistsInternalServerError
const TenantExistsNotFoundCode int = 404
TenantExistsNotFoundCode is the HTTP code returned for type TenantExistsNotFound
const TenantExistsOKCode int = 200
TenantExistsOKCode is the HTTP code returned for type TenantExistsOK
TenantExistsUnauthorizedCode is the HTTP code returned for type TenantExistsUnauthorized
const TenantExistsUnprocessableEntityCode int = 422
TenantExistsUnprocessableEntityCode is the HTTP code returned for type TenantExistsUnprocessableEntity
const TenantsCreateForbiddenCode int = 403
TenantsCreateForbiddenCode is the HTTP code returned for type TenantsCreateForbidden
const TenantsCreateInternalServerErrorCode int = 500
TenantsCreateInternalServerErrorCode is the HTTP code returned for type TenantsCreateInternalServerError
const TenantsCreateOKCode int = 200
TenantsCreateOKCode is the HTTP code returned for type TenantsCreateOK
TenantsCreateUnauthorizedCode is the HTTP code returned for type TenantsCreateUnauthorized
const TenantsCreateUnprocessableEntityCode int = 422
TenantsCreateUnprocessableEntityCode is the HTTP code returned for type TenantsCreateUnprocessableEntity
const TenantsDeleteForbiddenCode int = 403
TenantsDeleteForbiddenCode is the HTTP code returned for type TenantsDeleteForbidden
const TenantsDeleteInternalServerErrorCode int = 500
TenantsDeleteInternalServerErrorCode is the HTTP code returned for type TenantsDeleteInternalServerError
const TenantsDeleteOKCode int = 200
TenantsDeleteOKCode is the HTTP code returned for type TenantsDeleteOK
TenantsDeleteUnauthorizedCode is the HTTP code returned for type TenantsDeleteUnauthorized
const TenantsDeleteUnprocessableEntityCode int = 422
TenantsDeleteUnprocessableEntityCode is the HTTP code returned for type TenantsDeleteUnprocessableEntity
const TenantsGetForbiddenCode int = 403
TenantsGetForbiddenCode is the HTTP code returned for type TenantsGetForbidden
const TenantsGetInternalServerErrorCode int = 500
TenantsGetInternalServerErrorCode is the HTTP code returned for type TenantsGetInternalServerError
const TenantsGetOKCode int = 200
TenantsGetOKCode is the HTTP code returned for type TenantsGetOK
const TenantsGetOneForbiddenCode int = 403
TenantsGetOneForbiddenCode is the HTTP code returned for type TenantsGetOneForbidden
const TenantsGetOneInternalServerErrorCode int = 500
TenantsGetOneInternalServerErrorCode is the HTTP code returned for type TenantsGetOneInternalServerError
const TenantsGetOneNotFoundCode int = 404
TenantsGetOneNotFoundCode is the HTTP code returned for type TenantsGetOneNotFound
const TenantsGetOneOKCode int = 200
TenantsGetOneOKCode is the HTTP code returned for type TenantsGetOneOK
TenantsGetOneUnauthorizedCode is the HTTP code returned for type TenantsGetOneUnauthorized
const TenantsGetOneUnprocessableEntityCode int = 422
TenantsGetOneUnprocessableEntityCode is the HTTP code returned for type TenantsGetOneUnprocessableEntity
TenantsGetUnauthorizedCode is the HTTP code returned for type TenantsGetUnauthorized
const TenantsGetUnprocessableEntityCode int = 422
TenantsGetUnprocessableEntityCode is the HTTP code returned for type TenantsGetUnprocessableEntity
const TenantsUpdateForbiddenCode int = 403
TenantsUpdateForbiddenCode is the HTTP code returned for type TenantsUpdateForbidden
const TenantsUpdateInternalServerErrorCode int = 500
TenantsUpdateInternalServerErrorCode is the HTTP code returned for type TenantsUpdateInternalServerError
const TenantsUpdateOKCode int = 200
TenantsUpdateOKCode is the HTTP code returned for type TenantsUpdateOK
TenantsUpdateUnauthorizedCode is the HTTP code returned for type TenantsUpdateUnauthorized
const TenantsUpdateUnprocessableEntityCode int = 422
TenantsUpdateUnprocessableEntityCode is the HTTP code returned for type TenantsUpdateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaDump ¶
type SchemaDump struct { Context *middleware.Context Handler SchemaDumpHandler }
SchemaDump swagger:route GET /schema schema schemaDump
Dump the current the database schema.
Fetch an array of all collection definitions from the schema.
func NewSchemaDump ¶
func NewSchemaDump(ctx *middleware.Context, handler SchemaDumpHandler) *SchemaDump
NewSchemaDump creates a new http.Handler for the schema dump operation
func (*SchemaDump) ServeHTTP ¶
func (o *SchemaDump) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SchemaDumpForbidden ¶
type SchemaDumpForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
SchemaDumpForbidden Forbidden
swagger:response schemaDumpForbidden
func NewSchemaDumpForbidden ¶
func NewSchemaDumpForbidden() *SchemaDumpForbidden
NewSchemaDumpForbidden creates SchemaDumpForbidden with default headers values
func (*SchemaDumpForbidden) SetPayload ¶
func (o *SchemaDumpForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema dump forbidden response
func (*SchemaDumpForbidden) WithPayload ¶
func (o *SchemaDumpForbidden) WithPayload(payload *models.ErrorResponse) *SchemaDumpForbidden
WithPayload adds the payload to the schema dump forbidden response
func (*SchemaDumpForbidden) WriteResponse ¶
func (o *SchemaDumpForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaDumpHandler ¶
type SchemaDumpHandler interface {
Handle(SchemaDumpParams, *models.Principal) middleware.Responder
}
SchemaDumpHandler interface for that can handle valid schema dump params
type SchemaDumpHandlerFunc ¶
type SchemaDumpHandlerFunc func(SchemaDumpParams, *models.Principal) middleware.Responder
SchemaDumpHandlerFunc turns a function with the right signature into a schema dump handler
func (SchemaDumpHandlerFunc) Handle ¶
func (fn SchemaDumpHandlerFunc) Handle(params SchemaDumpParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaDumpInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaDumpInternalServerError
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 ¶
SchemaDumpOK Successfully dumped the database schema.
swagger:response schemaDumpOK
func NewSchemaDumpOK ¶
func NewSchemaDumpOK() *SchemaDumpOK
NewSchemaDumpOK creates SchemaDumpOK with default headers values
func (*SchemaDumpOK) SetPayload ¶
func (o *SchemaDumpOK) SetPayload(payload *models.Schema)
SetPayload sets the payload to the schema dump o k response
func (*SchemaDumpOK) WithPayload ¶
func (o *SchemaDumpOK) WithPayload(payload *models.Schema) *SchemaDumpOK
WithPayload adds the payload to the schema dump o k response
func (*SchemaDumpOK) WriteResponse ¶
func (o *SchemaDumpOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaDumpParams ¶
type SchemaDumpParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency In: header Default: true */ Consistency *bool }
SchemaDumpParams contains all the bound params for the schema dump operation typically these are obtained from a http.Request
swagger:parameters schema.dump
func NewSchemaDumpParams ¶
func NewSchemaDumpParams() SchemaDumpParams
NewSchemaDumpParams creates a new SchemaDumpParams object with the default values initialized.
func (*SchemaDumpParams) BindRequest ¶
func (o *SchemaDumpParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSchemaDumpParams() beforehand.
type SchemaDumpURL ¶
type SchemaDumpURL struct {
// contains filtered or unexported fields
}
SchemaDumpURL generates an URL for the schema dump operation
func (*SchemaDumpURL) Build ¶
func (o *SchemaDumpURL) Build() (*url.URL, error)
Build a url path and query string
func (*SchemaDumpURL) BuildFull ¶
func (o *SchemaDumpURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SchemaDumpURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SchemaDumpURL) SetBasePath ¶
func (o *SchemaDumpURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SchemaDumpURL) String ¶
func (o *SchemaDumpURL) String() string
String returns the string representation of the path with query string
func (*SchemaDumpURL) StringFull ¶
func (o *SchemaDumpURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SchemaDumpURL) WithBasePath ¶
func (o *SchemaDumpURL) WithBasePath(bp string) *SchemaDumpURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SchemaDumpUnauthorized ¶
type SchemaDumpUnauthorized struct { }
SchemaDumpUnauthorized Unauthorized or invalid credentials.
swagger:response schemaDumpUnauthorized
func NewSchemaDumpUnauthorized ¶
func NewSchemaDumpUnauthorized() *SchemaDumpUnauthorized
NewSchemaDumpUnauthorized creates SchemaDumpUnauthorized with default headers values
func (*SchemaDumpUnauthorized) WriteResponse ¶
func (o *SchemaDumpUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsCreate ¶
type SchemaObjectsCreate struct { Context *middleware.Context Handler SchemaObjectsCreateHandler }
SchemaObjectsCreate swagger:route POST /schema schema schemaObjectsCreate
Create a new Object class in the schema.
Create a new data object collection. <br/><br/>If AutoSchema is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments.
func NewSchemaObjectsCreate ¶
func NewSchemaObjectsCreate(ctx *middleware.Context, handler SchemaObjectsCreateHandler) *SchemaObjectsCreate
NewSchemaObjectsCreate creates a new http.Handler for the schema objects create operation
func (*SchemaObjectsCreate) ServeHTTP ¶
func (o *SchemaObjectsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SchemaObjectsCreateForbidden ¶
type SchemaObjectsCreateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
SchemaObjectsCreateForbidden Forbidden
swagger:response schemaObjectsCreateForbidden
func NewSchemaObjectsCreateForbidden ¶
func NewSchemaObjectsCreateForbidden() *SchemaObjectsCreateForbidden
NewSchemaObjectsCreateForbidden creates SchemaObjectsCreateForbidden with default headers values
func (*SchemaObjectsCreateForbidden) SetPayload ¶
func (o *SchemaObjectsCreateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects create forbidden response
func (*SchemaObjectsCreateForbidden) WithPayload ¶
func (o *SchemaObjectsCreateForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsCreateForbidden
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 ¶
func (fn SchemaObjectsCreateHandlerFunc) Handle(params SchemaObjectsCreateParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects create internal server error response
func (*SchemaObjectsCreateInternalServerError) WithPayload ¶
func (o *SchemaObjectsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsCreateInternalServerError
WithPayload adds the payload to the schema objects create internal server error response
func (*SchemaObjectsCreateInternalServerError) WriteResponse ¶
func (o *SchemaObjectsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsCreateOK ¶
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 ¶
func (o *SchemaObjectsCreateParams) 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 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 ¶
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 ¶
func (o *SchemaObjectsCreateURL) WithBasePath(bp string) *SchemaObjectsCreateURL
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 ¶
func (o *SchemaObjectsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects create unprocessable entity response
func (*SchemaObjectsCreateUnprocessableEntity) WithPayload ¶
func (o *SchemaObjectsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsCreateUnprocessableEntity
WithPayload adds the payload to the schema objects create unprocessable entity response
func (*SchemaObjectsCreateUnprocessableEntity) WriteResponse ¶
func (o *SchemaObjectsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsDelete ¶
type SchemaObjectsDelete struct { Context *middleware.Context Handler SchemaObjectsDeleteHandler }
SchemaObjectsDelete swagger:route DELETE /schema/{className} schema schemaObjectsDelete
Remove an Object class (and all data in the instances) from the schema.
Remove a collection from the schema. This will also delete all the objects in the collection.
func NewSchemaObjectsDelete ¶
func NewSchemaObjectsDelete(ctx *middleware.Context, handler SchemaObjectsDeleteHandler) *SchemaObjectsDelete
NewSchemaObjectsDelete creates a new http.Handler for the schema objects delete operation
func (*SchemaObjectsDelete) ServeHTTP ¶
func (o *SchemaObjectsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SchemaObjectsDeleteBadRequest ¶
type SchemaObjectsDeleteBadRequest struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
SchemaObjectsDeleteBadRequest Could not delete the Object class.
swagger:response schemaObjectsDeleteBadRequest
func NewSchemaObjectsDeleteBadRequest ¶
func NewSchemaObjectsDeleteBadRequest() *SchemaObjectsDeleteBadRequest
NewSchemaObjectsDeleteBadRequest creates SchemaObjectsDeleteBadRequest with default headers values
func (*SchemaObjectsDeleteBadRequest) SetPayload ¶
func (o *SchemaObjectsDeleteBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects delete bad request response
func (*SchemaObjectsDeleteBadRequest) WithPayload ¶
func (o *SchemaObjectsDeleteBadRequest) WithPayload(payload *models.ErrorResponse) *SchemaObjectsDeleteBadRequest
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 ¶
func (o *SchemaObjectsDeleteForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsDeleteForbidden
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 ¶
func (fn SchemaObjectsDeleteHandlerFunc) Handle(params SchemaObjectsDeleteParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects delete internal server error response
func (*SchemaObjectsDeleteInternalServerError) WithPayload ¶
func (o *SchemaObjectsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsDeleteInternalServerError
WithPayload adds the payload to the schema objects delete internal server error response
func (*SchemaObjectsDeleteInternalServerError) WriteResponse ¶
func (o *SchemaObjectsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsDeleteParams) 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 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 ¶
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 ¶
func (o *SchemaObjectsDeleteURL) WithBasePath(bp string) *SchemaObjectsDeleteURL
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 ¶
func (o *SchemaObjectsGetForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsGetForbidden
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 ¶
func (fn SchemaObjectsGetHandlerFunc) Handle(params SchemaObjectsGetParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects get internal server error response
func (*SchemaObjectsGetInternalServerError) WithPayload ¶
func (o *SchemaObjectsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsGetInternalServerError
WithPayload adds the payload to the schema objects get internal server error response
func (*SchemaObjectsGetInternalServerError) WriteResponse ¶
func (o *SchemaObjectsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
SchemaObjectsGetOK Found the Class, returned as body
swagger:response schemaObjectsGetOK
func NewSchemaObjectsGetOK ¶
func NewSchemaObjectsGetOK() *SchemaObjectsGetOK
NewSchemaObjectsGetOK creates SchemaObjectsGetOK with default headers values
func (*SchemaObjectsGetOK) SetPayload ¶
func (o *SchemaObjectsGetOK) SetPayload(payload *models.Class)
SetPayload sets the payload to the schema objects get o k response
func (*SchemaObjectsGetOK) WithPayload ¶
func (o *SchemaObjectsGetOK) WithPayload(payload *models.Class) *SchemaObjectsGetOK
WithPayload adds the payload to the schema objects get o k response
func (*SchemaObjectsGetOK) WriteResponse ¶
func (o *SchemaObjectsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsGetParams ¶
type SchemaObjectsGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClassName string /*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency In: header Default: true */ Consistency *bool }
SchemaObjectsGetParams contains all the bound params for the schema objects get operation typically these are obtained from a http.Request
swagger:parameters schema.objects.get
func NewSchemaObjectsGetParams ¶
func NewSchemaObjectsGetParams() SchemaObjectsGetParams
NewSchemaObjectsGetParams creates a new SchemaObjectsGetParams object with the default values initialized.
func (*SchemaObjectsGetParams) BindRequest ¶
func (o *SchemaObjectsGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSchemaObjectsGetParams() beforehand.
type SchemaObjectsGetURL ¶
type SchemaObjectsGetURL struct { ClassName string // contains filtered or unexported fields }
SchemaObjectsGetURL generates an URL for the schema objects get operation
func (*SchemaObjectsGetURL) Build ¶
func (o *SchemaObjectsGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*SchemaObjectsGetURL) BuildFull ¶
func (o *SchemaObjectsGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SchemaObjectsGetURL) Must ¶
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 ¶
func (o *SchemaObjectsPropertiesAdd) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *SchemaObjectsPropertiesAddForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects properties add forbidden response
func (*SchemaObjectsPropertiesAddForbidden) WithPayload ¶
func (o *SchemaObjectsPropertiesAddForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsPropertiesAddForbidden
WithPayload adds the payload to the schema objects properties add forbidden response
func (*SchemaObjectsPropertiesAddForbidden) WriteResponse ¶
func (o *SchemaObjectsPropertiesAddForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn SchemaObjectsPropertiesAddHandlerFunc) Handle(params SchemaObjectsPropertiesAddParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsPropertiesAddInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects properties add internal server error response
func (*SchemaObjectsPropertiesAddInternalServerError) WithPayload ¶
func (o *SchemaObjectsPropertiesAddInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsPropertiesAddInternalServerError
WithPayload adds the payload to the schema objects properties add internal server error response
func (*SchemaObjectsPropertiesAddInternalServerError) WriteResponse ¶
func (o *SchemaObjectsPropertiesAddInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsPropertiesAddOK) WithPayload(payload *models.Property) *SchemaObjectsPropertiesAddOK
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 ¶
func (o *SchemaObjectsPropertiesAddParams) 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 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 ¶
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 ¶
func (o *SchemaObjectsPropertiesAddURL) String() 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 ¶
func (o *SchemaObjectsPropertiesAddURL) WithBasePath(bp string) *SchemaObjectsPropertiesAddURL
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 ¶
func (o *SchemaObjectsPropertiesAddUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsPropertiesAddUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects properties add unprocessable entity response
func (*SchemaObjectsPropertiesAddUnprocessableEntity) WithPayload ¶
func (o *SchemaObjectsPropertiesAddUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsPropertiesAddUnprocessableEntity
WithPayload adds the payload to the schema objects properties add unprocessable entity response
func (*SchemaObjectsPropertiesAddUnprocessableEntity) WriteResponse ¶
func (o *SchemaObjectsPropertiesAddUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsShardsGet ¶
type SchemaObjectsShardsGet struct { Context *middleware.Context Handler SchemaObjectsShardsGetHandler }
SchemaObjectsShardsGet swagger:route GET /schema/{className}/shards schema schemaObjectsShardsGet
Get the shards status of an Object class ¶
Get the status of every shard in the cluster.
func NewSchemaObjectsShardsGet ¶
func NewSchemaObjectsShardsGet(ctx *middleware.Context, handler SchemaObjectsShardsGetHandler) *SchemaObjectsShardsGet
NewSchemaObjectsShardsGet creates a new http.Handler for the schema objects shards get operation
func (*SchemaObjectsShardsGet) ServeHTTP ¶
func (o *SchemaObjectsShardsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SchemaObjectsShardsGetForbidden ¶
type SchemaObjectsShardsGetForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
SchemaObjectsShardsGetForbidden Forbidden
swagger:response schemaObjectsShardsGetForbidden
func NewSchemaObjectsShardsGetForbidden ¶
func NewSchemaObjectsShardsGetForbidden() *SchemaObjectsShardsGetForbidden
NewSchemaObjectsShardsGetForbidden creates SchemaObjectsShardsGetForbidden with default headers values
func (*SchemaObjectsShardsGetForbidden) SetPayload ¶
func (o *SchemaObjectsShardsGetForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects shards get forbidden response
func (*SchemaObjectsShardsGetForbidden) WithPayload ¶
func (o *SchemaObjectsShardsGetForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsGetForbidden
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 ¶
func (fn SchemaObjectsShardsGetHandlerFunc) Handle(params SchemaObjectsShardsGetParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsShardsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects shards get internal server error response
func (*SchemaObjectsShardsGetInternalServerError) WithPayload ¶
func (o *SchemaObjectsShardsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsGetInternalServerError
WithPayload adds the payload to the schema objects shards get internal server error response
func (*SchemaObjectsShardsGetInternalServerError) WriteResponse ¶
func (o *SchemaObjectsShardsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsShardsGetNotFound) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsGetNotFound
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 ¶
func (o *SchemaObjectsShardsGetOK) WithPayload(payload models.ShardStatusList) *SchemaObjectsShardsGetOK
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 ¶
func (o *SchemaObjectsShardsGetParams) 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 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 ¶
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 ¶
func (o *SchemaObjectsShardsGetURL) WithBasePath(bp string) *SchemaObjectsShardsGetURL
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 ¶
func (o *SchemaObjectsShardsGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsShardsUpdate ¶
type SchemaObjectsShardsUpdate struct { Context *middleware.Context Handler SchemaObjectsShardsUpdateHandler }
SchemaObjectsShardsUpdate swagger:route PUT /schema/{className}/shards/{shardName} schema schemaObjectsShardsUpdate
Update a shard status.
Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection.
func NewSchemaObjectsShardsUpdate ¶
func NewSchemaObjectsShardsUpdate(ctx *middleware.Context, handler SchemaObjectsShardsUpdateHandler) *SchemaObjectsShardsUpdate
NewSchemaObjectsShardsUpdate creates a new http.Handler for the schema objects shards update operation
func (*SchemaObjectsShardsUpdate) ServeHTTP ¶
func (o *SchemaObjectsShardsUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *SchemaObjectsShardsUpdateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects shards update forbidden response
func (*SchemaObjectsShardsUpdateForbidden) WithPayload ¶
func (o *SchemaObjectsShardsUpdateForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateForbidden
WithPayload adds the payload to the schema objects shards update forbidden response
func (*SchemaObjectsShardsUpdateForbidden) WriteResponse ¶
func (o *SchemaObjectsShardsUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn SchemaObjectsShardsUpdateHandlerFunc) Handle(params SchemaObjectsShardsUpdateParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsShardsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects shards update internal server error response
func (*SchemaObjectsShardsUpdateInternalServerError) WithPayload ¶
func (o *SchemaObjectsShardsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateInternalServerError
WithPayload adds the payload to the schema objects shards update internal server error response
func (*SchemaObjectsShardsUpdateInternalServerError) WriteResponse ¶
func (o *SchemaObjectsShardsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsShardsUpdateNotFound) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateNotFound
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 ¶
func (o *SchemaObjectsShardsUpdateOK) WithPayload(payload *models.ShardStatus) *SchemaObjectsShardsUpdateOK
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 ¶
func (o *SchemaObjectsShardsUpdateParams) 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 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 ¶
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 ¶
func (o *SchemaObjectsShardsUpdateURL) String() 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 ¶
func (o *SchemaObjectsShardsUpdateURL) WithBasePath(bp string) *SchemaObjectsShardsUpdateURL
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 ¶
func (o *SchemaObjectsShardsUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsShardsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects shards update unprocessable entity response
func (*SchemaObjectsShardsUpdateUnprocessableEntity) WithPayload ¶
func (o *SchemaObjectsShardsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsShardsUpdateUnprocessableEntity
WithPayload adds the payload to the schema objects shards update unprocessable entity response
func (*SchemaObjectsShardsUpdateUnprocessableEntity) WriteResponse ¶
func (o *SchemaObjectsShardsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SchemaObjectsUpdate ¶
type SchemaObjectsUpdate struct { Context *middleware.Context Handler SchemaObjectsUpdateHandler }
SchemaObjectsUpdate swagger:route PUT /schema/{className} schema schemaObjectsUpdate
Update settings of an existing schema class ¶
Add a property to an existing collection.
func NewSchemaObjectsUpdate ¶
func NewSchemaObjectsUpdate(ctx *middleware.Context, handler SchemaObjectsUpdateHandler) *SchemaObjectsUpdate
NewSchemaObjectsUpdate creates a new http.Handler for the schema objects update operation
func (*SchemaObjectsUpdate) ServeHTTP ¶
func (o *SchemaObjectsUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SchemaObjectsUpdateForbidden ¶
type SchemaObjectsUpdateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
SchemaObjectsUpdateForbidden Forbidden
swagger:response schemaObjectsUpdateForbidden
func NewSchemaObjectsUpdateForbidden ¶
func NewSchemaObjectsUpdateForbidden() *SchemaObjectsUpdateForbidden
NewSchemaObjectsUpdateForbidden creates SchemaObjectsUpdateForbidden with default headers values
func (*SchemaObjectsUpdateForbidden) SetPayload ¶
func (o *SchemaObjectsUpdateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects update forbidden response
func (*SchemaObjectsUpdateForbidden) WithPayload ¶
func (o *SchemaObjectsUpdateForbidden) WithPayload(payload *models.ErrorResponse) *SchemaObjectsUpdateForbidden
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 ¶
func (fn SchemaObjectsUpdateHandlerFunc) Handle(params SchemaObjectsUpdateParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SchemaObjectsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects update internal server error response
func (*SchemaObjectsUpdateInternalServerError) WithPayload ¶
func (o *SchemaObjectsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *SchemaObjectsUpdateInternalServerError
WithPayload adds the payload to the schema objects update internal server error response
func (*SchemaObjectsUpdateInternalServerError) WriteResponse ¶
func (o *SchemaObjectsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *SchemaObjectsUpdateNotFound) WithPayload(payload *models.ErrorResponse) *SchemaObjectsUpdateNotFound
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 ¶
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 ¶
func (o *SchemaObjectsUpdateParams) 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 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 ¶
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 ¶
func (o *SchemaObjectsUpdateURL) WithBasePath(bp string) *SchemaObjectsUpdateURL
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 ¶
func (o *SchemaObjectsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the schema objects update unprocessable entity response
func (*SchemaObjectsUpdateUnprocessableEntity) WithPayload ¶
func (o *SchemaObjectsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *SchemaObjectsUpdateUnprocessableEntity
WithPayload adds the payload to the schema objects update unprocessable entity response
func (*SchemaObjectsUpdateUnprocessableEntity) WriteResponse ¶
func (o *SchemaObjectsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantExists ¶
type TenantExists struct { Context *middleware.Context Handler TenantExistsHandler }
TenantExists swagger:route HEAD /schema/{className}/tenants/{tenantName} schema tenantExists
Check whether a tenant exists ¶
Check if a tenant exists for a specific class
func NewTenantExists ¶
func NewTenantExists(ctx *middleware.Context, handler TenantExistsHandler) *TenantExists
NewTenantExists creates a new http.Handler for the tenant exists operation
func (*TenantExists) ServeHTTP ¶
func (o *TenantExists) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantExistsForbidden ¶
type TenantExistsForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantExistsForbidden Forbidden
swagger:response tenantExistsForbidden
func NewTenantExistsForbidden ¶
func NewTenantExistsForbidden() *TenantExistsForbidden
NewTenantExistsForbidden creates TenantExistsForbidden with default headers values
func (*TenantExistsForbidden) SetPayload ¶
func (o *TenantExistsForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenant exists forbidden response
func (*TenantExistsForbidden) WithPayload ¶
func (o *TenantExistsForbidden) WithPayload(payload *models.ErrorResponse) *TenantExistsForbidden
WithPayload adds the payload to the tenant exists forbidden response
func (*TenantExistsForbidden) WriteResponse ¶
func (o *TenantExistsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantExistsHandler ¶
type TenantExistsHandler interface {
Handle(TenantExistsParams, *models.Principal) middleware.Responder
}
TenantExistsHandler interface for that can handle valid tenant exists params
type TenantExistsHandlerFunc ¶
type TenantExistsHandlerFunc func(TenantExistsParams, *models.Principal) middleware.Responder
TenantExistsHandlerFunc turns a function with the right signature into a tenant exists handler
func (TenantExistsHandlerFunc) Handle ¶
func (fn TenantExistsHandlerFunc) Handle(params TenantExistsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantExistsInternalServerError ¶
type TenantExistsInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantExistsInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response tenantExistsInternalServerError
func NewTenantExistsInternalServerError ¶
func NewTenantExistsInternalServerError() *TenantExistsInternalServerError
NewTenantExistsInternalServerError creates TenantExistsInternalServerError with default headers values
func (*TenantExistsInternalServerError) SetPayload ¶
func (o *TenantExistsInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenant exists internal server error response
func (*TenantExistsInternalServerError) WithPayload ¶
func (o *TenantExistsInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantExistsInternalServerError
WithPayload adds the payload to the tenant exists internal server error response
func (*TenantExistsInternalServerError) WriteResponse ¶
func (o *TenantExistsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantExistsNotFound ¶
type TenantExistsNotFound struct { }
TenantExistsNotFound The tenant not found
swagger:response tenantExistsNotFound
func NewTenantExistsNotFound ¶
func NewTenantExistsNotFound() *TenantExistsNotFound
NewTenantExistsNotFound creates TenantExistsNotFound with default headers values
func (*TenantExistsNotFound) WriteResponse ¶
func (o *TenantExistsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantExistsOK ¶
type TenantExistsOK struct { }
TenantExistsOK The tenant exists in the specified class
swagger:response tenantExistsOK
func NewTenantExistsOK ¶
func NewTenantExistsOK() *TenantExistsOK
NewTenantExistsOK creates TenantExistsOK with default headers values
func (*TenantExistsOK) WriteResponse ¶
func (o *TenantExistsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantExistsParams ¶
type TenantExistsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClassName string /*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency In: header Default: true */ Consistency *bool /* Required: true In: path */ TenantName string }
TenantExistsParams contains all the bound params for the tenant exists operation typically these are obtained from a http.Request
swagger:parameters tenant.exists
func NewTenantExistsParams ¶
func NewTenantExistsParams() TenantExistsParams
NewTenantExistsParams creates a new TenantExistsParams object with the default values initialized.
func (*TenantExistsParams) BindRequest ¶
func (o *TenantExistsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantExistsParams() beforehand.
type TenantExistsURL ¶
type TenantExistsURL struct { ClassName string TenantName string // contains filtered or unexported fields }
TenantExistsURL generates an URL for the tenant exists operation
func (*TenantExistsURL) Build ¶
func (o *TenantExistsURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantExistsURL) BuildFull ¶
func (o *TenantExistsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantExistsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantExistsURL) SetBasePath ¶
func (o *TenantExistsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantExistsURL) String ¶
func (o *TenantExistsURL) String() string
String returns the string representation of the path with query string
func (*TenantExistsURL) StringFull ¶
func (o *TenantExistsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantExistsURL) WithBasePath ¶
func (o *TenantExistsURL) WithBasePath(bp string) *TenantExistsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantExistsUnauthorized ¶
type TenantExistsUnauthorized struct { }
TenantExistsUnauthorized Unauthorized or invalid credentials.
swagger:response tenantExistsUnauthorized
func NewTenantExistsUnauthorized ¶
func NewTenantExistsUnauthorized() *TenantExistsUnauthorized
NewTenantExistsUnauthorized creates TenantExistsUnauthorized with default headers values
func (*TenantExistsUnauthorized) WriteResponse ¶
func (o *TenantExistsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantExistsUnprocessableEntity ¶
type TenantExistsUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantExistsUnprocessableEntity Invalid Tenant class
swagger:response tenantExistsUnprocessableEntity
func NewTenantExistsUnprocessableEntity ¶
func NewTenantExistsUnprocessableEntity() *TenantExistsUnprocessableEntity
NewTenantExistsUnprocessableEntity creates TenantExistsUnprocessableEntity with default headers values
func (*TenantExistsUnprocessableEntity) SetPayload ¶
func (o *TenantExistsUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenant exists unprocessable entity response
func (*TenantExistsUnprocessableEntity) WithPayload ¶
func (o *TenantExistsUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantExistsUnprocessableEntity
WithPayload adds the payload to the tenant exists unprocessable entity response
func (*TenantExistsUnprocessableEntity) WriteResponse ¶
func (o *TenantExistsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsCreate ¶
type TenantsCreate struct { Context *middleware.Context Handler TenantsCreateHandler }
TenantsCreate swagger:route POST /schema/{className}/tenants schema tenantsCreate
Create a new tenant ¶
Create a new tenant for a collection. Multi-tenancy must be enabled in the collection definition.
func NewTenantsCreate ¶
func NewTenantsCreate(ctx *middleware.Context, handler TenantsCreateHandler) *TenantsCreate
NewTenantsCreate creates a new http.Handler for the tenants create operation
func (*TenantsCreate) ServeHTTP ¶
func (o *TenantsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantsCreateForbidden ¶
type TenantsCreateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsCreateForbidden Forbidden
swagger:response tenantsCreateForbidden
func NewTenantsCreateForbidden ¶
func NewTenantsCreateForbidden() *TenantsCreateForbidden
NewTenantsCreateForbidden creates TenantsCreateForbidden with default headers values
func (*TenantsCreateForbidden) SetPayload ¶
func (o *TenantsCreateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants create forbidden response
func (*TenantsCreateForbidden) WithPayload ¶
func (o *TenantsCreateForbidden) WithPayload(payload *models.ErrorResponse) *TenantsCreateForbidden
WithPayload adds the payload to the tenants create forbidden response
func (*TenantsCreateForbidden) WriteResponse ¶
func (o *TenantsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsCreateHandler ¶
type TenantsCreateHandler interface {
Handle(TenantsCreateParams, *models.Principal) middleware.Responder
}
TenantsCreateHandler interface for that can handle valid tenants create params
type TenantsCreateHandlerFunc ¶
type TenantsCreateHandlerFunc func(TenantsCreateParams, *models.Principal) middleware.Responder
TenantsCreateHandlerFunc turns a function with the right signature into a tenants create handler
func (TenantsCreateHandlerFunc) Handle ¶
func (fn TenantsCreateHandlerFunc) Handle(params TenantsCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantsCreateInternalServerError ¶
type TenantsCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response tenantsCreateInternalServerError
func NewTenantsCreateInternalServerError ¶
func NewTenantsCreateInternalServerError() *TenantsCreateInternalServerError
NewTenantsCreateInternalServerError creates TenantsCreateInternalServerError with default headers values
func (*TenantsCreateInternalServerError) SetPayload ¶
func (o *TenantsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants create internal server error response
func (*TenantsCreateInternalServerError) WithPayload ¶
func (o *TenantsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsCreateInternalServerError
WithPayload adds the payload to the tenants create internal server error response
func (*TenantsCreateInternalServerError) WriteResponse ¶
func (o *TenantsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsCreateOK ¶
TenantsCreateOK Added new tenants to the specified class
swagger:response tenantsCreateOK
func NewTenantsCreateOK ¶
func NewTenantsCreateOK() *TenantsCreateOK
NewTenantsCreateOK creates TenantsCreateOK with default headers values
func (*TenantsCreateOK) SetPayload ¶
func (o *TenantsCreateOK) SetPayload(payload []*models.Tenant)
SetPayload sets the payload to the tenants create o k response
func (*TenantsCreateOK) WithPayload ¶
func (o *TenantsCreateOK) WithPayload(payload []*models.Tenant) *TenantsCreateOK
WithPayload adds the payload to the tenants create o k response
func (*TenantsCreateOK) WriteResponse ¶
func (o *TenantsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsCreateParams ¶
type TenantsCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body []*models.Tenant /* Required: true In: path */ ClassName string }
TenantsCreateParams contains all the bound params for the tenants create operation typically these are obtained from a http.Request
swagger:parameters tenants.create
func NewTenantsCreateParams ¶
func NewTenantsCreateParams() TenantsCreateParams
NewTenantsCreateParams creates a new TenantsCreateParams object
There are no default values defined in the spec.
func (*TenantsCreateParams) BindRequest ¶
func (o *TenantsCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantsCreateParams() beforehand.
type TenantsCreateURL ¶
type TenantsCreateURL struct { ClassName string // contains filtered or unexported fields }
TenantsCreateURL generates an URL for the tenants create operation
func (*TenantsCreateURL) Build ¶
func (o *TenantsCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantsCreateURL) BuildFull ¶
func (o *TenantsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantsCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantsCreateURL) SetBasePath ¶
func (o *TenantsCreateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantsCreateURL) String ¶
func (o *TenantsCreateURL) String() string
String returns the string representation of the path with query string
func (*TenantsCreateURL) StringFull ¶
func (o *TenantsCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantsCreateURL) WithBasePath ¶
func (o *TenantsCreateURL) WithBasePath(bp string) *TenantsCreateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantsCreateUnauthorized ¶
type TenantsCreateUnauthorized struct { }
TenantsCreateUnauthorized Unauthorized or invalid credentials.
swagger:response tenantsCreateUnauthorized
func NewTenantsCreateUnauthorized ¶
func NewTenantsCreateUnauthorized() *TenantsCreateUnauthorized
NewTenantsCreateUnauthorized creates TenantsCreateUnauthorized with default headers values
func (*TenantsCreateUnauthorized) WriteResponse ¶
func (o *TenantsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsCreateUnprocessableEntity ¶
type TenantsCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsCreateUnprocessableEntity Invalid Tenant class
swagger:response tenantsCreateUnprocessableEntity
func NewTenantsCreateUnprocessableEntity ¶
func NewTenantsCreateUnprocessableEntity() *TenantsCreateUnprocessableEntity
NewTenantsCreateUnprocessableEntity creates TenantsCreateUnprocessableEntity with default headers values
func (*TenantsCreateUnprocessableEntity) SetPayload ¶
func (o *TenantsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants create unprocessable entity response
func (*TenantsCreateUnprocessableEntity) WithPayload ¶
func (o *TenantsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsCreateUnprocessableEntity
WithPayload adds the payload to the tenants create unprocessable entity response
func (*TenantsCreateUnprocessableEntity) WriteResponse ¶
func (o *TenantsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsDelete ¶
type TenantsDelete struct { Context *middleware.Context Handler TenantsDeleteHandler }
TenantsDelete swagger:route DELETE /schema/{className}/tenants schema tenantsDelete
delete tenants from a specific class
func NewTenantsDelete ¶
func NewTenantsDelete(ctx *middleware.Context, handler TenantsDeleteHandler) *TenantsDelete
NewTenantsDelete creates a new http.Handler for the tenants delete operation
func (*TenantsDelete) ServeHTTP ¶
func (o *TenantsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantsDeleteForbidden ¶
type TenantsDeleteForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsDeleteForbidden Forbidden
swagger:response tenantsDeleteForbidden
func NewTenantsDeleteForbidden ¶
func NewTenantsDeleteForbidden() *TenantsDeleteForbidden
NewTenantsDeleteForbidden creates TenantsDeleteForbidden with default headers values
func (*TenantsDeleteForbidden) SetPayload ¶
func (o *TenantsDeleteForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants delete forbidden response
func (*TenantsDeleteForbidden) WithPayload ¶
func (o *TenantsDeleteForbidden) WithPayload(payload *models.ErrorResponse) *TenantsDeleteForbidden
WithPayload adds the payload to the tenants delete forbidden response
func (*TenantsDeleteForbidden) WriteResponse ¶
func (o *TenantsDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsDeleteHandler ¶
type TenantsDeleteHandler interface {
Handle(TenantsDeleteParams, *models.Principal) middleware.Responder
}
TenantsDeleteHandler interface for that can handle valid tenants delete params
type TenantsDeleteHandlerFunc ¶
type TenantsDeleteHandlerFunc func(TenantsDeleteParams, *models.Principal) middleware.Responder
TenantsDeleteHandlerFunc turns a function with the right signature into a tenants delete handler
func (TenantsDeleteHandlerFunc) Handle ¶
func (fn TenantsDeleteHandlerFunc) Handle(params TenantsDeleteParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantsDeleteInternalServerError ¶
type TenantsDeleteInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsDeleteInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response tenantsDeleteInternalServerError
func NewTenantsDeleteInternalServerError ¶
func NewTenantsDeleteInternalServerError() *TenantsDeleteInternalServerError
NewTenantsDeleteInternalServerError creates TenantsDeleteInternalServerError with default headers values
func (*TenantsDeleteInternalServerError) SetPayload ¶
func (o *TenantsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants delete internal server error response
func (*TenantsDeleteInternalServerError) WithPayload ¶
func (o *TenantsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsDeleteInternalServerError
WithPayload adds the payload to the tenants delete internal server error response
func (*TenantsDeleteInternalServerError) WriteResponse ¶
func (o *TenantsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsDeleteOK ¶
type TenantsDeleteOK struct { }
TenantsDeleteOK Deleted tenants from specified class.
swagger:response tenantsDeleteOK
func NewTenantsDeleteOK ¶
func NewTenantsDeleteOK() *TenantsDeleteOK
NewTenantsDeleteOK creates TenantsDeleteOK with default headers values
func (*TenantsDeleteOK) WriteResponse ¶
func (o *TenantsDeleteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsDeleteParams ¶
type TenantsDeleteParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClassName string /* Required: true In: body */ Tenants []string }
TenantsDeleteParams contains all the bound params for the tenants delete operation typically these are obtained from a http.Request
swagger:parameters tenants.delete
func NewTenantsDeleteParams ¶
func NewTenantsDeleteParams() TenantsDeleteParams
NewTenantsDeleteParams creates a new TenantsDeleteParams object
There are no default values defined in the spec.
func (*TenantsDeleteParams) BindRequest ¶
func (o *TenantsDeleteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantsDeleteParams() beforehand.
type TenantsDeleteURL ¶
type TenantsDeleteURL struct { ClassName string // contains filtered or unexported fields }
TenantsDeleteURL generates an URL for the tenants delete operation
func (*TenantsDeleteURL) Build ¶
func (o *TenantsDeleteURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantsDeleteURL) BuildFull ¶
func (o *TenantsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantsDeleteURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantsDeleteURL) SetBasePath ¶
func (o *TenantsDeleteURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantsDeleteURL) String ¶
func (o *TenantsDeleteURL) String() string
String returns the string representation of the path with query string
func (*TenantsDeleteURL) StringFull ¶
func (o *TenantsDeleteURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantsDeleteURL) WithBasePath ¶
func (o *TenantsDeleteURL) WithBasePath(bp string) *TenantsDeleteURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantsDeleteUnauthorized ¶
type TenantsDeleteUnauthorized struct { }
TenantsDeleteUnauthorized Unauthorized or invalid credentials.
swagger:response tenantsDeleteUnauthorized
func NewTenantsDeleteUnauthorized ¶
func NewTenantsDeleteUnauthorized() *TenantsDeleteUnauthorized
NewTenantsDeleteUnauthorized creates TenantsDeleteUnauthorized with default headers values
func (*TenantsDeleteUnauthorized) WriteResponse ¶
func (o *TenantsDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsDeleteUnprocessableEntity ¶
type TenantsDeleteUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsDeleteUnprocessableEntity Invalid Tenant class
swagger:response tenantsDeleteUnprocessableEntity
func NewTenantsDeleteUnprocessableEntity ¶
func NewTenantsDeleteUnprocessableEntity() *TenantsDeleteUnprocessableEntity
NewTenantsDeleteUnprocessableEntity creates TenantsDeleteUnprocessableEntity with default headers values
func (*TenantsDeleteUnprocessableEntity) SetPayload ¶
func (o *TenantsDeleteUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants delete unprocessable entity response
func (*TenantsDeleteUnprocessableEntity) WithPayload ¶
func (o *TenantsDeleteUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsDeleteUnprocessableEntity
WithPayload adds the payload to the tenants delete unprocessable entity response
func (*TenantsDeleteUnprocessableEntity) WriteResponse ¶
func (o *TenantsDeleteUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGet ¶
type TenantsGet struct { Context *middleware.Context Handler TenantsGetHandler }
TenantsGet swagger:route GET /schema/{className}/tenants schema tenantsGet
Get the list of tenants.
get all tenants from a specific class
func NewTenantsGet ¶
func NewTenantsGet(ctx *middleware.Context, handler TenantsGetHandler) *TenantsGet
NewTenantsGet creates a new http.Handler for the tenants get operation
func (*TenantsGet) ServeHTTP ¶
func (o *TenantsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantsGetForbidden ¶
type TenantsGetForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsGetForbidden Forbidden
swagger:response tenantsGetForbidden
func NewTenantsGetForbidden ¶
func NewTenantsGetForbidden() *TenantsGetForbidden
NewTenantsGetForbidden creates TenantsGetForbidden with default headers values
func (*TenantsGetForbidden) SetPayload ¶
func (o *TenantsGetForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants get forbidden response
func (*TenantsGetForbidden) WithPayload ¶
func (o *TenantsGetForbidden) WithPayload(payload *models.ErrorResponse) *TenantsGetForbidden
WithPayload adds the payload to the tenants get forbidden response
func (*TenantsGetForbidden) WriteResponse ¶
func (o *TenantsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetHandler ¶
type TenantsGetHandler interface {
Handle(TenantsGetParams, *models.Principal) middleware.Responder
}
TenantsGetHandler interface for that can handle valid tenants get params
type TenantsGetHandlerFunc ¶
type TenantsGetHandlerFunc func(TenantsGetParams, *models.Principal) middleware.Responder
TenantsGetHandlerFunc turns a function with the right signature into a tenants get handler
func (TenantsGetHandlerFunc) Handle ¶
func (fn TenantsGetHandlerFunc) Handle(params TenantsGetParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantsGetInternalServerError ¶
type TenantsGetInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsGetInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response tenantsGetInternalServerError
func NewTenantsGetInternalServerError ¶
func NewTenantsGetInternalServerError() *TenantsGetInternalServerError
NewTenantsGetInternalServerError creates TenantsGetInternalServerError with default headers values
func (*TenantsGetInternalServerError) SetPayload ¶
func (o *TenantsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants get internal server error response
func (*TenantsGetInternalServerError) WithPayload ¶
func (o *TenantsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsGetInternalServerError
WithPayload adds the payload to the tenants get internal server error response
func (*TenantsGetInternalServerError) WriteResponse ¶
func (o *TenantsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOK ¶
TenantsGetOK tenants from specified class.
swagger:response tenantsGetOK
func NewTenantsGetOK ¶
func NewTenantsGetOK() *TenantsGetOK
NewTenantsGetOK creates TenantsGetOK with default headers values
func (*TenantsGetOK) SetPayload ¶
func (o *TenantsGetOK) SetPayload(payload []*models.Tenant)
SetPayload sets the payload to the tenants get o k response
func (*TenantsGetOK) WithPayload ¶
func (o *TenantsGetOK) WithPayload(payload []*models.Tenant) *TenantsGetOK
WithPayload adds the payload to the tenants get o k response
func (*TenantsGetOK) WriteResponse ¶
func (o *TenantsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOne ¶
type TenantsGetOne struct { Context *middleware.Context Handler TenantsGetOneHandler }
TenantsGetOne swagger:route GET /schema/{className}/tenants/{tenantName} schema tenantsGetOne
Get a specific tenant ¶
get a specific tenant for the given class
func NewTenantsGetOne ¶
func NewTenantsGetOne(ctx *middleware.Context, handler TenantsGetOneHandler) *TenantsGetOne
NewTenantsGetOne creates a new http.Handler for the tenants get one operation
func (*TenantsGetOne) ServeHTTP ¶
func (o *TenantsGetOne) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantsGetOneForbidden ¶
type TenantsGetOneForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsGetOneForbidden Forbidden
swagger:response tenantsGetOneForbidden
func NewTenantsGetOneForbidden ¶
func NewTenantsGetOneForbidden() *TenantsGetOneForbidden
NewTenantsGetOneForbidden creates TenantsGetOneForbidden with default headers values
func (*TenantsGetOneForbidden) SetPayload ¶
func (o *TenantsGetOneForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants get one forbidden response
func (*TenantsGetOneForbidden) WithPayload ¶
func (o *TenantsGetOneForbidden) WithPayload(payload *models.ErrorResponse) *TenantsGetOneForbidden
WithPayload adds the payload to the tenants get one forbidden response
func (*TenantsGetOneForbidden) WriteResponse ¶
func (o *TenantsGetOneForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOneHandler ¶
type TenantsGetOneHandler interface {
Handle(TenantsGetOneParams, *models.Principal) middleware.Responder
}
TenantsGetOneHandler interface for that can handle valid tenants get one params
type TenantsGetOneHandlerFunc ¶
type TenantsGetOneHandlerFunc func(TenantsGetOneParams, *models.Principal) middleware.Responder
TenantsGetOneHandlerFunc turns a function with the right signature into a tenants get one handler
func (TenantsGetOneHandlerFunc) Handle ¶
func (fn TenantsGetOneHandlerFunc) Handle(params TenantsGetOneParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantsGetOneInternalServerError ¶
type TenantsGetOneInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsGetOneInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response tenantsGetOneInternalServerError
func NewTenantsGetOneInternalServerError ¶
func NewTenantsGetOneInternalServerError() *TenantsGetOneInternalServerError
NewTenantsGetOneInternalServerError creates TenantsGetOneInternalServerError with default headers values
func (*TenantsGetOneInternalServerError) SetPayload ¶
func (o *TenantsGetOneInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants get one internal server error response
func (*TenantsGetOneInternalServerError) WithPayload ¶
func (o *TenantsGetOneInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsGetOneInternalServerError
WithPayload adds the payload to the tenants get one internal server error response
func (*TenantsGetOneInternalServerError) WriteResponse ¶
func (o *TenantsGetOneInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOneNotFound ¶
type TenantsGetOneNotFound struct { }
TenantsGetOneNotFound Tenant not found
swagger:response tenantsGetOneNotFound
func NewTenantsGetOneNotFound ¶
func NewTenantsGetOneNotFound() *TenantsGetOneNotFound
NewTenantsGetOneNotFound creates TenantsGetOneNotFound with default headers values
func (*TenantsGetOneNotFound) WriteResponse ¶
func (o *TenantsGetOneNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOneOK ¶
type TenantsGetOneOK struct { /* In: Body */ Payload *models.TenantResponse `json:"body,omitempty"` }
TenantsGetOneOK load the tenant given the specified class
swagger:response tenantsGetOneOK
func NewTenantsGetOneOK ¶
func NewTenantsGetOneOK() *TenantsGetOneOK
NewTenantsGetOneOK creates TenantsGetOneOK with default headers values
func (*TenantsGetOneOK) SetPayload ¶
func (o *TenantsGetOneOK) SetPayload(payload *models.TenantResponse)
SetPayload sets the payload to the tenants get one o k response
func (*TenantsGetOneOK) WithPayload ¶
func (o *TenantsGetOneOK) WithPayload(payload *models.TenantResponse) *TenantsGetOneOK
WithPayload adds the payload to the tenants get one o k response
func (*TenantsGetOneOK) WriteResponse ¶
func (o *TenantsGetOneOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOneParams ¶
type TenantsGetOneParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClassName string /*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency In: header Default: true */ Consistency *bool /* Required: true In: path */ TenantName string }
TenantsGetOneParams contains all the bound params for the tenants get one operation typically these are obtained from a http.Request
swagger:parameters tenants.get.one
func NewTenantsGetOneParams ¶
func NewTenantsGetOneParams() TenantsGetOneParams
NewTenantsGetOneParams creates a new TenantsGetOneParams object with the default values initialized.
func (*TenantsGetOneParams) BindRequest ¶
func (o *TenantsGetOneParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantsGetOneParams() beforehand.
type TenantsGetOneURL ¶
type TenantsGetOneURL struct { ClassName string TenantName string // contains filtered or unexported fields }
TenantsGetOneURL generates an URL for the tenants get one operation
func (*TenantsGetOneURL) Build ¶
func (o *TenantsGetOneURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantsGetOneURL) BuildFull ¶
func (o *TenantsGetOneURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantsGetOneURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantsGetOneURL) SetBasePath ¶
func (o *TenantsGetOneURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantsGetOneURL) String ¶
func (o *TenantsGetOneURL) String() string
String returns the string representation of the path with query string
func (*TenantsGetOneURL) StringFull ¶
func (o *TenantsGetOneURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantsGetOneURL) WithBasePath ¶
func (o *TenantsGetOneURL) WithBasePath(bp string) *TenantsGetOneURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantsGetOneUnauthorized ¶
type TenantsGetOneUnauthorized struct { }
TenantsGetOneUnauthorized Unauthorized or invalid credentials.
swagger:response tenantsGetOneUnauthorized
func NewTenantsGetOneUnauthorized ¶
func NewTenantsGetOneUnauthorized() *TenantsGetOneUnauthorized
NewTenantsGetOneUnauthorized creates TenantsGetOneUnauthorized with default headers values
func (*TenantsGetOneUnauthorized) WriteResponse ¶
func (o *TenantsGetOneUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetOneUnprocessableEntity ¶
type TenantsGetOneUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsGetOneUnprocessableEntity Invalid tenant or class
swagger:response tenantsGetOneUnprocessableEntity
func NewTenantsGetOneUnprocessableEntity ¶
func NewTenantsGetOneUnprocessableEntity() *TenantsGetOneUnprocessableEntity
NewTenantsGetOneUnprocessableEntity creates TenantsGetOneUnprocessableEntity with default headers values
func (*TenantsGetOneUnprocessableEntity) SetPayload ¶
func (o *TenantsGetOneUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants get one unprocessable entity response
func (*TenantsGetOneUnprocessableEntity) WithPayload ¶
func (o *TenantsGetOneUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsGetOneUnprocessableEntity
WithPayload adds the payload to the tenants get one unprocessable entity response
func (*TenantsGetOneUnprocessableEntity) WriteResponse ¶
func (o *TenantsGetOneUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetParams ¶
type TenantsGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClassName string /*If consistency is true, the request will be proxied to the leader to ensure strong schema consistency In: header Default: true */ Consistency *bool }
TenantsGetParams contains all the bound params for the tenants get operation typically these are obtained from a http.Request
swagger:parameters tenants.get
func NewTenantsGetParams ¶
func NewTenantsGetParams() TenantsGetParams
NewTenantsGetParams creates a new TenantsGetParams object with the default values initialized.
func (*TenantsGetParams) BindRequest ¶
func (o *TenantsGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantsGetParams() beforehand.
type TenantsGetURL ¶
type TenantsGetURL struct { ClassName string // contains filtered or unexported fields }
TenantsGetURL generates an URL for the tenants get operation
func (*TenantsGetURL) Build ¶
func (o *TenantsGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantsGetURL) BuildFull ¶
func (o *TenantsGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantsGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantsGetURL) SetBasePath ¶
func (o *TenantsGetURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantsGetURL) String ¶
func (o *TenantsGetURL) String() string
String returns the string representation of the path with query string
func (*TenantsGetURL) StringFull ¶
func (o *TenantsGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantsGetURL) WithBasePath ¶
func (o *TenantsGetURL) WithBasePath(bp string) *TenantsGetURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantsGetUnauthorized ¶
type TenantsGetUnauthorized struct { }
TenantsGetUnauthorized Unauthorized or invalid credentials.
swagger:response tenantsGetUnauthorized
func NewTenantsGetUnauthorized ¶
func NewTenantsGetUnauthorized() *TenantsGetUnauthorized
NewTenantsGetUnauthorized creates TenantsGetUnauthorized with default headers values
func (*TenantsGetUnauthorized) WriteResponse ¶
func (o *TenantsGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsGetUnprocessableEntity ¶
type TenantsGetUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsGetUnprocessableEntity Invalid Tenant class
swagger:response tenantsGetUnprocessableEntity
func NewTenantsGetUnprocessableEntity ¶
func NewTenantsGetUnprocessableEntity() *TenantsGetUnprocessableEntity
NewTenantsGetUnprocessableEntity creates TenantsGetUnprocessableEntity with default headers values
func (*TenantsGetUnprocessableEntity) SetPayload ¶
func (o *TenantsGetUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants get unprocessable entity response
func (*TenantsGetUnprocessableEntity) WithPayload ¶
func (o *TenantsGetUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsGetUnprocessableEntity
WithPayload adds the payload to the tenants get unprocessable entity response
func (*TenantsGetUnprocessableEntity) WriteResponse ¶
func (o *TenantsGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsUpdate ¶
type TenantsUpdate struct { Context *middleware.Context Handler TenantsUpdateHandler }
TenantsUpdate swagger:route PUT /schema/{className}/tenants schema tenantsUpdate
Update a tenant.
Update tenant of a specific class
func NewTenantsUpdate ¶
func NewTenantsUpdate(ctx *middleware.Context, handler TenantsUpdateHandler) *TenantsUpdate
NewTenantsUpdate creates a new http.Handler for the tenants update operation
func (*TenantsUpdate) ServeHTTP ¶
func (o *TenantsUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type TenantsUpdateForbidden ¶
type TenantsUpdateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsUpdateForbidden Forbidden
swagger:response tenantsUpdateForbidden
func NewTenantsUpdateForbidden ¶
func NewTenantsUpdateForbidden() *TenantsUpdateForbidden
NewTenantsUpdateForbidden creates TenantsUpdateForbidden with default headers values
func (*TenantsUpdateForbidden) SetPayload ¶
func (o *TenantsUpdateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants update forbidden response
func (*TenantsUpdateForbidden) WithPayload ¶
func (o *TenantsUpdateForbidden) WithPayload(payload *models.ErrorResponse) *TenantsUpdateForbidden
WithPayload adds the payload to the tenants update forbidden response
func (*TenantsUpdateForbidden) WriteResponse ¶
func (o *TenantsUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsUpdateHandler ¶
type TenantsUpdateHandler interface {
Handle(TenantsUpdateParams, *models.Principal) middleware.Responder
}
TenantsUpdateHandler interface for that can handle valid tenants update params
type TenantsUpdateHandlerFunc ¶
type TenantsUpdateHandlerFunc func(TenantsUpdateParams, *models.Principal) middleware.Responder
TenantsUpdateHandlerFunc turns a function with the right signature into a tenants update handler
func (TenantsUpdateHandlerFunc) Handle ¶
func (fn TenantsUpdateHandlerFunc) Handle(params TenantsUpdateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type TenantsUpdateInternalServerError ¶
type TenantsUpdateInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsUpdateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response tenantsUpdateInternalServerError
func NewTenantsUpdateInternalServerError ¶
func NewTenantsUpdateInternalServerError() *TenantsUpdateInternalServerError
NewTenantsUpdateInternalServerError creates TenantsUpdateInternalServerError with default headers values
func (*TenantsUpdateInternalServerError) SetPayload ¶
func (o *TenantsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants update internal server error response
func (*TenantsUpdateInternalServerError) WithPayload ¶
func (o *TenantsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *TenantsUpdateInternalServerError
WithPayload adds the payload to the tenants update internal server error response
func (*TenantsUpdateInternalServerError) WriteResponse ¶
func (o *TenantsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsUpdateOK ¶
TenantsUpdateOK Updated tenants of the specified class
swagger:response tenantsUpdateOK
func NewTenantsUpdateOK ¶
func NewTenantsUpdateOK() *TenantsUpdateOK
NewTenantsUpdateOK creates TenantsUpdateOK with default headers values
func (*TenantsUpdateOK) SetPayload ¶
func (o *TenantsUpdateOK) SetPayload(payload []*models.Tenant)
SetPayload sets the payload to the tenants update o k response
func (*TenantsUpdateOK) WithPayload ¶
func (o *TenantsUpdateOK) WithPayload(payload []*models.Tenant) *TenantsUpdateOK
WithPayload adds the payload to the tenants update o k response
func (*TenantsUpdateOK) WriteResponse ¶
func (o *TenantsUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsUpdateParams ¶
type TenantsUpdateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body []*models.Tenant /* Required: true In: path */ ClassName string }
TenantsUpdateParams contains all the bound params for the tenants update operation typically these are obtained from a http.Request
swagger:parameters tenants.update
func NewTenantsUpdateParams ¶
func NewTenantsUpdateParams() TenantsUpdateParams
NewTenantsUpdateParams creates a new TenantsUpdateParams object
There are no default values defined in the spec.
func (*TenantsUpdateParams) BindRequest ¶
func (o *TenantsUpdateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewTenantsUpdateParams() beforehand.
type TenantsUpdateURL ¶
type TenantsUpdateURL struct { ClassName string // contains filtered or unexported fields }
TenantsUpdateURL generates an URL for the tenants update operation
func (*TenantsUpdateURL) Build ¶
func (o *TenantsUpdateURL) Build() (*url.URL, error)
Build a url path and query string
func (*TenantsUpdateURL) BuildFull ¶
func (o *TenantsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*TenantsUpdateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*TenantsUpdateURL) SetBasePath ¶
func (o *TenantsUpdateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*TenantsUpdateURL) String ¶
func (o *TenantsUpdateURL) String() string
String returns the string representation of the path with query string
func (*TenantsUpdateURL) StringFull ¶
func (o *TenantsUpdateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*TenantsUpdateURL) WithBasePath ¶
func (o *TenantsUpdateURL) WithBasePath(bp string) *TenantsUpdateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type TenantsUpdateUnauthorized ¶
type TenantsUpdateUnauthorized struct { }
TenantsUpdateUnauthorized Unauthorized or invalid credentials.
swagger:response tenantsUpdateUnauthorized
func NewTenantsUpdateUnauthorized ¶
func NewTenantsUpdateUnauthorized() *TenantsUpdateUnauthorized
NewTenantsUpdateUnauthorized creates TenantsUpdateUnauthorized with default headers values
func (*TenantsUpdateUnauthorized) WriteResponse ¶
func (o *TenantsUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type TenantsUpdateUnprocessableEntity ¶
type TenantsUpdateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
TenantsUpdateUnprocessableEntity Invalid Tenant class
swagger:response tenantsUpdateUnprocessableEntity
func NewTenantsUpdateUnprocessableEntity ¶
func NewTenantsUpdateUnprocessableEntity() *TenantsUpdateUnprocessableEntity
NewTenantsUpdateUnprocessableEntity creates TenantsUpdateUnprocessableEntity with default headers values
func (*TenantsUpdateUnprocessableEntity) SetPayload ¶
func (o *TenantsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the tenants update unprocessable entity response
func (*TenantsUpdateUnprocessableEntity) WithPayload ¶
func (o *TenantsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *TenantsUpdateUnprocessableEntity
WithPayload adds the payload to the tenants update unprocessable entity response
func (*TenantsUpdateUnprocessableEntity) WriteResponse ¶
func (o *TenantsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- schema_dump.go
- schema_dump_parameters.go
- schema_dump_responses.go
- schema_dump_urlbuilder.go
- schema_objects_create.go
- schema_objects_create_parameters.go
- schema_objects_create_responses.go
- schema_objects_create_urlbuilder.go
- schema_objects_delete.go
- schema_objects_delete_parameters.go
- schema_objects_delete_responses.go
- schema_objects_delete_urlbuilder.go
- schema_objects_get.go
- schema_objects_get_parameters.go
- schema_objects_get_responses.go
- schema_objects_get_urlbuilder.go
- schema_objects_properties_add.go
- schema_objects_properties_add_parameters.go
- schema_objects_properties_add_responses.go
- schema_objects_properties_add_urlbuilder.go
- schema_objects_shards_get.go
- schema_objects_shards_get_parameters.go
- schema_objects_shards_get_responses.go
- schema_objects_shards_get_urlbuilder.go
- schema_objects_shards_update.go
- schema_objects_shards_update_parameters.go
- schema_objects_shards_update_responses.go
- schema_objects_shards_update_urlbuilder.go
- schema_objects_update.go
- schema_objects_update_parameters.go
- schema_objects_update_responses.go
- schema_objects_update_urlbuilder.go
- tenant_exists.go
- tenant_exists_parameters.go
- tenant_exists_responses.go
- tenant_exists_urlbuilder.go
- tenants_create.go
- tenants_create_parameters.go
- tenants_create_responses.go
- tenants_create_urlbuilder.go
- tenants_delete.go
- tenants_delete_parameters.go
- tenants_delete_responses.go
- tenants_delete_urlbuilder.go
- tenants_get.go
- tenants_get_one.go
- tenants_get_one_parameters.go
- tenants_get_one_responses.go
- tenants_get_one_urlbuilder.go
- tenants_get_parameters.go
- tenants_get_responses.go
- tenants_get_urlbuilder.go
- tenants_update.go
- tenants_update_parameters.go
- tenants_update_responses.go
- tenants_update_urlbuilder.go