Documentation ¶
Index ¶
- type BatchObjectsCreateBadRequest
- func (o *BatchObjectsCreateBadRequest) Code() int
- func (o *BatchObjectsCreateBadRequest) Error() string
- func (o *BatchObjectsCreateBadRequest) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsCreateBadRequest) IsClientError() bool
- func (o *BatchObjectsCreateBadRequest) IsCode(code int) bool
- func (o *BatchObjectsCreateBadRequest) IsRedirect() bool
- func (o *BatchObjectsCreateBadRequest) IsServerError() bool
- func (o *BatchObjectsCreateBadRequest) IsSuccess() bool
- func (o *BatchObjectsCreateBadRequest) String() string
- 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
- func (o *BatchObjectsCreateForbidden) Code() int
- func (o *BatchObjectsCreateForbidden) Error() string
- func (o *BatchObjectsCreateForbidden) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsCreateForbidden) IsClientError() bool
- func (o *BatchObjectsCreateForbidden) IsCode(code int) bool
- func (o *BatchObjectsCreateForbidden) IsRedirect() bool
- func (o *BatchObjectsCreateForbidden) IsServerError() bool
- func (o *BatchObjectsCreateForbidden) IsSuccess() bool
- func (o *BatchObjectsCreateForbidden) String() string
- type BatchObjectsCreateInternalServerError
- func (o *BatchObjectsCreateInternalServerError) Code() int
- func (o *BatchObjectsCreateInternalServerError) Error() string
- func (o *BatchObjectsCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsCreateInternalServerError) IsClientError() bool
- func (o *BatchObjectsCreateInternalServerError) IsCode(code int) bool
- func (o *BatchObjectsCreateInternalServerError) IsRedirect() bool
- func (o *BatchObjectsCreateInternalServerError) IsServerError() bool
- func (o *BatchObjectsCreateInternalServerError) IsSuccess() bool
- func (o *BatchObjectsCreateInternalServerError) String() string
- type BatchObjectsCreateOK
- func (o *BatchObjectsCreateOK) Code() int
- func (o *BatchObjectsCreateOK) Error() string
- func (o *BatchObjectsCreateOK) GetPayload() []*models.ObjectsGetResponse
- func (o *BatchObjectsCreateOK) IsClientError() bool
- func (o *BatchObjectsCreateOK) IsCode(code int) bool
- func (o *BatchObjectsCreateOK) IsRedirect() bool
- func (o *BatchObjectsCreateOK) IsServerError() bool
- func (o *BatchObjectsCreateOK) IsSuccess() bool
- func (o *BatchObjectsCreateOK) String() string
- type BatchObjectsCreateParams
- func NewBatchObjectsCreateParams() *BatchObjectsCreateParams
- func NewBatchObjectsCreateParamsWithContext(ctx context.Context) *BatchObjectsCreateParams
- func NewBatchObjectsCreateParamsWithHTTPClient(client *http.Client) *BatchObjectsCreateParams
- func NewBatchObjectsCreateParamsWithTimeout(timeout time.Duration) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) SetBody(body BatchObjectsCreateBody)
- func (o *BatchObjectsCreateParams) SetConsistencyLevel(consistencyLevel *string)
- func (o *BatchObjectsCreateParams) SetContext(ctx context.Context)
- func (o *BatchObjectsCreateParams) SetDefaults()
- func (o *BatchObjectsCreateParams) SetHTTPClient(client *http.Client)
- func (o *BatchObjectsCreateParams) SetTimeout(timeout time.Duration)
- func (o *BatchObjectsCreateParams) WithBody(body BatchObjectsCreateBody) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WithConsistencyLevel(consistencyLevel *string) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WithContext(ctx context.Context) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WithDefaults() *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WithHTTPClient(client *http.Client) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WithTimeout(timeout time.Duration) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchObjectsCreateReader
- type BatchObjectsCreateUnauthorized
- func (o *BatchObjectsCreateUnauthorized) Code() int
- func (o *BatchObjectsCreateUnauthorized) Error() string
- func (o *BatchObjectsCreateUnauthorized) IsClientError() bool
- func (o *BatchObjectsCreateUnauthorized) IsCode(code int) bool
- func (o *BatchObjectsCreateUnauthorized) IsRedirect() bool
- func (o *BatchObjectsCreateUnauthorized) IsServerError() bool
- func (o *BatchObjectsCreateUnauthorized) IsSuccess() bool
- func (o *BatchObjectsCreateUnauthorized) String() string
- type BatchObjectsCreateUnprocessableEntity
- func (o *BatchObjectsCreateUnprocessableEntity) Code() int
- func (o *BatchObjectsCreateUnprocessableEntity) Error() string
- func (o *BatchObjectsCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsCreateUnprocessableEntity) IsClientError() bool
- func (o *BatchObjectsCreateUnprocessableEntity) IsCode(code int) bool
- func (o *BatchObjectsCreateUnprocessableEntity) IsRedirect() bool
- func (o *BatchObjectsCreateUnprocessableEntity) IsServerError() bool
- func (o *BatchObjectsCreateUnprocessableEntity) IsSuccess() bool
- func (o *BatchObjectsCreateUnprocessableEntity) String() string
- type BatchObjectsDeleteBadRequest
- func (o *BatchObjectsDeleteBadRequest) Code() int
- func (o *BatchObjectsDeleteBadRequest) Error() string
- func (o *BatchObjectsDeleteBadRequest) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsDeleteBadRequest) IsClientError() bool
- func (o *BatchObjectsDeleteBadRequest) IsCode(code int) bool
- func (o *BatchObjectsDeleteBadRequest) IsRedirect() bool
- func (o *BatchObjectsDeleteBadRequest) IsServerError() bool
- func (o *BatchObjectsDeleteBadRequest) IsSuccess() bool
- func (o *BatchObjectsDeleteBadRequest) String() string
- type BatchObjectsDeleteForbidden
- func (o *BatchObjectsDeleteForbidden) Code() int
- func (o *BatchObjectsDeleteForbidden) Error() string
- func (o *BatchObjectsDeleteForbidden) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsDeleteForbidden) IsClientError() bool
- func (o *BatchObjectsDeleteForbidden) IsCode(code int) bool
- func (o *BatchObjectsDeleteForbidden) IsRedirect() bool
- func (o *BatchObjectsDeleteForbidden) IsServerError() bool
- func (o *BatchObjectsDeleteForbidden) IsSuccess() bool
- func (o *BatchObjectsDeleteForbidden) String() string
- type BatchObjectsDeleteInternalServerError
- func (o *BatchObjectsDeleteInternalServerError) Code() int
- func (o *BatchObjectsDeleteInternalServerError) Error() string
- func (o *BatchObjectsDeleteInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsDeleteInternalServerError) IsClientError() bool
- func (o *BatchObjectsDeleteInternalServerError) IsCode(code int) bool
- func (o *BatchObjectsDeleteInternalServerError) IsRedirect() bool
- func (o *BatchObjectsDeleteInternalServerError) IsServerError() bool
- func (o *BatchObjectsDeleteInternalServerError) IsSuccess() bool
- func (o *BatchObjectsDeleteInternalServerError) String() string
- type BatchObjectsDeleteOK
- func (o *BatchObjectsDeleteOK) Code() int
- func (o *BatchObjectsDeleteOK) Error() string
- func (o *BatchObjectsDeleteOK) GetPayload() *models.BatchDeleteResponse
- func (o *BatchObjectsDeleteOK) IsClientError() bool
- func (o *BatchObjectsDeleteOK) IsCode(code int) bool
- func (o *BatchObjectsDeleteOK) IsRedirect() bool
- func (o *BatchObjectsDeleteOK) IsServerError() bool
- func (o *BatchObjectsDeleteOK) IsSuccess() bool
- func (o *BatchObjectsDeleteOK) String() string
- type BatchObjectsDeleteParams
- func NewBatchObjectsDeleteParams() *BatchObjectsDeleteParams
- func NewBatchObjectsDeleteParamsWithContext(ctx context.Context) *BatchObjectsDeleteParams
- func NewBatchObjectsDeleteParamsWithHTTPClient(client *http.Client) *BatchObjectsDeleteParams
- func NewBatchObjectsDeleteParamsWithTimeout(timeout time.Duration) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) SetBody(body *models.BatchDelete)
- func (o *BatchObjectsDeleteParams) SetConsistencyLevel(consistencyLevel *string)
- func (o *BatchObjectsDeleteParams) SetContext(ctx context.Context)
- func (o *BatchObjectsDeleteParams) SetDefaults()
- func (o *BatchObjectsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *BatchObjectsDeleteParams) SetTenant(tenant *string)
- func (o *BatchObjectsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *BatchObjectsDeleteParams) WithBody(body *models.BatchDelete) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithConsistencyLevel(consistencyLevel *string) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithContext(ctx context.Context) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithDefaults() *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithHTTPClient(client *http.Client) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithTenant(tenant *string) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithTimeout(timeout time.Duration) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchObjectsDeleteReader
- type BatchObjectsDeleteUnauthorized
- func (o *BatchObjectsDeleteUnauthorized) Code() int
- func (o *BatchObjectsDeleteUnauthorized) Error() string
- func (o *BatchObjectsDeleteUnauthorized) IsClientError() bool
- func (o *BatchObjectsDeleteUnauthorized) IsCode(code int) bool
- func (o *BatchObjectsDeleteUnauthorized) IsRedirect() bool
- func (o *BatchObjectsDeleteUnauthorized) IsServerError() bool
- func (o *BatchObjectsDeleteUnauthorized) IsSuccess() bool
- func (o *BatchObjectsDeleteUnauthorized) String() string
- type BatchObjectsDeleteUnprocessableEntity
- func (o *BatchObjectsDeleteUnprocessableEntity) Code() int
- func (o *BatchObjectsDeleteUnprocessableEntity) Error() string
- func (o *BatchObjectsDeleteUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BatchObjectsDeleteUnprocessableEntity) IsClientError() bool
- func (o *BatchObjectsDeleteUnprocessableEntity) IsCode(code int) bool
- func (o *BatchObjectsDeleteUnprocessableEntity) IsRedirect() bool
- func (o *BatchObjectsDeleteUnprocessableEntity) IsServerError() bool
- func (o *BatchObjectsDeleteUnprocessableEntity) IsSuccess() bool
- func (o *BatchObjectsDeleteUnprocessableEntity) String() string
- type BatchReferencesCreateBadRequest
- func (o *BatchReferencesCreateBadRequest) Code() int
- func (o *BatchReferencesCreateBadRequest) Error() string
- func (o *BatchReferencesCreateBadRequest) GetPayload() *models.ErrorResponse
- func (o *BatchReferencesCreateBadRequest) IsClientError() bool
- func (o *BatchReferencesCreateBadRequest) IsCode(code int) bool
- func (o *BatchReferencesCreateBadRequest) IsRedirect() bool
- func (o *BatchReferencesCreateBadRequest) IsServerError() bool
- func (o *BatchReferencesCreateBadRequest) IsSuccess() bool
- func (o *BatchReferencesCreateBadRequest) String() string
- type BatchReferencesCreateForbidden
- func (o *BatchReferencesCreateForbidden) Code() int
- func (o *BatchReferencesCreateForbidden) Error() string
- func (o *BatchReferencesCreateForbidden) GetPayload() *models.ErrorResponse
- func (o *BatchReferencesCreateForbidden) IsClientError() bool
- func (o *BatchReferencesCreateForbidden) IsCode(code int) bool
- func (o *BatchReferencesCreateForbidden) IsRedirect() bool
- func (o *BatchReferencesCreateForbidden) IsServerError() bool
- func (o *BatchReferencesCreateForbidden) IsSuccess() bool
- func (o *BatchReferencesCreateForbidden) String() string
- type BatchReferencesCreateInternalServerError
- func (o *BatchReferencesCreateInternalServerError) Code() int
- func (o *BatchReferencesCreateInternalServerError) Error() string
- func (o *BatchReferencesCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *BatchReferencesCreateInternalServerError) IsClientError() bool
- func (o *BatchReferencesCreateInternalServerError) IsCode(code int) bool
- func (o *BatchReferencesCreateInternalServerError) IsRedirect() bool
- func (o *BatchReferencesCreateInternalServerError) IsServerError() bool
- func (o *BatchReferencesCreateInternalServerError) IsSuccess() bool
- func (o *BatchReferencesCreateInternalServerError) String() string
- type BatchReferencesCreateOK
- func (o *BatchReferencesCreateOK) Code() int
- func (o *BatchReferencesCreateOK) Error() string
- func (o *BatchReferencesCreateOK) GetPayload() []*models.BatchReferenceResponse
- func (o *BatchReferencesCreateOK) IsClientError() bool
- func (o *BatchReferencesCreateOK) IsCode(code int) bool
- func (o *BatchReferencesCreateOK) IsRedirect() bool
- func (o *BatchReferencesCreateOK) IsServerError() bool
- func (o *BatchReferencesCreateOK) IsSuccess() bool
- func (o *BatchReferencesCreateOK) String() string
- type BatchReferencesCreateParams
- func NewBatchReferencesCreateParams() *BatchReferencesCreateParams
- func NewBatchReferencesCreateParamsWithContext(ctx context.Context) *BatchReferencesCreateParams
- func NewBatchReferencesCreateParamsWithHTTPClient(client *http.Client) *BatchReferencesCreateParams
- func NewBatchReferencesCreateParamsWithTimeout(timeout time.Duration) *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) SetBody(body []*models.BatchReference)
- func (o *BatchReferencesCreateParams) SetConsistencyLevel(consistencyLevel *string)
- func (o *BatchReferencesCreateParams) SetContext(ctx context.Context)
- func (o *BatchReferencesCreateParams) SetDefaults()
- func (o *BatchReferencesCreateParams) SetHTTPClient(client *http.Client)
- func (o *BatchReferencesCreateParams) SetTimeout(timeout time.Duration)
- func (o *BatchReferencesCreateParams) WithBody(body []*models.BatchReference) *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) WithConsistencyLevel(consistencyLevel *string) *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) WithContext(ctx context.Context) *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) WithDefaults() *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) WithHTTPClient(client *http.Client) *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) WithTimeout(timeout time.Duration) *BatchReferencesCreateParams
- func (o *BatchReferencesCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchReferencesCreateReader
- type BatchReferencesCreateUnauthorized
- func (o *BatchReferencesCreateUnauthorized) Code() int
- func (o *BatchReferencesCreateUnauthorized) Error() string
- func (o *BatchReferencesCreateUnauthorized) IsClientError() bool
- func (o *BatchReferencesCreateUnauthorized) IsCode(code int) bool
- func (o *BatchReferencesCreateUnauthorized) IsRedirect() bool
- func (o *BatchReferencesCreateUnauthorized) IsServerError() bool
- func (o *BatchReferencesCreateUnauthorized) IsSuccess() bool
- func (o *BatchReferencesCreateUnauthorized) String() string
- type BatchReferencesCreateUnprocessableEntity
- func (o *BatchReferencesCreateUnprocessableEntity) Code() int
- func (o *BatchReferencesCreateUnprocessableEntity) Error() string
- func (o *BatchReferencesCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *BatchReferencesCreateUnprocessableEntity) IsClientError() bool
- func (o *BatchReferencesCreateUnprocessableEntity) IsCode(code int) bool
- func (o *BatchReferencesCreateUnprocessableEntity) IsRedirect() bool
- func (o *BatchReferencesCreateUnprocessableEntity) IsServerError() bool
- func (o *BatchReferencesCreateUnprocessableEntity) IsSuccess() bool
- func (o *BatchReferencesCreateUnprocessableEntity) String() string
- type Client
- func (a *Client) BatchObjectsCreate(params *BatchObjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BatchObjectsCreateOK, error)
- func (a *Client) BatchObjectsDelete(params *BatchObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BatchObjectsDeleteOK, error)
- func (a *Client) BatchReferencesCreate(params *BatchReferencesCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BatchReferencesCreateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchObjectsCreateBadRequest ¶ added in v1.18.0
type BatchObjectsCreateBadRequest struct {
Payload *models.ErrorResponse
}
BatchObjectsCreateBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewBatchObjectsCreateBadRequest ¶ added in v1.18.0
func NewBatchObjectsCreateBadRequest() *BatchObjectsCreateBadRequest
NewBatchObjectsCreateBadRequest creates a BatchObjectsCreateBadRequest with default headers values
func (*BatchObjectsCreateBadRequest) Code ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) Code() int
Code gets the status code for the batch objects create bad request response
func (*BatchObjectsCreateBadRequest) Error ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) Error() string
func (*BatchObjectsCreateBadRequest) GetPayload ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) GetPayload() *models.ErrorResponse
func (*BatchObjectsCreateBadRequest) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) IsClientError() bool
IsClientError returns true when this batch objects create bad request response has a 4xx status code
func (*BatchObjectsCreateBadRequest) IsCode ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) IsCode(code int) bool
IsCode returns true when this batch objects create bad request response a status code equal to that given
func (*BatchObjectsCreateBadRequest) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this batch objects create bad request response has a 3xx status code
func (*BatchObjectsCreateBadRequest) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) IsServerError() bool
IsServerError returns true when this batch objects create bad request response has a 5xx status code
func (*BatchObjectsCreateBadRequest) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this batch objects create bad request response has a 2xx status code
func (*BatchObjectsCreateBadRequest) String ¶ added in v1.18.0
func (o *BatchObjectsCreateBadRequest) String() string
type BatchObjectsCreateBody ¶
type BatchObjectsCreateBody struct { // Define which fields need to be returned. Default value is ALL Fields []*string `json:"fields"` // objects Objects []*models.Object `json:"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 {
Payload *models.ErrorResponse
}
BatchObjectsCreateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBatchObjectsCreateForbidden ¶
func NewBatchObjectsCreateForbidden() *BatchObjectsCreateForbidden
NewBatchObjectsCreateForbidden creates a BatchObjectsCreateForbidden with default headers values
func (*BatchObjectsCreateForbidden) Code ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) Code() int
Code gets the status code for the batch objects create forbidden response
func (*BatchObjectsCreateForbidden) Error ¶
func (o *BatchObjectsCreateForbidden) Error() string
func (*BatchObjectsCreateForbidden) GetPayload ¶
func (o *BatchObjectsCreateForbidden) GetPayload() *models.ErrorResponse
func (*BatchObjectsCreateForbidden) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) IsClientError() bool
IsClientError returns true when this batch objects create forbidden response has a 4xx status code
func (*BatchObjectsCreateForbidden) IsCode ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) IsCode(code int) bool
IsCode returns true when this batch objects create forbidden response a status code equal to that given
func (*BatchObjectsCreateForbidden) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) IsRedirect() bool
IsRedirect returns true when this batch objects create forbidden response has a 3xx status code
func (*BatchObjectsCreateForbidden) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) IsServerError() bool
IsServerError returns true when this batch objects create forbidden response has a 5xx status code
func (*BatchObjectsCreateForbidden) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) IsSuccess() bool
IsSuccess returns true when this batch objects create forbidden response has a 2xx status code
func (*BatchObjectsCreateForbidden) String ¶ added in v1.18.0
func (o *BatchObjectsCreateForbidden) String() string
type BatchObjectsCreateInternalServerError ¶
type BatchObjectsCreateInternalServerError struct {
Payload *models.ErrorResponse
}
BatchObjectsCreateInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBatchObjectsCreateInternalServerError ¶
func NewBatchObjectsCreateInternalServerError() *BatchObjectsCreateInternalServerError
NewBatchObjectsCreateInternalServerError creates a BatchObjectsCreateInternalServerError with default headers values
func (*BatchObjectsCreateInternalServerError) Code ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) Code() int
Code gets the status code for the batch objects create internal server error response
func (*BatchObjectsCreateInternalServerError) Error ¶
func (o *BatchObjectsCreateInternalServerError) Error() string
func (*BatchObjectsCreateInternalServerError) GetPayload ¶
func (o *BatchObjectsCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*BatchObjectsCreateInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) IsClientError() bool
IsClientError returns true when this batch objects create internal server error response has a 4xx status code
func (*BatchObjectsCreateInternalServerError) IsCode ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this batch objects create internal server error response a status code equal to that given
func (*BatchObjectsCreateInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this batch objects create internal server error response has a 3xx status code
func (*BatchObjectsCreateInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) IsServerError() bool
IsServerError returns true when this batch objects create internal server error response has a 5xx status code
func (*BatchObjectsCreateInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this batch objects create internal server error response has a 2xx status code
func (*BatchObjectsCreateInternalServerError) String ¶ added in v1.18.0
func (o *BatchObjectsCreateInternalServerError) String() string
type BatchObjectsCreateOK ¶
type BatchObjectsCreateOK struct {
Payload []*models.ObjectsGetResponse
}
BatchObjectsCreateOK describes a response with status code 200, with default header values.
Request succeeded, see response body to get detailed information about each batched item.
func NewBatchObjectsCreateOK ¶
func NewBatchObjectsCreateOK() *BatchObjectsCreateOK
NewBatchObjectsCreateOK creates a BatchObjectsCreateOK with default headers values
func (*BatchObjectsCreateOK) Code ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) Code() int
Code gets the status code for the batch objects create o k response
func (*BatchObjectsCreateOK) Error ¶
func (o *BatchObjectsCreateOK) Error() string
func (*BatchObjectsCreateOK) GetPayload ¶
func (o *BatchObjectsCreateOK) GetPayload() []*models.ObjectsGetResponse
func (*BatchObjectsCreateOK) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) IsClientError() bool
IsClientError returns true when this batch objects create o k response has a 4xx status code
func (*BatchObjectsCreateOK) IsCode ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) IsCode(code int) bool
IsCode returns true when this batch objects create o k response a status code equal to that given
func (*BatchObjectsCreateOK) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) IsRedirect() bool
IsRedirect returns true when this batch objects create o k response has a 3xx status code
func (*BatchObjectsCreateOK) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) IsServerError() bool
IsServerError returns true when this batch objects create o k response has a 5xx status code
func (*BatchObjectsCreateOK) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) IsSuccess() bool
IsSuccess returns true when this batch objects create o k response has a 2xx status code
func (*BatchObjectsCreateOK) String ¶ added in v1.18.0
func (o *BatchObjectsCreateOK) String() string
type BatchObjectsCreateParams ¶
type BatchObjectsCreateParams struct { // Body. Body BatchObjectsCreateBody /* ConsistencyLevel. Determines how many replicas must acknowledge a request before it is considered successful */ ConsistencyLevel *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BatchObjectsCreateParams contains all the parameters to send to the API endpoint
for the batch objects create operation. Typically these are written to a http.Request.
func NewBatchObjectsCreateParams ¶
func NewBatchObjectsCreateParams() *BatchObjectsCreateParams
NewBatchObjectsCreateParams creates a new BatchObjectsCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBatchObjectsCreateParamsWithContext ¶
func NewBatchObjectsCreateParamsWithContext(ctx context.Context) *BatchObjectsCreateParams
NewBatchObjectsCreateParamsWithContext creates a new BatchObjectsCreateParams object with the ability to set a context for a request.
func NewBatchObjectsCreateParamsWithHTTPClient ¶
func NewBatchObjectsCreateParamsWithHTTPClient(client *http.Client) *BatchObjectsCreateParams
NewBatchObjectsCreateParamsWithHTTPClient creates a new BatchObjectsCreateParams object with the ability to set a custom HTTPClient for a request.
func NewBatchObjectsCreateParamsWithTimeout ¶
func NewBatchObjectsCreateParamsWithTimeout(timeout time.Duration) *BatchObjectsCreateParams
NewBatchObjectsCreateParamsWithTimeout creates a new BatchObjectsCreateParams object with the ability to set a timeout on a request.
func (*BatchObjectsCreateParams) SetBody ¶
func (o *BatchObjectsCreateParams) SetBody(body BatchObjectsCreateBody)
SetBody adds the body to the batch objects create params
func (*BatchObjectsCreateParams) SetConsistencyLevel ¶ added in v1.18.0
func (o *BatchObjectsCreateParams) SetConsistencyLevel(consistencyLevel *string)
SetConsistencyLevel adds the consistencyLevel to the batch objects create params
func (*BatchObjectsCreateParams) SetContext ¶
func (o *BatchObjectsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the batch objects create params
func (*BatchObjectsCreateParams) SetDefaults ¶ added in v1.18.0
func (o *BatchObjectsCreateParams) SetDefaults()
SetDefaults hydrates default values in the batch objects create params (not the query body).
All values with no default are reset to their zero value.
func (*BatchObjectsCreateParams) SetHTTPClient ¶
func (o *BatchObjectsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the batch objects create params
func (*BatchObjectsCreateParams) SetTimeout ¶
func (o *BatchObjectsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the batch objects create params
func (*BatchObjectsCreateParams) WithBody ¶
func (o *BatchObjectsCreateParams) WithBody(body BatchObjectsCreateBody) *BatchObjectsCreateParams
WithBody adds the body to the batch objects create params
func (*BatchObjectsCreateParams) WithConsistencyLevel ¶ added in v1.18.0
func (o *BatchObjectsCreateParams) WithConsistencyLevel(consistencyLevel *string) *BatchObjectsCreateParams
WithConsistencyLevel adds the consistencyLevel to the batch objects create params
func (*BatchObjectsCreateParams) WithContext ¶
func (o *BatchObjectsCreateParams) WithContext(ctx context.Context) *BatchObjectsCreateParams
WithContext adds the context to the batch objects create params
func (*BatchObjectsCreateParams) WithDefaults ¶ added in v1.18.0
func (o *BatchObjectsCreateParams) WithDefaults() *BatchObjectsCreateParams
WithDefaults hydrates default values in the batch objects create params (not the query body).
All values with no default are reset to their zero value.
func (*BatchObjectsCreateParams) WithHTTPClient ¶
func (o *BatchObjectsCreateParams) WithHTTPClient(client *http.Client) *BatchObjectsCreateParams
WithHTTPClient adds the HTTPClient to the batch objects create params
func (*BatchObjectsCreateParams) WithTimeout ¶
func (o *BatchObjectsCreateParams) WithTimeout(timeout time.Duration) *BatchObjectsCreateParams
WithTimeout adds the timeout to the batch objects create params
func (*BatchObjectsCreateParams) WriteToRequest ¶
func (o *BatchObjectsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BatchObjectsCreateReader ¶
type BatchObjectsCreateReader struct {
// contains filtered or unexported fields
}
BatchObjectsCreateReader is a Reader for the BatchObjectsCreate structure.
func (*BatchObjectsCreateReader) ReadResponse ¶
func (o *BatchObjectsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BatchObjectsCreateUnauthorized ¶
type BatchObjectsCreateUnauthorized struct { }
BatchObjectsCreateUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBatchObjectsCreateUnauthorized ¶
func NewBatchObjectsCreateUnauthorized() *BatchObjectsCreateUnauthorized
NewBatchObjectsCreateUnauthorized creates a BatchObjectsCreateUnauthorized with default headers values
func (*BatchObjectsCreateUnauthorized) Code ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) Code() int
Code gets the status code for the batch objects create unauthorized response
func (*BatchObjectsCreateUnauthorized) Error ¶
func (o *BatchObjectsCreateUnauthorized) Error() string
func (*BatchObjectsCreateUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) IsClientError() bool
IsClientError returns true when this batch objects create unauthorized response has a 4xx status code
func (*BatchObjectsCreateUnauthorized) IsCode ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this batch objects create unauthorized response a status code equal to that given
func (*BatchObjectsCreateUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this batch objects create unauthorized response has a 3xx status code
func (*BatchObjectsCreateUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) IsServerError() bool
IsServerError returns true when this batch objects create unauthorized response has a 5xx status code
func (*BatchObjectsCreateUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this batch objects create unauthorized response has a 2xx status code
func (*BatchObjectsCreateUnauthorized) String ¶ added in v1.18.0
func (o *BatchObjectsCreateUnauthorized) String() string
type BatchObjectsCreateUnprocessableEntity ¶
type BatchObjectsCreateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BatchObjectsCreateUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewBatchObjectsCreateUnprocessableEntity ¶
func NewBatchObjectsCreateUnprocessableEntity() *BatchObjectsCreateUnprocessableEntity
NewBatchObjectsCreateUnprocessableEntity creates a BatchObjectsCreateUnprocessableEntity with default headers values
func (*BatchObjectsCreateUnprocessableEntity) Code ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) Code() int
Code gets the status code for the batch objects create unprocessable entity response
func (*BatchObjectsCreateUnprocessableEntity) Error ¶
func (o *BatchObjectsCreateUnprocessableEntity) Error() string
func (*BatchObjectsCreateUnprocessableEntity) GetPayload ¶
func (o *BatchObjectsCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BatchObjectsCreateUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this batch objects create unprocessable entity response has a 4xx status code
func (*BatchObjectsCreateUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this batch objects create unprocessable entity response a status code equal to that given
func (*BatchObjectsCreateUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this batch objects create unprocessable entity response has a 3xx status code
func (*BatchObjectsCreateUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this batch objects create unprocessable entity response has a 5xx status code
func (*BatchObjectsCreateUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this batch objects create unprocessable entity response has a 2xx status code
func (*BatchObjectsCreateUnprocessableEntity) String ¶ added in v1.18.0
func (o *BatchObjectsCreateUnprocessableEntity) String() string
type BatchObjectsDeleteBadRequest ¶ added in v1.18.0
type BatchObjectsDeleteBadRequest struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewBatchObjectsDeleteBadRequest ¶ added in v1.18.0
func NewBatchObjectsDeleteBadRequest() *BatchObjectsDeleteBadRequest
NewBatchObjectsDeleteBadRequest creates a BatchObjectsDeleteBadRequest with default headers values
func (*BatchObjectsDeleteBadRequest) Code ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) Code() int
Code gets the status code for the batch objects delete bad request response
func (*BatchObjectsDeleteBadRequest) Error ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) Error() string
func (*BatchObjectsDeleteBadRequest) GetPayload ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) GetPayload() *models.ErrorResponse
func (*BatchObjectsDeleteBadRequest) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this batch objects delete bad request response has a 4xx status code
func (*BatchObjectsDeleteBadRequest) IsCode ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this batch objects delete bad request response a status code equal to that given
func (*BatchObjectsDeleteBadRequest) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this batch objects delete bad request response has a 3xx status code
func (*BatchObjectsDeleteBadRequest) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this batch objects delete bad request response has a 5xx status code
func (*BatchObjectsDeleteBadRequest) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this batch objects delete bad request response has a 2xx status code
func (*BatchObjectsDeleteBadRequest) String ¶ added in v1.18.0
func (o *BatchObjectsDeleteBadRequest) String() string
type BatchObjectsDeleteForbidden ¶
type BatchObjectsDeleteForbidden struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBatchObjectsDeleteForbidden ¶
func NewBatchObjectsDeleteForbidden() *BatchObjectsDeleteForbidden
NewBatchObjectsDeleteForbidden creates a BatchObjectsDeleteForbidden with default headers values
func (*BatchObjectsDeleteForbidden) Code ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) Code() int
Code gets the status code for the batch objects delete forbidden response
func (*BatchObjectsDeleteForbidden) Error ¶
func (o *BatchObjectsDeleteForbidden) Error() string
func (*BatchObjectsDeleteForbidden) GetPayload ¶
func (o *BatchObjectsDeleteForbidden) GetPayload() *models.ErrorResponse
func (*BatchObjectsDeleteForbidden) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) IsClientError() bool
IsClientError returns true when this batch objects delete forbidden response has a 4xx status code
func (*BatchObjectsDeleteForbidden) IsCode ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this batch objects delete forbidden response a status code equal to that given
func (*BatchObjectsDeleteForbidden) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this batch objects delete forbidden response has a 3xx status code
func (*BatchObjectsDeleteForbidden) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) IsServerError() bool
IsServerError returns true when this batch objects delete forbidden response has a 5xx status code
func (*BatchObjectsDeleteForbidden) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this batch objects delete forbidden response has a 2xx status code
func (*BatchObjectsDeleteForbidden) String ¶ added in v1.18.0
func (o *BatchObjectsDeleteForbidden) String() string
type BatchObjectsDeleteInternalServerError ¶
type BatchObjectsDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBatchObjectsDeleteInternalServerError ¶
func NewBatchObjectsDeleteInternalServerError() *BatchObjectsDeleteInternalServerError
NewBatchObjectsDeleteInternalServerError creates a BatchObjectsDeleteInternalServerError with default headers values
func (*BatchObjectsDeleteInternalServerError) Code ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) Code() int
Code gets the status code for the batch objects delete internal server error response
func (*BatchObjectsDeleteInternalServerError) Error ¶
func (o *BatchObjectsDeleteInternalServerError) Error() string
func (*BatchObjectsDeleteInternalServerError) GetPayload ¶
func (o *BatchObjectsDeleteInternalServerError) GetPayload() *models.ErrorResponse
func (*BatchObjectsDeleteInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this batch objects delete internal server error response has a 4xx status code
func (*BatchObjectsDeleteInternalServerError) IsCode ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this batch objects delete internal server error response a status code equal to that given
func (*BatchObjectsDeleteInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this batch objects delete internal server error response has a 3xx status code
func (*BatchObjectsDeleteInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this batch objects delete internal server error response has a 5xx status code
func (*BatchObjectsDeleteInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this batch objects delete internal server error response has a 2xx status code
func (*BatchObjectsDeleteInternalServerError) String ¶ added in v1.18.0
func (o *BatchObjectsDeleteInternalServerError) String() string
type BatchObjectsDeleteOK ¶
type BatchObjectsDeleteOK struct {
Payload *models.BatchDeleteResponse
}
BatchObjectsDeleteOK describes a response with status code 200, with default header values.
Request succeeded, see response body to get detailed information about each batched item.
func NewBatchObjectsDeleteOK ¶
func NewBatchObjectsDeleteOK() *BatchObjectsDeleteOK
NewBatchObjectsDeleteOK creates a BatchObjectsDeleteOK with default headers values
func (*BatchObjectsDeleteOK) Code ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) Code() int
Code gets the status code for the batch objects delete o k response
func (*BatchObjectsDeleteOK) Error ¶
func (o *BatchObjectsDeleteOK) Error() string
func (*BatchObjectsDeleteOK) GetPayload ¶
func (o *BatchObjectsDeleteOK) GetPayload() *models.BatchDeleteResponse
func (*BatchObjectsDeleteOK) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) IsClientError() bool
IsClientError returns true when this batch objects delete o k response has a 4xx status code
func (*BatchObjectsDeleteOK) IsCode ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) IsCode(code int) bool
IsCode returns true when this batch objects delete o k response a status code equal to that given
func (*BatchObjectsDeleteOK) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) IsRedirect() bool
IsRedirect returns true when this batch objects delete o k response has a 3xx status code
func (*BatchObjectsDeleteOK) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) IsServerError() bool
IsServerError returns true when this batch objects delete o k response has a 5xx status code
func (*BatchObjectsDeleteOK) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) IsSuccess() bool
IsSuccess returns true when this batch objects delete o k response has a 2xx status code
func (*BatchObjectsDeleteOK) String ¶ added in v1.18.0
func (o *BatchObjectsDeleteOK) String() string
type BatchObjectsDeleteParams ¶
type BatchObjectsDeleteParams struct { // Body. Body *models.BatchDelete /* ConsistencyLevel. Determines how many replicas must acknowledge a request before it is considered successful */ ConsistencyLevel *string /* Tenant. Specifies the tenant in a request targeting a multi-tenant class */ Tenant *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BatchObjectsDeleteParams contains all the parameters to send to the API endpoint
for the batch objects delete operation. Typically these are written to a http.Request.
func NewBatchObjectsDeleteParams ¶
func NewBatchObjectsDeleteParams() *BatchObjectsDeleteParams
NewBatchObjectsDeleteParams creates a new BatchObjectsDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBatchObjectsDeleteParamsWithContext ¶
func NewBatchObjectsDeleteParamsWithContext(ctx context.Context) *BatchObjectsDeleteParams
NewBatchObjectsDeleteParamsWithContext creates a new BatchObjectsDeleteParams object with the ability to set a context for a request.
func NewBatchObjectsDeleteParamsWithHTTPClient ¶
func NewBatchObjectsDeleteParamsWithHTTPClient(client *http.Client) *BatchObjectsDeleteParams
NewBatchObjectsDeleteParamsWithHTTPClient creates a new BatchObjectsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewBatchObjectsDeleteParamsWithTimeout ¶
func NewBatchObjectsDeleteParamsWithTimeout(timeout time.Duration) *BatchObjectsDeleteParams
NewBatchObjectsDeleteParamsWithTimeout creates a new BatchObjectsDeleteParams object with the ability to set a timeout on a request.
func (*BatchObjectsDeleteParams) SetBody ¶
func (o *BatchObjectsDeleteParams) SetBody(body *models.BatchDelete)
SetBody adds the body to the batch objects delete params
func (*BatchObjectsDeleteParams) SetConsistencyLevel ¶ added in v1.18.0
func (o *BatchObjectsDeleteParams) SetConsistencyLevel(consistencyLevel *string)
SetConsistencyLevel adds the consistencyLevel to the batch objects delete params
func (*BatchObjectsDeleteParams) SetContext ¶
func (o *BatchObjectsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the batch objects delete params
func (*BatchObjectsDeleteParams) SetDefaults ¶ added in v1.18.0
func (o *BatchObjectsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the batch objects delete params (not the query body).
All values with no default are reset to their zero value.
func (*BatchObjectsDeleteParams) SetHTTPClient ¶
func (o *BatchObjectsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the batch objects delete params
func (*BatchObjectsDeleteParams) SetTenant ¶ added in v1.20.0
func (o *BatchObjectsDeleteParams) SetTenant(tenant *string)
SetTenant adds the tenant to the batch objects delete params
func (*BatchObjectsDeleteParams) SetTimeout ¶
func (o *BatchObjectsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the batch objects delete params
func (*BatchObjectsDeleteParams) WithBody ¶
func (o *BatchObjectsDeleteParams) WithBody(body *models.BatchDelete) *BatchObjectsDeleteParams
WithBody adds the body to the batch objects delete params
func (*BatchObjectsDeleteParams) WithConsistencyLevel ¶ added in v1.18.0
func (o *BatchObjectsDeleteParams) WithConsistencyLevel(consistencyLevel *string) *BatchObjectsDeleteParams
WithConsistencyLevel adds the consistencyLevel to the batch objects delete params
func (*BatchObjectsDeleteParams) WithContext ¶
func (o *BatchObjectsDeleteParams) WithContext(ctx context.Context) *BatchObjectsDeleteParams
WithContext adds the context to the batch objects delete params
func (*BatchObjectsDeleteParams) WithDefaults ¶ added in v1.18.0
func (o *BatchObjectsDeleteParams) WithDefaults() *BatchObjectsDeleteParams
WithDefaults hydrates default values in the batch objects delete params (not the query body).
All values with no default are reset to their zero value.
func (*BatchObjectsDeleteParams) WithHTTPClient ¶
func (o *BatchObjectsDeleteParams) WithHTTPClient(client *http.Client) *BatchObjectsDeleteParams
WithHTTPClient adds the HTTPClient to the batch objects delete params
func (*BatchObjectsDeleteParams) WithTenant ¶ added in v1.20.0
func (o *BatchObjectsDeleteParams) WithTenant(tenant *string) *BatchObjectsDeleteParams
WithTenant adds the tenant to the batch objects delete params
func (*BatchObjectsDeleteParams) WithTimeout ¶
func (o *BatchObjectsDeleteParams) WithTimeout(timeout time.Duration) *BatchObjectsDeleteParams
WithTimeout adds the timeout to the batch objects delete params
func (*BatchObjectsDeleteParams) WriteToRequest ¶
func (o *BatchObjectsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BatchObjectsDeleteReader ¶
type BatchObjectsDeleteReader struct {
// contains filtered or unexported fields
}
BatchObjectsDeleteReader is a Reader for the BatchObjectsDelete structure.
func (*BatchObjectsDeleteReader) ReadResponse ¶
func (o *BatchObjectsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BatchObjectsDeleteUnauthorized ¶
type BatchObjectsDeleteUnauthorized struct { }
BatchObjectsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBatchObjectsDeleteUnauthorized ¶
func NewBatchObjectsDeleteUnauthorized() *BatchObjectsDeleteUnauthorized
NewBatchObjectsDeleteUnauthorized creates a BatchObjectsDeleteUnauthorized with default headers values
func (*BatchObjectsDeleteUnauthorized) Code ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) Code() int
Code gets the status code for the batch objects delete unauthorized response
func (*BatchObjectsDeleteUnauthorized) Error ¶
func (o *BatchObjectsDeleteUnauthorized) Error() string
func (*BatchObjectsDeleteUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this batch objects delete unauthorized response has a 4xx status code
func (*BatchObjectsDeleteUnauthorized) IsCode ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this batch objects delete unauthorized response a status code equal to that given
func (*BatchObjectsDeleteUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this batch objects delete unauthorized response has a 3xx status code
func (*BatchObjectsDeleteUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this batch objects delete unauthorized response has a 5xx status code
func (*BatchObjectsDeleteUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this batch objects delete unauthorized response has a 2xx status code
func (*BatchObjectsDeleteUnauthorized) String ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnauthorized) String() string
type BatchObjectsDeleteUnprocessableEntity ¶
type BatchObjectsDeleteUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewBatchObjectsDeleteUnprocessableEntity ¶
func NewBatchObjectsDeleteUnprocessableEntity() *BatchObjectsDeleteUnprocessableEntity
NewBatchObjectsDeleteUnprocessableEntity creates a BatchObjectsDeleteUnprocessableEntity with default headers values
func (*BatchObjectsDeleteUnprocessableEntity) Code ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) Code() int
Code gets the status code for the batch objects delete unprocessable entity response
func (*BatchObjectsDeleteUnprocessableEntity) Error ¶
func (o *BatchObjectsDeleteUnprocessableEntity) Error() string
func (*BatchObjectsDeleteUnprocessableEntity) GetPayload ¶
func (o *BatchObjectsDeleteUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BatchObjectsDeleteUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) IsClientError() bool
IsClientError returns true when this batch objects delete unprocessable entity response has a 4xx status code
func (*BatchObjectsDeleteUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this batch objects delete unprocessable entity response a status code equal to that given
func (*BatchObjectsDeleteUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this batch objects delete unprocessable entity response has a 3xx status code
func (*BatchObjectsDeleteUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) IsServerError() bool
IsServerError returns true when this batch objects delete unprocessable entity response has a 5xx status code
func (*BatchObjectsDeleteUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this batch objects delete unprocessable entity response has a 2xx status code
func (*BatchObjectsDeleteUnprocessableEntity) String ¶ added in v1.18.0
func (o *BatchObjectsDeleteUnprocessableEntity) String() string
type BatchReferencesCreateBadRequest ¶ added in v1.18.0
type BatchReferencesCreateBadRequest struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateBadRequest describes a response with status code 400, with default header values.
Malformed request.
func NewBatchReferencesCreateBadRequest ¶ added in v1.18.0
func NewBatchReferencesCreateBadRequest() *BatchReferencesCreateBadRequest
NewBatchReferencesCreateBadRequest creates a BatchReferencesCreateBadRequest with default headers values
func (*BatchReferencesCreateBadRequest) Code ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) Code() int
Code gets the status code for the batch references create bad request response
func (*BatchReferencesCreateBadRequest) Error ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) Error() string
func (*BatchReferencesCreateBadRequest) GetPayload ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) GetPayload() *models.ErrorResponse
func (*BatchReferencesCreateBadRequest) IsClientError ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) IsClientError() bool
IsClientError returns true when this batch references create bad request response has a 4xx status code
func (*BatchReferencesCreateBadRequest) IsCode ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) IsCode(code int) bool
IsCode returns true when this batch references create bad request response a status code equal to that given
func (*BatchReferencesCreateBadRequest) IsRedirect ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this batch references create bad request response has a 3xx status code
func (*BatchReferencesCreateBadRequest) IsServerError ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) IsServerError() bool
IsServerError returns true when this batch references create bad request response has a 5xx status code
func (*BatchReferencesCreateBadRequest) IsSuccess ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this batch references create bad request response has a 2xx status code
func (*BatchReferencesCreateBadRequest) String ¶ added in v1.18.0
func (o *BatchReferencesCreateBadRequest) String() string
type BatchReferencesCreateForbidden ¶
type BatchReferencesCreateForbidden struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBatchReferencesCreateForbidden ¶
func NewBatchReferencesCreateForbidden() *BatchReferencesCreateForbidden
NewBatchReferencesCreateForbidden creates a BatchReferencesCreateForbidden with default headers values
func (*BatchReferencesCreateForbidden) Code ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) Code() int
Code gets the status code for the batch references create forbidden response
func (*BatchReferencesCreateForbidden) Error ¶
func (o *BatchReferencesCreateForbidden) Error() string
func (*BatchReferencesCreateForbidden) GetPayload ¶
func (o *BatchReferencesCreateForbidden) GetPayload() *models.ErrorResponse
func (*BatchReferencesCreateForbidden) IsClientError ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) IsClientError() bool
IsClientError returns true when this batch references create forbidden response has a 4xx status code
func (*BatchReferencesCreateForbidden) IsCode ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) IsCode(code int) bool
IsCode returns true when this batch references create forbidden response a status code equal to that given
func (*BatchReferencesCreateForbidden) IsRedirect ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) IsRedirect() bool
IsRedirect returns true when this batch references create forbidden response has a 3xx status code
func (*BatchReferencesCreateForbidden) IsServerError ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) IsServerError() bool
IsServerError returns true when this batch references create forbidden response has a 5xx status code
func (*BatchReferencesCreateForbidden) IsSuccess ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) IsSuccess() bool
IsSuccess returns true when this batch references create forbidden response has a 2xx status code
func (*BatchReferencesCreateForbidden) String ¶ added in v1.18.0
func (o *BatchReferencesCreateForbidden) String() string
type BatchReferencesCreateInternalServerError ¶
type BatchReferencesCreateInternalServerError struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateInternalServerError describes a response with status code 500, with default header values.
An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
func NewBatchReferencesCreateInternalServerError ¶
func NewBatchReferencesCreateInternalServerError() *BatchReferencesCreateInternalServerError
NewBatchReferencesCreateInternalServerError creates a BatchReferencesCreateInternalServerError with default headers values
func (*BatchReferencesCreateInternalServerError) Code ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) Code() int
Code gets the status code for the batch references create internal server error response
func (*BatchReferencesCreateInternalServerError) Error ¶
func (o *BatchReferencesCreateInternalServerError) Error() string
func (*BatchReferencesCreateInternalServerError) GetPayload ¶
func (o *BatchReferencesCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*BatchReferencesCreateInternalServerError) IsClientError ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) IsClientError() bool
IsClientError returns true when this batch references create internal server error response has a 4xx status code
func (*BatchReferencesCreateInternalServerError) IsCode ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this batch references create internal server error response a status code equal to that given
func (*BatchReferencesCreateInternalServerError) IsRedirect ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this batch references create internal server error response has a 3xx status code
func (*BatchReferencesCreateInternalServerError) IsServerError ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) IsServerError() bool
IsServerError returns true when this batch references create internal server error response has a 5xx status code
func (*BatchReferencesCreateInternalServerError) IsSuccess ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this batch references create internal server error response has a 2xx status code
func (*BatchReferencesCreateInternalServerError) String ¶ added in v1.18.0
func (o *BatchReferencesCreateInternalServerError) String() string
type BatchReferencesCreateOK ¶
type BatchReferencesCreateOK struct {
Payload []*models.BatchReferenceResponse
}
BatchReferencesCreateOK describes a response with status code 200, with default header values.
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.
func NewBatchReferencesCreateOK ¶
func NewBatchReferencesCreateOK() *BatchReferencesCreateOK
NewBatchReferencesCreateOK creates a BatchReferencesCreateOK with default headers values
func (*BatchReferencesCreateOK) Code ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) Code() int
Code gets the status code for the batch references create o k response
func (*BatchReferencesCreateOK) Error ¶
func (o *BatchReferencesCreateOK) Error() string
func (*BatchReferencesCreateOK) GetPayload ¶
func (o *BatchReferencesCreateOK) GetPayload() []*models.BatchReferenceResponse
func (*BatchReferencesCreateOK) IsClientError ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) IsClientError() bool
IsClientError returns true when this batch references create o k response has a 4xx status code
func (*BatchReferencesCreateOK) IsCode ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) IsCode(code int) bool
IsCode returns true when this batch references create o k response a status code equal to that given
func (*BatchReferencesCreateOK) IsRedirect ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) IsRedirect() bool
IsRedirect returns true when this batch references create o k response has a 3xx status code
func (*BatchReferencesCreateOK) IsServerError ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) IsServerError() bool
IsServerError returns true when this batch references create o k response has a 5xx status code
func (*BatchReferencesCreateOK) IsSuccess ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) IsSuccess() bool
IsSuccess returns true when this batch references create o k response has a 2xx status code
func (*BatchReferencesCreateOK) String ¶ added in v1.18.0
func (o *BatchReferencesCreateOK) String() string
type BatchReferencesCreateParams ¶
type BatchReferencesCreateParams struct { /* Body. 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 */ Body []*models.BatchReference /* ConsistencyLevel. Determines how many replicas must acknowledge a request before it is considered successful */ ConsistencyLevel *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BatchReferencesCreateParams contains all the parameters to send to the API endpoint
for the batch references create operation. Typically these are written to a http.Request.
func NewBatchReferencesCreateParams ¶
func NewBatchReferencesCreateParams() *BatchReferencesCreateParams
NewBatchReferencesCreateParams creates a new BatchReferencesCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBatchReferencesCreateParamsWithContext ¶
func NewBatchReferencesCreateParamsWithContext(ctx context.Context) *BatchReferencesCreateParams
NewBatchReferencesCreateParamsWithContext creates a new BatchReferencesCreateParams object with the ability to set a context for a request.
func NewBatchReferencesCreateParamsWithHTTPClient ¶
func NewBatchReferencesCreateParamsWithHTTPClient(client *http.Client) *BatchReferencesCreateParams
NewBatchReferencesCreateParamsWithHTTPClient creates a new BatchReferencesCreateParams object with the ability to set a custom HTTPClient for a request.
func NewBatchReferencesCreateParamsWithTimeout ¶
func NewBatchReferencesCreateParamsWithTimeout(timeout time.Duration) *BatchReferencesCreateParams
NewBatchReferencesCreateParamsWithTimeout creates a new BatchReferencesCreateParams object with the ability to set a timeout on a request.
func (*BatchReferencesCreateParams) SetBody ¶
func (o *BatchReferencesCreateParams) SetBody(body []*models.BatchReference)
SetBody adds the body to the batch references create params
func (*BatchReferencesCreateParams) SetConsistencyLevel ¶ added in v1.18.0
func (o *BatchReferencesCreateParams) SetConsistencyLevel(consistencyLevel *string)
SetConsistencyLevel adds the consistencyLevel to the batch references create params
func (*BatchReferencesCreateParams) SetContext ¶
func (o *BatchReferencesCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the batch references create params
func (*BatchReferencesCreateParams) SetDefaults ¶ added in v1.18.0
func (o *BatchReferencesCreateParams) SetDefaults()
SetDefaults hydrates default values in the batch references create params (not the query body).
All values with no default are reset to their zero value.
func (*BatchReferencesCreateParams) SetHTTPClient ¶
func (o *BatchReferencesCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the batch references create params
func (*BatchReferencesCreateParams) SetTimeout ¶
func (o *BatchReferencesCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the batch references create params
func (*BatchReferencesCreateParams) WithBody ¶
func (o *BatchReferencesCreateParams) WithBody(body []*models.BatchReference) *BatchReferencesCreateParams
WithBody adds the body to the batch references create params
func (*BatchReferencesCreateParams) WithConsistencyLevel ¶ added in v1.18.0
func (o *BatchReferencesCreateParams) WithConsistencyLevel(consistencyLevel *string) *BatchReferencesCreateParams
WithConsistencyLevel adds the consistencyLevel to the batch references create params
func (*BatchReferencesCreateParams) WithContext ¶
func (o *BatchReferencesCreateParams) WithContext(ctx context.Context) *BatchReferencesCreateParams
WithContext adds the context to the batch references create params
func (*BatchReferencesCreateParams) WithDefaults ¶ added in v1.18.0
func (o *BatchReferencesCreateParams) WithDefaults() *BatchReferencesCreateParams
WithDefaults hydrates default values in the batch references create params (not the query body).
All values with no default are reset to their zero value.
func (*BatchReferencesCreateParams) WithHTTPClient ¶
func (o *BatchReferencesCreateParams) WithHTTPClient(client *http.Client) *BatchReferencesCreateParams
WithHTTPClient adds the HTTPClient to the batch references create params
func (*BatchReferencesCreateParams) WithTimeout ¶
func (o *BatchReferencesCreateParams) WithTimeout(timeout time.Duration) *BatchReferencesCreateParams
WithTimeout adds the timeout to the batch references create params
func (*BatchReferencesCreateParams) WriteToRequest ¶
func (o *BatchReferencesCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BatchReferencesCreateReader ¶
type BatchReferencesCreateReader struct {
// contains filtered or unexported fields
}
BatchReferencesCreateReader is a Reader for the BatchReferencesCreate structure.
func (*BatchReferencesCreateReader) ReadResponse ¶
func (o *BatchReferencesCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BatchReferencesCreateUnauthorized ¶
type BatchReferencesCreateUnauthorized struct { }
BatchReferencesCreateUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewBatchReferencesCreateUnauthorized ¶
func NewBatchReferencesCreateUnauthorized() *BatchReferencesCreateUnauthorized
NewBatchReferencesCreateUnauthorized creates a BatchReferencesCreateUnauthorized with default headers values
func (*BatchReferencesCreateUnauthorized) Code ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) Code() int
Code gets the status code for the batch references create unauthorized response
func (*BatchReferencesCreateUnauthorized) Error ¶
func (o *BatchReferencesCreateUnauthorized) Error() string
func (*BatchReferencesCreateUnauthorized) IsClientError ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) IsClientError() bool
IsClientError returns true when this batch references create unauthorized response has a 4xx status code
func (*BatchReferencesCreateUnauthorized) IsCode ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this batch references create unauthorized response a status code equal to that given
func (*BatchReferencesCreateUnauthorized) IsRedirect ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this batch references create unauthorized response has a 3xx status code
func (*BatchReferencesCreateUnauthorized) IsServerError ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) IsServerError() bool
IsServerError returns true when this batch references create unauthorized response has a 5xx status code
func (*BatchReferencesCreateUnauthorized) IsSuccess ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this batch references create unauthorized response has a 2xx status code
func (*BatchReferencesCreateUnauthorized) String ¶ added in v1.18.0
func (o *BatchReferencesCreateUnauthorized) String() string
type BatchReferencesCreateUnprocessableEntity ¶
type BatchReferencesCreateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateUnprocessableEntity describes a response with status code 422, with default header values.
Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?
func NewBatchReferencesCreateUnprocessableEntity ¶
func NewBatchReferencesCreateUnprocessableEntity() *BatchReferencesCreateUnprocessableEntity
NewBatchReferencesCreateUnprocessableEntity creates a BatchReferencesCreateUnprocessableEntity with default headers values
func (*BatchReferencesCreateUnprocessableEntity) Code ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) Code() int
Code gets the status code for the batch references create unprocessable entity response
func (*BatchReferencesCreateUnprocessableEntity) Error ¶
func (o *BatchReferencesCreateUnprocessableEntity) Error() string
func (*BatchReferencesCreateUnprocessableEntity) GetPayload ¶
func (o *BatchReferencesCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*BatchReferencesCreateUnprocessableEntity) IsClientError ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this batch references create unprocessable entity response has a 4xx status code
func (*BatchReferencesCreateUnprocessableEntity) IsCode ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this batch references create unprocessable entity response a status code equal to that given
func (*BatchReferencesCreateUnprocessableEntity) IsRedirect ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this batch references create unprocessable entity response has a 3xx status code
func (*BatchReferencesCreateUnprocessableEntity) IsServerError ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this batch references create unprocessable entity response has a 5xx status code
func (*BatchReferencesCreateUnprocessableEntity) IsSuccess ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this batch references create unprocessable entity response has a 2xx status code
func (*BatchReferencesCreateUnprocessableEntity) String ¶ added in v1.18.0
func (o *BatchReferencesCreateUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for batch API
func (*Client) BatchObjectsCreate ¶
func (a *Client) BatchObjectsCreate(params *BatchObjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchObjectsCreateOK, error)
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 (*Client) BatchObjectsDelete ¶
func (a *Client) BatchObjectsDelete(params *BatchObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchObjectsDeleteOK, error)
BatchObjectsDelete deletes objects based on a match filter as a batch
Delete Objects in bulk that match a certain filter.
func (*Client) BatchReferencesCreate ¶
func (a *Client) BatchReferencesCreate(params *BatchReferencesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchReferencesCreateOK, error)
BatchReferencesCreate creates new cross references between arbitrary classes in bulk
Register cross-references between any class items (objects or objects) in bulk.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BatchObjectsCreate(params *BatchObjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchObjectsCreateOK, error) BatchObjectsDelete(params *BatchObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchObjectsDeleteOK, error) BatchReferencesCreate(params *BatchReferencesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchReferencesCreateOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new batch API client.