Documentation ¶
Index ¶
- Constants
- type BatchObjectsCreate
- type BatchObjectsCreateBadRequest
- type BatchObjectsCreateBody
- func (o *BatchObjectsCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BatchObjectsCreateBody) MarshalBinary() ([]byte, error)
- func (o *BatchObjectsCreateBody) UnmarshalBinary(b []byte) error
- func (o *BatchObjectsCreateBody) Validate(formats strfmt.Registry) error
- type BatchObjectsCreateForbidden
- type BatchObjectsCreateHandler
- type BatchObjectsCreateHandlerFunc
- type BatchObjectsCreateInternalServerError
- func (o *BatchObjectsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BatchObjectsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *BatchObjectsCreateInternalServerError
- func (o *BatchObjectsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchObjectsCreateOK
- type BatchObjectsCreateParams
- type BatchObjectsCreateURL
- func (o *BatchObjectsCreateURL) Build() (*url.URL, error)
- func (o *BatchObjectsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BatchObjectsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *BatchObjectsCreateURL) SetBasePath(bp string)
- func (o *BatchObjectsCreateURL) String() string
- func (o *BatchObjectsCreateURL) StringFull(scheme, host string) string
- func (o *BatchObjectsCreateURL) WithBasePath(bp string) *BatchObjectsCreateURL
- type BatchObjectsCreateUnauthorized
- type BatchObjectsCreateUnprocessableEntity
- func (o *BatchObjectsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *BatchObjectsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BatchObjectsCreateUnprocessableEntity
- func (o *BatchObjectsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchObjectsDelete
- type BatchObjectsDeleteBadRequest
- type BatchObjectsDeleteForbidden
- type BatchObjectsDeleteHandler
- type BatchObjectsDeleteHandlerFunc
- type BatchObjectsDeleteInternalServerError
- func (o *BatchObjectsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BatchObjectsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *BatchObjectsDeleteInternalServerError
- func (o *BatchObjectsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchObjectsDeleteOK
- type BatchObjectsDeleteParams
- type BatchObjectsDeleteURL
- func (o *BatchObjectsDeleteURL) Build() (*url.URL, error)
- func (o *BatchObjectsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BatchObjectsDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *BatchObjectsDeleteURL) SetBasePath(bp string)
- func (o *BatchObjectsDeleteURL) String() string
- func (o *BatchObjectsDeleteURL) StringFull(scheme, host string) string
- func (o *BatchObjectsDeleteURL) WithBasePath(bp string) *BatchObjectsDeleteURL
- type BatchObjectsDeleteUnauthorized
- type BatchObjectsDeleteUnprocessableEntity
- func (o *BatchObjectsDeleteUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *BatchObjectsDeleteUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BatchObjectsDeleteUnprocessableEntity
- func (o *BatchObjectsDeleteUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchReferencesCreate
- type BatchReferencesCreateBadRequest
- func (o *BatchReferencesCreateBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *BatchReferencesCreateBadRequest) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateBadRequest
- func (o *BatchReferencesCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchReferencesCreateForbidden
- func (o *BatchReferencesCreateForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *BatchReferencesCreateForbidden) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateForbidden
- func (o *BatchReferencesCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchReferencesCreateHandler
- type BatchReferencesCreateHandlerFunc
- type BatchReferencesCreateInternalServerError
- func (o *BatchReferencesCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BatchReferencesCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateInternalServerError
- func (o *BatchReferencesCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BatchReferencesCreateOK
- type BatchReferencesCreateParams
- type BatchReferencesCreateURL
- func (o *BatchReferencesCreateURL) Build() (*url.URL, error)
- func (o *BatchReferencesCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BatchReferencesCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *BatchReferencesCreateURL) SetBasePath(bp string)
- func (o *BatchReferencesCreateURL) String() string
- func (o *BatchReferencesCreateURL) StringFull(scheme, host string) string
- func (o *BatchReferencesCreateURL) WithBasePath(bp string) *BatchReferencesCreateURL
- type BatchReferencesCreateUnauthorized
- type BatchReferencesCreateUnprocessableEntity
- func (o *BatchReferencesCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *BatchReferencesCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateUnprocessableEntity
- func (o *BatchReferencesCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const BatchObjectsCreateBadRequestCode int = 400
BatchObjectsCreateBadRequestCode is the HTTP code returned for type BatchObjectsCreateBadRequest
const BatchObjectsCreateForbiddenCode int = 403
BatchObjectsCreateForbiddenCode is the HTTP code returned for type BatchObjectsCreateForbidden
const BatchObjectsCreateInternalServerErrorCode int = 500
BatchObjectsCreateInternalServerErrorCode is the HTTP code returned for type BatchObjectsCreateInternalServerError
const BatchObjectsCreateOKCode int = 200
BatchObjectsCreateOKCode is the HTTP code returned for type BatchObjectsCreateOK
BatchObjectsCreateUnauthorizedCode is the HTTP code returned for type BatchObjectsCreateUnauthorized
const BatchObjectsCreateUnprocessableEntityCode int = 422
BatchObjectsCreateUnprocessableEntityCode is the HTTP code returned for type BatchObjectsCreateUnprocessableEntity
const BatchObjectsDeleteBadRequestCode int = 400
BatchObjectsDeleteBadRequestCode is the HTTP code returned for type BatchObjectsDeleteBadRequest
const BatchObjectsDeleteForbiddenCode int = 403
BatchObjectsDeleteForbiddenCode is the HTTP code returned for type BatchObjectsDeleteForbidden
const BatchObjectsDeleteInternalServerErrorCode int = 500
BatchObjectsDeleteInternalServerErrorCode is the HTTP code returned for type BatchObjectsDeleteInternalServerError
const BatchObjectsDeleteOKCode int = 200
BatchObjectsDeleteOKCode is the HTTP code returned for type BatchObjectsDeleteOK
BatchObjectsDeleteUnauthorizedCode is the HTTP code returned for type BatchObjectsDeleteUnauthorized
const BatchObjectsDeleteUnprocessableEntityCode int = 422
BatchObjectsDeleteUnprocessableEntityCode is the HTTP code returned for type BatchObjectsDeleteUnprocessableEntity
const BatchReferencesCreateBadRequestCode int = 400
BatchReferencesCreateBadRequestCode is the HTTP code returned for type BatchReferencesCreateBadRequest
const BatchReferencesCreateForbiddenCode int = 403
BatchReferencesCreateForbiddenCode is the HTTP code returned for type BatchReferencesCreateForbidden
const BatchReferencesCreateInternalServerErrorCode int = 500
BatchReferencesCreateInternalServerErrorCode is the HTTP code returned for type BatchReferencesCreateInternalServerError
const BatchReferencesCreateOKCode int = 200
BatchReferencesCreateOKCode is the HTTP code returned for type BatchReferencesCreateOK
BatchReferencesCreateUnauthorizedCode is the HTTP code returned for type BatchReferencesCreateUnauthorized
const BatchReferencesCreateUnprocessableEntityCode int = 422
BatchReferencesCreateUnprocessableEntityCode is the HTTP code returned for type BatchReferencesCreateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchObjectsCreate ¶
type BatchObjectsCreate struct { Context *middleware.Context Handler BatchObjectsCreateHandler }
BatchObjectsCreate swagger:route POST /batch/objects batch objects batchObjectsCreate
Creates new Objects based on a Object template as a batch.
Register new Objects in bulk. Provided meta-data and schema values are validated.
func NewBatchObjectsCreate ¶
func NewBatchObjectsCreate(ctx *middleware.Context, handler BatchObjectsCreateHandler) *BatchObjectsCreate
NewBatchObjectsCreate creates a new http.Handler for the batch objects create operation
func (*BatchObjectsCreate) ServeHTTP ¶
func (o *BatchObjectsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BatchObjectsCreateBadRequest ¶ added in v1.18.0
type BatchObjectsCreateBadRequest struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsCreateBadRequest Malformed request.
swagger:response batchObjectsCreateBadRequest
func NewBatchObjectsCreateBadRequest ¶ added in v1.18.0
func NewBatchObjectsCreateBadRequest() *BatchObjectsCreateBadRequest
NewBatchObjectsCreateBadRequest creates BatchObjectsCreateBadRequest with default headers values
func (*BatchObjectsCreateBadRequest) SetPayload ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects create bad request response
func (*BatchObjectsCreateBadRequest) WithPayload ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) WithPayload(payload *models.ErrorResponse) *BatchObjectsCreateBadRequest
WithPayload adds the payload to the batch objects create bad request response
func (*BatchObjectsCreateBadRequest) WriteResponse ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsCreateBody ¶
type BatchObjectsCreateBody struct { // Define which fields need to be returned. Default value is ALL Fields []*string `json:"fields" yaml:"fields"` // objects Objects []*models.Object `json:"objects" yaml:"objects"` }
BatchObjectsCreateBody batch objects create body
swagger:model BatchObjectsCreateBody
func (*BatchObjectsCreateBody) ContextValidate ¶ added in v1.18.0
func (o *BatchObjectsCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this batch objects create body based on the context it is used
func (*BatchObjectsCreateBody) MarshalBinary ¶
func (o *BatchObjectsCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchObjectsCreateBody) UnmarshalBinary ¶
func (o *BatchObjectsCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchObjectsCreateForbidden ¶
type BatchObjectsCreateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsCreateForbidden Forbidden
swagger:response batchObjectsCreateForbidden
func NewBatchObjectsCreateForbidden ¶
func NewBatchObjectsCreateForbidden() *BatchObjectsCreateForbidden
NewBatchObjectsCreateForbidden creates BatchObjectsCreateForbidden with default headers values
func (*BatchObjectsCreateForbidden) SetPayload ¶
func (o *BatchObjectsCreateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects create forbidden response
func (*BatchObjectsCreateForbidden) WithPayload ¶
func (o *BatchObjectsCreateForbidden) WithPayload(payload *models.ErrorResponse) *BatchObjectsCreateForbidden
WithPayload adds the payload to the batch objects create forbidden response
func (*BatchObjectsCreateForbidden) WriteResponse ¶
func (o *BatchObjectsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsCreateHandler ¶
type BatchObjectsCreateHandler interface {
Handle(BatchObjectsCreateParams, *models.Principal) middleware.Responder
}
BatchObjectsCreateHandler interface for that can handle valid batch objects create params
type BatchObjectsCreateHandlerFunc ¶
type BatchObjectsCreateHandlerFunc func(BatchObjectsCreateParams, *models.Principal) middleware.Responder
BatchObjectsCreateHandlerFunc turns a function with the right signature into a batch objects create handler
func (BatchObjectsCreateHandlerFunc) Handle ¶
func (fn BatchObjectsCreateHandlerFunc) Handle(params BatchObjectsCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BatchObjectsCreateInternalServerError ¶
type BatchObjectsCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response batchObjectsCreateInternalServerError
func NewBatchObjectsCreateInternalServerError ¶
func NewBatchObjectsCreateInternalServerError() *BatchObjectsCreateInternalServerError
NewBatchObjectsCreateInternalServerError creates BatchObjectsCreateInternalServerError with default headers values
func (*BatchObjectsCreateInternalServerError) SetPayload ¶
func (o *BatchObjectsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects create internal server error response
func (*BatchObjectsCreateInternalServerError) WithPayload ¶
func (o *BatchObjectsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *BatchObjectsCreateInternalServerError
WithPayload adds the payload to the batch objects create internal server error response
func (*BatchObjectsCreateInternalServerError) WriteResponse ¶
func (o *BatchObjectsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsCreateOK ¶
type BatchObjectsCreateOK struct { /* In: Body */ Payload []*models.ObjectsGetResponse `json:"body,omitempty"` }
BatchObjectsCreateOK Request succeeded, see response body to get detailed information about each batched item.
swagger:response batchObjectsCreateOK
func NewBatchObjectsCreateOK ¶
func NewBatchObjectsCreateOK() *BatchObjectsCreateOK
NewBatchObjectsCreateOK creates BatchObjectsCreateOK with default headers values
func (*BatchObjectsCreateOK) SetPayload ¶
func (o *BatchObjectsCreateOK) SetPayload(payload []*models.ObjectsGetResponse)
SetPayload sets the payload to the batch objects create o k response
func (*BatchObjectsCreateOK) WithPayload ¶
func (o *BatchObjectsCreateOK) WithPayload(payload []*models.ObjectsGetResponse) *BatchObjectsCreateOK
WithPayload adds the payload to the batch objects create o k response
func (*BatchObjectsCreateOK) WriteResponse ¶
func (o *BatchObjectsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsCreateParams ¶
type BatchObjectsCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body BatchObjectsCreateBody /*Determines how many replicas must acknowledge a request before it is considered successful In: query */ ConsistencyLevel *string }
BatchObjectsCreateParams contains all the bound params for the batch objects create operation typically these are obtained from a http.Request
swagger:parameters batch.objects.create
func NewBatchObjectsCreateParams ¶
func NewBatchObjectsCreateParams() BatchObjectsCreateParams
NewBatchObjectsCreateParams creates a new BatchObjectsCreateParams object
There are no default values defined in the spec.
func (*BatchObjectsCreateParams) BindRequest ¶
func (o *BatchObjectsCreateParams) 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 NewBatchObjectsCreateParams() beforehand.
type BatchObjectsCreateURL ¶
type BatchObjectsCreateURL struct { ConsistencyLevel *string // contains filtered or unexported fields }
BatchObjectsCreateURL generates an URL for the batch objects create operation
func (*BatchObjectsCreateURL) Build ¶
func (o *BatchObjectsCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*BatchObjectsCreateURL) BuildFull ¶
func (o *BatchObjectsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BatchObjectsCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BatchObjectsCreateURL) SetBasePath ¶
func (o *BatchObjectsCreateURL) 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 (*BatchObjectsCreateURL) String ¶
func (o *BatchObjectsCreateURL) String() string
String returns the string representation of the path with query string
func (*BatchObjectsCreateURL) StringFull ¶
func (o *BatchObjectsCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BatchObjectsCreateURL) WithBasePath ¶
func (o *BatchObjectsCreateURL) WithBasePath(bp string) *BatchObjectsCreateURL
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 BatchObjectsCreateUnauthorized ¶
type BatchObjectsCreateUnauthorized struct { }
BatchObjectsCreateUnauthorized Unauthorized or invalid credentials.
swagger:response batchObjectsCreateUnauthorized
func NewBatchObjectsCreateUnauthorized ¶
func NewBatchObjectsCreateUnauthorized() *BatchObjectsCreateUnauthorized
NewBatchObjectsCreateUnauthorized creates BatchObjectsCreateUnauthorized with default headers values
func (*BatchObjectsCreateUnauthorized) WriteResponse ¶
func (o *BatchObjectsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsCreateUnprocessableEntity ¶
type BatchObjectsCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsCreateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
swagger:response batchObjectsCreateUnprocessableEntity
func NewBatchObjectsCreateUnprocessableEntity ¶
func NewBatchObjectsCreateUnprocessableEntity() *BatchObjectsCreateUnprocessableEntity
NewBatchObjectsCreateUnprocessableEntity creates BatchObjectsCreateUnprocessableEntity with default headers values
func (*BatchObjectsCreateUnprocessableEntity) SetPayload ¶
func (o *BatchObjectsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects create unprocessable entity response
func (*BatchObjectsCreateUnprocessableEntity) WithPayload ¶
func (o *BatchObjectsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BatchObjectsCreateUnprocessableEntity
WithPayload adds the payload to the batch objects create unprocessable entity response
func (*BatchObjectsCreateUnprocessableEntity) WriteResponse ¶
func (o *BatchObjectsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsDelete ¶
type BatchObjectsDelete struct { Context *middleware.Context Handler BatchObjectsDeleteHandler }
BatchObjectsDelete swagger:route DELETE /batch/objects batch objects batchObjectsDelete
Deletes Objects based on a match filter as a batch.
Delete Objects in bulk that match a certain filter.
func NewBatchObjectsDelete ¶
func NewBatchObjectsDelete(ctx *middleware.Context, handler BatchObjectsDeleteHandler) *BatchObjectsDelete
NewBatchObjectsDelete creates a new http.Handler for the batch objects delete operation
func (*BatchObjectsDelete) ServeHTTP ¶
func (o *BatchObjectsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BatchObjectsDeleteBadRequest ¶ added in v1.18.0
type BatchObjectsDeleteBadRequest struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsDeleteBadRequest Malformed request.
swagger:response batchObjectsDeleteBadRequest
func NewBatchObjectsDeleteBadRequest ¶ added in v1.18.0
func NewBatchObjectsDeleteBadRequest() *BatchObjectsDeleteBadRequest
NewBatchObjectsDeleteBadRequest creates BatchObjectsDeleteBadRequest with default headers values
func (*BatchObjectsDeleteBadRequest) SetPayload ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects delete bad request response
func (*BatchObjectsDeleteBadRequest) WithPayload ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) WithPayload(payload *models.ErrorResponse) *BatchObjectsDeleteBadRequest
WithPayload adds the payload to the batch objects delete bad request response
func (*BatchObjectsDeleteBadRequest) WriteResponse ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsDeleteForbidden ¶
type BatchObjectsDeleteForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsDeleteForbidden Forbidden
swagger:response batchObjectsDeleteForbidden
func NewBatchObjectsDeleteForbidden ¶
func NewBatchObjectsDeleteForbidden() *BatchObjectsDeleteForbidden
NewBatchObjectsDeleteForbidden creates BatchObjectsDeleteForbidden with default headers values
func (*BatchObjectsDeleteForbidden) SetPayload ¶
func (o *BatchObjectsDeleteForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects delete forbidden response
func (*BatchObjectsDeleteForbidden) WithPayload ¶
func (o *BatchObjectsDeleteForbidden) WithPayload(payload *models.ErrorResponse) *BatchObjectsDeleteForbidden
WithPayload adds the payload to the batch objects delete forbidden response
func (*BatchObjectsDeleteForbidden) WriteResponse ¶
func (o *BatchObjectsDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsDeleteHandler ¶
type BatchObjectsDeleteHandler interface {
Handle(BatchObjectsDeleteParams, *models.Principal) middleware.Responder
}
BatchObjectsDeleteHandler interface for that can handle valid batch objects delete params
type BatchObjectsDeleteHandlerFunc ¶
type BatchObjectsDeleteHandlerFunc func(BatchObjectsDeleteParams, *models.Principal) middleware.Responder
BatchObjectsDeleteHandlerFunc turns a function with the right signature into a batch objects delete handler
func (BatchObjectsDeleteHandlerFunc) Handle ¶
func (fn BatchObjectsDeleteHandlerFunc) Handle(params BatchObjectsDeleteParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BatchObjectsDeleteInternalServerError ¶
type BatchObjectsDeleteInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsDeleteInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response batchObjectsDeleteInternalServerError
func NewBatchObjectsDeleteInternalServerError ¶
func NewBatchObjectsDeleteInternalServerError() *BatchObjectsDeleteInternalServerError
NewBatchObjectsDeleteInternalServerError creates BatchObjectsDeleteInternalServerError with default headers values
func (*BatchObjectsDeleteInternalServerError) SetPayload ¶
func (o *BatchObjectsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects delete internal server error response
func (*BatchObjectsDeleteInternalServerError) WithPayload ¶
func (o *BatchObjectsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *BatchObjectsDeleteInternalServerError
WithPayload adds the payload to the batch objects delete internal server error response
func (*BatchObjectsDeleteInternalServerError) WriteResponse ¶
func (o *BatchObjectsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsDeleteOK ¶
type BatchObjectsDeleteOK struct { /* In: Body */ Payload *models.BatchDeleteResponse `json:"body,omitempty"` }
BatchObjectsDeleteOK Request succeeded, see response body to get detailed information about each batched item.
swagger:response batchObjectsDeleteOK
func NewBatchObjectsDeleteOK ¶
func NewBatchObjectsDeleteOK() *BatchObjectsDeleteOK
NewBatchObjectsDeleteOK creates BatchObjectsDeleteOK with default headers values
func (*BatchObjectsDeleteOK) SetPayload ¶
func (o *BatchObjectsDeleteOK) SetPayload(payload *models.BatchDeleteResponse)
SetPayload sets the payload to the batch objects delete o k response
func (*BatchObjectsDeleteOK) WithPayload ¶
func (o *BatchObjectsDeleteOK) WithPayload(payload *models.BatchDeleteResponse) *BatchObjectsDeleteOK
WithPayload adds the payload to the batch objects delete o k response
func (*BatchObjectsDeleteOK) WriteResponse ¶
func (o *BatchObjectsDeleteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsDeleteParams ¶
type BatchObjectsDeleteParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.BatchDelete /*Determines how many replicas must acknowledge a request before it is considered successful In: query */ ConsistencyLevel *string }
BatchObjectsDeleteParams contains all the bound params for the batch objects delete operation typically these are obtained from a http.Request
swagger:parameters batch.objects.delete
func NewBatchObjectsDeleteParams ¶
func NewBatchObjectsDeleteParams() BatchObjectsDeleteParams
NewBatchObjectsDeleteParams creates a new BatchObjectsDeleteParams object
There are no default values defined in the spec.
func (*BatchObjectsDeleteParams) BindRequest ¶
func (o *BatchObjectsDeleteParams) 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 NewBatchObjectsDeleteParams() beforehand.
type BatchObjectsDeleteURL ¶
type BatchObjectsDeleteURL struct { ConsistencyLevel *string // contains filtered or unexported fields }
BatchObjectsDeleteURL generates an URL for the batch objects delete operation
func (*BatchObjectsDeleteURL) Build ¶
func (o *BatchObjectsDeleteURL) Build() (*url.URL, error)
Build a url path and query string
func (*BatchObjectsDeleteURL) BuildFull ¶
func (o *BatchObjectsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BatchObjectsDeleteURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BatchObjectsDeleteURL) SetBasePath ¶
func (o *BatchObjectsDeleteURL) 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 (*BatchObjectsDeleteURL) String ¶
func (o *BatchObjectsDeleteURL) String() string
String returns the string representation of the path with query string
func (*BatchObjectsDeleteURL) StringFull ¶
func (o *BatchObjectsDeleteURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BatchObjectsDeleteURL) WithBasePath ¶
func (o *BatchObjectsDeleteURL) WithBasePath(bp string) *BatchObjectsDeleteURL
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 BatchObjectsDeleteUnauthorized ¶
type BatchObjectsDeleteUnauthorized struct { }
BatchObjectsDeleteUnauthorized Unauthorized or invalid credentials.
swagger:response batchObjectsDeleteUnauthorized
func NewBatchObjectsDeleteUnauthorized ¶
func NewBatchObjectsDeleteUnauthorized() *BatchObjectsDeleteUnauthorized
NewBatchObjectsDeleteUnauthorized creates BatchObjectsDeleteUnauthorized with default headers values
func (*BatchObjectsDeleteUnauthorized) WriteResponse ¶
func (o *BatchObjectsDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchObjectsDeleteUnprocessableEntity ¶
type BatchObjectsDeleteUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchObjectsDeleteUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
swagger:response batchObjectsDeleteUnprocessableEntity
func NewBatchObjectsDeleteUnprocessableEntity ¶
func NewBatchObjectsDeleteUnprocessableEntity() *BatchObjectsDeleteUnprocessableEntity
NewBatchObjectsDeleteUnprocessableEntity creates BatchObjectsDeleteUnprocessableEntity with default headers values
func (*BatchObjectsDeleteUnprocessableEntity) SetPayload ¶
func (o *BatchObjectsDeleteUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch objects delete unprocessable entity response
func (*BatchObjectsDeleteUnprocessableEntity) WithPayload ¶
func (o *BatchObjectsDeleteUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BatchObjectsDeleteUnprocessableEntity
WithPayload adds the payload to the batch objects delete unprocessable entity response
func (*BatchObjectsDeleteUnprocessableEntity) WriteResponse ¶
func (o *BatchObjectsDeleteUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchReferencesCreate ¶
type BatchReferencesCreate struct { Context *middleware.Context Handler BatchReferencesCreateHandler }
BatchReferencesCreate swagger:route POST /batch/references batch references batchReferencesCreate
Creates new Cross-References between arbitrary classes in bulk.
Register cross-references between any class items (objects or objects) in bulk.
func NewBatchReferencesCreate ¶
func NewBatchReferencesCreate(ctx *middleware.Context, handler BatchReferencesCreateHandler) *BatchReferencesCreate
NewBatchReferencesCreate creates a new http.Handler for the batch references create operation
func (*BatchReferencesCreate) ServeHTTP ¶
func (o *BatchReferencesCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BatchReferencesCreateBadRequest ¶ added in v1.18.0
type BatchReferencesCreateBadRequest struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchReferencesCreateBadRequest Malformed request.
swagger:response batchReferencesCreateBadRequest
func NewBatchReferencesCreateBadRequest ¶ added in v1.18.0
func NewBatchReferencesCreateBadRequest() *BatchReferencesCreateBadRequest
NewBatchReferencesCreateBadRequest creates BatchReferencesCreateBadRequest with default headers values
func (*BatchReferencesCreateBadRequest) SetPayload ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch references create bad request response
func (*BatchReferencesCreateBadRequest) WithPayload ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateBadRequest
WithPayload adds the payload to the batch references create bad request response
func (*BatchReferencesCreateBadRequest) WriteResponse ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchReferencesCreateForbidden ¶
type BatchReferencesCreateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchReferencesCreateForbidden Forbidden
swagger:response batchReferencesCreateForbidden
func NewBatchReferencesCreateForbidden ¶
func NewBatchReferencesCreateForbidden() *BatchReferencesCreateForbidden
NewBatchReferencesCreateForbidden creates BatchReferencesCreateForbidden with default headers values
func (*BatchReferencesCreateForbidden) SetPayload ¶
func (o *BatchReferencesCreateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch references create forbidden response
func (*BatchReferencesCreateForbidden) WithPayload ¶
func (o *BatchReferencesCreateForbidden) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateForbidden
WithPayload adds the payload to the batch references create forbidden response
func (*BatchReferencesCreateForbidden) WriteResponse ¶
func (o *BatchReferencesCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchReferencesCreateHandler ¶
type BatchReferencesCreateHandler interface {
Handle(BatchReferencesCreateParams, *models.Principal) middleware.Responder
}
BatchReferencesCreateHandler interface for that can handle valid batch references create params
type BatchReferencesCreateHandlerFunc ¶
type BatchReferencesCreateHandlerFunc func(BatchReferencesCreateParams, *models.Principal) middleware.Responder
BatchReferencesCreateHandlerFunc turns a function with the right signature into a batch references create handler
func (BatchReferencesCreateHandlerFunc) Handle ¶
func (fn BatchReferencesCreateHandlerFunc) Handle(params BatchReferencesCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BatchReferencesCreateInternalServerError ¶
type BatchReferencesCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchReferencesCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response batchReferencesCreateInternalServerError
func NewBatchReferencesCreateInternalServerError ¶
func NewBatchReferencesCreateInternalServerError() *BatchReferencesCreateInternalServerError
NewBatchReferencesCreateInternalServerError creates BatchReferencesCreateInternalServerError with default headers values
func (*BatchReferencesCreateInternalServerError) SetPayload ¶
func (o *BatchReferencesCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch references create internal server error response
func (*BatchReferencesCreateInternalServerError) WithPayload ¶
func (o *BatchReferencesCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateInternalServerError
WithPayload adds the payload to the batch references create internal server error response
func (*BatchReferencesCreateInternalServerError) WriteResponse ¶
func (o *BatchReferencesCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchReferencesCreateOK ¶
type BatchReferencesCreateOK struct { /* In: Body */ Payload []*models.BatchReferenceResponse `json:"body,omitempty"` }
BatchReferencesCreateOK Request Successful. Warning: A successful request does not guarantee that every batched reference was successfully created. Inspect the response body to see which references succeeded and which failed.
swagger:response batchReferencesCreateOK
func NewBatchReferencesCreateOK ¶
func NewBatchReferencesCreateOK() *BatchReferencesCreateOK
NewBatchReferencesCreateOK creates BatchReferencesCreateOK with default headers values
func (*BatchReferencesCreateOK) SetPayload ¶
func (o *BatchReferencesCreateOK) SetPayload(payload []*models.BatchReferenceResponse)
SetPayload sets the payload to the batch references create o k response
func (*BatchReferencesCreateOK) WithPayload ¶
func (o *BatchReferencesCreateOK) WithPayload(payload []*models.BatchReferenceResponse) *BatchReferencesCreateOK
WithPayload adds the payload to the batch references create o k response
func (*BatchReferencesCreateOK) WriteResponse ¶
func (o *BatchReferencesCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchReferencesCreateParams ¶
type BatchReferencesCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A list of references to be batched. The ideal size depends on the used database connector. Please see the documentation of the used connector for help Required: true In: body */ Body []*models.BatchReference /*Determines how many replicas must acknowledge a request before it is considered successful In: query */ ConsistencyLevel *string }
BatchReferencesCreateParams contains all the bound params for the batch references create operation typically these are obtained from a http.Request
swagger:parameters batch.references.create
func NewBatchReferencesCreateParams ¶
func NewBatchReferencesCreateParams() BatchReferencesCreateParams
NewBatchReferencesCreateParams creates a new BatchReferencesCreateParams object
There are no default values defined in the spec.
func (*BatchReferencesCreateParams) BindRequest ¶
func (o *BatchReferencesCreateParams) 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 NewBatchReferencesCreateParams() beforehand.
type BatchReferencesCreateURL ¶
type BatchReferencesCreateURL struct { ConsistencyLevel *string // contains filtered or unexported fields }
BatchReferencesCreateURL generates an URL for the batch references create operation
func (*BatchReferencesCreateURL) Build ¶
func (o *BatchReferencesCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*BatchReferencesCreateURL) BuildFull ¶
func (o *BatchReferencesCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BatchReferencesCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BatchReferencesCreateURL) SetBasePath ¶
func (o *BatchReferencesCreateURL) 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 (*BatchReferencesCreateURL) String ¶
func (o *BatchReferencesCreateURL) String() string
String returns the string representation of the path with query string
func (*BatchReferencesCreateURL) StringFull ¶
func (o *BatchReferencesCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BatchReferencesCreateURL) WithBasePath ¶
func (o *BatchReferencesCreateURL) WithBasePath(bp string) *BatchReferencesCreateURL
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 BatchReferencesCreateUnauthorized ¶
type BatchReferencesCreateUnauthorized struct { }
BatchReferencesCreateUnauthorized Unauthorized or invalid credentials.
swagger:response batchReferencesCreateUnauthorized
func NewBatchReferencesCreateUnauthorized ¶
func NewBatchReferencesCreateUnauthorized() *BatchReferencesCreateUnauthorized
NewBatchReferencesCreateUnauthorized creates BatchReferencesCreateUnauthorized with default headers values
func (*BatchReferencesCreateUnauthorized) WriteResponse ¶
func (o *BatchReferencesCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BatchReferencesCreateUnprocessableEntity ¶
type BatchReferencesCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BatchReferencesCreateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
swagger:response batchReferencesCreateUnprocessableEntity
func NewBatchReferencesCreateUnprocessableEntity ¶
func NewBatchReferencesCreateUnprocessableEntity() *BatchReferencesCreateUnprocessableEntity
NewBatchReferencesCreateUnprocessableEntity creates BatchReferencesCreateUnprocessableEntity with default headers values
func (*BatchReferencesCreateUnprocessableEntity) SetPayload ¶
func (o *BatchReferencesCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the batch references create unprocessable entity response
func (*BatchReferencesCreateUnprocessableEntity) WithPayload ¶
func (o *BatchReferencesCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BatchReferencesCreateUnprocessableEntity
WithPayload adds the payload to the batch references create unprocessable entity response
func (*BatchReferencesCreateUnprocessableEntity) WriteResponse ¶
func (o *BatchReferencesCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- batch_objects_create.go
- batch_objects_create_parameters.go
- batch_objects_create_responses.go
- batch_objects_create_urlbuilder.go
- batch_objects_delete.go
- batch_objects_delete_parameters.go
- batch_objects_delete_responses.go
- batch_objects_delete_urlbuilder.go
- batch_references_create.go
- batch_references_create_parameters.go
- batch_references_create_responses.go
- batch_references_create_urlbuilder.go