Documentation ¶
Index ¶
- type Client
- func (a *Client) Delete(params *DeleteParams, opts ...ClientOption) (*DeleteOK, error)
- func (a *Client) DeleteVersionedObject(params *DeleteVersionedObjectParams, opts ...ClientOption) (*DeleteVersionedObjectOK, error)
- func (a *Client) Get(params *GetParams, writer io.Writer, opts ...ClientOption) (*GetOK, error)
- func (a *Client) GetVersionedObject(params *GetVersionedObjectParams, writer io.Writer, opts ...ClientOption) (*GetVersionedObjectOK, error)
- func (a *Client) GetVersionedObjectMetadata(params *GetVersionedObjectMetadataParams, opts ...ClientOption) (*GetVersionedObjectMetadataOK, error)
- func (a *Client) List(params *ListParams, opts ...ClientOption) (*ListOK, error)
- func (a *Client) ListObjectsByVersion(params *ListObjectsByVersionParams, opts ...ClientOption) (*ListObjectsByVersionOK, error)
- func (a *Client) Metadata(params *MetadataParams, opts ...ClientOption) (*MetadataOK, error)
- func (a *Client) PutObjectByVersion(params *PutObjectByVersionParams, opts ...ClientOption) (*PutObjectByVersionOK, error)
- func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)
- func (a *Client) SearchObjectsByVersion(params *SearchObjectsByVersionParams, opts ...ClientOption) (*SearchObjectsByVersionOK, 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 DeleteInternalServerError
- func (o *DeleteInternalServerError) Code() int
- func (o *DeleteInternalServerError) Error() string
- func (o *DeleteInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteInternalServerError) IsClientError() bool
- func (o *DeleteInternalServerError) IsCode(code int) bool
- func (o *DeleteInternalServerError) IsRedirect() bool
- func (o *DeleteInternalServerError) IsServerError() bool
- func (o *DeleteInternalServerError) IsSuccess() bool
- func (o *DeleteInternalServerError) 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 DeleteVersionedObjectForbidden
- func (o *DeleteVersionedObjectForbidden) Code() int
- func (o *DeleteVersionedObjectForbidden) Error() string
- func (o *DeleteVersionedObjectForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteVersionedObjectForbidden) IsClientError() bool
- func (o *DeleteVersionedObjectForbidden) IsCode(code int) bool
- func (o *DeleteVersionedObjectForbidden) IsRedirect() bool
- func (o *DeleteVersionedObjectForbidden) IsServerError() bool
- func (o *DeleteVersionedObjectForbidden) IsSuccess() bool
- func (o *DeleteVersionedObjectForbidden) String() string
- type DeleteVersionedObjectInternalServerError
- func (o *DeleteVersionedObjectInternalServerError) Code() int
- func (o *DeleteVersionedObjectInternalServerError) Error() string
- func (o *DeleteVersionedObjectInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteVersionedObjectInternalServerError) IsClientError() bool
- func (o *DeleteVersionedObjectInternalServerError) IsCode(code int) bool
- func (o *DeleteVersionedObjectInternalServerError) IsRedirect() bool
- func (o *DeleteVersionedObjectInternalServerError) IsServerError() bool
- func (o *DeleteVersionedObjectInternalServerError) IsSuccess() bool
- func (o *DeleteVersionedObjectInternalServerError) String() string
- type DeleteVersionedObjectOK
- func (o *DeleteVersionedObjectOK) Code() int
- func (o *DeleteVersionedObjectOK) Error() string
- func (o *DeleteVersionedObjectOK) GetPayload() *models.CustomStorageResponse
- func (o *DeleteVersionedObjectOK) IsClientError() bool
- func (o *DeleteVersionedObjectOK) IsCode(code int) bool
- func (o *DeleteVersionedObjectOK) IsRedirect() bool
- func (o *DeleteVersionedObjectOK) IsServerError() bool
- func (o *DeleteVersionedObjectOK) IsSuccess() bool
- func (o *DeleteVersionedObjectOK) String() string
- type DeleteVersionedObjectParams
- func NewDeleteVersionedObjectParams() *DeleteVersionedObjectParams
- func NewDeleteVersionedObjectParamsWithContext(ctx context.Context) *DeleteVersionedObjectParams
- func NewDeleteVersionedObjectParamsWithHTTPClient(client *http.Client) *DeleteVersionedObjectParams
- func NewDeleteVersionedObjectParamsWithTimeout(timeout time.Duration) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) SetCollectionName(collectionName string)
- func (o *DeleteVersionedObjectParams) SetCollectionVersion(collectionVersion string)
- func (o *DeleteVersionedObjectParams) SetContext(ctx context.Context)
- func (o *DeleteVersionedObjectParams) SetDefaults()
- func (o *DeleteVersionedObjectParams) SetDryRun(dryRun bool)
- func (o *DeleteVersionedObjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVersionedObjectParams) SetObjectKey(objectKey string)
- func (o *DeleteVersionedObjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVersionedObjectParams) WithCollectionName(collectionName string) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithCollectionVersion(collectionVersion string) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithContext(ctx context.Context) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithDefaults() *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithDryRun(dryRun bool) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithHTTPClient(client *http.Client) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithObjectKey(objectKey string) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WithTimeout(timeout time.Duration) *DeleteVersionedObjectParams
- func (o *DeleteVersionedObjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVersionedObjectReader
- type DeleteVersionedObjectTooManyRequests
- func (o *DeleteVersionedObjectTooManyRequests) Code() int
- func (o *DeleteVersionedObjectTooManyRequests) Error() string
- func (o *DeleteVersionedObjectTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteVersionedObjectTooManyRequests) IsClientError() bool
- func (o *DeleteVersionedObjectTooManyRequests) IsCode(code int) bool
- func (o *DeleteVersionedObjectTooManyRequests) IsRedirect() bool
- func (o *DeleteVersionedObjectTooManyRequests) IsServerError() bool
- func (o *DeleteVersionedObjectTooManyRequests) IsSuccess() bool
- func (o *DeleteVersionedObjectTooManyRequests) 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 GetInternalServerError
- func (o *GetInternalServerError) Code() int
- func (o *GetInternalServerError) Error() string
- func (o *GetInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetInternalServerError) IsClientError() bool
- func (o *GetInternalServerError) IsCode(code int) bool
- func (o *GetInternalServerError) IsRedirect() bool
- func (o *GetInternalServerError) IsServerError() bool
- func (o *GetInternalServerError) IsSuccess() bool
- func (o *GetInternalServerError) 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 GetVersionedObjectForbidden
- func (o *GetVersionedObjectForbidden) Code() int
- func (o *GetVersionedObjectForbidden) Error() string
- func (o *GetVersionedObjectForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVersionedObjectForbidden) IsClientError() bool
- func (o *GetVersionedObjectForbidden) IsCode(code int) bool
- func (o *GetVersionedObjectForbidden) IsRedirect() bool
- func (o *GetVersionedObjectForbidden) IsServerError() bool
- func (o *GetVersionedObjectForbidden) IsSuccess() bool
- func (o *GetVersionedObjectForbidden) String() string
- type GetVersionedObjectInternalServerError
- func (o *GetVersionedObjectInternalServerError) Code() int
- func (o *GetVersionedObjectInternalServerError) Error() string
- func (o *GetVersionedObjectInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVersionedObjectInternalServerError) IsClientError() bool
- func (o *GetVersionedObjectInternalServerError) IsCode(code int) bool
- func (o *GetVersionedObjectInternalServerError) IsRedirect() bool
- func (o *GetVersionedObjectInternalServerError) IsServerError() bool
- func (o *GetVersionedObjectInternalServerError) IsSuccess() bool
- func (o *GetVersionedObjectInternalServerError) String() string
- type GetVersionedObjectMetadataForbidden
- func (o *GetVersionedObjectMetadataForbidden) Code() int
- func (o *GetVersionedObjectMetadataForbidden) Error() string
- func (o *GetVersionedObjectMetadataForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVersionedObjectMetadataForbidden) IsClientError() bool
- func (o *GetVersionedObjectMetadataForbidden) IsCode(code int) bool
- func (o *GetVersionedObjectMetadataForbidden) IsRedirect() bool
- func (o *GetVersionedObjectMetadataForbidden) IsServerError() bool
- func (o *GetVersionedObjectMetadataForbidden) IsSuccess() bool
- func (o *GetVersionedObjectMetadataForbidden) String() string
- type GetVersionedObjectMetadataInternalServerError
- func (o *GetVersionedObjectMetadataInternalServerError) Code() int
- func (o *GetVersionedObjectMetadataInternalServerError) Error() string
- func (o *GetVersionedObjectMetadataInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVersionedObjectMetadataInternalServerError) IsClientError() bool
- func (o *GetVersionedObjectMetadataInternalServerError) IsCode(code int) bool
- func (o *GetVersionedObjectMetadataInternalServerError) IsRedirect() bool
- func (o *GetVersionedObjectMetadataInternalServerError) IsServerError() bool
- func (o *GetVersionedObjectMetadataInternalServerError) IsSuccess() bool
- func (o *GetVersionedObjectMetadataInternalServerError) String() string
- type GetVersionedObjectMetadataOK
- func (o *GetVersionedObjectMetadataOK) Code() int
- func (o *GetVersionedObjectMetadataOK) Error() string
- func (o *GetVersionedObjectMetadataOK) GetPayload() *models.CustomStorageResponse
- func (o *GetVersionedObjectMetadataOK) IsClientError() bool
- func (o *GetVersionedObjectMetadataOK) IsCode(code int) bool
- func (o *GetVersionedObjectMetadataOK) IsRedirect() bool
- func (o *GetVersionedObjectMetadataOK) IsServerError() bool
- func (o *GetVersionedObjectMetadataOK) IsSuccess() bool
- func (o *GetVersionedObjectMetadataOK) String() string
- type GetVersionedObjectMetadataParams
- func NewGetVersionedObjectMetadataParams() *GetVersionedObjectMetadataParams
- func NewGetVersionedObjectMetadataParamsWithContext(ctx context.Context) *GetVersionedObjectMetadataParams
- func NewGetVersionedObjectMetadataParamsWithHTTPClient(client *http.Client) *GetVersionedObjectMetadataParams
- func NewGetVersionedObjectMetadataParamsWithTimeout(timeout time.Duration) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) SetCollectionName(collectionName string)
- func (o *GetVersionedObjectMetadataParams) SetCollectionVersion(collectionVersion string)
- func (o *GetVersionedObjectMetadataParams) SetContext(ctx context.Context)
- func (o *GetVersionedObjectMetadataParams) SetDefaults()
- func (o *GetVersionedObjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionedObjectMetadataParams) SetObjectKey(objectKey string)
- func (o *GetVersionedObjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionedObjectMetadataParams) WithCollectionName(collectionName string) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WithCollectionVersion(collectionVersion string) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WithContext(ctx context.Context) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WithDefaults() *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WithHTTPClient(client *http.Client) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WithObjectKey(objectKey string) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WithTimeout(timeout time.Duration) *GetVersionedObjectMetadataParams
- func (o *GetVersionedObjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionedObjectMetadataReader
- type GetVersionedObjectMetadataTooManyRequests
- func (o *GetVersionedObjectMetadataTooManyRequests) Code() int
- func (o *GetVersionedObjectMetadataTooManyRequests) Error() string
- func (o *GetVersionedObjectMetadataTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVersionedObjectMetadataTooManyRequests) IsClientError() bool
- func (o *GetVersionedObjectMetadataTooManyRequests) IsCode(code int) bool
- func (o *GetVersionedObjectMetadataTooManyRequests) IsRedirect() bool
- func (o *GetVersionedObjectMetadataTooManyRequests) IsServerError() bool
- func (o *GetVersionedObjectMetadataTooManyRequests) IsSuccess() bool
- func (o *GetVersionedObjectMetadataTooManyRequests) String() string
- type GetVersionedObjectOK
- func (o *GetVersionedObjectOK) Code() int
- func (o *GetVersionedObjectOK) Error() string
- func (o *GetVersionedObjectOK) GetPayload() io.Writer
- func (o *GetVersionedObjectOK) IsClientError() bool
- func (o *GetVersionedObjectOK) IsCode(code int) bool
- func (o *GetVersionedObjectOK) IsRedirect() bool
- func (o *GetVersionedObjectOK) IsServerError() bool
- func (o *GetVersionedObjectOK) IsSuccess() bool
- func (o *GetVersionedObjectOK) String() string
- type GetVersionedObjectParams
- func NewGetVersionedObjectParams() *GetVersionedObjectParams
- func NewGetVersionedObjectParamsWithContext(ctx context.Context) *GetVersionedObjectParams
- func NewGetVersionedObjectParamsWithHTTPClient(client *http.Client) *GetVersionedObjectParams
- func NewGetVersionedObjectParamsWithTimeout(timeout time.Duration) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) SetCollectionName(collectionName string)
- func (o *GetVersionedObjectParams) SetCollectionVersion(collectionVersion string)
- func (o *GetVersionedObjectParams) SetContext(ctx context.Context)
- func (o *GetVersionedObjectParams) SetDefaults()
- func (o *GetVersionedObjectParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionedObjectParams) SetObjectKey(objectKey string)
- func (o *GetVersionedObjectParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionedObjectParams) WithCollectionName(collectionName string) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WithCollectionVersion(collectionVersion string) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WithContext(ctx context.Context) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WithDefaults() *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WithHTTPClient(client *http.Client) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WithObjectKey(objectKey string) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WithTimeout(timeout time.Duration) *GetVersionedObjectParams
- func (o *GetVersionedObjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionedObjectReader
- type GetVersionedObjectTooManyRequests
- func (o *GetVersionedObjectTooManyRequests) Code() int
- func (o *GetVersionedObjectTooManyRequests) Error() string
- func (o *GetVersionedObjectTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVersionedObjectTooManyRequests) IsClientError() bool
- func (o *GetVersionedObjectTooManyRequests) IsCode(code int) bool
- func (o *GetVersionedObjectTooManyRequests) IsRedirect() bool
- func (o *GetVersionedObjectTooManyRequests) IsServerError() bool
- func (o *GetVersionedObjectTooManyRequests) IsSuccess() bool
- func (o *GetVersionedObjectTooManyRequests) 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 ListInternalServerError
- func (o *ListInternalServerError) Code() int
- func (o *ListInternalServerError) Error() string
- func (o *ListInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListInternalServerError) IsClientError() bool
- func (o *ListInternalServerError) IsCode(code int) bool
- func (o *ListInternalServerError) IsRedirect() bool
- func (o *ListInternalServerError) IsServerError() bool
- func (o *ListInternalServerError) IsSuccess() bool
- func (o *ListInternalServerError) 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 ListObjectsByVersionForbidden
- func (o *ListObjectsByVersionForbidden) Code() int
- func (o *ListObjectsByVersionForbidden) Error() string
- func (o *ListObjectsByVersionForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListObjectsByVersionForbidden) IsClientError() bool
- func (o *ListObjectsByVersionForbidden) IsCode(code int) bool
- func (o *ListObjectsByVersionForbidden) IsRedirect() bool
- func (o *ListObjectsByVersionForbidden) IsServerError() bool
- func (o *ListObjectsByVersionForbidden) IsSuccess() bool
- func (o *ListObjectsByVersionForbidden) String() string
- type ListObjectsByVersionInternalServerError
- func (o *ListObjectsByVersionInternalServerError) Code() int
- func (o *ListObjectsByVersionInternalServerError) Error() string
- func (o *ListObjectsByVersionInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListObjectsByVersionInternalServerError) IsClientError() bool
- func (o *ListObjectsByVersionInternalServerError) IsCode(code int) bool
- func (o *ListObjectsByVersionInternalServerError) IsRedirect() bool
- func (o *ListObjectsByVersionInternalServerError) IsServerError() bool
- func (o *ListObjectsByVersionInternalServerError) IsSuccess() bool
- func (o *ListObjectsByVersionInternalServerError) String() string
- type ListObjectsByVersionOK
- func (o *ListObjectsByVersionOK) Code() int
- func (o *ListObjectsByVersionOK) Error() string
- func (o *ListObjectsByVersionOK) GetPayload() *models.CustomStorageObjectKeys
- func (o *ListObjectsByVersionOK) IsClientError() bool
- func (o *ListObjectsByVersionOK) IsCode(code int) bool
- func (o *ListObjectsByVersionOK) IsRedirect() bool
- func (o *ListObjectsByVersionOK) IsServerError() bool
- func (o *ListObjectsByVersionOK) IsSuccess() bool
- func (o *ListObjectsByVersionOK) String() string
- type ListObjectsByVersionParams
- func NewListObjectsByVersionParams() *ListObjectsByVersionParams
- func NewListObjectsByVersionParamsWithContext(ctx context.Context) *ListObjectsByVersionParams
- func NewListObjectsByVersionParamsWithHTTPClient(client *http.Client) *ListObjectsByVersionParams
- func NewListObjectsByVersionParamsWithTimeout(timeout time.Duration) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) SetCollectionName(collectionName string)
- func (o *ListObjectsByVersionParams) SetCollectionVersion(collectionVersion string)
- func (o *ListObjectsByVersionParams) SetContext(ctx context.Context)
- func (o *ListObjectsByVersionParams) SetDefaults()
- func (o *ListObjectsByVersionParams) SetEnd(end string)
- func (o *ListObjectsByVersionParams) SetHTTPClient(client *http.Client)
- func (o *ListObjectsByVersionParams) SetLimit(limit int64)
- func (o *ListObjectsByVersionParams) SetStart(start string)
- func (o *ListObjectsByVersionParams) SetTimeout(timeout time.Duration)
- func (o *ListObjectsByVersionParams) WithCollectionName(collectionName string) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithCollectionVersion(collectionVersion string) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithContext(ctx context.Context) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithDefaults() *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithEnd(end string) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithHTTPClient(client *http.Client) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithLimit(limit int64) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithStart(start string) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WithTimeout(timeout time.Duration) *ListObjectsByVersionParams
- func (o *ListObjectsByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListObjectsByVersionReader
- type ListObjectsByVersionTooManyRequests
- func (o *ListObjectsByVersionTooManyRequests) Code() int
- func (o *ListObjectsByVersionTooManyRequests) Error() string
- func (o *ListObjectsByVersionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListObjectsByVersionTooManyRequests) IsClientError() bool
- func (o *ListObjectsByVersionTooManyRequests) IsCode(code int) bool
- func (o *ListObjectsByVersionTooManyRequests) IsRedirect() bool
- func (o *ListObjectsByVersionTooManyRequests) IsServerError() bool
- func (o *ListObjectsByVersionTooManyRequests) IsSuccess() bool
- func (o *ListObjectsByVersionTooManyRequests) 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 MetadataInternalServerError
- func (o *MetadataInternalServerError) Code() int
- func (o *MetadataInternalServerError) Error() string
- func (o *MetadataInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *MetadataInternalServerError) IsClientError() bool
- func (o *MetadataInternalServerError) IsCode(code int) bool
- func (o *MetadataInternalServerError) IsRedirect() bool
- func (o *MetadataInternalServerError) IsServerError() bool
- func (o *MetadataInternalServerError) IsSuccess() bool
- func (o *MetadataInternalServerError) 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 PutObjectByVersionForbidden
- func (o *PutObjectByVersionForbidden) Code() int
- func (o *PutObjectByVersionForbidden) Error() string
- func (o *PutObjectByVersionForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *PutObjectByVersionForbidden) IsClientError() bool
- func (o *PutObjectByVersionForbidden) IsCode(code int) bool
- func (o *PutObjectByVersionForbidden) IsRedirect() bool
- func (o *PutObjectByVersionForbidden) IsServerError() bool
- func (o *PutObjectByVersionForbidden) IsSuccess() bool
- func (o *PutObjectByVersionForbidden) String() string
- type PutObjectByVersionInternalServerError
- func (o *PutObjectByVersionInternalServerError) Code() int
- func (o *PutObjectByVersionInternalServerError) Error() string
- func (o *PutObjectByVersionInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *PutObjectByVersionInternalServerError) IsClientError() bool
- func (o *PutObjectByVersionInternalServerError) IsCode(code int) bool
- func (o *PutObjectByVersionInternalServerError) IsRedirect() bool
- func (o *PutObjectByVersionInternalServerError) IsServerError() bool
- func (o *PutObjectByVersionInternalServerError) IsSuccess() bool
- func (o *PutObjectByVersionInternalServerError) String() string
- type PutObjectByVersionOK
- func (o *PutObjectByVersionOK) Code() int
- func (o *PutObjectByVersionOK) Error() string
- func (o *PutObjectByVersionOK) GetPayload() *models.CustomStorageResponse
- func (o *PutObjectByVersionOK) IsClientError() bool
- func (o *PutObjectByVersionOK) IsCode(code int) bool
- func (o *PutObjectByVersionOK) IsRedirect() bool
- func (o *PutObjectByVersionOK) IsServerError() bool
- func (o *PutObjectByVersionOK) IsSuccess() bool
- func (o *PutObjectByVersionOK) String() string
- type PutObjectByVersionParams
- func NewPutObjectByVersionParams() *PutObjectByVersionParams
- func NewPutObjectByVersionParamsWithContext(ctx context.Context) *PutObjectByVersionParams
- func NewPutObjectByVersionParamsWithHTTPClient(client *http.Client) *PutObjectByVersionParams
- func NewPutObjectByVersionParamsWithTimeout(timeout time.Duration) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) SetBody(body io.ReadCloser)
- func (o *PutObjectByVersionParams) SetCollectionName(collectionName string)
- func (o *PutObjectByVersionParams) SetCollectionVersion(collectionVersion string)
- func (o *PutObjectByVersionParams) SetContext(ctx context.Context)
- func (o *PutObjectByVersionParams) SetDefaults()
- func (o *PutObjectByVersionParams) SetDryRun(dryRun bool)
- func (o *PutObjectByVersionParams) SetHTTPClient(client *http.Client)
- func (o *PutObjectByVersionParams) SetObjectKey(objectKey string)
- func (o *PutObjectByVersionParams) SetTimeout(timeout time.Duration)
- func (o *PutObjectByVersionParams) WithBody(body io.ReadCloser) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithCollectionName(collectionName string) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithCollectionVersion(collectionVersion string) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithContext(ctx context.Context) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithDefaults() *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithDryRun(dryRun bool) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithHTTPClient(client *http.Client) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithObjectKey(objectKey string) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WithTimeout(timeout time.Duration) *PutObjectByVersionParams
- func (o *PutObjectByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutObjectByVersionReader
- type PutObjectByVersionTooManyRequests
- func (o *PutObjectByVersionTooManyRequests) Code() int
- func (o *PutObjectByVersionTooManyRequests) Error() string
- func (o *PutObjectByVersionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PutObjectByVersionTooManyRequests) IsClientError() bool
- func (o *PutObjectByVersionTooManyRequests) IsCode(code int) bool
- func (o *PutObjectByVersionTooManyRequests) IsRedirect() bool
- func (o *PutObjectByVersionTooManyRequests) IsServerError() bool
- func (o *PutObjectByVersionTooManyRequests) IsSuccess() bool
- func (o *PutObjectByVersionTooManyRequests) 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 SearchInternalServerError
- func (o *SearchInternalServerError) Code() int
- func (o *SearchInternalServerError) Error() string
- func (o *SearchInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchInternalServerError) IsClientError() bool
- func (o *SearchInternalServerError) IsCode(code int) bool
- func (o *SearchInternalServerError) IsRedirect() bool
- func (o *SearchInternalServerError) IsServerError() bool
- func (o *SearchInternalServerError) IsSuccess() bool
- func (o *SearchInternalServerError) 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 SearchObjectsByVersionForbidden
- func (o *SearchObjectsByVersionForbidden) Code() int
- func (o *SearchObjectsByVersionForbidden) Error() string
- func (o *SearchObjectsByVersionForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchObjectsByVersionForbidden) IsClientError() bool
- func (o *SearchObjectsByVersionForbidden) IsCode(code int) bool
- func (o *SearchObjectsByVersionForbidden) IsRedirect() bool
- func (o *SearchObjectsByVersionForbidden) IsServerError() bool
- func (o *SearchObjectsByVersionForbidden) IsSuccess() bool
- func (o *SearchObjectsByVersionForbidden) String() string
- type SearchObjectsByVersionInternalServerError
- func (o *SearchObjectsByVersionInternalServerError) Code() int
- func (o *SearchObjectsByVersionInternalServerError) Error() string
- func (o *SearchObjectsByVersionInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchObjectsByVersionInternalServerError) IsClientError() bool
- func (o *SearchObjectsByVersionInternalServerError) IsCode(code int) bool
- func (o *SearchObjectsByVersionInternalServerError) IsRedirect() bool
- func (o *SearchObjectsByVersionInternalServerError) IsServerError() bool
- func (o *SearchObjectsByVersionInternalServerError) IsSuccess() bool
- func (o *SearchObjectsByVersionInternalServerError) String() string
- type SearchObjectsByVersionOK
- func (o *SearchObjectsByVersionOK) Code() int
- func (o *SearchObjectsByVersionOK) Error() string
- func (o *SearchObjectsByVersionOK) GetPayload() *models.CustomStorageResponse
- func (o *SearchObjectsByVersionOK) IsClientError() bool
- func (o *SearchObjectsByVersionOK) IsCode(code int) bool
- func (o *SearchObjectsByVersionOK) IsRedirect() bool
- func (o *SearchObjectsByVersionOK) IsServerError() bool
- func (o *SearchObjectsByVersionOK) IsSuccess() bool
- func (o *SearchObjectsByVersionOK) String() string
- type SearchObjectsByVersionParams
- func NewSearchObjectsByVersionParams() *SearchObjectsByVersionParams
- func NewSearchObjectsByVersionParamsWithContext(ctx context.Context) *SearchObjectsByVersionParams
- func NewSearchObjectsByVersionParamsWithHTTPClient(client *http.Client) *SearchObjectsByVersionParams
- func NewSearchObjectsByVersionParamsWithTimeout(timeout time.Duration) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) SetCollectionName(collectionName string)
- func (o *SearchObjectsByVersionParams) SetCollectionVersion(collectionVersion string)
- func (o *SearchObjectsByVersionParams) SetContext(ctx context.Context)
- func (o *SearchObjectsByVersionParams) SetDefaults()
- func (o *SearchObjectsByVersionParams) SetFilter(filter string)
- func (o *SearchObjectsByVersionParams) SetHTTPClient(client *http.Client)
- func (o *SearchObjectsByVersionParams) SetLimit(limit int64)
- func (o *SearchObjectsByVersionParams) SetOffset(offset int64)
- func (o *SearchObjectsByVersionParams) SetSort(sort *string)
- func (o *SearchObjectsByVersionParams) SetTimeout(timeout time.Duration)
- func (o *SearchObjectsByVersionParams) WithCollectionName(collectionName string) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithCollectionVersion(collectionVersion string) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithContext(ctx context.Context) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithDefaults() *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithFilter(filter string) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithHTTPClient(client *http.Client) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithLimit(limit int64) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithOffset(offset int64) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithSort(sort *string) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WithTimeout(timeout time.Duration) *SearchObjectsByVersionParams
- func (o *SearchObjectsByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchObjectsByVersionReader
- type SearchObjectsByVersionTooManyRequests
- func (o *SearchObjectsByVersionTooManyRequests) Code() int
- func (o *SearchObjectsByVersionTooManyRequests) Error() string
- func (o *SearchObjectsByVersionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *SearchObjectsByVersionTooManyRequests) IsClientError() bool
- func (o *SearchObjectsByVersionTooManyRequests) IsCode(code int) bool
- func (o *SearchObjectsByVersionTooManyRequests) IsRedirect() bool
- func (o *SearchObjectsByVersionTooManyRequests) IsServerError() bool
- func (o *SearchObjectsByVersionTooManyRequests) IsSuccess() bool
- func (o *SearchObjectsByVersionTooManyRequests) 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 UploadInternalServerError
- func (o *UploadInternalServerError) Code() int
- func (o *UploadInternalServerError) Error() string
- func (o *UploadInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *UploadInternalServerError) IsClientError() bool
- func (o *UploadInternalServerError) IsCode(code int) bool
- func (o *UploadInternalServerError) IsRedirect() bool
- func (o *UploadInternalServerError) IsServerError() bool
- func (o *UploadInternalServerError) IsSuccess() bool
- func (o *UploadInternalServerError) 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) DeleteVersionedObject ¶ added in v0.9.0
func (a *Client) DeleteVersionedObject(params *DeleteVersionedObjectParams, opts ...ClientOption) (*DeleteVersionedObjectOK, error)
DeleteVersionedObject deletes the specified versioned 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 (o *DeleteInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) 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 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
func (o *DeleteVersionedObjectForbidden) Code() int
Code gets the status code for the delete versioned object forbidden response
func (*DeleteVersionedObjectForbidden) Error ¶ added in v0.9.0
func (o *DeleteVersionedObjectForbidden) Error() string
func (*DeleteVersionedObjectForbidden) GetPayload ¶ added in v0.9.0
func (o *DeleteVersionedObjectForbidden) GetPayload() *models.MsaReplyMetaOnly
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
func (o *DeleteVersionedObjectForbidden) String() string
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
func (o *DeleteVersionedObjectInternalServerError) Code() int
Code gets the status code for the delete versioned object internal server error response
func (*DeleteVersionedObjectInternalServerError) Error ¶ added in v0.9.0
func (o *DeleteVersionedObjectInternalServerError) Error() string
func (*DeleteVersionedObjectInternalServerError) GetPayload ¶ added in v0.9.0
func (o *DeleteVersionedObjectInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteVersionedObjectInternalServerError) IsClientError ¶ added in v0.9.0
func (o *DeleteVersionedObjectInternalServerError) IsClientError() bool
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
func (o *DeleteVersionedObjectInternalServerError) IsCode(code int) bool
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
func (o *DeleteVersionedObjectInternalServerError) IsRedirect() bool
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
func (o *DeleteVersionedObjectInternalServerError) IsServerError() bool
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
func (o *DeleteVersionedObjectInternalServerError) IsSuccess() bool
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
func (o *DeleteVersionedObjectInternalServerError) String() string
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 (o *DeleteVersionedObjectOK) GetPayload() *models.CustomStorageResponse
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
func (o *DeleteVersionedObjectParams) WithContext(ctx context.Context) *DeleteVersionedObjectParams
WithContext adds the context to the delete versioned object params
func (*DeleteVersionedObjectParams) WithDefaults ¶ added in v0.9.0
func (o *DeleteVersionedObjectParams) WithDefaults() *DeleteVersionedObjectParams
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
func (o *DeleteVersionedObjectParams) WithDryRun(dryRun bool) *DeleteVersionedObjectParams
WithDryRun adds the dryRun to the delete versioned object params
func (*DeleteVersionedObjectParams) WithHTTPClient ¶ added in v0.9.0
func (o *DeleteVersionedObjectParams) WithHTTPClient(client *http.Client) *DeleteVersionedObjectParams
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
func (o *DeleteVersionedObjectParams) WithTimeout(timeout time.Duration) *DeleteVersionedObjectParams
WithTimeout adds the timeout to the delete versioned object params
func (*DeleteVersionedObjectParams) WriteToRequest ¶ added in v0.9.0
func (o *DeleteVersionedObjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *DeleteVersionedObjectTooManyRequests) Code() int
Code gets the status code for the delete versioned object too many requests response
func (*DeleteVersionedObjectTooManyRequests) Error ¶ added in v0.9.0
func (o *DeleteVersionedObjectTooManyRequests) Error() string
func (*DeleteVersionedObjectTooManyRequests) GetPayload ¶ added in v0.9.0
func (o *DeleteVersionedObjectTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *DeleteVersionedObjectTooManyRequests) IsCode(code int) bool
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
func (o *DeleteVersionedObjectTooManyRequests) IsRedirect() bool
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
func (o *DeleteVersionedObjectTooManyRequests) IsSuccess() bool
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
func (o *DeleteVersionedObjectTooManyRequests) 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 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 (o *GetInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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 (*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 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 (o *GetVersionedObjectForbidden) Error() string
func (*GetVersionedObjectForbidden) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectForbidden) GetPayload() *models.MsaReplyMetaOnly
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
func (o *GetVersionedObjectInternalServerError) Code() int
Code gets the status code for the get versioned object internal server error response
func (*GetVersionedObjectInternalServerError) Error ¶ added in v0.9.0
func (o *GetVersionedObjectInternalServerError) Error() string
func (*GetVersionedObjectInternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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
func (o *GetVersionedObjectInternalServerError) IsCode(code int) bool
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
func (o *GetVersionedObjectInternalServerError) IsRedirect() bool
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
func (o *GetVersionedObjectInternalServerError) IsSuccess() bool
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
func (o *GetVersionedObjectInternalServerError) String() string
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
func (o *GetVersionedObjectMetadataForbidden) Code() int
Code gets the status code for the get versioned object metadata forbidden response
func (*GetVersionedObjectMetadataForbidden) Error ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataForbidden) Error() string
func (*GetVersionedObjectMetadataForbidden) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataForbidden) GetPayload() *models.MsaReplyMetaOnly
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
func (o *GetVersionedObjectMetadataForbidden) IsCode(code int) bool
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
func (o *GetVersionedObjectMetadataForbidden) IsSuccess() bool
IsSuccess returns true when this get versioned object metadata forbidden response has a 2xx status code
func (*GetVersionedObjectMetadataForbidden) String ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataForbidden) String() string
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
func (o *GetVersionedObjectMetadataInternalServerError) Code() int
Code gets the status code for the get versioned object metadata internal server error response
func (*GetVersionedObjectMetadataInternalServerError) Error ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataInternalServerError) Error() string
func (*GetVersionedObjectMetadataInternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetVersionedObjectMetadataInternalServerError) IsClientError ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataInternalServerError) IsClientError() bool
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
func (o *GetVersionedObjectMetadataInternalServerError) IsCode(code int) bool
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
func (o *GetVersionedObjectMetadataInternalServerError) IsRedirect() bool
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
func (o *GetVersionedObjectMetadataInternalServerError) IsServerError() bool
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
func (o *GetVersionedObjectMetadataInternalServerError) IsSuccess() bool
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
func (o *GetVersionedObjectMetadataInternalServerError) String() string
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
func (o *GetVersionedObjectMetadataOK) Code() int
Code gets the status code for the get versioned object metadata o k response
func (*GetVersionedObjectMetadataOK) Error ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataOK) Error() string
func (*GetVersionedObjectMetadataOK) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataOK) GetPayload() *models.CustomStorageResponse
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
func (o *GetVersionedObjectMetadataOK) String() string
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
func (o *GetVersionedObjectMetadataParams) SetContext(ctx context.Context)
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
func (o *GetVersionedObjectMetadataParams) WithContext(ctx context.Context) *GetVersionedObjectMetadataParams
WithContext adds the context to the get versioned object metadata params
func (*GetVersionedObjectMetadataParams) WithDefaults ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataParams) WithDefaults() *GetVersionedObjectMetadataParams
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
func (o *GetVersionedObjectMetadataParams) WithHTTPClient(client *http.Client) *GetVersionedObjectMetadataParams
WithHTTPClient adds the HTTPClient to the get versioned object metadata params
func (*GetVersionedObjectMetadataParams) WithObjectKey ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataParams) WithObjectKey(objectKey string) *GetVersionedObjectMetadataParams
WithObjectKey adds the objectKey to the get versioned object metadata params
func (*GetVersionedObjectMetadataParams) WithTimeout ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataParams) WithTimeout(timeout time.Duration) *GetVersionedObjectMetadataParams
WithTimeout adds the timeout to the get versioned object metadata params
func (*GetVersionedObjectMetadataParams) WriteToRequest ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetVersionedObjectMetadataTooManyRequests) Code() int
Code gets the status code for the get versioned object metadata too many requests response
func (*GetVersionedObjectMetadataTooManyRequests) Error ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataTooManyRequests) Error() string
func (*GetVersionedObjectMetadataTooManyRequests) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetVersionedObjectMetadataTooManyRequests) IsClientError ¶ added in v0.9.0
func (o *GetVersionedObjectMetadataTooManyRequests) IsClientError() bool
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
func (o *GetVersionedObjectMetadataTooManyRequests) IsCode(code int) bool
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
func (o *GetVersionedObjectMetadataTooManyRequests) IsRedirect() bool
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
func (o *GetVersionedObjectMetadataTooManyRequests) IsServerError() bool
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
func (o *GetVersionedObjectMetadataTooManyRequests) IsSuccess() bool
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
func (o *GetVersionedObjectMetadataTooManyRequests) String() string
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
func (o *GetVersionedObjectParams) WithContext(ctx context.Context) *GetVersionedObjectParams
WithContext adds the context to the get versioned object params
func (*GetVersionedObjectParams) WithDefaults ¶ added in v0.9.0
func (o *GetVersionedObjectParams) WithDefaults() *GetVersionedObjectParams
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
func (o *GetVersionedObjectParams) WithTimeout(timeout time.Duration) *GetVersionedObjectParams
WithTimeout adds the timeout to the get versioned object params
func (*GetVersionedObjectParams) WriteToRequest ¶ added in v0.9.0
func (o *GetVersionedObjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetVersionedObjectTooManyRequests) Code() int
Code gets the status code for the get versioned object too many requests response
func (*GetVersionedObjectTooManyRequests) Error ¶ added in v0.9.0
func (o *GetVersionedObjectTooManyRequests) Error() string
func (*GetVersionedObjectTooManyRequests) GetPayload ¶ added in v0.9.0
func (o *GetVersionedObjectTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *GetVersionedObjectTooManyRequests) 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 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 (o *ListInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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 (*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 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
func (o *ListObjectsByVersionForbidden) Code() int
Code gets the status code for the list objects by version forbidden response
func (*ListObjectsByVersionForbidden) Error ¶ added in v0.9.0
func (o *ListObjectsByVersionForbidden) Error() string
func (*ListObjectsByVersionForbidden) GetPayload ¶ added in v0.9.0
func (o *ListObjectsByVersionForbidden) GetPayload() *models.MsaReplyMetaOnly
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
func (o *ListObjectsByVersionForbidden) String() string
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
func (o *ListObjectsByVersionInternalServerError) Code() int
Code gets the status code for the list objects by version internal server error response
func (*ListObjectsByVersionInternalServerError) Error ¶ added in v0.9.0
func (o *ListObjectsByVersionInternalServerError) Error() string
func (*ListObjectsByVersionInternalServerError) GetPayload ¶ added in v0.9.0
func (o *ListObjectsByVersionInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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
func (o *ListObjectsByVersionInternalServerError) IsCode(code int) bool
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
func (o *ListObjectsByVersionInternalServerError) IsRedirect() bool
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
func (o *ListObjectsByVersionInternalServerError) IsSuccess() bool
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
func (o *ListObjectsByVersionInternalServerError) String() string
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 (o *ListObjectsByVersionOK) GetPayload() *models.CustomStorageObjectKeys
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
func (o *ListObjectsByVersionParams) WithContext(ctx context.Context) *ListObjectsByVersionParams
WithContext adds the context to the list objects by version params
func (*ListObjectsByVersionParams) WithDefaults ¶ added in v0.9.0
func (o *ListObjectsByVersionParams) WithDefaults() *ListObjectsByVersionParams
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
func (o *ListObjectsByVersionParams) WithEnd(end string) *ListObjectsByVersionParams
WithEnd adds the end to the list objects by version params
func (*ListObjectsByVersionParams) WithHTTPClient ¶ added in v0.9.0
func (o *ListObjectsByVersionParams) WithHTTPClient(client *http.Client) *ListObjectsByVersionParams
WithHTTPClient adds the HTTPClient to the list objects by version params
func (*ListObjectsByVersionParams) WithLimit ¶ added in v0.9.0
func (o *ListObjectsByVersionParams) WithLimit(limit int64) *ListObjectsByVersionParams
WithLimit adds the limit to the list objects by version params
func (*ListObjectsByVersionParams) WithStart ¶ added in v0.9.0
func (o *ListObjectsByVersionParams) WithStart(start string) *ListObjectsByVersionParams
WithStart adds the start to the list objects by version params
func (*ListObjectsByVersionParams) WithTimeout ¶ added in v0.9.0
func (o *ListObjectsByVersionParams) WithTimeout(timeout time.Duration) *ListObjectsByVersionParams
WithTimeout adds the timeout to the list objects by version params
func (*ListObjectsByVersionParams) WriteToRequest ¶ added in v0.9.0
func (o *ListObjectsByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ListObjectsByVersionTooManyRequests) Code() int
Code gets the status code for the list objects by version too many requests response
func (*ListObjectsByVersionTooManyRequests) Error ¶ added in v0.9.0
func (o *ListObjectsByVersionTooManyRequests) Error() string
func (*ListObjectsByVersionTooManyRequests) GetPayload ¶ added in v0.9.0
func (o *ListObjectsByVersionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *ListObjectsByVersionTooManyRequests) IsCode(code int) bool
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
func (o *ListObjectsByVersionTooManyRequests) IsSuccess() bool
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
func (o *ListObjectsByVersionTooManyRequests) String() string
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 (o *MetadataInternalServerError) Error() string
func (*MetadataInternalServerError) GetPayload ¶ added in v0.9.0
func (o *MetadataInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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 (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 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 (o *PutObjectByVersionForbidden) Error() string
func (*PutObjectByVersionForbidden) GetPayload ¶ added in v0.9.0
func (o *PutObjectByVersionForbidden) GetPayload() *models.MsaReplyMetaOnly
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
func (o *PutObjectByVersionInternalServerError) Code() int
Code gets the status code for the put object by version internal server error response
func (*PutObjectByVersionInternalServerError) Error ¶ added in v0.9.0
func (o *PutObjectByVersionInternalServerError) Error() string
func (*PutObjectByVersionInternalServerError) GetPayload ¶ added in v0.9.0
func (o *PutObjectByVersionInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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
func (o *PutObjectByVersionInternalServerError) IsCode(code int) bool
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
func (o *PutObjectByVersionInternalServerError) IsRedirect() bool
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
func (o *PutObjectByVersionInternalServerError) IsSuccess() bool
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
func (o *PutObjectByVersionInternalServerError) String() string
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 (o *PutObjectByVersionOK) GetPayload() *models.CustomStorageResponse
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
func (o *PutObjectByVersionParams) WithBody(body io.ReadCloser) *PutObjectByVersionParams
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
func (o *PutObjectByVersionParams) WithContext(ctx context.Context) *PutObjectByVersionParams
WithContext adds the context to the put object by version params
func (*PutObjectByVersionParams) WithDefaults ¶ added in v0.9.0
func (o *PutObjectByVersionParams) WithDefaults() *PutObjectByVersionParams
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
func (o *PutObjectByVersionParams) WithDryRun(dryRun bool) *PutObjectByVersionParams
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
func (o *PutObjectByVersionParams) WithTimeout(timeout time.Duration) *PutObjectByVersionParams
WithTimeout adds the timeout to the put object by version params
func (*PutObjectByVersionParams) WriteToRequest ¶ added in v0.9.0
func (o *PutObjectByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *PutObjectByVersionTooManyRequests) Code() int
Code gets the status code for the put object by version too many requests response
func (*PutObjectByVersionTooManyRequests) Error ¶ added in v0.9.0
func (o *PutObjectByVersionTooManyRequests) Error() string
func (*PutObjectByVersionTooManyRequests) GetPayload ¶ added in v0.9.0
func (o *PutObjectByVersionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *PutObjectByVersionTooManyRequests) 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 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 (o *SearchInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) 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 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
func (o *SearchObjectsByVersionForbidden) Code() int
Code gets the status code for the search objects by version forbidden response
func (*SearchObjectsByVersionForbidden) Error ¶ added in v0.9.0
func (o *SearchObjectsByVersionForbidden) Error() string
func (*SearchObjectsByVersionForbidden) GetPayload ¶ added in v0.9.0
func (o *SearchObjectsByVersionForbidden) GetPayload() *models.MsaReplyMetaOnly
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
func (o *SearchObjectsByVersionForbidden) String() string
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
func (o *SearchObjectsByVersionInternalServerError) Code() int
Code gets the status code for the search objects by version internal server error response
func (*SearchObjectsByVersionInternalServerError) Error ¶ added in v0.9.0
func (o *SearchObjectsByVersionInternalServerError) Error() string
func (*SearchObjectsByVersionInternalServerError) GetPayload ¶ added in v0.9.0
func (o *SearchObjectsByVersionInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*SearchObjectsByVersionInternalServerError) IsClientError ¶ added in v0.9.0
func (o *SearchObjectsByVersionInternalServerError) IsClientError() bool
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
func (o *SearchObjectsByVersionInternalServerError) IsCode(code int) bool
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
func (o *SearchObjectsByVersionInternalServerError) IsRedirect() bool
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
func (o *SearchObjectsByVersionInternalServerError) IsServerError() bool
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
func (o *SearchObjectsByVersionInternalServerError) IsSuccess() bool
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
func (o *SearchObjectsByVersionInternalServerError) String() string
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 (o *SearchObjectsByVersionOK) GetPayload() *models.CustomStorageResponse
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
func (o *SearchObjectsByVersionParams) WithContext(ctx context.Context) *SearchObjectsByVersionParams
WithContext adds the context to the search objects by version params
func (*SearchObjectsByVersionParams) WithDefaults ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WithDefaults() *SearchObjectsByVersionParams
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
func (o *SearchObjectsByVersionParams) WithFilter(filter string) *SearchObjectsByVersionParams
WithFilter adds the filter to the search objects by version params
func (*SearchObjectsByVersionParams) WithHTTPClient ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WithHTTPClient(client *http.Client) *SearchObjectsByVersionParams
WithHTTPClient adds the HTTPClient to the search objects by version params
func (*SearchObjectsByVersionParams) WithLimit ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WithLimit(limit int64) *SearchObjectsByVersionParams
WithLimit adds the limit to the search objects by version params
func (*SearchObjectsByVersionParams) WithOffset ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WithOffset(offset int64) *SearchObjectsByVersionParams
WithOffset adds the offset to the search objects by version params
func (*SearchObjectsByVersionParams) WithSort ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WithSort(sort *string) *SearchObjectsByVersionParams
WithSort adds the sort to the search objects by version params
func (*SearchObjectsByVersionParams) WithTimeout ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WithTimeout(timeout time.Duration) *SearchObjectsByVersionParams
WithTimeout adds the timeout to the search objects by version params
func (*SearchObjectsByVersionParams) WriteToRequest ¶ added in v0.9.0
func (o *SearchObjectsByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *SearchObjectsByVersionTooManyRequests) Code() int
Code gets the status code for the search objects by version too many requests response
func (*SearchObjectsByVersionTooManyRequests) Error ¶ added in v0.9.0
func (o *SearchObjectsByVersionTooManyRequests) Error() string
func (*SearchObjectsByVersionTooManyRequests) GetPayload ¶ added in v0.9.0
func (o *SearchObjectsByVersionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *SearchObjectsByVersionTooManyRequests) IsCode(code int) bool
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
func (o *SearchObjectsByVersionTooManyRequests) IsRedirect() bool
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
func (o *SearchObjectsByVersionTooManyRequests) IsSuccess() bool
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
func (o *SearchObjectsByVersionTooManyRequests) String() string
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 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 (o *UploadInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) 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
Source Files ¶
- custom_storage_client.go
- delete_parameters.go
- delete_responses.go
- delete_versioned_object_parameters.go
- delete_versioned_object_responses.go
- get_parameters.go
- get_responses.go
- get_versioned_object_metadata_parameters.go
- get_versioned_object_metadata_responses.go
- get_versioned_object_parameters.go
- get_versioned_object_responses.go
- list_objects_by_version_parameters.go
- list_objects_by_version_responses.go
- list_parameters.go
- list_responses.go
- metadata_parameters.go
- metadata_responses.go
- put_object_by_version_parameters.go
- put_object_by_version_responses.go
- search_objects_by_version_parameters.go
- search_objects_by_version_responses.go
- search_parameters.go
- search_responses.go
- upload_parameters.go
- upload_responses.go