batch

package
v1.27.3 Latest Latest
Warning

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

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

Documentation

Index

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

Code gets the status code for the batch objects create bad request response

func (*BatchObjectsCreateBadRequest) Error added in v1.18.0

func (*BatchObjectsCreateBadRequest) GetPayload added in v1.18.0

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

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

func (*BatchObjectsCreateBody) Validate

func (o *BatchObjectsCreateBody) Validate(formats strfmt.Registry) error

Validate validates this batch objects create body

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 (*BatchObjectsCreateForbidden) GetPayload

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

Code gets the status code for the batch objects create internal server error response

func (*BatchObjectsCreateInternalServerError) Error

func (*BatchObjectsCreateInternalServerError) GetPayload

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

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

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

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

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

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

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

WithContext adds the context to the batch objects create params

func (*BatchObjectsCreateParams) WithDefaults added in v1.18.0

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

WithTimeout adds the timeout to the batch objects create params

func (*BatchObjectsCreateParams) WriteToRequest

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

Code gets the status code for the batch objects create unauthorized response

func (*BatchObjectsCreateUnauthorized) Error

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

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

Code gets the status code for the batch objects create unprocessable entity response

func (*BatchObjectsCreateUnprocessableEntity) Error

func (*BatchObjectsCreateUnprocessableEntity) GetPayload

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

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

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

IsSuccess returns true when this batch objects create unprocessable entity response has a 2xx status code

func (*BatchObjectsCreateUnprocessableEntity) String added in v1.18.0

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

Code gets the status code for the batch objects delete bad request response

func (*BatchObjectsDeleteBadRequest) Error added in v1.18.0

func (*BatchObjectsDeleteBadRequest) GetPayload added in v1.18.0

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

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 (*BatchObjectsDeleteForbidden) GetPayload

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

Code gets the status code for the batch objects delete internal server error response

func (*BatchObjectsDeleteInternalServerError) Error

func (*BatchObjectsDeleteInternalServerError) GetPayload

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

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

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

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

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 (*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

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

WithContext adds the context to the batch objects delete params

func (*BatchObjectsDeleteParams) WithDefaults added in v1.18.0

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

WithTenant adds the tenant to the batch objects delete params

func (*BatchObjectsDeleteParams) WithTimeout

WithTimeout adds the timeout to the batch objects delete params

func (*BatchObjectsDeleteParams) WriteToRequest

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

Code gets the status code for the batch objects delete unauthorized response

func (*BatchObjectsDeleteUnauthorized) Error

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

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

Code gets the status code for the batch objects delete unprocessable entity response

func (*BatchObjectsDeleteUnprocessableEntity) Error

func (*BatchObjectsDeleteUnprocessableEntity) GetPayload

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

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

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

IsSuccess returns true when this batch objects delete unprocessable entity response has a 2xx status code

func (*BatchObjectsDeleteUnprocessableEntity) String added in v1.18.0

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

Code gets the status code for the batch references create bad request response

func (*BatchReferencesCreateBadRequest) Error added in v1.18.0

func (*BatchReferencesCreateBadRequest) GetPayload added in v1.18.0

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

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

Code gets the status code for the batch references create forbidden response

func (*BatchReferencesCreateForbidden) Error

func (*BatchReferencesCreateForbidden) GetPayload

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

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

Code gets the status code for the batch references create internal server error response

func (*BatchReferencesCreateInternalServerError) Error

func (*BatchReferencesCreateInternalServerError) GetPayload

func (*BatchReferencesCreateInternalServerError) IsClientError added in v1.18.0

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

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

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

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

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

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 (*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

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

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

WithContext adds the context to the batch references create params

func (*BatchReferencesCreateParams) WithDefaults added in v1.18.0

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

WithHTTPClient adds the HTTPClient to the batch references create params

func (*BatchReferencesCreateParams) WithTimeout

WithTimeout adds the timeout to the batch references create params

func (*BatchReferencesCreateParams) WriteToRequest

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

Code gets the status code for the batch references create unauthorized response

func (*BatchReferencesCreateUnauthorized) Error

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

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

Code gets the status code for the batch references create unprocessable entity response

func (*BatchReferencesCreateUnprocessableEntity) Error

func (*BatchReferencesCreateUnprocessableEntity) GetPayload

func (*BatchReferencesCreateUnprocessableEntity) IsClientError added in v1.18.0

IsClientError returns true when this batch references create unprocessable entity response has a 4xx status code

func (*BatchReferencesCreateUnprocessableEntity) IsCode added in v1.18.0

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

IsRedirect returns true when this batch references create unprocessable entity response has a 3xx status code

func (*BatchReferencesCreateUnprocessableEntity) IsServerError added in v1.18.0

IsServerError returns true when this batch references create unprocessable entity response has a 5xx status code

func (*BatchReferencesCreateUnprocessableEntity) IsSuccess added in v1.18.0

IsSuccess returns true when this batch references create unprocessable entity response has a 2xx status code

func (*BatchReferencesCreateUnprocessableEntity) String added in v1.18.0

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

Create new objects in bulk. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: idempotence of `/batch/objects`**: <br/>`POST /batch/objects` is idempotent, and will overwrite any existing object given the same id.

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

Batch delete objects that match a particular filter. <br/><br/>The request body takes a single `where` filter and will delete all objects matched. <br/><br/>Note that there is a limit to the number of objects to be deleted at once using this filter, in order to protect against unexpected memory surges and very-long-running requests. The default limit is 10,000 and may be configured by setting the `QUERY_MAXIMUM_RESULTS` environment variable. <br/><br/>Objects are deleted in the same order that they would be returned in an equivalent Get query. To delete more objects than the limit, run the same query multiple times.

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

Batch create cross-references between collections 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.

Jump to

Keyboard shortcuts

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