Documentation ¶
Index ¶
- type Client
- func (a *Client) Delete(params *DeleteParams, opts ...ClientOption) (*DeleteOK, error)
- func (a *Client) Get(params *GetParams, writer io.Writer, opts ...ClientOption) (*GetOK, error)
- func (a *Client) List(params *ListParams, opts ...ClientOption) (*ListOK, error)
- func (a *Client) Metadata(params *MetadataParams, opts ...ClientOption) (*MetadataOK, error)
- func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Upload(params *UploadParams, opts ...ClientOption) (*UploadOK, error)
- type ClientOption
- type ClientService
- type DeleteForbidden
- func (o *DeleteForbidden) Code() int
- func (o *DeleteForbidden) Error() string
- func (o *DeleteForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteForbidden) IsClientError() bool
- func (o *DeleteForbidden) IsCode(code int) bool
- func (o *DeleteForbidden) IsRedirect() bool
- func (o *DeleteForbidden) IsServerError() bool
- func (o *DeleteForbidden) IsSuccess() bool
- func (o *DeleteForbidden) String() string
- type DeleteOK
- func (o *DeleteOK) Code() int
- func (o *DeleteOK) Error() string
- func (o *DeleteOK) GetPayload() *models.CustomStorageResponse
- func (o *DeleteOK) IsClientError() bool
- func (o *DeleteOK) IsCode(code int) bool
- func (o *DeleteOK) IsRedirect() bool
- func (o *DeleteOK) IsServerError() bool
- func (o *DeleteOK) IsSuccess() bool
- func (o *DeleteOK) String() string
- type DeleteParams
- func (o *DeleteParams) SetCollectionName(collectionName string)
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetDefaults()
- func (o *DeleteParams) SetDryRun(dryRun bool)
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetObjectKey(objectKey string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) WithCollectionName(collectionName string) *DeleteParams
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithDefaults() *DeleteParams
- func (o *DeleteParams) WithDryRun(dryRun bool) *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithObjectKey(objectKey string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReader
- type DeleteTooManyRequests
- func (o *DeleteTooManyRequests) Code() int
- func (o *DeleteTooManyRequests) Error() string
- func (o *DeleteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteTooManyRequests) IsClientError() bool
- func (o *DeleteTooManyRequests) IsCode(code int) bool
- func (o *DeleteTooManyRequests) IsRedirect() bool
- func (o *DeleteTooManyRequests) IsServerError() bool
- func (o *DeleteTooManyRequests) IsSuccess() bool
- func (o *DeleteTooManyRequests) String() string
- type GetForbidden
- func (o *GetForbidden) Code() int
- func (o *GetForbidden) Error() string
- func (o *GetForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetForbidden) IsClientError() bool
- func (o *GetForbidden) IsCode(code int) bool
- func (o *GetForbidden) IsRedirect() bool
- func (o *GetForbidden) IsServerError() bool
- func (o *GetForbidden) IsSuccess() bool
- func (o *GetForbidden) String() string
- type GetOK
- func (o *GetOK) Code() int
- func (o *GetOK) Error() string
- func (o *GetOK) GetPayload() io.Writer
- func (o *GetOK) IsClientError() bool
- func (o *GetOK) IsCode(code int) bool
- func (o *GetOK) IsRedirect() bool
- func (o *GetOK) IsServerError() bool
- func (o *GetOK) IsSuccess() bool
- func (o *GetOK) String() string
- type GetParams
- func (o *GetParams) SetCollectionName(collectionName string)
- func (o *GetParams) SetContext(ctx context.Context)
- func (o *GetParams) SetDefaults()
- func (o *GetParams) SetHTTPClient(client *http.Client)
- func (o *GetParams) SetObjectKey(objectKey string)
- func (o *GetParams) SetTimeout(timeout time.Duration)
- func (o *GetParams) WithCollectionName(collectionName string) *GetParams
- func (o *GetParams) WithContext(ctx context.Context) *GetParams
- func (o *GetParams) WithDefaults() *GetParams
- func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams
- func (o *GetParams) WithObjectKey(objectKey string) *GetParams
- func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams
- func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReader
- type GetTooManyRequests
- func (o *GetTooManyRequests) Code() int
- func (o *GetTooManyRequests) Error() string
- func (o *GetTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetTooManyRequests) IsClientError() bool
- func (o *GetTooManyRequests) IsCode(code int) bool
- func (o *GetTooManyRequests) IsRedirect() bool
- func (o *GetTooManyRequests) IsServerError() bool
- func (o *GetTooManyRequests) IsSuccess() bool
- func (o *GetTooManyRequests) String() string
- type ListForbidden
- func (o *ListForbidden) Code() int
- func (o *ListForbidden) Error() string
- func (o *ListForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListForbidden) IsClientError() bool
- func (o *ListForbidden) IsCode(code int) bool
- func (o *ListForbidden) IsRedirect() bool
- func (o *ListForbidden) IsServerError() bool
- func (o *ListForbidden) IsSuccess() bool
- func (o *ListForbidden) String() string
- type ListOK
- func (o *ListOK) Code() int
- func (o *ListOK) Error() string
- func (o *ListOK) GetPayload() *models.CustomStorageObjectKeys
- func (o *ListOK) IsClientError() bool
- func (o *ListOK) IsCode(code int) bool
- func (o *ListOK) IsRedirect() bool
- func (o *ListOK) IsServerError() bool
- func (o *ListOK) IsSuccess() bool
- func (o *ListOK) String() string
- type ListParams
- func (o *ListParams) SetCollectionName(collectionName string)
- func (o *ListParams) SetContext(ctx context.Context)
- func (o *ListParams) SetDefaults()
- func (o *ListParams) SetEnd(end string)
- func (o *ListParams) SetHTTPClient(client *http.Client)
- func (o *ListParams) SetLimit(limit int64)
- func (o *ListParams) SetStart(start string)
- func (o *ListParams) SetTimeout(timeout time.Duration)
- func (o *ListParams) WithCollectionName(collectionName string) *ListParams
- func (o *ListParams) WithContext(ctx context.Context) *ListParams
- func (o *ListParams) WithDefaults() *ListParams
- func (o *ListParams) WithEnd(end string) *ListParams
- func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
- func (o *ListParams) WithLimit(limit int64) *ListParams
- func (o *ListParams) WithStart(start string) *ListParams
- func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
- func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReader
- type ListTooManyRequests
- func (o *ListTooManyRequests) Code() int
- func (o *ListTooManyRequests) Error() string
- func (o *ListTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListTooManyRequests) IsClientError() bool
- func (o *ListTooManyRequests) IsCode(code int) bool
- func (o *ListTooManyRequests) IsRedirect() bool
- func (o *ListTooManyRequests) IsServerError() bool
- func (o *ListTooManyRequests) IsSuccess() bool
- func (o *ListTooManyRequests) String() string
- type MetadataForbidden
- func (o *MetadataForbidden) Code() int
- func (o *MetadataForbidden) Error() string
- func (o *MetadataForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *MetadataForbidden) IsClientError() bool
- func (o *MetadataForbidden) IsCode(code int) bool
- func (o *MetadataForbidden) IsRedirect() bool
- func (o *MetadataForbidden) IsServerError() bool
- func (o *MetadataForbidden) IsSuccess() bool
- func (o *MetadataForbidden) String() string
- type MetadataOK
- func (o *MetadataOK) Code() int
- func (o *MetadataOK) Error() string
- func (o *MetadataOK) GetPayload() *models.CustomStorageResponse
- func (o *MetadataOK) IsClientError() bool
- func (o *MetadataOK) IsCode(code int) bool
- func (o *MetadataOK) IsRedirect() bool
- func (o *MetadataOK) IsServerError() bool
- func (o *MetadataOK) IsSuccess() bool
- func (o *MetadataOK) String() string
- type MetadataParams
- func (o *MetadataParams) SetCollectionName(collectionName string)
- func (o *MetadataParams) SetContext(ctx context.Context)
- func (o *MetadataParams) SetDefaults()
- func (o *MetadataParams) SetHTTPClient(client *http.Client)
- func (o *MetadataParams) SetObjectKey(objectKey string)
- func (o *MetadataParams) SetTimeout(timeout time.Duration)
- func (o *MetadataParams) WithCollectionName(collectionName string) *MetadataParams
- func (o *MetadataParams) WithContext(ctx context.Context) *MetadataParams
- func (o *MetadataParams) WithDefaults() *MetadataParams
- func (o *MetadataParams) WithHTTPClient(client *http.Client) *MetadataParams
- func (o *MetadataParams) WithObjectKey(objectKey string) *MetadataParams
- func (o *MetadataParams) WithTimeout(timeout time.Duration) *MetadataParams
- func (o *MetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MetadataReader
- type MetadataTooManyRequests
- func (o *MetadataTooManyRequests) Code() int
- func (o *MetadataTooManyRequests) Error() string
- func (o *MetadataTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *MetadataTooManyRequests) IsClientError() bool
- func (o *MetadataTooManyRequests) IsCode(code int) bool
- func (o *MetadataTooManyRequests) IsRedirect() bool
- func (o *MetadataTooManyRequests) IsServerError() bool
- func (o *MetadataTooManyRequests) IsSuccess() bool
- func (o *MetadataTooManyRequests) String() string
- type SearchForbidden
- func (o *SearchForbidden) Code() int
- func (o *SearchForbidden) Error() string
- func (o *SearchForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchForbidden) IsClientError() bool
- func (o *SearchForbidden) IsCode(code int) bool
- func (o *SearchForbidden) IsRedirect() bool
- func (o *SearchForbidden) IsServerError() bool
- func (o *SearchForbidden) IsSuccess() bool
- func (o *SearchForbidden) String() string
- type SearchOK
- func (o *SearchOK) Code() int
- func (o *SearchOK) Error() string
- func (o *SearchOK) GetPayload() *models.CustomStorageResponse
- func (o *SearchOK) IsClientError() bool
- func (o *SearchOK) IsCode(code int) bool
- func (o *SearchOK) IsRedirect() bool
- func (o *SearchOK) IsServerError() bool
- func (o *SearchOK) IsSuccess() bool
- func (o *SearchOK) String() string
- type SearchParams
- func (o *SearchParams) SetCollectionName(collectionName string)
- func (o *SearchParams) SetContext(ctx context.Context)
- func (o *SearchParams) SetDefaults()
- func (o *SearchParams) SetFilter(filter string)
- func (o *SearchParams) SetHTTPClient(client *http.Client)
- func (o *SearchParams) SetLimit(limit int64)
- func (o *SearchParams) SetOffset(offset int64)
- func (o *SearchParams) SetSort(sort *string)
- func (o *SearchParams) SetTimeout(timeout time.Duration)
- func (o *SearchParams) WithCollectionName(collectionName string) *SearchParams
- func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
- func (o *SearchParams) WithDefaults() *SearchParams
- func (o *SearchParams) WithFilter(filter string) *SearchParams
- func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
- func (o *SearchParams) WithLimit(limit int64) *SearchParams
- func (o *SearchParams) WithOffset(offset int64) *SearchParams
- func (o *SearchParams) WithSort(sort *string) *SearchParams
- func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
- func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchReader
- type SearchTooManyRequests
- func (o *SearchTooManyRequests) Code() int
- func (o *SearchTooManyRequests) Error() string
- func (o *SearchTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchTooManyRequests) IsClientError() bool
- func (o *SearchTooManyRequests) IsCode(code int) bool
- func (o *SearchTooManyRequests) IsRedirect() bool
- func (o *SearchTooManyRequests) IsServerError() bool
- func (o *SearchTooManyRequests) IsSuccess() bool
- func (o *SearchTooManyRequests) String() string
- type UploadForbidden
- func (o *UploadForbidden) Code() int
- func (o *UploadForbidden) Error() string
- func (o *UploadForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UploadForbidden) IsClientError() bool
- func (o *UploadForbidden) IsCode(code int) bool
- func (o *UploadForbidden) IsRedirect() bool
- func (o *UploadForbidden) IsServerError() bool
- func (o *UploadForbidden) IsSuccess() bool
- func (o *UploadForbidden) String() string
- type UploadOK
- func (o *UploadOK) Code() int
- func (o *UploadOK) Error() string
- func (o *UploadOK) GetPayload() *models.CustomStorageResponse
- func (o *UploadOK) IsClientError() bool
- func (o *UploadOK) IsCode(code int) bool
- func (o *UploadOK) IsRedirect() bool
- func (o *UploadOK) IsServerError() bool
- func (o *UploadOK) IsSuccess() bool
- func (o *UploadOK) String() string
- type UploadParams
- func (o *UploadParams) SetBody(body io.ReadCloser)
- func (o *UploadParams) SetCollectionName(collectionName string)
- func (o *UploadParams) SetContext(ctx context.Context)
- func (o *UploadParams) SetDefaults()
- func (o *UploadParams) SetDryRun(dryRun bool)
- func (o *UploadParams) SetHTTPClient(client *http.Client)
- func (o *UploadParams) SetObjectKey(objectKey string)
- func (o *UploadParams) SetSchemaVersion(schemaVersion *string)
- func (o *UploadParams) SetTimeout(timeout time.Duration)
- func (o *UploadParams) WithBody(body io.ReadCloser) *UploadParams
- func (o *UploadParams) WithCollectionName(collectionName string) *UploadParams
- func (o *UploadParams) WithContext(ctx context.Context) *UploadParams
- func (o *UploadParams) WithDefaults() *UploadParams
- func (o *UploadParams) WithDryRun(dryRun bool) *UploadParams
- func (o *UploadParams) WithHTTPClient(client *http.Client) *UploadParams
- func (o *UploadParams) WithObjectKey(objectKey string) *UploadParams
- func (o *UploadParams) WithSchemaVersion(schemaVersion *string) *UploadParams
- func (o *UploadParams) WithTimeout(timeout time.Duration) *UploadParams
- func (o *UploadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadReader
- type UploadTooManyRequests
- func (o *UploadTooManyRequests) Code() int
- func (o *UploadTooManyRequests) Error() string
- func (o *UploadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UploadTooManyRequests) IsClientError() bool
- func (o *UploadTooManyRequests) IsCode(code int) bool
- func (o *UploadTooManyRequests) IsRedirect() bool
- func (o *UploadTooManyRequests) IsServerError() bool
- func (o *UploadTooManyRequests) IsSuccess() bool
- func (o *UploadTooManyRequests) String() string
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) 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) Metadata ¶
func (a *Client) Metadata(params *MetadataParams, opts ...ClientOption) (*MetadataOK, error)
Metadata gets the metadata for the specified object
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) 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 { 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 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) GetPayload ¶
func (o *DeleteOK) GetPayload() *models.CustomStorageResponse
func (*DeleteOK) IsClientError ¶
IsClientError returns true when this delete o k response has a 4xx status code
func (*DeleteOK) IsCode ¶
IsCode returns true when this delete o k response a status code equal to that given
func (*DeleteOK) IsRedirect ¶
IsRedirect returns true when this delete o k response has a 3xx status code
func (*DeleteOK) IsServerError ¶
IsServerError returns true when this delete o k response has a 5xx status code
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 (o *DeleteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 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 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 (*GetOK) GetPayload ¶
func (*GetOK) IsClientError ¶
IsClientError returns true when this get o k response has a 4xx status code
func (*GetOK) IsCode ¶
IsCode returns true when this get o k response a status code equal to that given
func (*GetOK) IsRedirect ¶
IsRedirect returns true when this get o k response has a 3xx status code
func (*GetOK) IsServerError ¶
IsServerError returns true when this get o k response has a 5xx status code
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 ¶
NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.
func NewGetParamsWithHTTPClient ¶
NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.
func NewGetParamsWithTimeout ¶
NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.
func (*GetParams) SetCollectionName ¶
SetCollectionName adds the collectionName to the get params
func (*GetParams) SetContext ¶
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 ¶
SetHTTPClient adds the HTTPClient to the get params
func (*GetParams) SetObjectKey ¶
SetObjectKey adds the objectKey to the get params
func (*GetParams) SetTimeout ¶
SetTimeout adds the timeout to the get params
func (*GetParams) WithCollectionName ¶
WithCollectionName adds the collectionName to the get params
func (*GetParams) WithContext ¶
WithContext adds the context to the get params
func (*GetParams) WithDefaults ¶
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 ¶
WithHTTPClient adds the HTTPClient to the get params
func (*GetParams) WithObjectKey ¶
WithObjectKey adds the objectKey to the get params
func (*GetParams) WithTimeout ¶
WithTimeout adds the timeout to the get params
func (*GetParams) WriteToRequest ¶
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 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 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 (*ListOK) GetPayload ¶
func (o *ListOK) GetPayload() *models.CustomStorageObjectKeys
func (*ListOK) IsClientError ¶
IsClientError returns true when this list o k response has a 4xx status code
func (*ListOK) IsCode ¶
IsCode returns true when this list o k response a status code equal to that given
func (*ListOK) IsRedirect ¶
IsRedirect returns true when this list o k response has a 3xx status code
func (*ListOK) IsServerError ¶
IsServerError returns true when this list o k response has a 5xx status code
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 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 (o *MetadataTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 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 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) GetPayload ¶
func (o *SearchOK) GetPayload() *models.CustomStorageResponse
func (*SearchOK) IsClientError ¶
IsClientError returns true when this search o k response has a 4xx status code
func (*SearchOK) IsCode ¶
IsCode returns true when this search o k response a status code equal to that given
func (*SearchOK) IsRedirect ¶
IsRedirect returns true when this search o k response has a 3xx status code
func (*SearchOK) IsServerError ¶
IsServerError returns true when this search o k response has a 5xx status code
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 (o *SearchTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 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) GetPayload ¶
func (o *UploadOK) GetPayload() *models.CustomStorageResponse
func (*UploadOK) IsClientError ¶
IsClientError returns true when this upload o k response has a 4xx status code
func (*UploadOK) IsCode ¶
IsCode returns true when this upload o k response a status code equal to that given
func (*UploadOK) IsRedirect ¶
IsRedirect returns true when this upload o k response has a 3xx status code
func (*UploadOK) IsServerError ¶
IsServerError returns true when this upload o k response has a 5xx status code
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 (o *UploadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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