custom_storage

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for custom storage API

func (*Client) Delete

func (a *Client) Delete(params *DeleteParams, opts ...ClientOption) (*DeleteOK, error)

Delete deletes the specified object

func (*Client) DeleteVersionedObject added in v0.9.0

func (a *Client) DeleteVersionedObject(params *DeleteVersionedObjectParams, opts ...ClientOption) (*DeleteVersionedObjectOK, error)

DeleteVersionedObject deletes the specified versioned object

func (*Client) Get

func (a *Client) Get(params *GetParams, writer io.Writer, opts ...ClientOption) (*GetOK, error)

Get gets the bytes for the specified object

func (*Client) GetVersionedObject added in v0.9.0

func (a *Client) GetVersionedObject(params *GetVersionedObjectParams, writer io.Writer, opts ...ClientOption) (*GetVersionedObjectOK, error)

GetVersionedObject gets the bytes for the specified object

func (*Client) GetVersionedObjectMetadata added in v0.9.0

func (a *Client) GetVersionedObjectMetadata(params *GetVersionedObjectMetadataParams, opts ...ClientOption) (*GetVersionedObjectMetadataOK, error)

GetVersionedObjectMetadata gets the metadata for the specified object

func (*Client) List

func (a *Client) List(params *ListParams, opts ...ClientOption) (*ListOK, error)

List lists the object keys in the specified collection in alphabetical order

func (*Client) ListObjectsByVersion added in v0.9.0

func (a *Client) ListObjectsByVersion(params *ListObjectsByVersionParams, opts ...ClientOption) (*ListObjectsByVersionOK, error)

ListObjectsByVersion lists the object keys in the specified collection in alphabetical order

func (*Client) Metadata

func (a *Client) Metadata(params *MetadataParams, opts ...ClientOption) (*MetadataOK, error)

Metadata gets the metadata for the specified object

func (*Client) PutObjectByVersion added in v0.9.0

func (a *Client) PutObjectByVersion(params *PutObjectByVersionParams, opts ...ClientOption) (*PutObjectByVersionOK, error)

PutObjectByVersion puts the specified new object at the given key or overwrite an existing object at the given key

func (*Client) Search

func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)

Search searches for objects that match the specified filter criteria returns metadata not actual objects

func (*Client) SearchObjectsByVersion added in v0.9.0

func (a *Client) SearchObjectsByVersion(params *SearchObjectsByVersionParams, opts ...ClientOption) (*SearchObjectsByVersionOK, error)

SearchObjectsByVersion searches for objects that match the specified filter criteria returns metadata not actual objects

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) Upload

func (a *Client) Upload(params *UploadParams, opts ...ClientOption) (*UploadOK, error)

Upload puts the specified new object at the given key or overwrite an existing object at the given key

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteVersionedObject(params *DeleteVersionedObjectParams, opts ...ClientOption) (*DeleteVersionedObjectOK, error)

	GetVersionedObject(params *GetVersionedObjectParams, writer io.Writer, opts ...ClientOption) (*GetVersionedObjectOK, error)

	GetVersionedObjectMetadata(params *GetVersionedObjectMetadataParams, opts ...ClientOption) (*GetVersionedObjectMetadataOK, error)

	ListObjectsByVersion(params *ListObjectsByVersionParams, opts ...ClientOption) (*ListObjectsByVersionOK, error)

	PutObjectByVersion(params *PutObjectByVersionParams, opts ...ClientOption) (*PutObjectByVersionOK, error)

	SearchObjectsByVersion(params *SearchObjectsByVersionParams, opts ...ClientOption) (*SearchObjectsByVersionOK, error)

	Delete(params *DeleteParams, opts ...ClientOption) (*DeleteOK, error)

	Get(params *GetParams, writer io.Writer, opts ...ClientOption) (*GetOK, error)

	List(params *ListParams, opts ...ClientOption) (*ListOK, error)

	Metadata(params *MetadataParams, opts ...ClientOption) (*MetadataOK, error)

	Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)

	Upload(params *UploadParams, opts ...ClientOption) (*UploadOK, 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 custom storage API client.

type DeleteForbidden

type DeleteForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteForbidden

func NewDeleteForbidden() *DeleteForbidden

NewDeleteForbidden creates a DeleteForbidden with default headers values

func (*DeleteForbidden) Code

func (o *DeleteForbidden) Code() int

Code gets the status code for the delete forbidden response

func (*DeleteForbidden) Error

func (o *DeleteForbidden) Error() string

func (*DeleteForbidden) GetPayload

func (o *DeleteForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*DeleteForbidden) IsClientError

func (o *DeleteForbidden) IsClientError() bool

IsClientError returns true when this delete forbidden response has a 4xx status code

func (*DeleteForbidden) IsCode

func (o *DeleteForbidden) IsCode(code int) bool

IsCode returns true when this delete forbidden response a status code equal to that given

func (*DeleteForbidden) IsRedirect

func (o *DeleteForbidden) IsRedirect() bool

IsRedirect returns true when this delete forbidden response has a 3xx status code

func (*DeleteForbidden) IsServerError

func (o *DeleteForbidden) IsServerError() bool

IsServerError returns true when this delete forbidden response has a 5xx status code

func (*DeleteForbidden) IsSuccess

func (o *DeleteForbidden) IsSuccess() bool

IsSuccess returns true when this delete forbidden response has a 2xx status code

func (*DeleteForbidden) String

func (o *DeleteForbidden) String() string

type DeleteInternalServerError added in v0.9.0

type DeleteInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewDeleteInternalServerError added in v0.9.0

func NewDeleteInternalServerError() *DeleteInternalServerError

NewDeleteInternalServerError creates a DeleteInternalServerError with default headers values

func (*DeleteInternalServerError) Code added in v0.9.0

func (o *DeleteInternalServerError) Code() int

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

func (*DeleteInternalServerError) Error added in v0.9.0

func (o *DeleteInternalServerError) Error() string

func (*DeleteInternalServerError) GetPayload added in v0.9.0

func (*DeleteInternalServerError) IsClientError added in v0.9.0

func (o *DeleteInternalServerError) IsClientError() bool

IsClientError returns true when this delete internal server error response has a 4xx status code

func (*DeleteInternalServerError) IsCode added in v0.9.0

func (o *DeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this delete internal server error response a status code equal to that given

func (*DeleteInternalServerError) IsRedirect added in v0.9.0

func (o *DeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete internal server error response has a 3xx status code

func (*DeleteInternalServerError) IsServerError added in v0.9.0

func (o *DeleteInternalServerError) IsServerError() bool

IsServerError returns true when this delete internal server error response has a 5xx status code

func (*DeleteInternalServerError) IsSuccess added in v0.9.0

func (o *DeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete internal server error response has a 2xx status code

func (*DeleteInternalServerError) String added in v0.9.0

func (o *DeleteInternalServerError) String() string

type DeleteOK

type DeleteOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

DeleteOK describes a response with status code 200, with default header values.

OK

func NewDeleteOK

func NewDeleteOK() *DeleteOK

NewDeleteOK creates a DeleteOK with default headers values

func (*DeleteOK) Code

func (o *DeleteOK) Code() int

Code gets the status code for the delete o k response

func (*DeleteOK) Error

func (o *DeleteOK) Error() string

func (*DeleteOK) GetPayload

func (o *DeleteOK) GetPayload() *models.CustomStorageResponse

func (*DeleteOK) IsClientError

func (o *DeleteOK) IsClientError() bool

IsClientError returns true when this delete o k response has a 4xx status code

func (*DeleteOK) IsCode

func (o *DeleteOK) IsCode(code int) bool

IsCode returns true when this delete o k response a status code equal to that given

func (*DeleteOK) IsRedirect

func (o *DeleteOK) IsRedirect() bool

IsRedirect returns true when this delete o k response has a 3xx status code

func (*DeleteOK) IsServerError

func (o *DeleteOK) IsServerError() bool

IsServerError returns true when this delete o k response has a 5xx status code

func (*DeleteOK) IsSuccess

func (o *DeleteOK) IsSuccess() bool

IsSuccess returns true when this delete o k response has a 2xx status code

func (*DeleteOK) String

func (o *DeleteOK) String() string

type DeleteParams

type DeleteParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* DryRun.

	   If false, run the operation as normal.  If true, validate that the request *would* succeed, but don't execute it.
	*/
	DryRun bool

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteParams contains all the parameters to send to the API endpoint

for the delete operation.

Typically these are written to a http.Request.

func NewDeleteParams

func NewDeleteParams() *DeleteParams

NewDeleteParams creates a new DeleteParams 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 NewDeleteParamsWithContext

func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams

NewDeleteParamsWithContext creates a new DeleteParams object with the ability to set a context for a request.

func NewDeleteParamsWithHTTPClient

func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams

NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteParamsWithTimeout

func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams

NewDeleteParamsWithTimeout creates a new DeleteParams object with the ability to set a timeout on a request.

func (*DeleteParams) SetCollectionName

func (o *DeleteParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the delete params

func (*DeleteParams) SetContext

func (o *DeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the delete params

func (*DeleteParams) SetDefaults

func (o *DeleteParams) SetDefaults()

SetDefaults hydrates default values in the delete params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteParams) SetDryRun

func (o *DeleteParams) SetDryRun(dryRun bool)

SetDryRun adds the dryRun to the delete params

func (*DeleteParams) SetHTTPClient

func (o *DeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) SetObjectKey

func (o *DeleteParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the delete params

func (*DeleteParams) SetTimeout

func (o *DeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete params

func (*DeleteParams) WithCollectionName

func (o *DeleteParams) WithCollectionName(collectionName string) *DeleteParams

WithCollectionName adds the collectionName to the delete params

func (*DeleteParams) WithContext

func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams

WithContext adds the context to the delete params

func (*DeleteParams) WithDefaults

func (o *DeleteParams) WithDefaults() *DeleteParams

WithDefaults hydrates default values in the delete params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteParams) WithDryRun

func (o *DeleteParams) WithDryRun(dryRun bool) *DeleteParams

WithDryRun adds the dryRun to the delete params

func (*DeleteParams) WithHTTPClient

func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams

WithHTTPClient adds the HTTPClient to the delete params

func (*DeleteParams) WithObjectKey

func (o *DeleteParams) WithObjectKey(objectKey string) *DeleteParams

WithObjectKey adds the objectKey to the delete params

func (*DeleteParams) WithTimeout

func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams

WithTimeout adds the timeout to the delete params

func (*DeleteParams) WriteToRequest

func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteReader

type DeleteReader struct {
	// contains filtered or unexported fields
}

DeleteReader is a Reader for the Delete structure.

func (*DeleteReader) ReadResponse

func (o *DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteTooManyRequests

type DeleteTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteTooManyRequests

func NewDeleteTooManyRequests() *DeleteTooManyRequests

NewDeleteTooManyRequests creates a DeleteTooManyRequests with default headers values

func (*DeleteTooManyRequests) Code

func (o *DeleteTooManyRequests) Code() int

Code gets the status code for the delete too many requests response

func (*DeleteTooManyRequests) Error

func (o *DeleteTooManyRequests) Error() string

func (*DeleteTooManyRequests) GetPayload

func (*DeleteTooManyRequests) IsClientError

func (o *DeleteTooManyRequests) IsClientError() bool

IsClientError returns true when this delete too many requests response has a 4xx status code

func (*DeleteTooManyRequests) IsCode

func (o *DeleteTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete too many requests response a status code equal to that given

func (*DeleteTooManyRequests) IsRedirect

func (o *DeleteTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete too many requests response has a 3xx status code

func (*DeleteTooManyRequests) IsServerError

func (o *DeleteTooManyRequests) IsServerError() bool

IsServerError returns true when this delete too many requests response has a 5xx status code

func (*DeleteTooManyRequests) IsSuccess

func (o *DeleteTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete too many requests response has a 2xx status code

func (*DeleteTooManyRequests) String

func (o *DeleteTooManyRequests) String() string

type DeleteVersionedObjectForbidden added in v0.9.0

type DeleteVersionedObjectForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteVersionedObjectForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteVersionedObjectForbidden added in v0.9.0

func NewDeleteVersionedObjectForbidden() *DeleteVersionedObjectForbidden

NewDeleteVersionedObjectForbidden creates a DeleteVersionedObjectForbidden with default headers values

func (*DeleteVersionedObjectForbidden) Code added in v0.9.0

Code gets the status code for the delete versioned object forbidden response

func (*DeleteVersionedObjectForbidden) Error added in v0.9.0

func (*DeleteVersionedObjectForbidden) GetPayload added in v0.9.0

func (*DeleteVersionedObjectForbidden) IsClientError added in v0.9.0

func (o *DeleteVersionedObjectForbidden) IsClientError() bool

IsClientError returns true when this delete versioned object forbidden response has a 4xx status code

func (*DeleteVersionedObjectForbidden) IsCode added in v0.9.0

func (o *DeleteVersionedObjectForbidden) IsCode(code int) bool

IsCode returns true when this delete versioned object forbidden response a status code equal to that given

func (*DeleteVersionedObjectForbidden) IsRedirect added in v0.9.0

func (o *DeleteVersionedObjectForbidden) IsRedirect() bool

IsRedirect returns true when this delete versioned object forbidden response has a 3xx status code

func (*DeleteVersionedObjectForbidden) IsServerError added in v0.9.0

func (o *DeleteVersionedObjectForbidden) IsServerError() bool

IsServerError returns true when this delete versioned object forbidden response has a 5xx status code

func (*DeleteVersionedObjectForbidden) IsSuccess added in v0.9.0

func (o *DeleteVersionedObjectForbidden) IsSuccess() bool

IsSuccess returns true when this delete versioned object forbidden response has a 2xx status code

func (*DeleteVersionedObjectForbidden) String added in v0.9.0

type DeleteVersionedObjectInternalServerError added in v0.9.0

type DeleteVersionedObjectInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteVersionedObjectInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewDeleteVersionedObjectInternalServerError added in v0.9.0

func NewDeleteVersionedObjectInternalServerError() *DeleteVersionedObjectInternalServerError

NewDeleteVersionedObjectInternalServerError creates a DeleteVersionedObjectInternalServerError with default headers values

func (*DeleteVersionedObjectInternalServerError) Code added in v0.9.0

Code gets the status code for the delete versioned object internal server error response

func (*DeleteVersionedObjectInternalServerError) Error added in v0.9.0

func (*DeleteVersionedObjectInternalServerError) GetPayload added in v0.9.0

func (*DeleteVersionedObjectInternalServerError) IsClientError added in v0.9.0

IsClientError returns true when this delete versioned object internal server error response has a 4xx status code

func (*DeleteVersionedObjectInternalServerError) IsCode added in v0.9.0

IsCode returns true when this delete versioned object internal server error response a status code equal to that given

func (*DeleteVersionedObjectInternalServerError) IsRedirect added in v0.9.0

IsRedirect returns true when this delete versioned object internal server error response has a 3xx status code

func (*DeleteVersionedObjectInternalServerError) IsServerError added in v0.9.0

IsServerError returns true when this delete versioned object internal server error response has a 5xx status code

func (*DeleteVersionedObjectInternalServerError) IsSuccess added in v0.9.0

IsSuccess returns true when this delete versioned object internal server error response has a 2xx status code

func (*DeleteVersionedObjectInternalServerError) String added in v0.9.0

type DeleteVersionedObjectOK added in v0.9.0

type DeleteVersionedObjectOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

DeleteVersionedObjectOK describes a response with status code 200, with default header values.

OK

func NewDeleteVersionedObjectOK added in v0.9.0

func NewDeleteVersionedObjectOK() *DeleteVersionedObjectOK

NewDeleteVersionedObjectOK creates a DeleteVersionedObjectOK with default headers values

func (*DeleteVersionedObjectOK) Code added in v0.9.0

func (o *DeleteVersionedObjectOK) Code() int

Code gets the status code for the delete versioned object o k response

func (*DeleteVersionedObjectOK) Error added in v0.9.0

func (o *DeleteVersionedObjectOK) Error() string

func (*DeleteVersionedObjectOK) GetPayload added in v0.9.0

func (*DeleteVersionedObjectOK) IsClientError added in v0.9.0

func (o *DeleteVersionedObjectOK) IsClientError() bool

IsClientError returns true when this delete versioned object o k response has a 4xx status code

func (*DeleteVersionedObjectOK) IsCode added in v0.9.0

func (o *DeleteVersionedObjectOK) IsCode(code int) bool

IsCode returns true when this delete versioned object o k response a status code equal to that given

func (*DeleteVersionedObjectOK) IsRedirect added in v0.9.0

func (o *DeleteVersionedObjectOK) IsRedirect() bool

IsRedirect returns true when this delete versioned object o k response has a 3xx status code

func (*DeleteVersionedObjectOK) IsServerError added in v0.9.0

func (o *DeleteVersionedObjectOK) IsServerError() bool

IsServerError returns true when this delete versioned object o k response has a 5xx status code

func (*DeleteVersionedObjectOK) IsSuccess added in v0.9.0

func (o *DeleteVersionedObjectOK) IsSuccess() bool

IsSuccess returns true when this delete versioned object o k response has a 2xx status code

func (*DeleteVersionedObjectOK) String added in v0.9.0

func (o *DeleteVersionedObjectOK) String() string

type DeleteVersionedObjectParams added in v0.9.0

type DeleteVersionedObjectParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* CollectionVersion.

	   The version of the collection
	*/
	CollectionVersion string

	/* DryRun.

	   If false, run the operation as normal.  If true, validate that the request *would* succeed, but don't execute it.
	*/
	DryRun bool

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVersionedObjectParams contains all the parameters to send to the API endpoint

for the delete versioned object operation.

Typically these are written to a http.Request.

func NewDeleteVersionedObjectParams added in v0.9.0

func NewDeleteVersionedObjectParams() *DeleteVersionedObjectParams

NewDeleteVersionedObjectParams creates a new DeleteVersionedObjectParams 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 NewDeleteVersionedObjectParamsWithContext added in v0.9.0

func NewDeleteVersionedObjectParamsWithContext(ctx context.Context) *DeleteVersionedObjectParams

NewDeleteVersionedObjectParamsWithContext creates a new DeleteVersionedObjectParams object with the ability to set a context for a request.

func NewDeleteVersionedObjectParamsWithHTTPClient added in v0.9.0

func NewDeleteVersionedObjectParamsWithHTTPClient(client *http.Client) *DeleteVersionedObjectParams

NewDeleteVersionedObjectParamsWithHTTPClient creates a new DeleteVersionedObjectParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVersionedObjectParamsWithTimeout added in v0.9.0

func NewDeleteVersionedObjectParamsWithTimeout(timeout time.Duration) *DeleteVersionedObjectParams

NewDeleteVersionedObjectParamsWithTimeout creates a new DeleteVersionedObjectParams object with the ability to set a timeout on a request.

func (*DeleteVersionedObjectParams) SetCollectionName added in v0.9.0

func (o *DeleteVersionedObjectParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the delete versioned object params

func (*DeleteVersionedObjectParams) SetCollectionVersion added in v0.9.0

func (o *DeleteVersionedObjectParams) SetCollectionVersion(collectionVersion string)

SetCollectionVersion adds the collectionVersion to the delete versioned object params

func (*DeleteVersionedObjectParams) SetContext added in v0.9.0

func (o *DeleteVersionedObjectParams) SetContext(ctx context.Context)

SetContext adds the context to the delete versioned object params

func (*DeleteVersionedObjectParams) SetDefaults added in v0.9.0

func (o *DeleteVersionedObjectParams) SetDefaults()

SetDefaults hydrates default values in the delete versioned object params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVersionedObjectParams) SetDryRun added in v0.9.0

func (o *DeleteVersionedObjectParams) SetDryRun(dryRun bool)

SetDryRun adds the dryRun to the delete versioned object params

func (*DeleteVersionedObjectParams) SetHTTPClient added in v0.9.0

func (o *DeleteVersionedObjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete versioned object params

func (*DeleteVersionedObjectParams) SetObjectKey added in v0.9.0

func (o *DeleteVersionedObjectParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the delete versioned object params

func (*DeleteVersionedObjectParams) SetTimeout added in v0.9.0

func (o *DeleteVersionedObjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete versioned object params

func (*DeleteVersionedObjectParams) WithCollectionName added in v0.9.0

func (o *DeleteVersionedObjectParams) WithCollectionName(collectionName string) *DeleteVersionedObjectParams

WithCollectionName adds the collectionName to the delete versioned object params

func (*DeleteVersionedObjectParams) WithCollectionVersion added in v0.9.0

func (o *DeleteVersionedObjectParams) WithCollectionVersion(collectionVersion string) *DeleteVersionedObjectParams

WithCollectionVersion adds the collectionVersion to the delete versioned object params

func (*DeleteVersionedObjectParams) WithContext added in v0.9.0

WithContext adds the context to the delete versioned object params

func (*DeleteVersionedObjectParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the delete versioned object params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVersionedObjectParams) WithDryRun added in v0.9.0

WithDryRun adds the dryRun to the delete versioned object params

func (*DeleteVersionedObjectParams) WithHTTPClient added in v0.9.0

WithHTTPClient adds the HTTPClient to the delete versioned object params

func (*DeleteVersionedObjectParams) WithObjectKey added in v0.9.0

func (o *DeleteVersionedObjectParams) WithObjectKey(objectKey string) *DeleteVersionedObjectParams

WithObjectKey adds the objectKey to the delete versioned object params

func (*DeleteVersionedObjectParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the delete versioned object params

func (*DeleteVersionedObjectParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type DeleteVersionedObjectReader added in v0.9.0

type DeleteVersionedObjectReader struct {
	// contains filtered or unexported fields
}

DeleteVersionedObjectReader is a Reader for the DeleteVersionedObject structure.

func (*DeleteVersionedObjectReader) ReadResponse added in v0.9.0

func (o *DeleteVersionedObjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVersionedObjectTooManyRequests added in v0.9.0

type DeleteVersionedObjectTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteVersionedObjectTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteVersionedObjectTooManyRequests added in v0.9.0

func NewDeleteVersionedObjectTooManyRequests() *DeleteVersionedObjectTooManyRequests

NewDeleteVersionedObjectTooManyRequests creates a DeleteVersionedObjectTooManyRequests with default headers values

func (*DeleteVersionedObjectTooManyRequests) Code added in v0.9.0

Code gets the status code for the delete versioned object too many requests response

func (*DeleteVersionedObjectTooManyRequests) Error added in v0.9.0

func (*DeleteVersionedObjectTooManyRequests) GetPayload added in v0.9.0

func (*DeleteVersionedObjectTooManyRequests) IsClientError added in v0.9.0

func (o *DeleteVersionedObjectTooManyRequests) IsClientError() bool

IsClientError returns true when this delete versioned object too many requests response has a 4xx status code

func (*DeleteVersionedObjectTooManyRequests) IsCode added in v0.9.0

IsCode returns true when this delete versioned object too many requests response a status code equal to that given

func (*DeleteVersionedObjectTooManyRequests) IsRedirect added in v0.9.0

IsRedirect returns true when this delete versioned object too many requests response has a 3xx status code

func (*DeleteVersionedObjectTooManyRequests) IsServerError added in v0.9.0

func (o *DeleteVersionedObjectTooManyRequests) IsServerError() bool

IsServerError returns true when this delete versioned object too many requests response has a 5xx status code

func (*DeleteVersionedObjectTooManyRequests) IsSuccess added in v0.9.0

IsSuccess returns true when this delete versioned object too many requests response has a 2xx status code

func (*DeleteVersionedObjectTooManyRequests) String added in v0.9.0

type GetForbidden

type GetForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetForbidden

func NewGetForbidden() *GetForbidden

NewGetForbidden creates a GetForbidden with default headers values

func (*GetForbidden) Code

func (o *GetForbidden) Code() int

Code gets the status code for the get forbidden response

func (*GetForbidden) Error

func (o *GetForbidden) Error() string

func (*GetForbidden) GetPayload

func (o *GetForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*GetForbidden) IsClientError

func (o *GetForbidden) IsClientError() bool

IsClientError returns true when this get forbidden response has a 4xx status code

func (*GetForbidden) IsCode

func (o *GetForbidden) IsCode(code int) bool

IsCode returns true when this get forbidden response a status code equal to that given

func (*GetForbidden) IsRedirect

func (o *GetForbidden) IsRedirect() bool

IsRedirect returns true when this get forbidden response has a 3xx status code

func (*GetForbidden) IsServerError

func (o *GetForbidden) IsServerError() bool

IsServerError returns true when this get forbidden response has a 5xx status code

func (*GetForbidden) IsSuccess

func (o *GetForbidden) IsSuccess() bool

IsSuccess returns true when this get forbidden response has a 2xx status code

func (*GetForbidden) String

func (o *GetForbidden) String() string

type GetInternalServerError added in v0.9.0

type GetInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewGetInternalServerError added in v0.9.0

func NewGetInternalServerError() *GetInternalServerError

NewGetInternalServerError creates a GetInternalServerError with default headers values

func (*GetInternalServerError) Code added in v0.9.0

func (o *GetInternalServerError) Code() int

Code gets the status code for the get internal server error response

func (*GetInternalServerError) Error added in v0.9.0

func (o *GetInternalServerError) Error() string

func (*GetInternalServerError) GetPayload added in v0.9.0

func (*GetInternalServerError) IsClientError added in v0.9.0

func (o *GetInternalServerError) IsClientError() bool

IsClientError returns true when this get internal server error response has a 4xx status code

func (*GetInternalServerError) IsCode added in v0.9.0

func (o *GetInternalServerError) IsCode(code int) bool

IsCode returns true when this get internal server error response a status code equal to that given

func (*GetInternalServerError) IsRedirect added in v0.9.0

func (o *GetInternalServerError) IsRedirect() bool

IsRedirect returns true when this get internal server error response has a 3xx status code

func (*GetInternalServerError) IsServerError added in v0.9.0

func (o *GetInternalServerError) IsServerError() bool

IsServerError returns true when this get internal server error response has a 5xx status code

func (*GetInternalServerError) IsSuccess added in v0.9.0

func (o *GetInternalServerError) IsSuccess() bool

IsSuccess returns true when this get internal server error response has a 2xx status code

func (*GetInternalServerError) String added in v0.9.0

func (o *GetInternalServerError) String() string

type GetOK

type GetOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload io.Writer
}

GetOK describes a response with status code 200, with default header values.

OK

func NewGetOK

func NewGetOK(writer io.Writer) *GetOK

NewGetOK creates a GetOK with default headers values

func (*GetOK) Code

func (o *GetOK) Code() int

Code gets the status code for the get o k response

func (*GetOK) Error

func (o *GetOK) Error() string

func (*GetOK) GetPayload

func (o *GetOK) GetPayload() io.Writer

func (*GetOK) IsClientError

func (o *GetOK) IsClientError() bool

IsClientError returns true when this get o k response has a 4xx status code

func (*GetOK) IsCode

func (o *GetOK) IsCode(code int) bool

IsCode returns true when this get o k response a status code equal to that given

func (*GetOK) IsRedirect

func (o *GetOK) IsRedirect() bool

IsRedirect returns true when this get o k response has a 3xx status code

func (*GetOK) IsServerError

func (o *GetOK) IsServerError() bool

IsServerError returns true when this get o k response has a 5xx status code

func (*GetOK) IsSuccess

func (o *GetOK) IsSuccess() bool

IsSuccess returns true when this get o k response has a 2xx status code

func (*GetOK) String

func (o *GetOK) String() string

type GetParams

type GetParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetParams contains all the parameters to send to the API endpoint

for the get operation.

Typically these are written to a http.Request.

func NewGetParams

func NewGetParams() *GetParams

NewGetParams creates a new GetParams 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 NewGetParamsWithContext

func NewGetParamsWithContext(ctx context.Context) *GetParams

NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.

func NewGetParamsWithHTTPClient

func NewGetParamsWithHTTPClient(client *http.Client) *GetParams

NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.

func NewGetParamsWithTimeout

func NewGetParamsWithTimeout(timeout time.Duration) *GetParams

NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.

func (*GetParams) SetCollectionName

func (o *GetParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the get params

func (*GetParams) SetContext

func (o *GetParams) SetContext(ctx context.Context)

SetContext adds the context to the get params

func (*GetParams) SetDefaults

func (o *GetParams) SetDefaults()

SetDefaults hydrates default values in the get params (not the query body).

All values with no default are reset to their zero value.

func (*GetParams) SetHTTPClient

func (o *GetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get params

func (*GetParams) SetObjectKey

func (o *GetParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the get params

func (*GetParams) SetTimeout

func (o *GetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get params

func (*GetParams) WithCollectionName

func (o *GetParams) WithCollectionName(collectionName string) *GetParams

WithCollectionName adds the collectionName to the get params

func (*GetParams) WithContext

func (o *GetParams) WithContext(ctx context.Context) *GetParams

WithContext adds the context to the get params

func (*GetParams) WithDefaults

func (o *GetParams) WithDefaults() *GetParams

WithDefaults hydrates default values in the get params (not the query body).

All values with no default are reset to their zero value.

func (*GetParams) WithHTTPClient

func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams

WithHTTPClient adds the HTTPClient to the get params

func (*GetParams) WithObjectKey

func (o *GetParams) WithObjectKey(objectKey string) *GetParams

WithObjectKey adds the objectKey to the get params

func (*GetParams) WithTimeout

func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams

WithTimeout adds the timeout to the get params

func (*GetParams) WriteToRequest

func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReader

type GetReader struct {
	// contains filtered or unexported fields
}

GetReader is a Reader for the Get structure.

func (*GetReader) ReadResponse

func (o *GetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTooManyRequests

type GetTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetTooManyRequests

func NewGetTooManyRequests() *GetTooManyRequests

NewGetTooManyRequests creates a GetTooManyRequests with default headers values

func (*GetTooManyRequests) Code

func (o *GetTooManyRequests) Code() int

Code gets the status code for the get too many requests response

func (*GetTooManyRequests) Error

func (o *GetTooManyRequests) Error() string

func (*GetTooManyRequests) GetPayload

func (o *GetTooManyRequests) GetPayload() *models.MsaReplyMetaOnly

func (*GetTooManyRequests) IsClientError

func (o *GetTooManyRequests) IsClientError() bool

IsClientError returns true when this get too many requests response has a 4xx status code

func (*GetTooManyRequests) IsCode

func (o *GetTooManyRequests) IsCode(code int) bool

IsCode returns true when this get too many requests response a status code equal to that given

func (*GetTooManyRequests) IsRedirect

func (o *GetTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get too many requests response has a 3xx status code

func (*GetTooManyRequests) IsServerError

func (o *GetTooManyRequests) IsServerError() bool

IsServerError returns true when this get too many requests response has a 5xx status code

func (*GetTooManyRequests) IsSuccess

func (o *GetTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get too many requests response has a 2xx status code

func (*GetTooManyRequests) String

func (o *GetTooManyRequests) String() string

type GetVersionedObjectForbidden added in v0.9.0

type GetVersionedObjectForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetVersionedObjectForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVersionedObjectForbidden added in v0.9.0

func NewGetVersionedObjectForbidden() *GetVersionedObjectForbidden

NewGetVersionedObjectForbidden creates a GetVersionedObjectForbidden with default headers values

func (*GetVersionedObjectForbidden) Code added in v0.9.0

func (o *GetVersionedObjectForbidden) Code() int

Code gets the status code for the get versioned object forbidden response

func (*GetVersionedObjectForbidden) Error added in v0.9.0

func (*GetVersionedObjectForbidden) GetPayload added in v0.9.0

func (*GetVersionedObjectForbidden) IsClientError added in v0.9.0

func (o *GetVersionedObjectForbidden) IsClientError() bool

IsClientError returns true when this get versioned object forbidden response has a 4xx status code

func (*GetVersionedObjectForbidden) IsCode added in v0.9.0

func (o *GetVersionedObjectForbidden) IsCode(code int) bool

IsCode returns true when this get versioned object forbidden response a status code equal to that given

func (*GetVersionedObjectForbidden) IsRedirect added in v0.9.0

func (o *GetVersionedObjectForbidden) IsRedirect() bool

IsRedirect returns true when this get versioned object forbidden response has a 3xx status code

func (*GetVersionedObjectForbidden) IsServerError added in v0.9.0

func (o *GetVersionedObjectForbidden) IsServerError() bool

IsServerError returns true when this get versioned object forbidden response has a 5xx status code

func (*GetVersionedObjectForbidden) IsSuccess added in v0.9.0

func (o *GetVersionedObjectForbidden) IsSuccess() bool

IsSuccess returns true when this get versioned object forbidden response has a 2xx status code

func (*GetVersionedObjectForbidden) String added in v0.9.0

func (o *GetVersionedObjectForbidden) String() string

type GetVersionedObjectInternalServerError added in v0.9.0

type GetVersionedObjectInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetVersionedObjectInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewGetVersionedObjectInternalServerError added in v0.9.0

func NewGetVersionedObjectInternalServerError() *GetVersionedObjectInternalServerError

NewGetVersionedObjectInternalServerError creates a GetVersionedObjectInternalServerError with default headers values

func (*GetVersionedObjectInternalServerError) Code added in v0.9.0

Code gets the status code for the get versioned object internal server error response

func (*GetVersionedObjectInternalServerError) Error added in v0.9.0

func (*GetVersionedObjectInternalServerError) GetPayload added in v0.9.0

func (*GetVersionedObjectInternalServerError) IsClientError added in v0.9.0

func (o *GetVersionedObjectInternalServerError) IsClientError() bool

IsClientError returns true when this get versioned object internal server error response has a 4xx status code

func (*GetVersionedObjectInternalServerError) IsCode added in v0.9.0

IsCode returns true when this get versioned object internal server error response a status code equal to that given

func (*GetVersionedObjectInternalServerError) IsRedirect added in v0.9.0

IsRedirect returns true when this get versioned object internal server error response has a 3xx status code

func (*GetVersionedObjectInternalServerError) IsServerError added in v0.9.0

func (o *GetVersionedObjectInternalServerError) IsServerError() bool

IsServerError returns true when this get versioned object internal server error response has a 5xx status code

func (*GetVersionedObjectInternalServerError) IsSuccess added in v0.9.0

IsSuccess returns true when this get versioned object internal server error response has a 2xx status code

func (*GetVersionedObjectInternalServerError) String added in v0.9.0

type GetVersionedObjectMetadataForbidden added in v0.9.0

type GetVersionedObjectMetadataForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetVersionedObjectMetadataForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVersionedObjectMetadataForbidden added in v0.9.0

func NewGetVersionedObjectMetadataForbidden() *GetVersionedObjectMetadataForbidden

NewGetVersionedObjectMetadataForbidden creates a GetVersionedObjectMetadataForbidden with default headers values

func (*GetVersionedObjectMetadataForbidden) Code added in v0.9.0

Code gets the status code for the get versioned object metadata forbidden response

func (*GetVersionedObjectMetadataForbidden) Error added in v0.9.0

func (*GetVersionedObjectMetadataForbidden) GetPayload added in v0.9.0

func (*GetVersionedObjectMetadataForbidden) IsClientError added in v0.9.0

func (o *GetVersionedObjectMetadataForbidden) IsClientError() bool

IsClientError returns true when this get versioned object metadata forbidden response has a 4xx status code

func (*GetVersionedObjectMetadataForbidden) IsCode added in v0.9.0

IsCode returns true when this get versioned object metadata forbidden response a status code equal to that given

func (*GetVersionedObjectMetadataForbidden) IsRedirect added in v0.9.0

func (o *GetVersionedObjectMetadataForbidden) IsRedirect() bool

IsRedirect returns true when this get versioned object metadata forbidden response has a 3xx status code

func (*GetVersionedObjectMetadataForbidden) IsServerError added in v0.9.0

func (o *GetVersionedObjectMetadataForbidden) IsServerError() bool

IsServerError returns true when this get versioned object metadata forbidden response has a 5xx status code

func (*GetVersionedObjectMetadataForbidden) IsSuccess added in v0.9.0

IsSuccess returns true when this get versioned object metadata forbidden response has a 2xx status code

func (*GetVersionedObjectMetadataForbidden) String added in v0.9.0

type GetVersionedObjectMetadataInternalServerError added in v0.9.0

type GetVersionedObjectMetadataInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetVersionedObjectMetadataInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewGetVersionedObjectMetadataInternalServerError added in v0.9.0

func NewGetVersionedObjectMetadataInternalServerError() *GetVersionedObjectMetadataInternalServerError

NewGetVersionedObjectMetadataInternalServerError creates a GetVersionedObjectMetadataInternalServerError with default headers values

func (*GetVersionedObjectMetadataInternalServerError) Code added in v0.9.0

Code gets the status code for the get versioned object metadata internal server error response

func (*GetVersionedObjectMetadataInternalServerError) Error added in v0.9.0

func (*GetVersionedObjectMetadataInternalServerError) GetPayload added in v0.9.0

func (*GetVersionedObjectMetadataInternalServerError) IsClientError added in v0.9.0

IsClientError returns true when this get versioned object metadata internal server error response has a 4xx status code

func (*GetVersionedObjectMetadataInternalServerError) IsCode added in v0.9.0

IsCode returns true when this get versioned object metadata internal server error response a status code equal to that given

func (*GetVersionedObjectMetadataInternalServerError) IsRedirect added in v0.9.0

IsRedirect returns true when this get versioned object metadata internal server error response has a 3xx status code

func (*GetVersionedObjectMetadataInternalServerError) IsServerError added in v0.9.0

IsServerError returns true when this get versioned object metadata internal server error response has a 5xx status code

func (*GetVersionedObjectMetadataInternalServerError) IsSuccess added in v0.9.0

IsSuccess returns true when this get versioned object metadata internal server error response has a 2xx status code

func (*GetVersionedObjectMetadataInternalServerError) String added in v0.9.0

type GetVersionedObjectMetadataOK added in v0.9.0

type GetVersionedObjectMetadataOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

GetVersionedObjectMetadataOK describes a response with status code 200, with default header values.

OK

func NewGetVersionedObjectMetadataOK added in v0.9.0

func NewGetVersionedObjectMetadataOK() *GetVersionedObjectMetadataOK

NewGetVersionedObjectMetadataOK creates a GetVersionedObjectMetadataOK with default headers values

func (*GetVersionedObjectMetadataOK) Code added in v0.9.0

Code gets the status code for the get versioned object metadata o k response

func (*GetVersionedObjectMetadataOK) Error added in v0.9.0

func (*GetVersionedObjectMetadataOK) GetPayload added in v0.9.0

func (*GetVersionedObjectMetadataOK) IsClientError added in v0.9.0

func (o *GetVersionedObjectMetadataOK) IsClientError() bool

IsClientError returns true when this get versioned object metadata o k response has a 4xx status code

func (*GetVersionedObjectMetadataOK) IsCode added in v0.9.0

func (o *GetVersionedObjectMetadataOK) IsCode(code int) bool

IsCode returns true when this get versioned object metadata o k response a status code equal to that given

func (*GetVersionedObjectMetadataOK) IsRedirect added in v0.9.0

func (o *GetVersionedObjectMetadataOK) IsRedirect() bool

IsRedirect returns true when this get versioned object metadata o k response has a 3xx status code

func (*GetVersionedObjectMetadataOK) IsServerError added in v0.9.0

func (o *GetVersionedObjectMetadataOK) IsServerError() bool

IsServerError returns true when this get versioned object metadata o k response has a 5xx status code

func (*GetVersionedObjectMetadataOK) IsSuccess added in v0.9.0

func (o *GetVersionedObjectMetadataOK) IsSuccess() bool

IsSuccess returns true when this get versioned object metadata o k response has a 2xx status code

func (*GetVersionedObjectMetadataOK) String added in v0.9.0

type GetVersionedObjectMetadataParams added in v0.9.0

type GetVersionedObjectMetadataParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* CollectionVersion.

	   The version of the collection
	*/
	CollectionVersion string

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVersionedObjectMetadataParams contains all the parameters to send to the API endpoint

for the get versioned object metadata operation.

Typically these are written to a http.Request.

func NewGetVersionedObjectMetadataParams added in v0.9.0

func NewGetVersionedObjectMetadataParams() *GetVersionedObjectMetadataParams

NewGetVersionedObjectMetadataParams creates a new GetVersionedObjectMetadataParams 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 NewGetVersionedObjectMetadataParamsWithContext added in v0.9.0

func NewGetVersionedObjectMetadataParamsWithContext(ctx context.Context) *GetVersionedObjectMetadataParams

NewGetVersionedObjectMetadataParamsWithContext creates a new GetVersionedObjectMetadataParams object with the ability to set a context for a request.

func NewGetVersionedObjectMetadataParamsWithHTTPClient added in v0.9.0

func NewGetVersionedObjectMetadataParamsWithHTTPClient(client *http.Client) *GetVersionedObjectMetadataParams

NewGetVersionedObjectMetadataParamsWithHTTPClient creates a new GetVersionedObjectMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewGetVersionedObjectMetadataParamsWithTimeout added in v0.9.0

func NewGetVersionedObjectMetadataParamsWithTimeout(timeout time.Duration) *GetVersionedObjectMetadataParams

NewGetVersionedObjectMetadataParamsWithTimeout creates a new GetVersionedObjectMetadataParams object with the ability to set a timeout on a request.

func (*GetVersionedObjectMetadataParams) SetCollectionName added in v0.9.0

func (o *GetVersionedObjectMetadataParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) SetCollectionVersion added in v0.9.0

func (o *GetVersionedObjectMetadataParams) SetCollectionVersion(collectionVersion string)

SetCollectionVersion adds the collectionVersion to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) SetContext added in v0.9.0

SetContext adds the context to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) SetDefaults added in v0.9.0

func (o *GetVersionedObjectMetadataParams) SetDefaults()

SetDefaults hydrates default values in the get versioned object metadata params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionedObjectMetadataParams) SetHTTPClient added in v0.9.0

func (o *GetVersionedObjectMetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) SetObjectKey added in v0.9.0

func (o *GetVersionedObjectMetadataParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) SetTimeout added in v0.9.0

func (o *GetVersionedObjectMetadataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WithCollectionName added in v0.9.0

func (o *GetVersionedObjectMetadataParams) WithCollectionName(collectionName string) *GetVersionedObjectMetadataParams

WithCollectionName adds the collectionName to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WithCollectionVersion added in v0.9.0

func (o *GetVersionedObjectMetadataParams) WithCollectionVersion(collectionVersion string) *GetVersionedObjectMetadataParams

WithCollectionVersion adds the collectionVersion to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WithContext added in v0.9.0

WithContext adds the context to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the get versioned object metadata params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionedObjectMetadataParams) WithHTTPClient added in v0.9.0

WithHTTPClient adds the HTTPClient to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WithObjectKey added in v0.9.0

WithObjectKey adds the objectKey to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the get versioned object metadata params

func (*GetVersionedObjectMetadataParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type GetVersionedObjectMetadataReader added in v0.9.0

type GetVersionedObjectMetadataReader struct {
	// contains filtered or unexported fields
}

GetVersionedObjectMetadataReader is a Reader for the GetVersionedObjectMetadata structure.

func (*GetVersionedObjectMetadataReader) ReadResponse added in v0.9.0

func (o *GetVersionedObjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVersionedObjectMetadataTooManyRequests added in v0.9.0

type GetVersionedObjectMetadataTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetVersionedObjectMetadataTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetVersionedObjectMetadataTooManyRequests added in v0.9.0

func NewGetVersionedObjectMetadataTooManyRequests() *GetVersionedObjectMetadataTooManyRequests

NewGetVersionedObjectMetadataTooManyRequests creates a GetVersionedObjectMetadataTooManyRequests with default headers values

func (*GetVersionedObjectMetadataTooManyRequests) Code added in v0.9.0

Code gets the status code for the get versioned object metadata too many requests response

func (*GetVersionedObjectMetadataTooManyRequests) Error added in v0.9.0

func (*GetVersionedObjectMetadataTooManyRequests) GetPayload added in v0.9.0

func (*GetVersionedObjectMetadataTooManyRequests) IsClientError added in v0.9.0

IsClientError returns true when this get versioned object metadata too many requests response has a 4xx status code

func (*GetVersionedObjectMetadataTooManyRequests) IsCode added in v0.9.0

IsCode returns true when this get versioned object metadata too many requests response a status code equal to that given

func (*GetVersionedObjectMetadataTooManyRequests) IsRedirect added in v0.9.0

IsRedirect returns true when this get versioned object metadata too many requests response has a 3xx status code

func (*GetVersionedObjectMetadataTooManyRequests) IsServerError added in v0.9.0

IsServerError returns true when this get versioned object metadata too many requests response has a 5xx status code

func (*GetVersionedObjectMetadataTooManyRequests) IsSuccess added in v0.9.0

IsSuccess returns true when this get versioned object metadata too many requests response has a 2xx status code

func (*GetVersionedObjectMetadataTooManyRequests) String added in v0.9.0

type GetVersionedObjectOK added in v0.9.0

type GetVersionedObjectOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload io.Writer
}

GetVersionedObjectOK describes a response with status code 200, with default header values.

OK

func NewGetVersionedObjectOK added in v0.9.0

func NewGetVersionedObjectOK(writer io.Writer) *GetVersionedObjectOK

NewGetVersionedObjectOK creates a GetVersionedObjectOK with default headers values

func (*GetVersionedObjectOK) Code added in v0.9.0

func (o *GetVersionedObjectOK) Code() int

Code gets the status code for the get versioned object o k response

func (*GetVersionedObjectOK) Error added in v0.9.0

func (o *GetVersionedObjectOK) Error() string

func (*GetVersionedObjectOK) GetPayload added in v0.9.0

func (o *GetVersionedObjectOK) GetPayload() io.Writer

func (*GetVersionedObjectOK) IsClientError added in v0.9.0

func (o *GetVersionedObjectOK) IsClientError() bool

IsClientError returns true when this get versioned object o k response has a 4xx status code

func (*GetVersionedObjectOK) IsCode added in v0.9.0

func (o *GetVersionedObjectOK) IsCode(code int) bool

IsCode returns true when this get versioned object o k response a status code equal to that given

func (*GetVersionedObjectOK) IsRedirect added in v0.9.0

func (o *GetVersionedObjectOK) IsRedirect() bool

IsRedirect returns true when this get versioned object o k response has a 3xx status code

func (*GetVersionedObjectOK) IsServerError added in v0.9.0

func (o *GetVersionedObjectOK) IsServerError() bool

IsServerError returns true when this get versioned object o k response has a 5xx status code

func (*GetVersionedObjectOK) IsSuccess added in v0.9.0

func (o *GetVersionedObjectOK) IsSuccess() bool

IsSuccess returns true when this get versioned object o k response has a 2xx status code

func (*GetVersionedObjectOK) String added in v0.9.0

func (o *GetVersionedObjectOK) String() string

type GetVersionedObjectParams added in v0.9.0

type GetVersionedObjectParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* CollectionVersion.

	   The version of the collection
	*/
	CollectionVersion string

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVersionedObjectParams contains all the parameters to send to the API endpoint

for the get versioned object operation.

Typically these are written to a http.Request.

func NewGetVersionedObjectParams added in v0.9.0

func NewGetVersionedObjectParams() *GetVersionedObjectParams

NewGetVersionedObjectParams creates a new GetVersionedObjectParams 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 NewGetVersionedObjectParamsWithContext added in v0.9.0

func NewGetVersionedObjectParamsWithContext(ctx context.Context) *GetVersionedObjectParams

NewGetVersionedObjectParamsWithContext creates a new GetVersionedObjectParams object with the ability to set a context for a request.

func NewGetVersionedObjectParamsWithHTTPClient added in v0.9.0

func NewGetVersionedObjectParamsWithHTTPClient(client *http.Client) *GetVersionedObjectParams

NewGetVersionedObjectParamsWithHTTPClient creates a new GetVersionedObjectParams object with the ability to set a custom HTTPClient for a request.

func NewGetVersionedObjectParamsWithTimeout added in v0.9.0

func NewGetVersionedObjectParamsWithTimeout(timeout time.Duration) *GetVersionedObjectParams

NewGetVersionedObjectParamsWithTimeout creates a new GetVersionedObjectParams object with the ability to set a timeout on a request.

func (*GetVersionedObjectParams) SetCollectionName added in v0.9.0

func (o *GetVersionedObjectParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the get versioned object params

func (*GetVersionedObjectParams) SetCollectionVersion added in v0.9.0

func (o *GetVersionedObjectParams) SetCollectionVersion(collectionVersion string)

SetCollectionVersion adds the collectionVersion to the get versioned object params

func (*GetVersionedObjectParams) SetContext added in v0.9.0

func (o *GetVersionedObjectParams) SetContext(ctx context.Context)

SetContext adds the context to the get versioned object params

func (*GetVersionedObjectParams) SetDefaults added in v0.9.0

func (o *GetVersionedObjectParams) SetDefaults()

SetDefaults hydrates default values in the get versioned object params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionedObjectParams) SetHTTPClient added in v0.9.0

func (o *GetVersionedObjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get versioned object params

func (*GetVersionedObjectParams) SetObjectKey added in v0.9.0

func (o *GetVersionedObjectParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the get versioned object params

func (*GetVersionedObjectParams) SetTimeout added in v0.9.0

func (o *GetVersionedObjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get versioned object params

func (*GetVersionedObjectParams) WithCollectionName added in v0.9.0

func (o *GetVersionedObjectParams) WithCollectionName(collectionName string) *GetVersionedObjectParams

WithCollectionName adds the collectionName to the get versioned object params

func (*GetVersionedObjectParams) WithCollectionVersion added in v0.9.0

func (o *GetVersionedObjectParams) WithCollectionVersion(collectionVersion string) *GetVersionedObjectParams

WithCollectionVersion adds the collectionVersion to the get versioned object params

func (*GetVersionedObjectParams) WithContext added in v0.9.0

WithContext adds the context to the get versioned object params

func (*GetVersionedObjectParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the get versioned object params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionedObjectParams) WithHTTPClient added in v0.9.0

func (o *GetVersionedObjectParams) WithHTTPClient(client *http.Client) *GetVersionedObjectParams

WithHTTPClient adds the HTTPClient to the get versioned object params

func (*GetVersionedObjectParams) WithObjectKey added in v0.9.0

func (o *GetVersionedObjectParams) WithObjectKey(objectKey string) *GetVersionedObjectParams

WithObjectKey adds the objectKey to the get versioned object params

func (*GetVersionedObjectParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the get versioned object params

func (*GetVersionedObjectParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type GetVersionedObjectReader added in v0.9.0

type GetVersionedObjectReader struct {
	// contains filtered or unexported fields
}

GetVersionedObjectReader is a Reader for the GetVersionedObject structure.

func (*GetVersionedObjectReader) ReadResponse added in v0.9.0

func (o *GetVersionedObjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVersionedObjectTooManyRequests added in v0.9.0

type GetVersionedObjectTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetVersionedObjectTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetVersionedObjectTooManyRequests added in v0.9.0

func NewGetVersionedObjectTooManyRequests() *GetVersionedObjectTooManyRequests

NewGetVersionedObjectTooManyRequests creates a GetVersionedObjectTooManyRequests with default headers values

func (*GetVersionedObjectTooManyRequests) Code added in v0.9.0

Code gets the status code for the get versioned object too many requests response

func (*GetVersionedObjectTooManyRequests) Error added in v0.9.0

func (*GetVersionedObjectTooManyRequests) GetPayload added in v0.9.0

func (*GetVersionedObjectTooManyRequests) IsClientError added in v0.9.0

func (o *GetVersionedObjectTooManyRequests) IsClientError() bool

IsClientError returns true when this get versioned object too many requests response has a 4xx status code

func (*GetVersionedObjectTooManyRequests) IsCode added in v0.9.0

func (o *GetVersionedObjectTooManyRequests) IsCode(code int) bool

IsCode returns true when this get versioned object too many requests response a status code equal to that given

func (*GetVersionedObjectTooManyRequests) IsRedirect added in v0.9.0

func (o *GetVersionedObjectTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get versioned object too many requests response has a 3xx status code

func (*GetVersionedObjectTooManyRequests) IsServerError added in v0.9.0

func (o *GetVersionedObjectTooManyRequests) IsServerError() bool

IsServerError returns true when this get versioned object too many requests response has a 5xx status code

func (*GetVersionedObjectTooManyRequests) IsSuccess added in v0.9.0

func (o *GetVersionedObjectTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get versioned object too many requests response has a 2xx status code

func (*GetVersionedObjectTooManyRequests) String added in v0.9.0

type ListForbidden

type ListForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListForbidden

func NewListForbidden() *ListForbidden

NewListForbidden creates a ListForbidden with default headers values

func (*ListForbidden) Code

func (o *ListForbidden) Code() int

Code gets the status code for the list forbidden response

func (*ListForbidden) Error

func (o *ListForbidden) Error() string

func (*ListForbidden) GetPayload

func (o *ListForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*ListForbidden) IsClientError

func (o *ListForbidden) IsClientError() bool

IsClientError returns true when this list forbidden response has a 4xx status code

func (*ListForbidden) IsCode

func (o *ListForbidden) IsCode(code int) bool

IsCode returns true when this list forbidden response a status code equal to that given

func (*ListForbidden) IsRedirect

func (o *ListForbidden) IsRedirect() bool

IsRedirect returns true when this list forbidden response has a 3xx status code

func (*ListForbidden) IsServerError

func (o *ListForbidden) IsServerError() bool

IsServerError returns true when this list forbidden response has a 5xx status code

func (*ListForbidden) IsSuccess

func (o *ListForbidden) IsSuccess() bool

IsSuccess returns true when this list forbidden response has a 2xx status code

func (*ListForbidden) String

func (o *ListForbidden) String() string

type ListInternalServerError added in v0.9.0

type ListInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewListInternalServerError added in v0.9.0

func NewListInternalServerError() *ListInternalServerError

NewListInternalServerError creates a ListInternalServerError with default headers values

func (*ListInternalServerError) Code added in v0.9.0

func (o *ListInternalServerError) Code() int

Code gets the status code for the list internal server error response

func (*ListInternalServerError) Error added in v0.9.0

func (o *ListInternalServerError) Error() string

func (*ListInternalServerError) GetPayload added in v0.9.0

func (*ListInternalServerError) IsClientError added in v0.9.0

func (o *ListInternalServerError) IsClientError() bool

IsClientError returns true when this list internal server error response has a 4xx status code

func (*ListInternalServerError) IsCode added in v0.9.0

func (o *ListInternalServerError) IsCode(code int) bool

IsCode returns true when this list internal server error response a status code equal to that given

func (*ListInternalServerError) IsRedirect added in v0.9.0

func (o *ListInternalServerError) IsRedirect() bool

IsRedirect returns true when this list internal server error response has a 3xx status code

func (*ListInternalServerError) IsServerError added in v0.9.0

func (o *ListInternalServerError) IsServerError() bool

IsServerError returns true when this list internal server error response has a 5xx status code

func (*ListInternalServerError) IsSuccess added in v0.9.0

func (o *ListInternalServerError) IsSuccess() bool

IsSuccess returns true when this list internal server error response has a 2xx status code

func (*ListInternalServerError) String added in v0.9.0

func (o *ListInternalServerError) String() string

type ListOK

type ListOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageObjectKeys
}

ListOK describes a response with status code 200, with default header values.

OK

func NewListOK

func NewListOK() *ListOK

NewListOK creates a ListOK with default headers values

func (*ListOK) Code

func (o *ListOK) Code() int

Code gets the status code for the list o k response

func (*ListOK) Error

func (o *ListOK) Error() string

func (*ListOK) GetPayload

func (o *ListOK) GetPayload() *models.CustomStorageObjectKeys

func (*ListOK) IsClientError

func (o *ListOK) IsClientError() bool

IsClientError returns true when this list o k response has a 4xx status code

func (*ListOK) IsCode

func (o *ListOK) IsCode(code int) bool

IsCode returns true when this list o k response a status code equal to that given

func (*ListOK) IsRedirect

func (o *ListOK) IsRedirect() bool

IsRedirect returns true when this list o k response has a 3xx status code

func (*ListOK) IsServerError

func (o *ListOK) IsServerError() bool

IsServerError returns true when this list o k response has a 5xx status code

func (*ListOK) IsSuccess

func (o *ListOK) IsSuccess() bool

IsSuccess returns true when this list o k response has a 2xx status code

func (*ListOK) String

func (o *ListOK) String() string

type ListObjectsByVersionForbidden added in v0.9.0

type ListObjectsByVersionForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListObjectsByVersionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListObjectsByVersionForbidden added in v0.9.0

func NewListObjectsByVersionForbidden() *ListObjectsByVersionForbidden

NewListObjectsByVersionForbidden creates a ListObjectsByVersionForbidden with default headers values

func (*ListObjectsByVersionForbidden) Code added in v0.9.0

Code gets the status code for the list objects by version forbidden response

func (*ListObjectsByVersionForbidden) Error added in v0.9.0

func (*ListObjectsByVersionForbidden) GetPayload added in v0.9.0

func (*ListObjectsByVersionForbidden) IsClientError added in v0.9.0

func (o *ListObjectsByVersionForbidden) IsClientError() bool

IsClientError returns true when this list objects by version forbidden response has a 4xx status code

func (*ListObjectsByVersionForbidden) IsCode added in v0.9.0

func (o *ListObjectsByVersionForbidden) IsCode(code int) bool

IsCode returns true when this list objects by version forbidden response a status code equal to that given

func (*ListObjectsByVersionForbidden) IsRedirect added in v0.9.0

func (o *ListObjectsByVersionForbidden) IsRedirect() bool

IsRedirect returns true when this list objects by version forbidden response has a 3xx status code

func (*ListObjectsByVersionForbidden) IsServerError added in v0.9.0

func (o *ListObjectsByVersionForbidden) IsServerError() bool

IsServerError returns true when this list objects by version forbidden response has a 5xx status code

func (*ListObjectsByVersionForbidden) IsSuccess added in v0.9.0

func (o *ListObjectsByVersionForbidden) IsSuccess() bool

IsSuccess returns true when this list objects by version forbidden response has a 2xx status code

func (*ListObjectsByVersionForbidden) String added in v0.9.0

type ListObjectsByVersionInternalServerError added in v0.9.0

type ListObjectsByVersionInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListObjectsByVersionInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewListObjectsByVersionInternalServerError added in v0.9.0

func NewListObjectsByVersionInternalServerError() *ListObjectsByVersionInternalServerError

NewListObjectsByVersionInternalServerError creates a ListObjectsByVersionInternalServerError with default headers values

func (*ListObjectsByVersionInternalServerError) Code added in v0.9.0

Code gets the status code for the list objects by version internal server error response

func (*ListObjectsByVersionInternalServerError) Error added in v0.9.0

func (*ListObjectsByVersionInternalServerError) GetPayload added in v0.9.0

func (*ListObjectsByVersionInternalServerError) IsClientError added in v0.9.0

func (o *ListObjectsByVersionInternalServerError) IsClientError() bool

IsClientError returns true when this list objects by version internal server error response has a 4xx status code

func (*ListObjectsByVersionInternalServerError) IsCode added in v0.9.0

IsCode returns true when this list objects by version internal server error response a status code equal to that given

func (*ListObjectsByVersionInternalServerError) IsRedirect added in v0.9.0

IsRedirect returns true when this list objects by version internal server error response has a 3xx status code

func (*ListObjectsByVersionInternalServerError) IsServerError added in v0.9.0

func (o *ListObjectsByVersionInternalServerError) IsServerError() bool

IsServerError returns true when this list objects by version internal server error response has a 5xx status code

func (*ListObjectsByVersionInternalServerError) IsSuccess added in v0.9.0

IsSuccess returns true when this list objects by version internal server error response has a 2xx status code

func (*ListObjectsByVersionInternalServerError) String added in v0.9.0

type ListObjectsByVersionOK added in v0.9.0

type ListObjectsByVersionOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageObjectKeys
}

ListObjectsByVersionOK describes a response with status code 200, with default header values.

OK

func NewListObjectsByVersionOK added in v0.9.0

func NewListObjectsByVersionOK() *ListObjectsByVersionOK

NewListObjectsByVersionOK creates a ListObjectsByVersionOK with default headers values

func (*ListObjectsByVersionOK) Code added in v0.9.0

func (o *ListObjectsByVersionOK) Code() int

Code gets the status code for the list objects by version o k response

func (*ListObjectsByVersionOK) Error added in v0.9.0

func (o *ListObjectsByVersionOK) Error() string

func (*ListObjectsByVersionOK) GetPayload added in v0.9.0

func (*ListObjectsByVersionOK) IsClientError added in v0.9.0

func (o *ListObjectsByVersionOK) IsClientError() bool

IsClientError returns true when this list objects by version o k response has a 4xx status code

func (*ListObjectsByVersionOK) IsCode added in v0.9.0

func (o *ListObjectsByVersionOK) IsCode(code int) bool

IsCode returns true when this list objects by version o k response a status code equal to that given

func (*ListObjectsByVersionOK) IsRedirect added in v0.9.0

func (o *ListObjectsByVersionOK) IsRedirect() bool

IsRedirect returns true when this list objects by version o k response has a 3xx status code

func (*ListObjectsByVersionOK) IsServerError added in v0.9.0

func (o *ListObjectsByVersionOK) IsServerError() bool

IsServerError returns true when this list objects by version o k response has a 5xx status code

func (*ListObjectsByVersionOK) IsSuccess added in v0.9.0

func (o *ListObjectsByVersionOK) IsSuccess() bool

IsSuccess returns true when this list objects by version o k response has a 2xx status code

func (*ListObjectsByVersionOK) String added in v0.9.0

func (o *ListObjectsByVersionOK) String() string

type ListObjectsByVersionParams added in v0.9.0

type ListObjectsByVersionParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* CollectionVersion.

	   The version of the collection
	*/
	CollectionVersion string

	/* End.

	   The end key to end listing to
	*/
	End string

	/* Limit.

	   The limit of results to return
	*/
	Limit int64

	/* Start.

	   The start key to start listing from
	*/
	Start string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListObjectsByVersionParams contains all the parameters to send to the API endpoint

for the list objects by version operation.

Typically these are written to a http.Request.

func NewListObjectsByVersionParams added in v0.9.0

func NewListObjectsByVersionParams() *ListObjectsByVersionParams

NewListObjectsByVersionParams creates a new ListObjectsByVersionParams 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 NewListObjectsByVersionParamsWithContext added in v0.9.0

func NewListObjectsByVersionParamsWithContext(ctx context.Context) *ListObjectsByVersionParams

NewListObjectsByVersionParamsWithContext creates a new ListObjectsByVersionParams object with the ability to set a context for a request.

func NewListObjectsByVersionParamsWithHTTPClient added in v0.9.0

func NewListObjectsByVersionParamsWithHTTPClient(client *http.Client) *ListObjectsByVersionParams

NewListObjectsByVersionParamsWithHTTPClient creates a new ListObjectsByVersionParams object with the ability to set a custom HTTPClient for a request.

func NewListObjectsByVersionParamsWithTimeout added in v0.9.0

func NewListObjectsByVersionParamsWithTimeout(timeout time.Duration) *ListObjectsByVersionParams

NewListObjectsByVersionParamsWithTimeout creates a new ListObjectsByVersionParams object with the ability to set a timeout on a request.

func (*ListObjectsByVersionParams) SetCollectionName added in v0.9.0

func (o *ListObjectsByVersionParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the list objects by version params

func (*ListObjectsByVersionParams) SetCollectionVersion added in v0.9.0

func (o *ListObjectsByVersionParams) SetCollectionVersion(collectionVersion string)

SetCollectionVersion adds the collectionVersion to the list objects by version params

func (*ListObjectsByVersionParams) SetContext added in v0.9.0

func (o *ListObjectsByVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the list objects by version params

func (*ListObjectsByVersionParams) SetDefaults added in v0.9.0

func (o *ListObjectsByVersionParams) SetDefaults()

SetDefaults hydrates default values in the list objects by version params (not the query body).

All values with no default are reset to their zero value.

func (*ListObjectsByVersionParams) SetEnd added in v0.9.0

func (o *ListObjectsByVersionParams) SetEnd(end string)

SetEnd adds the end to the list objects by version params

func (*ListObjectsByVersionParams) SetHTTPClient added in v0.9.0

func (o *ListObjectsByVersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list objects by version params

func (*ListObjectsByVersionParams) SetLimit added in v0.9.0

func (o *ListObjectsByVersionParams) SetLimit(limit int64)

SetLimit adds the limit to the list objects by version params

func (*ListObjectsByVersionParams) SetStart added in v0.9.0

func (o *ListObjectsByVersionParams) SetStart(start string)

SetStart adds the start to the list objects by version params

func (*ListObjectsByVersionParams) SetTimeout added in v0.9.0

func (o *ListObjectsByVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list objects by version params

func (*ListObjectsByVersionParams) WithCollectionName added in v0.9.0

func (o *ListObjectsByVersionParams) WithCollectionName(collectionName string) *ListObjectsByVersionParams

WithCollectionName adds the collectionName to the list objects by version params

func (*ListObjectsByVersionParams) WithCollectionVersion added in v0.9.0

func (o *ListObjectsByVersionParams) WithCollectionVersion(collectionVersion string) *ListObjectsByVersionParams

WithCollectionVersion adds the collectionVersion to the list objects by version params

func (*ListObjectsByVersionParams) WithContext added in v0.9.0

WithContext adds the context to the list objects by version params

func (*ListObjectsByVersionParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the list objects by version params (not the query body).

All values with no default are reset to their zero value.

func (*ListObjectsByVersionParams) WithEnd added in v0.9.0

WithEnd adds the end to the list objects by version params

func (*ListObjectsByVersionParams) WithHTTPClient added in v0.9.0

WithHTTPClient adds the HTTPClient to the list objects by version params

func (*ListObjectsByVersionParams) WithLimit added in v0.9.0

WithLimit adds the limit to the list objects by version params

func (*ListObjectsByVersionParams) WithStart added in v0.9.0

WithStart adds the start to the list objects by version params

func (*ListObjectsByVersionParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the list objects by version params

func (*ListObjectsByVersionParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type ListObjectsByVersionReader added in v0.9.0

type ListObjectsByVersionReader struct {
	// contains filtered or unexported fields
}

ListObjectsByVersionReader is a Reader for the ListObjectsByVersion structure.

func (*ListObjectsByVersionReader) ReadResponse added in v0.9.0

func (o *ListObjectsByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListObjectsByVersionTooManyRequests added in v0.9.0

type ListObjectsByVersionTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ListObjectsByVersionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewListObjectsByVersionTooManyRequests added in v0.9.0

func NewListObjectsByVersionTooManyRequests() *ListObjectsByVersionTooManyRequests

NewListObjectsByVersionTooManyRequests creates a ListObjectsByVersionTooManyRequests with default headers values

func (*ListObjectsByVersionTooManyRequests) Code added in v0.9.0

Code gets the status code for the list objects by version too many requests response

func (*ListObjectsByVersionTooManyRequests) Error added in v0.9.0

func (*ListObjectsByVersionTooManyRequests) GetPayload added in v0.9.0

func (*ListObjectsByVersionTooManyRequests) IsClientError added in v0.9.0

func (o *ListObjectsByVersionTooManyRequests) IsClientError() bool

IsClientError returns true when this list objects by version too many requests response has a 4xx status code

func (*ListObjectsByVersionTooManyRequests) IsCode added in v0.9.0

IsCode returns true when this list objects by version too many requests response a status code equal to that given

func (*ListObjectsByVersionTooManyRequests) IsRedirect added in v0.9.0

func (o *ListObjectsByVersionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list objects by version too many requests response has a 3xx status code

func (*ListObjectsByVersionTooManyRequests) IsServerError added in v0.9.0

func (o *ListObjectsByVersionTooManyRequests) IsServerError() bool

IsServerError returns true when this list objects by version too many requests response has a 5xx status code

func (*ListObjectsByVersionTooManyRequests) IsSuccess added in v0.9.0

IsSuccess returns true when this list objects by version too many requests response has a 2xx status code

func (*ListObjectsByVersionTooManyRequests) String added in v0.9.0

type ListParams

type ListParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* End.

	   The end key to end listing to
	*/
	End string

	/* Limit.

	   The limit of results to return
	*/
	Limit int64

	/* Start.

	   The start key to start listing from
	*/
	Start string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListParams contains all the parameters to send to the API endpoint

for the list operation.

Typically these are written to a http.Request.

func NewListParams

func NewListParams() *ListParams

NewListParams creates a new ListParams 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 NewListParamsWithContext

func NewListParamsWithContext(ctx context.Context) *ListParams

NewListParamsWithContext creates a new ListParams object with the ability to set a context for a request.

func NewListParamsWithHTTPClient

func NewListParamsWithHTTPClient(client *http.Client) *ListParams

NewListParamsWithHTTPClient creates a new ListParams object with the ability to set a custom HTTPClient for a request.

func NewListParamsWithTimeout

func NewListParamsWithTimeout(timeout time.Duration) *ListParams

NewListParamsWithTimeout creates a new ListParams object with the ability to set a timeout on a request.

func (*ListParams) SetCollectionName

func (o *ListParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the list params

func (*ListParams) SetContext

func (o *ListParams) SetContext(ctx context.Context)

SetContext adds the context to the list params

func (*ListParams) SetDefaults

func (o *ListParams) SetDefaults()

SetDefaults hydrates default values in the list params (not the query body).

All values with no default are reset to their zero value.

func (*ListParams) SetEnd

func (o *ListParams) SetEnd(end string)

SetEnd adds the end to the list params

func (*ListParams) SetHTTPClient

func (o *ListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list params

func (*ListParams) SetLimit

func (o *ListParams) SetLimit(limit int64)

SetLimit adds the limit to the list params

func (*ListParams) SetStart

func (o *ListParams) SetStart(start string)

SetStart adds the start to the list params

func (*ListParams) SetTimeout

func (o *ListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list params

func (*ListParams) WithCollectionName

func (o *ListParams) WithCollectionName(collectionName string) *ListParams

WithCollectionName adds the collectionName to the list params

func (*ListParams) WithContext

func (o *ListParams) WithContext(ctx context.Context) *ListParams

WithContext adds the context to the list params

func (*ListParams) WithDefaults

func (o *ListParams) WithDefaults() *ListParams

WithDefaults hydrates default values in the list params (not the query body).

All values with no default are reset to their zero value.

func (*ListParams) WithEnd

func (o *ListParams) WithEnd(end string) *ListParams

WithEnd adds the end to the list params

func (*ListParams) WithHTTPClient

func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams

WithHTTPClient adds the HTTPClient to the list params

func (*ListParams) WithLimit

func (o *ListParams) WithLimit(limit int64) *ListParams

WithLimit adds the limit to the list params

func (*ListParams) WithStart

func (o *ListParams) WithStart(start string) *ListParams

WithStart adds the start to the list params

func (*ListParams) WithTimeout

func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams

WithTimeout adds the timeout to the list params

func (*ListParams) WriteToRequest

func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListReader

type ListReader struct {
	// contains filtered or unexported fields
}

ListReader is a Reader for the List structure.

func (*ListReader) ReadResponse

func (o *ListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListTooManyRequests

type ListTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ListTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewListTooManyRequests

func NewListTooManyRequests() *ListTooManyRequests

NewListTooManyRequests creates a ListTooManyRequests with default headers values

func (*ListTooManyRequests) Code

func (o *ListTooManyRequests) Code() int

Code gets the status code for the list too many requests response

func (*ListTooManyRequests) Error

func (o *ListTooManyRequests) Error() string

func (*ListTooManyRequests) GetPayload

func (o *ListTooManyRequests) GetPayload() *models.MsaReplyMetaOnly

func (*ListTooManyRequests) IsClientError

func (o *ListTooManyRequests) IsClientError() bool

IsClientError returns true when this list too many requests response has a 4xx status code

func (*ListTooManyRequests) IsCode

func (o *ListTooManyRequests) IsCode(code int) bool

IsCode returns true when this list too many requests response a status code equal to that given

func (*ListTooManyRequests) IsRedirect

func (o *ListTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list too many requests response has a 3xx status code

func (*ListTooManyRequests) IsServerError

func (o *ListTooManyRequests) IsServerError() bool

IsServerError returns true when this list too many requests response has a 5xx status code

func (*ListTooManyRequests) IsSuccess

func (o *ListTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list too many requests response has a 2xx status code

func (*ListTooManyRequests) String

func (o *ListTooManyRequests) String() string

type MetadataForbidden

type MetadataForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

MetadataForbidden describes a response with status code 403, with default header values.

Forbidden

func NewMetadataForbidden

func NewMetadataForbidden() *MetadataForbidden

NewMetadataForbidden creates a MetadataForbidden with default headers values

func (*MetadataForbidden) Code

func (o *MetadataForbidden) Code() int

Code gets the status code for the metadata forbidden response

func (*MetadataForbidden) Error

func (o *MetadataForbidden) Error() string

func (*MetadataForbidden) GetPayload

func (o *MetadataForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*MetadataForbidden) IsClientError

func (o *MetadataForbidden) IsClientError() bool

IsClientError returns true when this metadata forbidden response has a 4xx status code

func (*MetadataForbidden) IsCode

func (o *MetadataForbidden) IsCode(code int) bool

IsCode returns true when this metadata forbidden response a status code equal to that given

func (*MetadataForbidden) IsRedirect

func (o *MetadataForbidden) IsRedirect() bool

IsRedirect returns true when this metadata forbidden response has a 3xx status code

func (*MetadataForbidden) IsServerError

func (o *MetadataForbidden) IsServerError() bool

IsServerError returns true when this metadata forbidden response has a 5xx status code

func (*MetadataForbidden) IsSuccess

func (o *MetadataForbidden) IsSuccess() bool

IsSuccess returns true when this metadata forbidden response has a 2xx status code

func (*MetadataForbidden) String

func (o *MetadataForbidden) String() string

type MetadataInternalServerError added in v0.9.0

type MetadataInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

MetadataInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewMetadataInternalServerError added in v0.9.0

func NewMetadataInternalServerError() *MetadataInternalServerError

NewMetadataInternalServerError creates a MetadataInternalServerError with default headers values

func (*MetadataInternalServerError) Code added in v0.9.0

func (o *MetadataInternalServerError) Code() int

Code gets the status code for the metadata internal server error response

func (*MetadataInternalServerError) Error added in v0.9.0

func (*MetadataInternalServerError) GetPayload added in v0.9.0

func (*MetadataInternalServerError) IsClientError added in v0.9.0

func (o *MetadataInternalServerError) IsClientError() bool

IsClientError returns true when this metadata internal server error response has a 4xx status code

func (*MetadataInternalServerError) IsCode added in v0.9.0

func (o *MetadataInternalServerError) IsCode(code int) bool

IsCode returns true when this metadata internal server error response a status code equal to that given

func (*MetadataInternalServerError) IsRedirect added in v0.9.0

func (o *MetadataInternalServerError) IsRedirect() bool

IsRedirect returns true when this metadata internal server error response has a 3xx status code

func (*MetadataInternalServerError) IsServerError added in v0.9.0

func (o *MetadataInternalServerError) IsServerError() bool

IsServerError returns true when this metadata internal server error response has a 5xx status code

func (*MetadataInternalServerError) IsSuccess added in v0.9.0

func (o *MetadataInternalServerError) IsSuccess() bool

IsSuccess returns true when this metadata internal server error response has a 2xx status code

func (*MetadataInternalServerError) String added in v0.9.0

func (o *MetadataInternalServerError) String() string

type MetadataOK

type MetadataOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

MetadataOK describes a response with status code 200, with default header values.

OK

func NewMetadataOK

func NewMetadataOK() *MetadataOK

NewMetadataOK creates a MetadataOK with default headers values

func (*MetadataOK) Code

func (o *MetadataOK) Code() int

Code gets the status code for the metadata o k response

func (*MetadataOK) Error

func (o *MetadataOK) Error() string

func (*MetadataOK) GetPayload

func (o *MetadataOK) GetPayload() *models.CustomStorageResponse

func (*MetadataOK) IsClientError

func (o *MetadataOK) IsClientError() bool

IsClientError returns true when this metadata o k response has a 4xx status code

func (*MetadataOK) IsCode

func (o *MetadataOK) IsCode(code int) bool

IsCode returns true when this metadata o k response a status code equal to that given

func (*MetadataOK) IsRedirect

func (o *MetadataOK) IsRedirect() bool

IsRedirect returns true when this metadata o k response has a 3xx status code

func (*MetadataOK) IsServerError

func (o *MetadataOK) IsServerError() bool

IsServerError returns true when this metadata o k response has a 5xx status code

func (*MetadataOK) IsSuccess

func (o *MetadataOK) IsSuccess() bool

IsSuccess returns true when this metadata o k response has a 2xx status code

func (*MetadataOK) String

func (o *MetadataOK) String() string

type MetadataParams

type MetadataParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MetadataParams contains all the parameters to send to the API endpoint

for the metadata operation.

Typically these are written to a http.Request.

func NewMetadataParams

func NewMetadataParams() *MetadataParams

NewMetadataParams creates a new MetadataParams 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 NewMetadataParamsWithContext

func NewMetadataParamsWithContext(ctx context.Context) *MetadataParams

NewMetadataParamsWithContext creates a new MetadataParams object with the ability to set a context for a request.

func NewMetadataParamsWithHTTPClient

func NewMetadataParamsWithHTTPClient(client *http.Client) *MetadataParams

NewMetadataParamsWithHTTPClient creates a new MetadataParams object with the ability to set a custom HTTPClient for a request.

func NewMetadataParamsWithTimeout

func NewMetadataParamsWithTimeout(timeout time.Duration) *MetadataParams

NewMetadataParamsWithTimeout creates a new MetadataParams object with the ability to set a timeout on a request.

func (*MetadataParams) SetCollectionName

func (o *MetadataParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the metadata params

func (*MetadataParams) SetContext

func (o *MetadataParams) SetContext(ctx context.Context)

SetContext adds the context to the metadata params

func (*MetadataParams) SetDefaults

func (o *MetadataParams) SetDefaults()

SetDefaults hydrates default values in the metadata params (not the query body).

All values with no default are reset to their zero value.

func (*MetadataParams) SetHTTPClient

func (o *MetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the metadata params

func (*MetadataParams) SetObjectKey

func (o *MetadataParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the metadata params

func (*MetadataParams) SetTimeout

func (o *MetadataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the metadata params

func (*MetadataParams) WithCollectionName

func (o *MetadataParams) WithCollectionName(collectionName string) *MetadataParams

WithCollectionName adds the collectionName to the metadata params

func (*MetadataParams) WithContext

func (o *MetadataParams) WithContext(ctx context.Context) *MetadataParams

WithContext adds the context to the metadata params

func (*MetadataParams) WithDefaults

func (o *MetadataParams) WithDefaults() *MetadataParams

WithDefaults hydrates default values in the metadata params (not the query body).

All values with no default are reset to their zero value.

func (*MetadataParams) WithHTTPClient

func (o *MetadataParams) WithHTTPClient(client *http.Client) *MetadataParams

WithHTTPClient adds the HTTPClient to the metadata params

func (*MetadataParams) WithObjectKey

func (o *MetadataParams) WithObjectKey(objectKey string) *MetadataParams

WithObjectKey adds the objectKey to the metadata params

func (*MetadataParams) WithTimeout

func (o *MetadataParams) WithTimeout(timeout time.Duration) *MetadataParams

WithTimeout adds the timeout to the metadata params

func (*MetadataParams) WriteToRequest

func (o *MetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MetadataReader

type MetadataReader struct {
	// contains filtered or unexported fields
}

MetadataReader is a Reader for the Metadata structure.

func (*MetadataReader) ReadResponse

func (o *MetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MetadataTooManyRequests

type MetadataTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

MetadataTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewMetadataTooManyRequests

func NewMetadataTooManyRequests() *MetadataTooManyRequests

NewMetadataTooManyRequests creates a MetadataTooManyRequests with default headers values

func (*MetadataTooManyRequests) Code

func (o *MetadataTooManyRequests) Code() int

Code gets the status code for the metadata too many requests response

func (*MetadataTooManyRequests) Error

func (o *MetadataTooManyRequests) Error() string

func (*MetadataTooManyRequests) GetPayload

func (*MetadataTooManyRequests) IsClientError

func (o *MetadataTooManyRequests) IsClientError() bool

IsClientError returns true when this metadata too many requests response has a 4xx status code

func (*MetadataTooManyRequests) IsCode

func (o *MetadataTooManyRequests) IsCode(code int) bool

IsCode returns true when this metadata too many requests response a status code equal to that given

func (*MetadataTooManyRequests) IsRedirect

func (o *MetadataTooManyRequests) IsRedirect() bool

IsRedirect returns true when this metadata too many requests response has a 3xx status code

func (*MetadataTooManyRequests) IsServerError

func (o *MetadataTooManyRequests) IsServerError() bool

IsServerError returns true when this metadata too many requests response has a 5xx status code

func (*MetadataTooManyRequests) IsSuccess

func (o *MetadataTooManyRequests) IsSuccess() bool

IsSuccess returns true when this metadata too many requests response has a 2xx status code

func (*MetadataTooManyRequests) String

func (o *MetadataTooManyRequests) String() string

type PutObjectByVersionForbidden added in v0.9.0

type PutObjectByVersionForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

PutObjectByVersionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutObjectByVersionForbidden added in v0.9.0

func NewPutObjectByVersionForbidden() *PutObjectByVersionForbidden

NewPutObjectByVersionForbidden creates a PutObjectByVersionForbidden with default headers values

func (*PutObjectByVersionForbidden) Code added in v0.9.0

func (o *PutObjectByVersionForbidden) Code() int

Code gets the status code for the put object by version forbidden response

func (*PutObjectByVersionForbidden) Error added in v0.9.0

func (*PutObjectByVersionForbidden) GetPayload added in v0.9.0

func (*PutObjectByVersionForbidden) IsClientError added in v0.9.0

func (o *PutObjectByVersionForbidden) IsClientError() bool

IsClientError returns true when this put object by version forbidden response has a 4xx status code

func (*PutObjectByVersionForbidden) IsCode added in v0.9.0

func (o *PutObjectByVersionForbidden) IsCode(code int) bool

IsCode returns true when this put object by version forbidden response a status code equal to that given

func (*PutObjectByVersionForbidden) IsRedirect added in v0.9.0

func (o *PutObjectByVersionForbidden) IsRedirect() bool

IsRedirect returns true when this put object by version forbidden response has a 3xx status code

func (*PutObjectByVersionForbidden) IsServerError added in v0.9.0

func (o *PutObjectByVersionForbidden) IsServerError() bool

IsServerError returns true when this put object by version forbidden response has a 5xx status code

func (*PutObjectByVersionForbidden) IsSuccess added in v0.9.0

func (o *PutObjectByVersionForbidden) IsSuccess() bool

IsSuccess returns true when this put object by version forbidden response has a 2xx status code

func (*PutObjectByVersionForbidden) String added in v0.9.0

func (o *PutObjectByVersionForbidden) String() string

type PutObjectByVersionInternalServerError added in v0.9.0

type PutObjectByVersionInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

PutObjectByVersionInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewPutObjectByVersionInternalServerError added in v0.9.0

func NewPutObjectByVersionInternalServerError() *PutObjectByVersionInternalServerError

NewPutObjectByVersionInternalServerError creates a PutObjectByVersionInternalServerError with default headers values

func (*PutObjectByVersionInternalServerError) Code added in v0.9.0

Code gets the status code for the put object by version internal server error response

func (*PutObjectByVersionInternalServerError) Error added in v0.9.0

func (*PutObjectByVersionInternalServerError) GetPayload added in v0.9.0

func (*PutObjectByVersionInternalServerError) IsClientError added in v0.9.0

func (o *PutObjectByVersionInternalServerError) IsClientError() bool

IsClientError returns true when this put object by version internal server error response has a 4xx status code

func (*PutObjectByVersionInternalServerError) IsCode added in v0.9.0

IsCode returns true when this put object by version internal server error response a status code equal to that given

func (*PutObjectByVersionInternalServerError) IsRedirect added in v0.9.0

IsRedirect returns true when this put object by version internal server error response has a 3xx status code

func (*PutObjectByVersionInternalServerError) IsServerError added in v0.9.0

func (o *PutObjectByVersionInternalServerError) IsServerError() bool

IsServerError returns true when this put object by version internal server error response has a 5xx status code

func (*PutObjectByVersionInternalServerError) IsSuccess added in v0.9.0

IsSuccess returns true when this put object by version internal server error response has a 2xx status code

func (*PutObjectByVersionInternalServerError) String added in v0.9.0

type PutObjectByVersionOK added in v0.9.0

type PutObjectByVersionOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

PutObjectByVersionOK describes a response with status code 200, with default header values.

OK

func NewPutObjectByVersionOK added in v0.9.0

func NewPutObjectByVersionOK() *PutObjectByVersionOK

NewPutObjectByVersionOK creates a PutObjectByVersionOK with default headers values

func (*PutObjectByVersionOK) Code added in v0.9.0

func (o *PutObjectByVersionOK) Code() int

Code gets the status code for the put object by version o k response

func (*PutObjectByVersionOK) Error added in v0.9.0

func (o *PutObjectByVersionOK) Error() string

func (*PutObjectByVersionOK) GetPayload added in v0.9.0

func (*PutObjectByVersionOK) IsClientError added in v0.9.0

func (o *PutObjectByVersionOK) IsClientError() bool

IsClientError returns true when this put object by version o k response has a 4xx status code

func (*PutObjectByVersionOK) IsCode added in v0.9.0

func (o *PutObjectByVersionOK) IsCode(code int) bool

IsCode returns true when this put object by version o k response a status code equal to that given

func (*PutObjectByVersionOK) IsRedirect added in v0.9.0

func (o *PutObjectByVersionOK) IsRedirect() bool

IsRedirect returns true when this put object by version o k response has a 3xx status code

func (*PutObjectByVersionOK) IsServerError added in v0.9.0

func (o *PutObjectByVersionOK) IsServerError() bool

IsServerError returns true when this put object by version o k response has a 5xx status code

func (*PutObjectByVersionOK) IsSuccess added in v0.9.0

func (o *PutObjectByVersionOK) IsSuccess() bool

IsSuccess returns true when this put object by version o k response has a 2xx status code

func (*PutObjectByVersionOK) String added in v0.9.0

func (o *PutObjectByVersionOK) String() string

type PutObjectByVersionParams added in v0.9.0

type PutObjectByVersionParams struct {

	// Body.
	//
	// Format: binary
	Body io.ReadCloser

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* CollectionVersion.

	   The version of the collection
	*/
	CollectionVersion string

	/* DryRun.

	   If false, run the operation as normal.  If true, validate that the request *would* succeed, but don't execute it.
	*/
	DryRun bool

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutObjectByVersionParams contains all the parameters to send to the API endpoint

for the put object by version operation.

Typically these are written to a http.Request.

func NewPutObjectByVersionParams added in v0.9.0

func NewPutObjectByVersionParams() *PutObjectByVersionParams

NewPutObjectByVersionParams creates a new PutObjectByVersionParams 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 NewPutObjectByVersionParamsWithContext added in v0.9.0

func NewPutObjectByVersionParamsWithContext(ctx context.Context) *PutObjectByVersionParams

NewPutObjectByVersionParamsWithContext creates a new PutObjectByVersionParams object with the ability to set a context for a request.

func NewPutObjectByVersionParamsWithHTTPClient added in v0.9.0

func NewPutObjectByVersionParamsWithHTTPClient(client *http.Client) *PutObjectByVersionParams

NewPutObjectByVersionParamsWithHTTPClient creates a new PutObjectByVersionParams object with the ability to set a custom HTTPClient for a request.

func NewPutObjectByVersionParamsWithTimeout added in v0.9.0

func NewPutObjectByVersionParamsWithTimeout(timeout time.Duration) *PutObjectByVersionParams

NewPutObjectByVersionParamsWithTimeout creates a new PutObjectByVersionParams object with the ability to set a timeout on a request.

func (*PutObjectByVersionParams) SetBody added in v0.9.0

func (o *PutObjectByVersionParams) SetBody(body io.ReadCloser)

SetBody adds the body to the put object by version params

func (*PutObjectByVersionParams) SetCollectionName added in v0.9.0

func (o *PutObjectByVersionParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the put object by version params

func (*PutObjectByVersionParams) SetCollectionVersion added in v0.9.0

func (o *PutObjectByVersionParams) SetCollectionVersion(collectionVersion string)

SetCollectionVersion adds the collectionVersion to the put object by version params

func (*PutObjectByVersionParams) SetContext added in v0.9.0

func (o *PutObjectByVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the put object by version params

func (*PutObjectByVersionParams) SetDefaults added in v0.9.0

func (o *PutObjectByVersionParams) SetDefaults()

SetDefaults hydrates default values in the put object by version params (not the query body).

All values with no default are reset to their zero value.

func (*PutObjectByVersionParams) SetDryRun added in v0.9.0

func (o *PutObjectByVersionParams) SetDryRun(dryRun bool)

SetDryRun adds the dryRun to the put object by version params

func (*PutObjectByVersionParams) SetHTTPClient added in v0.9.0

func (o *PutObjectByVersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put object by version params

func (*PutObjectByVersionParams) SetObjectKey added in v0.9.0

func (o *PutObjectByVersionParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the put object by version params

func (*PutObjectByVersionParams) SetTimeout added in v0.9.0

func (o *PutObjectByVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put object by version params

func (*PutObjectByVersionParams) WithBody added in v0.9.0

WithBody adds the body to the put object by version params

func (*PutObjectByVersionParams) WithCollectionName added in v0.9.0

func (o *PutObjectByVersionParams) WithCollectionName(collectionName string) *PutObjectByVersionParams

WithCollectionName adds the collectionName to the put object by version params

func (*PutObjectByVersionParams) WithCollectionVersion added in v0.9.0

func (o *PutObjectByVersionParams) WithCollectionVersion(collectionVersion string) *PutObjectByVersionParams

WithCollectionVersion adds the collectionVersion to the put object by version params

func (*PutObjectByVersionParams) WithContext added in v0.9.0

WithContext adds the context to the put object by version params

func (*PutObjectByVersionParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the put object by version params (not the query body).

All values with no default are reset to their zero value.

func (*PutObjectByVersionParams) WithDryRun added in v0.9.0

WithDryRun adds the dryRun to the put object by version params

func (*PutObjectByVersionParams) WithHTTPClient added in v0.9.0

func (o *PutObjectByVersionParams) WithHTTPClient(client *http.Client) *PutObjectByVersionParams

WithHTTPClient adds the HTTPClient to the put object by version params

func (*PutObjectByVersionParams) WithObjectKey added in v0.9.0

func (o *PutObjectByVersionParams) WithObjectKey(objectKey string) *PutObjectByVersionParams

WithObjectKey adds the objectKey to the put object by version params

func (*PutObjectByVersionParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the put object by version params

func (*PutObjectByVersionParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type PutObjectByVersionReader added in v0.9.0

type PutObjectByVersionReader struct {
	// contains filtered or unexported fields
}

PutObjectByVersionReader is a Reader for the PutObjectByVersion structure.

func (*PutObjectByVersionReader) ReadResponse added in v0.9.0

func (o *PutObjectByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutObjectByVersionTooManyRequests added in v0.9.0

type PutObjectByVersionTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

PutObjectByVersionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPutObjectByVersionTooManyRequests added in v0.9.0

func NewPutObjectByVersionTooManyRequests() *PutObjectByVersionTooManyRequests

NewPutObjectByVersionTooManyRequests creates a PutObjectByVersionTooManyRequests with default headers values

func (*PutObjectByVersionTooManyRequests) Code added in v0.9.0

Code gets the status code for the put object by version too many requests response

func (*PutObjectByVersionTooManyRequests) Error added in v0.9.0

func (*PutObjectByVersionTooManyRequests) GetPayload added in v0.9.0

func (*PutObjectByVersionTooManyRequests) IsClientError added in v0.9.0

func (o *PutObjectByVersionTooManyRequests) IsClientError() bool

IsClientError returns true when this put object by version too many requests response has a 4xx status code

func (*PutObjectByVersionTooManyRequests) IsCode added in v0.9.0

func (o *PutObjectByVersionTooManyRequests) IsCode(code int) bool

IsCode returns true when this put object by version too many requests response a status code equal to that given

func (*PutObjectByVersionTooManyRequests) IsRedirect added in v0.9.0

func (o *PutObjectByVersionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put object by version too many requests response has a 3xx status code

func (*PutObjectByVersionTooManyRequests) IsServerError added in v0.9.0

func (o *PutObjectByVersionTooManyRequests) IsServerError() bool

IsServerError returns true when this put object by version too many requests response has a 5xx status code

func (*PutObjectByVersionTooManyRequests) IsSuccess added in v0.9.0

func (o *PutObjectByVersionTooManyRequests) IsSuccess() bool

IsSuccess returns true when this put object by version too many requests response has a 2xx status code

func (*PutObjectByVersionTooManyRequests) String added in v0.9.0

type SearchForbidden

type SearchForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

SearchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchForbidden

func NewSearchForbidden() *SearchForbidden

NewSearchForbidden creates a SearchForbidden with default headers values

func (*SearchForbidden) Code

func (o *SearchForbidden) Code() int

Code gets the status code for the search forbidden response

func (*SearchForbidden) Error

func (o *SearchForbidden) Error() string

func (*SearchForbidden) GetPayload

func (o *SearchForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*SearchForbidden) IsClientError

func (o *SearchForbidden) IsClientError() bool

IsClientError returns true when this search forbidden response has a 4xx status code

func (*SearchForbidden) IsCode

func (o *SearchForbidden) IsCode(code int) bool

IsCode returns true when this search forbidden response a status code equal to that given

func (*SearchForbidden) IsRedirect

func (o *SearchForbidden) IsRedirect() bool

IsRedirect returns true when this search forbidden response has a 3xx status code

func (*SearchForbidden) IsServerError

func (o *SearchForbidden) IsServerError() bool

IsServerError returns true when this search forbidden response has a 5xx status code

func (*SearchForbidden) IsSuccess

func (o *SearchForbidden) IsSuccess() bool

IsSuccess returns true when this search forbidden response has a 2xx status code

func (*SearchForbidden) String

func (o *SearchForbidden) String() string

type SearchInternalServerError added in v0.9.0

type SearchInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

SearchInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewSearchInternalServerError added in v0.9.0

func NewSearchInternalServerError() *SearchInternalServerError

NewSearchInternalServerError creates a SearchInternalServerError with default headers values

func (*SearchInternalServerError) Code added in v0.9.0

func (o *SearchInternalServerError) Code() int

Code gets the status code for the search internal server error response

func (*SearchInternalServerError) Error added in v0.9.0

func (o *SearchInternalServerError) Error() string

func (*SearchInternalServerError) GetPayload added in v0.9.0

func (*SearchInternalServerError) IsClientError added in v0.9.0

func (o *SearchInternalServerError) IsClientError() bool

IsClientError returns true when this search internal server error response has a 4xx status code

func (*SearchInternalServerError) IsCode added in v0.9.0

func (o *SearchInternalServerError) IsCode(code int) bool

IsCode returns true when this search internal server error response a status code equal to that given

func (*SearchInternalServerError) IsRedirect added in v0.9.0

func (o *SearchInternalServerError) IsRedirect() bool

IsRedirect returns true when this search internal server error response has a 3xx status code

func (*SearchInternalServerError) IsServerError added in v0.9.0

func (o *SearchInternalServerError) IsServerError() bool

IsServerError returns true when this search internal server error response has a 5xx status code

func (*SearchInternalServerError) IsSuccess added in v0.9.0

func (o *SearchInternalServerError) IsSuccess() bool

IsSuccess returns true when this search internal server error response has a 2xx status code

func (*SearchInternalServerError) String added in v0.9.0

func (o *SearchInternalServerError) String() string

type SearchOK

type SearchOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

SearchOK describes a response with status code 200, with default header values.

OK

func NewSearchOK

func NewSearchOK() *SearchOK

NewSearchOK creates a SearchOK with default headers values

func (*SearchOK) Code

func (o *SearchOK) Code() int

Code gets the status code for the search o k response

func (*SearchOK) Error

func (o *SearchOK) Error() string

func (*SearchOK) GetPayload

func (o *SearchOK) GetPayload() *models.CustomStorageResponse

func (*SearchOK) IsClientError

func (o *SearchOK) IsClientError() bool

IsClientError returns true when this search o k response has a 4xx status code

func (*SearchOK) IsCode

func (o *SearchOK) IsCode(code int) bool

IsCode returns true when this search o k response a status code equal to that given

func (*SearchOK) IsRedirect

func (o *SearchOK) IsRedirect() bool

IsRedirect returns true when this search o k response has a 3xx status code

func (*SearchOK) IsServerError

func (o *SearchOK) IsServerError() bool

IsServerError returns true when this search o k response has a 5xx status code

func (*SearchOK) IsSuccess

func (o *SearchOK) IsSuccess() bool

IsSuccess returns true when this search o k response has a 2xx status code

func (*SearchOK) String

func (o *SearchOK) String() string

type SearchObjectsByVersionForbidden added in v0.9.0

type SearchObjectsByVersionForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

SearchObjectsByVersionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchObjectsByVersionForbidden added in v0.9.0

func NewSearchObjectsByVersionForbidden() *SearchObjectsByVersionForbidden

NewSearchObjectsByVersionForbidden creates a SearchObjectsByVersionForbidden with default headers values

func (*SearchObjectsByVersionForbidden) Code added in v0.9.0

Code gets the status code for the search objects by version forbidden response

func (*SearchObjectsByVersionForbidden) Error added in v0.9.0

func (*SearchObjectsByVersionForbidden) GetPayload added in v0.9.0

func (*SearchObjectsByVersionForbidden) IsClientError added in v0.9.0

func (o *SearchObjectsByVersionForbidden) IsClientError() bool

IsClientError returns true when this search objects by version forbidden response has a 4xx status code

func (*SearchObjectsByVersionForbidden) IsCode added in v0.9.0

func (o *SearchObjectsByVersionForbidden) IsCode(code int) bool

IsCode returns true when this search objects by version forbidden response a status code equal to that given

func (*SearchObjectsByVersionForbidden) IsRedirect added in v0.9.0

func (o *SearchObjectsByVersionForbidden) IsRedirect() bool

IsRedirect returns true when this search objects by version forbidden response has a 3xx status code

func (*SearchObjectsByVersionForbidden) IsServerError added in v0.9.0

func (o *SearchObjectsByVersionForbidden) IsServerError() bool

IsServerError returns true when this search objects by version forbidden response has a 5xx status code

func (*SearchObjectsByVersionForbidden) IsSuccess added in v0.9.0

func (o *SearchObjectsByVersionForbidden) IsSuccess() bool

IsSuccess returns true when this search objects by version forbidden response has a 2xx status code

func (*SearchObjectsByVersionForbidden) String added in v0.9.0

type SearchObjectsByVersionInternalServerError added in v0.9.0

type SearchObjectsByVersionInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

SearchObjectsByVersionInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewSearchObjectsByVersionInternalServerError added in v0.9.0

func NewSearchObjectsByVersionInternalServerError() *SearchObjectsByVersionInternalServerError

NewSearchObjectsByVersionInternalServerError creates a SearchObjectsByVersionInternalServerError with default headers values

func (*SearchObjectsByVersionInternalServerError) Code added in v0.9.0

Code gets the status code for the search objects by version internal server error response

func (*SearchObjectsByVersionInternalServerError) Error added in v0.9.0

func (*SearchObjectsByVersionInternalServerError) GetPayload added in v0.9.0

func (*SearchObjectsByVersionInternalServerError) IsClientError added in v0.9.0

IsClientError returns true when this search objects by version internal server error response has a 4xx status code

func (*SearchObjectsByVersionInternalServerError) IsCode added in v0.9.0

IsCode returns true when this search objects by version internal server error response a status code equal to that given

func (*SearchObjectsByVersionInternalServerError) IsRedirect added in v0.9.0

IsRedirect returns true when this search objects by version internal server error response has a 3xx status code

func (*SearchObjectsByVersionInternalServerError) IsServerError added in v0.9.0

IsServerError returns true when this search objects by version internal server error response has a 5xx status code

func (*SearchObjectsByVersionInternalServerError) IsSuccess added in v0.9.0

IsSuccess returns true when this search objects by version internal server error response has a 2xx status code

func (*SearchObjectsByVersionInternalServerError) String added in v0.9.0

type SearchObjectsByVersionOK added in v0.9.0

type SearchObjectsByVersionOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

SearchObjectsByVersionOK describes a response with status code 200, with default header values.

OK

func NewSearchObjectsByVersionOK added in v0.9.0

func NewSearchObjectsByVersionOK() *SearchObjectsByVersionOK

NewSearchObjectsByVersionOK creates a SearchObjectsByVersionOK with default headers values

func (*SearchObjectsByVersionOK) Code added in v0.9.0

func (o *SearchObjectsByVersionOK) Code() int

Code gets the status code for the search objects by version o k response

func (*SearchObjectsByVersionOK) Error added in v0.9.0

func (o *SearchObjectsByVersionOK) Error() string

func (*SearchObjectsByVersionOK) GetPayload added in v0.9.0

func (*SearchObjectsByVersionOK) IsClientError added in v0.9.0

func (o *SearchObjectsByVersionOK) IsClientError() bool

IsClientError returns true when this search objects by version o k response has a 4xx status code

func (*SearchObjectsByVersionOK) IsCode added in v0.9.0

func (o *SearchObjectsByVersionOK) IsCode(code int) bool

IsCode returns true when this search objects by version o k response a status code equal to that given

func (*SearchObjectsByVersionOK) IsRedirect added in v0.9.0

func (o *SearchObjectsByVersionOK) IsRedirect() bool

IsRedirect returns true when this search objects by version o k response has a 3xx status code

func (*SearchObjectsByVersionOK) IsServerError added in v0.9.0

func (o *SearchObjectsByVersionOK) IsServerError() bool

IsServerError returns true when this search objects by version o k response has a 5xx status code

func (*SearchObjectsByVersionOK) IsSuccess added in v0.9.0

func (o *SearchObjectsByVersionOK) IsSuccess() bool

IsSuccess returns true when this search objects by version o k response has a 2xx status code

func (*SearchObjectsByVersionOK) String added in v0.9.0

func (o *SearchObjectsByVersionOK) String() string

type SearchObjectsByVersionParams added in v0.9.0

type SearchObjectsByVersionParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* CollectionVersion.

	   The version of the collection
	*/
	CollectionVersion string

	/* Filter.

	   The filter to limit the returned results.
	*/
	Filter string

	/* Limit.

	   The limit of results to return
	*/
	Limit int64

	/* Offset.

	   The offset of results to return
	*/
	Offset int64

	/* Sort.

	   The sort order for the returned results.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchObjectsByVersionParams contains all the parameters to send to the API endpoint

for the search objects by version operation.

Typically these are written to a http.Request.

func NewSearchObjectsByVersionParams added in v0.9.0

func NewSearchObjectsByVersionParams() *SearchObjectsByVersionParams

NewSearchObjectsByVersionParams creates a new SearchObjectsByVersionParams 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 NewSearchObjectsByVersionParamsWithContext added in v0.9.0

func NewSearchObjectsByVersionParamsWithContext(ctx context.Context) *SearchObjectsByVersionParams

NewSearchObjectsByVersionParamsWithContext creates a new SearchObjectsByVersionParams object with the ability to set a context for a request.

func NewSearchObjectsByVersionParamsWithHTTPClient added in v0.9.0

func NewSearchObjectsByVersionParamsWithHTTPClient(client *http.Client) *SearchObjectsByVersionParams

NewSearchObjectsByVersionParamsWithHTTPClient creates a new SearchObjectsByVersionParams object with the ability to set a custom HTTPClient for a request.

func NewSearchObjectsByVersionParamsWithTimeout added in v0.9.0

func NewSearchObjectsByVersionParamsWithTimeout(timeout time.Duration) *SearchObjectsByVersionParams

NewSearchObjectsByVersionParamsWithTimeout creates a new SearchObjectsByVersionParams object with the ability to set a timeout on a request.

func (*SearchObjectsByVersionParams) SetCollectionName added in v0.9.0

func (o *SearchObjectsByVersionParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the search objects by version params

func (*SearchObjectsByVersionParams) SetCollectionVersion added in v0.9.0

func (o *SearchObjectsByVersionParams) SetCollectionVersion(collectionVersion string)

SetCollectionVersion adds the collectionVersion to the search objects by version params

func (*SearchObjectsByVersionParams) SetContext added in v0.9.0

func (o *SearchObjectsByVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the search objects by version params

func (*SearchObjectsByVersionParams) SetDefaults added in v0.9.0

func (o *SearchObjectsByVersionParams) SetDefaults()

SetDefaults hydrates default values in the search objects by version params (not the query body).

All values with no default are reset to their zero value.

func (*SearchObjectsByVersionParams) SetFilter added in v0.9.0

func (o *SearchObjectsByVersionParams) SetFilter(filter string)

SetFilter adds the filter to the search objects by version params

func (*SearchObjectsByVersionParams) SetHTTPClient added in v0.9.0

func (o *SearchObjectsByVersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search objects by version params

func (*SearchObjectsByVersionParams) SetLimit added in v0.9.0

func (o *SearchObjectsByVersionParams) SetLimit(limit int64)

SetLimit adds the limit to the search objects by version params

func (*SearchObjectsByVersionParams) SetOffset added in v0.9.0

func (o *SearchObjectsByVersionParams) SetOffset(offset int64)

SetOffset adds the offset to the search objects by version params

func (*SearchObjectsByVersionParams) SetSort added in v0.9.0

func (o *SearchObjectsByVersionParams) SetSort(sort *string)

SetSort adds the sort to the search objects by version params

func (*SearchObjectsByVersionParams) SetTimeout added in v0.9.0

func (o *SearchObjectsByVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search objects by version params

func (*SearchObjectsByVersionParams) WithCollectionName added in v0.9.0

func (o *SearchObjectsByVersionParams) WithCollectionName(collectionName string) *SearchObjectsByVersionParams

WithCollectionName adds the collectionName to the search objects by version params

func (*SearchObjectsByVersionParams) WithCollectionVersion added in v0.9.0

func (o *SearchObjectsByVersionParams) WithCollectionVersion(collectionVersion string) *SearchObjectsByVersionParams

WithCollectionVersion adds the collectionVersion to the search objects by version params

func (*SearchObjectsByVersionParams) WithContext added in v0.9.0

WithContext adds the context to the search objects by version params

func (*SearchObjectsByVersionParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the search objects by version params (not the query body).

All values with no default are reset to their zero value.

func (*SearchObjectsByVersionParams) WithFilter added in v0.9.0

WithFilter adds the filter to the search objects by version params

func (*SearchObjectsByVersionParams) WithHTTPClient added in v0.9.0

WithHTTPClient adds the HTTPClient to the search objects by version params

func (*SearchObjectsByVersionParams) WithLimit added in v0.9.0

WithLimit adds the limit to the search objects by version params

func (*SearchObjectsByVersionParams) WithOffset added in v0.9.0

WithOffset adds the offset to the search objects by version params

func (*SearchObjectsByVersionParams) WithSort added in v0.9.0

WithSort adds the sort to the search objects by version params

func (*SearchObjectsByVersionParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the search objects by version params

func (*SearchObjectsByVersionParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type SearchObjectsByVersionReader added in v0.9.0

type SearchObjectsByVersionReader struct {
	// contains filtered or unexported fields
}

SearchObjectsByVersionReader is a Reader for the SearchObjectsByVersion structure.

func (*SearchObjectsByVersionReader) ReadResponse added in v0.9.0

func (o *SearchObjectsByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchObjectsByVersionTooManyRequests added in v0.9.0

type SearchObjectsByVersionTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

SearchObjectsByVersionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewSearchObjectsByVersionTooManyRequests added in v0.9.0

func NewSearchObjectsByVersionTooManyRequests() *SearchObjectsByVersionTooManyRequests

NewSearchObjectsByVersionTooManyRequests creates a SearchObjectsByVersionTooManyRequests with default headers values

func (*SearchObjectsByVersionTooManyRequests) Code added in v0.9.0

Code gets the status code for the search objects by version too many requests response

func (*SearchObjectsByVersionTooManyRequests) Error added in v0.9.0

func (*SearchObjectsByVersionTooManyRequests) GetPayload added in v0.9.0

func (*SearchObjectsByVersionTooManyRequests) IsClientError added in v0.9.0

func (o *SearchObjectsByVersionTooManyRequests) IsClientError() bool

IsClientError returns true when this search objects by version too many requests response has a 4xx status code

func (*SearchObjectsByVersionTooManyRequests) IsCode added in v0.9.0

IsCode returns true when this search objects by version too many requests response a status code equal to that given

func (*SearchObjectsByVersionTooManyRequests) IsRedirect added in v0.9.0

IsRedirect returns true when this search objects by version too many requests response has a 3xx status code

func (*SearchObjectsByVersionTooManyRequests) IsServerError added in v0.9.0

func (o *SearchObjectsByVersionTooManyRequests) IsServerError() bool

IsServerError returns true when this search objects by version too many requests response has a 5xx status code

func (*SearchObjectsByVersionTooManyRequests) IsSuccess added in v0.9.0

IsSuccess returns true when this search objects by version too many requests response has a 2xx status code

func (*SearchObjectsByVersionTooManyRequests) String added in v0.9.0

type SearchParams

type SearchParams struct {

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* Filter.

	   The filter to limit the returned results.
	*/
	Filter string

	/* Limit.

	   The limit of results to return
	*/
	Limit int64

	/* Offset.

	   The offset of results to return
	*/
	Offset int64

	/* Sort.

	   The sort order for the returned results.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchParams contains all the parameters to send to the API endpoint

for the search operation.

Typically these are written to a http.Request.

func NewSearchParams

func NewSearchParams() *SearchParams

NewSearchParams creates a new SearchParams 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 NewSearchParamsWithContext

func NewSearchParamsWithContext(ctx context.Context) *SearchParams

NewSearchParamsWithContext creates a new SearchParams object with the ability to set a context for a request.

func NewSearchParamsWithHTTPClient

func NewSearchParamsWithHTTPClient(client *http.Client) *SearchParams

NewSearchParamsWithHTTPClient creates a new SearchParams object with the ability to set a custom HTTPClient for a request.

func NewSearchParamsWithTimeout

func NewSearchParamsWithTimeout(timeout time.Duration) *SearchParams

NewSearchParamsWithTimeout creates a new SearchParams object with the ability to set a timeout on a request.

func (*SearchParams) SetCollectionName

func (o *SearchParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the search params

func (*SearchParams) SetContext

func (o *SearchParams) SetContext(ctx context.Context)

SetContext adds the context to the search params

func (*SearchParams) SetDefaults

func (o *SearchParams) SetDefaults()

SetDefaults hydrates default values in the search params (not the query body).

All values with no default are reset to their zero value.

func (*SearchParams) SetFilter

func (o *SearchParams) SetFilter(filter string)

SetFilter adds the filter to the search params

func (*SearchParams) SetHTTPClient

func (o *SearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search params

func (*SearchParams) SetLimit

func (o *SearchParams) SetLimit(limit int64)

SetLimit adds the limit to the search params

func (*SearchParams) SetOffset

func (o *SearchParams) SetOffset(offset int64)

SetOffset adds the offset to the search params

func (*SearchParams) SetSort

func (o *SearchParams) SetSort(sort *string)

SetSort adds the sort to the search params

func (*SearchParams) SetTimeout

func (o *SearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search params

func (*SearchParams) WithCollectionName

func (o *SearchParams) WithCollectionName(collectionName string) *SearchParams

WithCollectionName adds the collectionName to the search params

func (*SearchParams) WithContext

func (o *SearchParams) WithContext(ctx context.Context) *SearchParams

WithContext adds the context to the search params

func (*SearchParams) WithDefaults

func (o *SearchParams) WithDefaults() *SearchParams

WithDefaults hydrates default values in the search params (not the query body).

All values with no default are reset to their zero value.

func (*SearchParams) WithFilter

func (o *SearchParams) WithFilter(filter string) *SearchParams

WithFilter adds the filter to the search params

func (*SearchParams) WithHTTPClient

func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams

WithHTTPClient adds the HTTPClient to the search params

func (*SearchParams) WithLimit

func (o *SearchParams) WithLimit(limit int64) *SearchParams

WithLimit adds the limit to the search params

func (*SearchParams) WithOffset

func (o *SearchParams) WithOffset(offset int64) *SearchParams

WithOffset adds the offset to the search params

func (*SearchParams) WithSort

func (o *SearchParams) WithSort(sort *string) *SearchParams

WithSort adds the sort to the search params

func (*SearchParams) WithTimeout

func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams

WithTimeout adds the timeout to the search params

func (*SearchParams) WriteToRequest

func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchReader

type SearchReader struct {
	// contains filtered or unexported fields
}

SearchReader is a Reader for the Search structure.

func (*SearchReader) ReadResponse

func (o *SearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchTooManyRequests

type SearchTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

SearchTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewSearchTooManyRequests

func NewSearchTooManyRequests() *SearchTooManyRequests

NewSearchTooManyRequests creates a SearchTooManyRequests with default headers values

func (*SearchTooManyRequests) Code

func (o *SearchTooManyRequests) Code() int

Code gets the status code for the search too many requests response

func (*SearchTooManyRequests) Error

func (o *SearchTooManyRequests) Error() string

func (*SearchTooManyRequests) GetPayload

func (*SearchTooManyRequests) IsClientError

func (o *SearchTooManyRequests) IsClientError() bool

IsClientError returns true when this search too many requests response has a 4xx status code

func (*SearchTooManyRequests) IsCode

func (o *SearchTooManyRequests) IsCode(code int) bool

IsCode returns true when this search too many requests response a status code equal to that given

func (*SearchTooManyRequests) IsRedirect

func (o *SearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search too many requests response has a 3xx status code

func (*SearchTooManyRequests) IsServerError

func (o *SearchTooManyRequests) IsServerError() bool

IsServerError returns true when this search too many requests response has a 5xx status code

func (*SearchTooManyRequests) IsSuccess

func (o *SearchTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search too many requests response has a 2xx status code

func (*SearchTooManyRequests) String

func (o *SearchTooManyRequests) String() string

type UploadForbidden

type UploadForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UploadForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUploadForbidden

func NewUploadForbidden() *UploadForbidden

NewUploadForbidden creates a UploadForbidden with default headers values

func (*UploadForbidden) Code

func (o *UploadForbidden) Code() int

Code gets the status code for the upload forbidden response

func (*UploadForbidden) Error

func (o *UploadForbidden) Error() string

func (*UploadForbidden) GetPayload

func (o *UploadForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*UploadForbidden) IsClientError

func (o *UploadForbidden) IsClientError() bool

IsClientError returns true when this upload forbidden response has a 4xx status code

func (*UploadForbidden) IsCode

func (o *UploadForbidden) IsCode(code int) bool

IsCode returns true when this upload forbidden response a status code equal to that given

func (*UploadForbidden) IsRedirect

func (o *UploadForbidden) IsRedirect() bool

IsRedirect returns true when this upload forbidden response has a 3xx status code

func (*UploadForbidden) IsServerError

func (o *UploadForbidden) IsServerError() bool

IsServerError returns true when this upload forbidden response has a 5xx status code

func (*UploadForbidden) IsSuccess

func (o *UploadForbidden) IsSuccess() bool

IsSuccess returns true when this upload forbidden response has a 2xx status code

func (*UploadForbidden) String

func (o *UploadForbidden) String() string

type UploadInternalServerError added in v0.9.0

type UploadInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UploadInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewUploadInternalServerError added in v0.9.0

func NewUploadInternalServerError() *UploadInternalServerError

NewUploadInternalServerError creates a UploadInternalServerError with default headers values

func (*UploadInternalServerError) Code added in v0.9.0

func (o *UploadInternalServerError) Code() int

Code gets the status code for the upload internal server error response

func (*UploadInternalServerError) Error added in v0.9.0

func (o *UploadInternalServerError) Error() string

func (*UploadInternalServerError) GetPayload added in v0.9.0

func (*UploadInternalServerError) IsClientError added in v0.9.0

func (o *UploadInternalServerError) IsClientError() bool

IsClientError returns true when this upload internal server error response has a 4xx status code

func (*UploadInternalServerError) IsCode added in v0.9.0

func (o *UploadInternalServerError) IsCode(code int) bool

IsCode returns true when this upload internal server error response a status code equal to that given

func (*UploadInternalServerError) IsRedirect added in v0.9.0

func (o *UploadInternalServerError) IsRedirect() bool

IsRedirect returns true when this upload internal server error response has a 3xx status code

func (*UploadInternalServerError) IsServerError added in v0.9.0

func (o *UploadInternalServerError) IsServerError() bool

IsServerError returns true when this upload internal server error response has a 5xx status code

func (*UploadInternalServerError) IsSuccess added in v0.9.0

func (o *UploadInternalServerError) IsSuccess() bool

IsSuccess returns true when this upload internal server error response has a 2xx status code

func (*UploadInternalServerError) String added in v0.9.0

func (o *UploadInternalServerError) String() string

type UploadOK

type UploadOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CustomStorageResponse
}

UploadOK describes a response with status code 200, with default header values.

OK

func NewUploadOK

func NewUploadOK() *UploadOK

NewUploadOK creates a UploadOK with default headers values

func (*UploadOK) Code

func (o *UploadOK) Code() int

Code gets the status code for the upload o k response

func (*UploadOK) Error

func (o *UploadOK) Error() string

func (*UploadOK) GetPayload

func (o *UploadOK) GetPayload() *models.CustomStorageResponse

func (*UploadOK) IsClientError

func (o *UploadOK) IsClientError() bool

IsClientError returns true when this upload o k response has a 4xx status code

func (*UploadOK) IsCode

func (o *UploadOK) IsCode(code int) bool

IsCode returns true when this upload o k response a status code equal to that given

func (*UploadOK) IsRedirect

func (o *UploadOK) IsRedirect() bool

IsRedirect returns true when this upload o k response has a 3xx status code

func (*UploadOK) IsServerError

func (o *UploadOK) IsServerError() bool

IsServerError returns true when this upload o k response has a 5xx status code

func (*UploadOK) IsSuccess

func (o *UploadOK) IsSuccess() bool

IsSuccess returns true when this upload o k response has a 2xx status code

func (*UploadOK) String

func (o *UploadOK) String() string

type UploadParams

type UploadParams struct {

	// Body.
	//
	// Format: binary
	Body io.ReadCloser

	/* CollectionName.

	   The name of the collection
	*/
	CollectionName string

	/* DryRun.

	   If false, run the operation as normal.  If true, validate that the request *would* succeed, but don't execute it.
	*/
	DryRun bool

	/* ObjectKey.

	   The object key
	*/
	ObjectKey string

	/* SchemaVersion.

	   The version of the collection schema
	*/
	SchemaVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UploadParams contains all the parameters to send to the API endpoint

for the upload operation.

Typically these are written to a http.Request.

func NewUploadParams

func NewUploadParams() *UploadParams

NewUploadParams creates a new UploadParams 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 NewUploadParamsWithContext

func NewUploadParamsWithContext(ctx context.Context) *UploadParams

NewUploadParamsWithContext creates a new UploadParams object with the ability to set a context for a request.

func NewUploadParamsWithHTTPClient

func NewUploadParamsWithHTTPClient(client *http.Client) *UploadParams

NewUploadParamsWithHTTPClient creates a new UploadParams object with the ability to set a custom HTTPClient for a request.

func NewUploadParamsWithTimeout

func NewUploadParamsWithTimeout(timeout time.Duration) *UploadParams

NewUploadParamsWithTimeout creates a new UploadParams object with the ability to set a timeout on a request.

func (*UploadParams) SetBody

func (o *UploadParams) SetBody(body io.ReadCloser)

SetBody adds the body to the upload params

func (*UploadParams) SetCollectionName

func (o *UploadParams) SetCollectionName(collectionName string)

SetCollectionName adds the collectionName to the upload params

func (*UploadParams) SetContext

func (o *UploadParams) SetContext(ctx context.Context)

SetContext adds the context to the upload params

func (*UploadParams) SetDefaults

func (o *UploadParams) SetDefaults()

SetDefaults hydrates default values in the upload params (not the query body).

All values with no default are reset to their zero value.

func (*UploadParams) SetDryRun

func (o *UploadParams) SetDryRun(dryRun bool)

SetDryRun adds the dryRun to the upload params

func (*UploadParams) SetHTTPClient

func (o *UploadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upload params

func (*UploadParams) SetObjectKey

func (o *UploadParams) SetObjectKey(objectKey string)

SetObjectKey adds the objectKey to the upload params

func (*UploadParams) SetSchemaVersion

func (o *UploadParams) SetSchemaVersion(schemaVersion *string)

SetSchemaVersion adds the schemaVersion to the upload params

func (*UploadParams) SetTimeout

func (o *UploadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upload params

func (*UploadParams) WithBody

func (o *UploadParams) WithBody(body io.ReadCloser) *UploadParams

WithBody adds the body to the upload params

func (*UploadParams) WithCollectionName

func (o *UploadParams) WithCollectionName(collectionName string) *UploadParams

WithCollectionName adds the collectionName to the upload params

func (*UploadParams) WithContext

func (o *UploadParams) WithContext(ctx context.Context) *UploadParams

WithContext adds the context to the upload params

func (*UploadParams) WithDefaults

func (o *UploadParams) WithDefaults() *UploadParams

WithDefaults hydrates default values in the upload params (not the query body).

All values with no default are reset to their zero value.

func (*UploadParams) WithDryRun

func (o *UploadParams) WithDryRun(dryRun bool) *UploadParams

WithDryRun adds the dryRun to the upload params

func (*UploadParams) WithHTTPClient

func (o *UploadParams) WithHTTPClient(client *http.Client) *UploadParams

WithHTTPClient adds the HTTPClient to the upload params

func (*UploadParams) WithObjectKey

func (o *UploadParams) WithObjectKey(objectKey string) *UploadParams

WithObjectKey adds the objectKey to the upload params

func (*UploadParams) WithSchemaVersion

func (o *UploadParams) WithSchemaVersion(schemaVersion *string) *UploadParams

WithSchemaVersion adds the schemaVersion to the upload params

func (*UploadParams) WithTimeout

func (o *UploadParams) WithTimeout(timeout time.Duration) *UploadParams

WithTimeout adds the timeout to the upload params

func (*UploadParams) WriteToRequest

func (o *UploadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UploadReader

type UploadReader struct {
	// contains filtered or unexported fields
}

UploadReader is a Reader for the Upload structure.

func (*UploadReader) ReadResponse

func (o *UploadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UploadTooManyRequests

type UploadTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UploadTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUploadTooManyRequests

func NewUploadTooManyRequests() *UploadTooManyRequests

NewUploadTooManyRequests creates a UploadTooManyRequests with default headers values

func (*UploadTooManyRequests) Code

func (o *UploadTooManyRequests) Code() int

Code gets the status code for the upload too many requests response

func (*UploadTooManyRequests) Error

func (o *UploadTooManyRequests) Error() string

func (*UploadTooManyRequests) GetPayload

func (*UploadTooManyRequests) IsClientError

func (o *UploadTooManyRequests) IsClientError() bool

IsClientError returns true when this upload too many requests response has a 4xx status code

func (*UploadTooManyRequests) IsCode

func (o *UploadTooManyRequests) IsCode(code int) bool

IsCode returns true when this upload too many requests response a status code equal to that given

func (*UploadTooManyRequests) IsRedirect

func (o *UploadTooManyRequests) IsRedirect() bool

IsRedirect returns true when this upload too many requests response has a 3xx status code

func (*UploadTooManyRequests) IsServerError

func (o *UploadTooManyRequests) IsServerError() bool

IsServerError returns true when this upload too many requests response has a 5xx status code

func (*UploadTooManyRequests) IsSuccess

func (o *UploadTooManyRequests) IsSuccess() bool

IsSuccess returns true when this upload too many requests response has a 2xx status code

func (*UploadTooManyRequests) String

func (o *UploadTooManyRequests) String() string

Jump to

Keyboard shortcuts

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