Documentation
¶
Index ¶
- type BatchObjectsCreateBody
- type BatchObjectsCreateForbidden
- type BatchObjectsCreateInternalServerError
- type BatchObjectsCreateOK
- 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) SetContext(ctx context.Context)
- func (o *BatchObjectsCreateParams) SetHTTPClient(client *http.Client)
- func (o *BatchObjectsCreateParams) SetTimeout(timeout time.Duration)
- func (o *BatchObjectsCreateParams) WithBody(body BatchObjectsCreateBody) *BatchObjectsCreateParams
- func (o *BatchObjectsCreateParams) WithContext(ctx context.Context) *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
- type BatchObjectsCreateUnprocessableEntity
- type BatchObjectsDeleteForbidden
- type BatchObjectsDeleteInternalServerError
- type BatchObjectsDeleteOK
- 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) SetContext(ctx context.Context)
- func (o *BatchObjectsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *BatchObjectsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *BatchObjectsDeleteParams) WithBody(body *models.BatchDelete) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithContext(ctx context.Context) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithHTTPClient(client *http.Client) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WithTimeout(timeout time.Duration) *BatchObjectsDeleteParams
- func (o *BatchObjectsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchObjectsDeleteReader
- type BatchObjectsDeleteUnauthorized
- type BatchObjectsDeleteUnprocessableEntity
- type BatchReferencesCreateForbidden
- type BatchReferencesCreateInternalServerError
- type BatchReferencesCreateOK
- 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) SetContext(ctx context.Context)
- 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) WithContext(ctx context.Context) *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
- type BatchReferencesCreateUnprocessableEntity
- 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 ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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 handles this case with default header values.
Forbidden
func NewBatchObjectsCreateForbidden ¶
func NewBatchObjectsCreateForbidden() *BatchObjectsCreateForbidden
NewBatchObjectsCreateForbidden creates a BatchObjectsCreateForbidden with default headers values
func (*BatchObjectsCreateForbidden) Error ¶
func (o *BatchObjectsCreateForbidden) Error() string
func (*BatchObjectsCreateForbidden) GetPayload ¶
func (o *BatchObjectsCreateForbidden) GetPayload() *models.ErrorResponse
type BatchObjectsCreateInternalServerError ¶
type BatchObjectsCreateInternalServerError struct {
Payload *models.ErrorResponse
}
BatchObjectsCreateInternalServerError handles this case 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) Error ¶
func (o *BatchObjectsCreateInternalServerError) Error() string
func (*BatchObjectsCreateInternalServerError) GetPayload ¶
func (o *BatchObjectsCreateInternalServerError) GetPayload() *models.ErrorResponse
type BatchObjectsCreateOK ¶
type BatchObjectsCreateOK struct {
Payload []*models.ObjectsGetResponse
}
BatchObjectsCreateOK handles this case 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) Error ¶
func (o *BatchObjectsCreateOK) Error() string
func (*BatchObjectsCreateOK) GetPayload ¶
func (o *BatchObjectsCreateOK) GetPayload() []*models.ObjectsGetResponse
type BatchObjectsCreateParams ¶
type BatchObjectsCreateParams struct { /*Body*/ Body BatchObjectsCreateBody 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 values initialized.
func NewBatchObjectsCreateParamsWithContext ¶
func NewBatchObjectsCreateParamsWithContext(ctx context.Context) *BatchObjectsCreateParams
NewBatchObjectsCreateParamsWithContext creates a new BatchObjectsCreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetContext ¶
func (o *BatchObjectsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the batch objects create params
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) WithContext ¶
func (o *BatchObjectsCreateParams) WithContext(ctx context.Context) *BatchObjectsCreateParams
WithContext adds the context to the batch objects create params
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 handles this case with default header values.
Unauthorized or invalid credentials.
func NewBatchObjectsCreateUnauthorized ¶
func NewBatchObjectsCreateUnauthorized() *BatchObjectsCreateUnauthorized
NewBatchObjectsCreateUnauthorized creates a BatchObjectsCreateUnauthorized with default headers values
func (*BatchObjectsCreateUnauthorized) Error ¶
func (o *BatchObjectsCreateUnauthorized) Error() string
type BatchObjectsCreateUnprocessableEntity ¶
type BatchObjectsCreateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BatchObjectsCreateUnprocessableEntity handles this case 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) Error ¶
func (o *BatchObjectsCreateUnprocessableEntity) Error() string
func (*BatchObjectsCreateUnprocessableEntity) GetPayload ¶
func (o *BatchObjectsCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
type BatchObjectsDeleteForbidden ¶
type BatchObjectsDeleteForbidden struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteForbidden handles this case with default header values.
Forbidden
func NewBatchObjectsDeleteForbidden ¶
func NewBatchObjectsDeleteForbidden() *BatchObjectsDeleteForbidden
NewBatchObjectsDeleteForbidden creates a BatchObjectsDeleteForbidden with default headers values
func (*BatchObjectsDeleteForbidden) Error ¶
func (o *BatchObjectsDeleteForbidden) Error() string
func (*BatchObjectsDeleteForbidden) GetPayload ¶
func (o *BatchObjectsDeleteForbidden) GetPayload() *models.ErrorResponse
type BatchObjectsDeleteInternalServerError ¶
type BatchObjectsDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteInternalServerError handles this case 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) Error ¶
func (o *BatchObjectsDeleteInternalServerError) Error() string
func (*BatchObjectsDeleteInternalServerError) GetPayload ¶
func (o *BatchObjectsDeleteInternalServerError) GetPayload() *models.ErrorResponse
type BatchObjectsDeleteOK ¶
type BatchObjectsDeleteOK struct {
Payload *models.BatchDeleteResponse
}
BatchObjectsDeleteOK handles this case 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) Error ¶
func (o *BatchObjectsDeleteOK) Error() string
func (*BatchObjectsDeleteOK) GetPayload ¶
func (o *BatchObjectsDeleteOK) GetPayload() *models.BatchDeleteResponse
type BatchObjectsDeleteParams ¶
type BatchObjectsDeleteParams struct { /*Body*/ Body *models.BatchDelete 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 values initialized.
func NewBatchObjectsDeleteParamsWithContext ¶
func NewBatchObjectsDeleteParamsWithContext(ctx context.Context) *BatchObjectsDeleteParams
NewBatchObjectsDeleteParamsWithContext creates a new BatchObjectsDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetContext ¶
func (o *BatchObjectsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the batch objects delete params
func (*BatchObjectsDeleteParams) SetHTTPClient ¶
func (o *BatchObjectsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithContext ¶
func (o *BatchObjectsDeleteParams) WithContext(ctx context.Context) *BatchObjectsDeleteParams
WithContext adds the context to the batch objects delete params
func (*BatchObjectsDeleteParams) WithHTTPClient ¶
func (o *BatchObjectsDeleteParams) WithHTTPClient(client *http.Client) *BatchObjectsDeleteParams
WithHTTPClient adds the HTTPClient 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 handles this case with default header values.
Unauthorized or invalid credentials.
func NewBatchObjectsDeleteUnauthorized ¶
func NewBatchObjectsDeleteUnauthorized() *BatchObjectsDeleteUnauthorized
NewBatchObjectsDeleteUnauthorized creates a BatchObjectsDeleteUnauthorized with default headers values
func (*BatchObjectsDeleteUnauthorized) Error ¶
func (o *BatchObjectsDeleteUnauthorized) Error() string
type BatchObjectsDeleteUnprocessableEntity ¶
type BatchObjectsDeleteUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BatchObjectsDeleteUnprocessableEntity handles this case 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) Error ¶
func (o *BatchObjectsDeleteUnprocessableEntity) Error() string
func (*BatchObjectsDeleteUnprocessableEntity) GetPayload ¶
func (o *BatchObjectsDeleteUnprocessableEntity) GetPayload() *models.ErrorResponse
type BatchReferencesCreateForbidden ¶
type BatchReferencesCreateForbidden struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateForbidden handles this case with default header values.
Forbidden
func NewBatchReferencesCreateForbidden ¶
func NewBatchReferencesCreateForbidden() *BatchReferencesCreateForbidden
NewBatchReferencesCreateForbidden creates a BatchReferencesCreateForbidden with default headers values
func (*BatchReferencesCreateForbidden) Error ¶
func (o *BatchReferencesCreateForbidden) Error() string
func (*BatchReferencesCreateForbidden) GetPayload ¶
func (o *BatchReferencesCreateForbidden) GetPayload() *models.ErrorResponse
type BatchReferencesCreateInternalServerError ¶
type BatchReferencesCreateInternalServerError struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateInternalServerError handles this case 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) Error ¶
func (o *BatchReferencesCreateInternalServerError) Error() string
func (*BatchReferencesCreateInternalServerError) GetPayload ¶
func (o *BatchReferencesCreateInternalServerError) GetPayload() *models.ErrorResponse
type BatchReferencesCreateOK ¶
type BatchReferencesCreateOK struct {
Payload []*models.BatchReferenceResponse
}
BatchReferencesCreateOK handles this case 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) Error ¶
func (o *BatchReferencesCreateOK) Error() string
func (*BatchReferencesCreateOK) GetPayload ¶
func (o *BatchReferencesCreateOK) GetPayload() []*models.BatchReferenceResponse
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 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 values initialized.
func NewBatchReferencesCreateParamsWithContext ¶
func NewBatchReferencesCreateParamsWithContext(ctx context.Context) *BatchReferencesCreateParams
NewBatchReferencesCreateParamsWithContext creates a new BatchReferencesCreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetContext ¶
func (o *BatchReferencesCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the batch references create params
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) WithContext ¶
func (o *BatchReferencesCreateParams) WithContext(ctx context.Context) *BatchReferencesCreateParams
WithContext adds the context to the batch references create params
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 handles this case with default header values.
Unauthorized or invalid credentials.
func NewBatchReferencesCreateUnauthorized ¶
func NewBatchReferencesCreateUnauthorized() *BatchReferencesCreateUnauthorized
NewBatchReferencesCreateUnauthorized creates a BatchReferencesCreateUnauthorized with default headers values
func (*BatchReferencesCreateUnauthorized) Error ¶
func (o *BatchReferencesCreateUnauthorized) Error() string
type BatchReferencesCreateUnprocessableEntity ¶
type BatchReferencesCreateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
BatchReferencesCreateUnprocessableEntity handles this case 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) Error ¶
func (o *BatchReferencesCreateUnprocessableEntity) Error() string
func (*BatchReferencesCreateUnprocessableEntity) GetPayload ¶
func (o *BatchReferencesCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
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) (*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) (*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) (*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 ClientService ¶
type ClientService interface { BatchObjectsCreate(params *BatchObjectsCreateParams, authInfo runtime.ClientAuthInfoWriter) (*BatchObjectsCreateOK, error) BatchObjectsDelete(params *BatchObjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*BatchObjectsDeleteOK, error) BatchReferencesCreate(params *BatchReferencesCreateParams, authInfo runtime.ClientAuthInfoWriter) (*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.