Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetStorageBucketCORSHTTPOK, error)
- func (a *Client) KeyLinkHTTP(params *KeyLinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*KeyLinkHTTPNoContent, error)
- func (a *Client) KeyUnlinkHTTP(params *KeyUnlinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*KeyUnlinkHTTPNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StorageBucketCORSCreateHTTP(params *StorageBucketCORSCreateHTTPParams, ...) (*StorageBucketCORSCreateHTTPNoContent, error)
- func (a *Client) StorageBucketCreateHTTP(params *StorageBucketCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageBucketCreateHTTPNoContent, error)
- func (a *Client) StorageBucketLifecycleCreateHTTP(params *StorageBucketLifecycleCreateHTTPParams, ...) (*StorageBucketLifecycleCreateHTTPNoContent, error)
- func (a *Client) StorageBucketLifecycleDeleteHTTP(params *StorageBucketLifecycleDeleteHTTPParams, ...) (*StorageBucketLifecycleDeleteHTTPNoContent, error)
- func (a *Client) StorageBucketPolicyCreateHTTP(params *StorageBucketPolicyCreateHTTPParams, ...) (*StorageBucketPolicyCreateHTTPNoContent, error)
- func (a *Client) StorageBucketRemoveHTTP(params *StorageBucketRemoveHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageBucketRemoveHTTPNoContent, error)
- func (a *Client) StorageCreateHTTP(params *StorageCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageCreateHTTPOK, error)
- func (a *Client) StorageDeleteHTTP(params *StorageDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageDeleteHTTPNoContent, error)
- func (a *Client) StorageGetHTTP(params *StorageGetHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageGetHTTPOK, error)
- func (a *Client) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageListBucketsHTTPOK, error)
- func (a *Client) StorageListHTTPV1(params *StorageListHTTPV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageListHTTPV1OK, error)
- func (a *Client) StorageListHTTPV2(params *StorageListHTTPV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageListHTTPV2OK, error)
- func (a *Client) StorageUpdateCredentialsHTTP(params *StorageUpdateCredentialsHTTPParams, ...) (*StorageUpdateCredentialsHTTPOK, error)
- func (a *Client) StorageUpdateHTTP(params *StorageUpdateHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageUpdateHTTPOK, error)
- type ClientOption
- type ClientService
- type GetStorageBucketCORSHTTPBadRequest
- type GetStorageBucketCORSHTTPBody
- func (o *GetStorageBucketCORSHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetStorageBucketCORSHTTPBody) MarshalBinary() ([]byte, error)
- func (o *GetStorageBucketCORSHTTPBody) UnmarshalBinary(b []byte) error
- func (o *GetStorageBucketCORSHTTPBody) Validate(formats strfmt.Registry) error
- type GetStorageBucketCORSHTTPOK
- type GetStorageBucketCORSHTTPParams
- func NewGetStorageBucketCORSHTTPParams() *GetStorageBucketCORSHTTPParams
- func NewGetStorageBucketCORSHTTPParamsWithContext(ctx context.Context) *GetStorageBucketCORSHTTPParams
- func NewGetStorageBucketCORSHTTPParamsWithHTTPClient(client *http.Client) *GetStorageBucketCORSHTTPParams
- func NewGetStorageBucketCORSHTTPParamsWithTimeout(timeout time.Duration) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) SetBody(body GetStorageBucketCORSHTTPBody)
- func (o *GetStorageBucketCORSHTTPParams) SetContext(ctx context.Context)
- func (o *GetStorageBucketCORSHTTPParams) SetDefaults()
- func (o *GetStorageBucketCORSHTTPParams) SetHTTPClient(client *http.Client)
- func (o *GetStorageBucketCORSHTTPParams) SetID(id int64)
- func (o *GetStorageBucketCORSHTTPParams) SetName(name string)
- func (o *GetStorageBucketCORSHTTPParams) SetTimeout(timeout time.Duration)
- func (o *GetStorageBucketCORSHTTPParams) WithBody(body GetStorageBucketCORSHTTPBody) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WithContext(ctx context.Context) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WithDefaults() *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WithHTTPClient(client *http.Client) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WithID(id int64) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WithName(name string) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WithTimeout(timeout time.Duration) *GetStorageBucketCORSHTTPParams
- func (o *GetStorageBucketCORSHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStorageBucketCORSHTTPReader
- type KeyLinkHTTPBadRequest
- type KeyLinkHTTPNoContent
- type KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) SetContext(ctx context.Context)
- func (o *KeyLinkHTTPParams) SetDefaults()
- func (o *KeyLinkHTTPParams) SetHTTPClient(client *http.Client)
- func (o *KeyLinkHTTPParams) SetID(id int64)
- func (o *KeyLinkHTTPParams) SetKeyID(keyID int64)
- func (o *KeyLinkHTTPParams) SetTimeout(timeout time.Duration)
- func (o *KeyLinkHTTPParams) WithContext(ctx context.Context) *KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) WithDefaults() *KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) WithHTTPClient(client *http.Client) *KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) WithID(id int64) *KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) WithKeyID(keyID int64) *KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) WithTimeout(timeout time.Duration) *KeyLinkHTTPParams
- func (o *KeyLinkHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyLinkHTTPReader
- type KeyUnlinkHTTPBadRequest
- type KeyUnlinkHTTPNoContent
- type KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) SetContext(ctx context.Context)
- func (o *KeyUnlinkHTTPParams) SetDefaults()
- func (o *KeyUnlinkHTTPParams) SetHTTPClient(client *http.Client)
- func (o *KeyUnlinkHTTPParams) SetID(id int64)
- func (o *KeyUnlinkHTTPParams) SetKeyID(keyID int64)
- func (o *KeyUnlinkHTTPParams) SetTimeout(timeout time.Duration)
- func (o *KeyUnlinkHTTPParams) WithContext(ctx context.Context) *KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) WithDefaults() *KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) WithHTTPClient(client *http.Client) *KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) WithID(id int64) *KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) WithKeyID(keyID int64) *KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) WithTimeout(timeout time.Duration) *KeyUnlinkHTTPParams
- func (o *KeyUnlinkHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type KeyUnlinkHTTPReader
- type StorageBucketCORSCreateHTTPBadRequest
- type StorageBucketCORSCreateHTTPBody
- func (o *StorageBucketCORSCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *StorageBucketCORSCreateHTTPBody) MarshalBinary() ([]byte, error)
- func (o *StorageBucketCORSCreateHTTPBody) UnmarshalBinary(b []byte) error
- func (o *StorageBucketCORSCreateHTTPBody) Validate(formats strfmt.Registry) error
- type StorageBucketCORSCreateHTTPNoContent
- type StorageBucketCORSCreateHTTPParams
- func NewStorageBucketCORSCreateHTTPParams() *StorageBucketCORSCreateHTTPParams
- func NewStorageBucketCORSCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketCORSCreateHTTPParams
- func NewStorageBucketCORSCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketCORSCreateHTTPParams
- func NewStorageBucketCORSCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) SetBody(body StorageBucketCORSCreateHTTPBody)
- func (o *StorageBucketCORSCreateHTTPParams) SetContext(ctx context.Context)
- func (o *StorageBucketCORSCreateHTTPParams) SetDefaults()
- func (o *StorageBucketCORSCreateHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageBucketCORSCreateHTTPParams) SetID(id int64)
- func (o *StorageBucketCORSCreateHTTPParams) SetName(name string)
- func (o *StorageBucketCORSCreateHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageBucketCORSCreateHTTPParams) WithBody(body StorageBucketCORSCreateHTTPBody) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WithDefaults() *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WithID(id int64) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WithName(name string) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketCORSCreateHTTPParams
- func (o *StorageBucketCORSCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageBucketCORSCreateHTTPReader
- type StorageBucketCreateHTTPBadRequest
- type StorageBucketCreateHTTPNoContent
- type StorageBucketCreateHTTPParams
- func NewStorageBucketCreateHTTPParams() *StorageBucketCreateHTTPParams
- func NewStorageBucketCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketCreateHTTPParams
- func NewStorageBucketCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketCreateHTTPParams
- func NewStorageBucketCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) SetContext(ctx context.Context)
- func (o *StorageBucketCreateHTTPParams) SetDefaults()
- func (o *StorageBucketCreateHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageBucketCreateHTTPParams) SetID(id int64)
- func (o *StorageBucketCreateHTTPParams) SetName(name string)
- func (o *StorageBucketCreateHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageBucketCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) WithDefaults() *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) WithID(id int64) *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) WithName(name string) *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketCreateHTTPParams
- func (o *StorageBucketCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageBucketCreateHTTPReader
- type StorageBucketLifecycleCreateHTTPBadRequest
- type StorageBucketLifecycleCreateHTTPBody
- func (o *StorageBucketLifecycleCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *StorageBucketLifecycleCreateHTTPBody) MarshalBinary() ([]byte, error)
- func (o *StorageBucketLifecycleCreateHTTPBody) UnmarshalBinary(b []byte) error
- func (o *StorageBucketLifecycleCreateHTTPBody) Validate(formats strfmt.Registry) error
- type StorageBucketLifecycleCreateHTTPNoContent
- type StorageBucketLifecycleCreateHTTPParams
- func NewStorageBucketLifecycleCreateHTTPParams() *StorageBucketLifecycleCreateHTTPParams
- func NewStorageBucketLifecycleCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketLifecycleCreateHTTPParams
- func NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketLifecycleCreateHTTPParams
- func NewStorageBucketLifecycleCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) SetBody(body StorageBucketLifecycleCreateHTTPBody)
- func (o *StorageBucketLifecycleCreateHTTPParams) SetContext(ctx context.Context)
- func (o *StorageBucketLifecycleCreateHTTPParams) SetDefaults()
- func (o *StorageBucketLifecycleCreateHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageBucketLifecycleCreateHTTPParams) SetID(id int64)
- func (o *StorageBucketLifecycleCreateHTTPParams) SetName(name string)
- func (o *StorageBucketLifecycleCreateHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageBucketLifecycleCreateHTTPParams) WithBody(body StorageBucketLifecycleCreateHTTPBody) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WithDefaults() *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WithID(id int64) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WithName(name string) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketLifecycleCreateHTTPParams
- func (o *StorageBucketLifecycleCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageBucketLifecycleCreateHTTPReader
- type StorageBucketLifecycleDeleteHTTPBadRequest
- type StorageBucketLifecycleDeleteHTTPNoContent
- type StorageBucketLifecycleDeleteHTTPParams
- func NewStorageBucketLifecycleDeleteHTTPParams() *StorageBucketLifecycleDeleteHTTPParams
- func NewStorageBucketLifecycleDeleteHTTPParamsWithContext(ctx context.Context) *StorageBucketLifecycleDeleteHTTPParams
- func NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketLifecycleDeleteHTTPParams
- func NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) SetContext(ctx context.Context)
- func (o *StorageBucketLifecycleDeleteHTTPParams) SetDefaults()
- func (o *StorageBucketLifecycleDeleteHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageBucketLifecycleDeleteHTTPParams) SetID(id int64)
- func (o *StorageBucketLifecycleDeleteHTTPParams) SetName(name string)
- func (o *StorageBucketLifecycleDeleteHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageBucketLifecycleDeleteHTTPParams) WithContext(ctx context.Context) *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) WithDefaults() *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) WithID(id int64) *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) WithName(name string) *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketLifecycleDeleteHTTPParams
- func (o *StorageBucketLifecycleDeleteHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageBucketLifecycleDeleteHTTPReader
- type StorageBucketPolicyCreateHTTPBadRequest
- type StorageBucketPolicyCreateHTTPNoContent
- type StorageBucketPolicyCreateHTTPParams
- func NewStorageBucketPolicyCreateHTTPParams() *StorageBucketPolicyCreateHTTPParams
- func NewStorageBucketPolicyCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketPolicyCreateHTTPParams
- func NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketPolicyCreateHTTPParams
- func NewStorageBucketPolicyCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) SetContext(ctx context.Context)
- func (o *StorageBucketPolicyCreateHTTPParams) SetDefaults()
- func (o *StorageBucketPolicyCreateHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageBucketPolicyCreateHTTPParams) SetID(id int64)
- func (o *StorageBucketPolicyCreateHTTPParams) SetName(name string)
- func (o *StorageBucketPolicyCreateHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageBucketPolicyCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) WithDefaults() *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) WithID(id int64) *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) WithName(name string) *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketPolicyCreateHTTPParams
- func (o *StorageBucketPolicyCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageBucketPolicyCreateHTTPReader
- type StorageBucketRemoveHTTPBadRequest
- type StorageBucketRemoveHTTPNoContent
- type StorageBucketRemoveHTTPParams
- func NewStorageBucketRemoveHTTPParams() *StorageBucketRemoveHTTPParams
- func NewStorageBucketRemoveHTTPParamsWithContext(ctx context.Context) *StorageBucketRemoveHTTPParams
- func NewStorageBucketRemoveHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketRemoveHTTPParams
- func NewStorageBucketRemoveHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) SetContext(ctx context.Context)
- func (o *StorageBucketRemoveHTTPParams) SetDefaults()
- func (o *StorageBucketRemoveHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageBucketRemoveHTTPParams) SetID(id int64)
- func (o *StorageBucketRemoveHTTPParams) SetName(name string)
- func (o *StorageBucketRemoveHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageBucketRemoveHTTPParams) WithContext(ctx context.Context) *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) WithDefaults() *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) WithID(id int64) *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) WithName(name string) *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketRemoveHTTPParams
- func (o *StorageBucketRemoveHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageBucketRemoveHTTPReader
- type StorageCreateHTTPBadRequest
- type StorageCreateHTTPBody
- type StorageCreateHTTPConflict
- type StorageCreateHTTPOK
- type StorageCreateHTTPParams
- func NewStorageCreateHTTPParams() *StorageCreateHTTPParams
- func NewStorageCreateHTTPParamsWithContext(ctx context.Context) *StorageCreateHTTPParams
- func NewStorageCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageCreateHTTPParams
- func NewStorageCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageCreateHTTPParams
- func (o *StorageCreateHTTPParams) SetBody(body StorageCreateHTTPBody)
- func (o *StorageCreateHTTPParams) SetContext(ctx context.Context)
- func (o *StorageCreateHTTPParams) SetDefaults()
- func (o *StorageCreateHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageCreateHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageCreateHTTPParams) WithBody(body StorageCreateHTTPBody) *StorageCreateHTTPParams
- func (o *StorageCreateHTTPParams) WithContext(ctx context.Context) *StorageCreateHTTPParams
- func (o *StorageCreateHTTPParams) WithDefaults() *StorageCreateHTTPParams
- func (o *StorageCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageCreateHTTPParams
- func (o *StorageCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageCreateHTTPParams
- func (o *StorageCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageCreateHTTPReader
- type StorageDeleteHTTPBadRequest
- type StorageDeleteHTTPNoContent
- type StorageDeleteHTTPParams
- func NewStorageDeleteHTTPParams() *StorageDeleteHTTPParams
- func NewStorageDeleteHTTPParamsWithContext(ctx context.Context) *StorageDeleteHTTPParams
- func NewStorageDeleteHTTPParamsWithHTTPClient(client *http.Client) *StorageDeleteHTTPParams
- func NewStorageDeleteHTTPParamsWithTimeout(timeout time.Duration) *StorageDeleteHTTPParams
- func (o *StorageDeleteHTTPParams) SetContext(ctx context.Context)
- func (o *StorageDeleteHTTPParams) SetDefaults()
- func (o *StorageDeleteHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageDeleteHTTPParams) SetID(id int64)
- func (o *StorageDeleteHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageDeleteHTTPParams) WithContext(ctx context.Context) *StorageDeleteHTTPParams
- func (o *StorageDeleteHTTPParams) WithDefaults() *StorageDeleteHTTPParams
- func (o *StorageDeleteHTTPParams) WithHTTPClient(client *http.Client) *StorageDeleteHTTPParams
- func (o *StorageDeleteHTTPParams) WithID(id int64) *StorageDeleteHTTPParams
- func (o *StorageDeleteHTTPParams) WithTimeout(timeout time.Duration) *StorageDeleteHTTPParams
- func (o *StorageDeleteHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageDeleteHTTPReader
- type StorageGetHTTPBadRequest
- type StorageGetHTTPOK
- type StorageGetHTTPParams
- func NewStorageGetHTTPParams() *StorageGetHTTPParams
- func NewStorageGetHTTPParamsWithContext(ctx context.Context) *StorageGetHTTPParams
- func NewStorageGetHTTPParamsWithHTTPClient(client *http.Client) *StorageGetHTTPParams
- func NewStorageGetHTTPParamsWithTimeout(timeout time.Duration) *StorageGetHTTPParams
- func (o *StorageGetHTTPParams) SetContext(ctx context.Context)
- func (o *StorageGetHTTPParams) SetDefaults()
- func (o *StorageGetHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageGetHTTPParams) SetID(id int64)
- func (o *StorageGetHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageGetHTTPParams) WithContext(ctx context.Context) *StorageGetHTTPParams
- func (o *StorageGetHTTPParams) WithDefaults() *StorageGetHTTPParams
- func (o *StorageGetHTTPParams) WithHTTPClient(client *http.Client) *StorageGetHTTPParams
- func (o *StorageGetHTTPParams) WithID(id int64) *StorageGetHTTPParams
- func (o *StorageGetHTTPParams) WithTimeout(timeout time.Duration) *StorageGetHTTPParams
- func (o *StorageGetHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageGetHTTPReader
- type StorageListBucketsHTTPBadRequest
- type StorageListBucketsHTTPOK
- type StorageListBucketsHTTPParams
- func NewStorageListBucketsHTTPParams() *StorageListBucketsHTTPParams
- func NewStorageListBucketsHTTPParamsWithContext(ctx context.Context) *StorageListBucketsHTTPParams
- func NewStorageListBucketsHTTPParamsWithHTTPClient(client *http.Client) *StorageListBucketsHTTPParams
- func NewStorageListBucketsHTTPParamsWithTimeout(timeout time.Duration) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) SetContext(ctx context.Context)
- func (o *StorageListBucketsHTTPParams) SetDefaults()
- func (o *StorageListBucketsHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageListBucketsHTTPParams) SetID(id int64)
- func (o *StorageListBucketsHTTPParams) SetLimit(limit *uint64)
- func (o *StorageListBucketsHTTPParams) SetOffset(offset *uint64)
- func (o *StorageListBucketsHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageListBucketsHTTPParams) WithContext(ctx context.Context) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WithDefaults() *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WithHTTPClient(client *http.Client) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WithID(id int64) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WithLimit(limit *uint64) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WithOffset(offset *uint64) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WithTimeout(timeout time.Duration) *StorageListBucketsHTTPParams
- func (o *StorageListBucketsHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageListBucketsHTTPReader
- type StorageListHTTPV1BadRequest
- type StorageListHTTPV1OK
- type StorageListHTTPV1Params
- func NewStorageListHTTPV1Params() *StorageListHTTPV1Params
- func NewStorageListHTTPV1ParamsWithContext(ctx context.Context) *StorageListHTTPV1Params
- func NewStorageListHTTPV1ParamsWithHTTPClient(client *http.Client) *StorageListHTTPV1Params
- func NewStorageListHTTPV1ParamsWithTimeout(timeout time.Duration) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) SetBy(orderBy *string)
- func (o *StorageListHTTPV1Params) SetContext(ctx context.Context)
- func (o *StorageListHTTPV1Params) SetDefaults()
- func (o *StorageListHTTPV1Params) SetDirection(orderDirection *string)
- func (o *StorageListHTTPV1Params) SetHTTPClient(client *http.Client)
- func (o *StorageListHTTPV1Params) SetID(id *string)
- func (o *StorageListHTTPV1Params) SetLimit(limit *uint64)
- func (o *StorageListHTTPV1Params) SetLocation(location *string)
- func (o *StorageListHTTPV1Params) SetName(name *string)
- func (o *StorageListHTTPV1Params) SetOffset(offset *uint64)
- func (o *StorageListHTTPV1Params) SetShowDeleted(showDeleted *bool)
- func (o *StorageListHTTPV1Params) SetStatus(status *string)
- func (o *StorageListHTTPV1Params) SetTimeout(timeout time.Duration)
- func (o *StorageListHTTPV1Params) SetType(typeVar *string)
- func (o *StorageListHTTPV1Params) WithBy(orderBy *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithContext(ctx context.Context) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithDefaults() *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithDirection(orderDirection *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithHTTPClient(client *http.Client) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithID(id *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithLimit(limit *uint64) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithLocation(location *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithName(name *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithOffset(offset *uint64) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithShowDeleted(showDeleted *bool) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithStatus(status *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithTimeout(timeout time.Duration) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WithType(typeVar *string) *StorageListHTTPV1Params
- func (o *StorageListHTTPV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageListHTTPV1Reader
- type StorageListHTTPV2BadRequest
- type StorageListHTTPV2OK
- type StorageListHTTPV2Params
- func NewStorageListHTTPV2Params() *StorageListHTTPV2Params
- func NewStorageListHTTPV2ParamsWithContext(ctx context.Context) *StorageListHTTPV2Params
- func NewStorageListHTTPV2ParamsWithHTTPClient(client *http.Client) *StorageListHTTPV2Params
- func NewStorageListHTTPV2ParamsWithTimeout(timeout time.Duration) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) SetBy(orderBy *string)
- func (o *StorageListHTTPV2Params) SetContext(ctx context.Context)
- func (o *StorageListHTTPV2Params) SetDefaults()
- func (o *StorageListHTTPV2Params) SetDirection(orderDirection *string)
- func (o *StorageListHTTPV2Params) SetHTTPClient(client *http.Client)
- func (o *StorageListHTTPV2Params) SetID(id *string)
- func (o *StorageListHTTPV2Params) SetLimit(limit *uint64)
- func (o *StorageListHTTPV2Params) SetLocation(location *string)
- func (o *StorageListHTTPV2Params) SetName(name *string)
- func (o *StorageListHTTPV2Params) SetOffset(offset *uint64)
- func (o *StorageListHTTPV2Params) SetShowDeleted(showDeleted *bool)
- func (o *StorageListHTTPV2Params) SetStatus(status *string)
- func (o *StorageListHTTPV2Params) SetTimeout(timeout time.Duration)
- func (o *StorageListHTTPV2Params) SetType(typeVar *string)
- func (o *StorageListHTTPV2Params) WithBy(orderBy *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithContext(ctx context.Context) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithDefaults() *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithDirection(orderDirection *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithHTTPClient(client *http.Client) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithID(id *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithLimit(limit *uint64) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithLocation(location *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithName(name *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithOffset(offset *uint64) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithShowDeleted(showDeleted *bool) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithStatus(status *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithTimeout(timeout time.Duration) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WithType(typeVar *string) *StorageListHTTPV2Params
- func (o *StorageListHTTPV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageListHTTPV2Reader
- type StorageUpdateCredentialsHTTPBadRequest
- type StorageUpdateCredentialsHTTPBody
- func (o *StorageUpdateCredentialsHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *StorageUpdateCredentialsHTTPBody) MarshalBinary() ([]byte, error)
- func (o *StorageUpdateCredentialsHTTPBody) UnmarshalBinary(b []byte) error
- func (o *StorageUpdateCredentialsHTTPBody) Validate(formats strfmt.Registry) error
- type StorageUpdateCredentialsHTTPOK
- type StorageUpdateCredentialsHTTPParams
- func NewStorageUpdateCredentialsHTTPParams() *StorageUpdateCredentialsHTTPParams
- func NewStorageUpdateCredentialsHTTPParamsWithContext(ctx context.Context) *StorageUpdateCredentialsHTTPParams
- func NewStorageUpdateCredentialsHTTPParamsWithHTTPClient(client *http.Client) *StorageUpdateCredentialsHTTPParams
- func NewStorageUpdateCredentialsHTTPParamsWithTimeout(timeout time.Duration) *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) SetBody(body StorageUpdateCredentialsHTTPBody)
- func (o *StorageUpdateCredentialsHTTPParams) SetContext(ctx context.Context)
- func (o *StorageUpdateCredentialsHTTPParams) SetDefaults()
- func (o *StorageUpdateCredentialsHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageUpdateCredentialsHTTPParams) SetID(id int64)
- func (o *StorageUpdateCredentialsHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageUpdateCredentialsHTTPParams) WithBody(body StorageUpdateCredentialsHTTPBody) *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) WithContext(ctx context.Context) *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) WithDefaults() *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) WithHTTPClient(client *http.Client) *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) WithID(id int64) *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) WithTimeout(timeout time.Duration) *StorageUpdateCredentialsHTTPParams
- func (o *StorageUpdateCredentialsHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageUpdateCredentialsHTTPReader
- type StorageUpdateHTTPBadRequest
- type StorageUpdateHTTPBody
- type StorageUpdateHTTPOK
- type StorageUpdateHTTPParams
- func NewStorageUpdateHTTPParams() *StorageUpdateHTTPParams
- func NewStorageUpdateHTTPParamsWithContext(ctx context.Context) *StorageUpdateHTTPParams
- func NewStorageUpdateHTTPParamsWithHTTPClient(client *http.Client) *StorageUpdateHTTPParams
- func NewStorageUpdateHTTPParamsWithTimeout(timeout time.Duration) *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) SetBody(body StorageUpdateHTTPBody)
- func (o *StorageUpdateHTTPParams) SetContext(ctx context.Context)
- func (o *StorageUpdateHTTPParams) SetDefaults()
- func (o *StorageUpdateHTTPParams) SetHTTPClient(client *http.Client)
- func (o *StorageUpdateHTTPParams) SetID(id int64)
- func (o *StorageUpdateHTTPParams) SetTimeout(timeout time.Duration)
- func (o *StorageUpdateHTTPParams) WithBody(body StorageUpdateHTTPBody) *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) WithContext(ctx context.Context) *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) WithDefaults() *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) WithHTTPClient(client *http.Client) *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) WithID(id int64) *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) WithTimeout(timeout time.Duration) *StorageUpdateHTTPParams
- func (o *StorageUpdateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StorageUpdateHTTPReader
Constants ¶
const ( // StorageCreateHTTPBodyLocationSDashEd1 captures enum value "s-ed1" StorageCreateHTTPBodyLocationSDashEd1 string = "s-ed1" // StorageCreateHTTPBodyLocationSDashDarz1 captures enum value "s-darz1" StorageCreateHTTPBodyLocationSDashDarz1 string = "s-darz1" // StorageCreateHTTPBodyLocationSDashWs1 captures enum value "s-ws1" StorageCreateHTTPBodyLocationSDashWs1 string = "s-ws1" // StorageCreateHTTPBodyLocationAms captures enum value "ams" StorageCreateHTTPBodyLocationAms string = "ams" // StorageCreateHTTPBodyLocationSin captures enum value "sin" StorageCreateHTTPBodyLocationSin string = "sin" // StorageCreateHTTPBodyLocationFra captures enum value "fra" StorageCreateHTTPBodyLocationFra string = "fra" // StorageCreateHTTPBodyLocationMia captures enum value "mia" StorageCreateHTTPBodyLocationMia string = "mia" )
const ( // StorageCreateHTTPBodyTypeSftp captures enum value "sftp" StorageCreateHTTPBodyTypeSftp string = "sftp" // StorageCreateHTTPBodyTypeS3 captures enum value "s3" StorageCreateHTTPBodyTypeS3 string = "s3" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for storage API
func (*Client) GetStorageBucketCORSHTTP ¶
func (a *Client) GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageBucketCORSHTTPOK, error)
GetStorageBucketCORSHTTP gets s3 storage bucket cors
Get s3 storage bucket cors
func (*Client) KeyLinkHTTP ¶
func (a *Client) KeyLinkHTTP(params *KeyLinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyLinkHTTPNoContent, error)
KeyLinkHTTP links key to storage
Link key to storage
func (*Client) KeyUnlinkHTTP ¶
func (a *Client) KeyUnlinkHTTP(params *KeyUnlinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyUnlinkHTTPNoContent, error)
KeyUnlinkHTTP unlinks key from storage
Unlink key from storage
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StorageBucketCORSCreateHTTP ¶
func (a *Client) StorageBucketCORSCreateHTTP(params *StorageBucketCORSCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCORSCreateHTTPNoContent, error)
StorageBucketCORSCreateHTTP creates s3 storage bucket cors
Create s3 storage bucket cors
func (*Client) StorageBucketCreateHTTP ¶
func (a *Client) StorageBucketCreateHTTP(params *StorageBucketCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCreateHTTPNoContent, error)
StorageBucketCreateHTTP creates s3 storage bucket
Create s3 storage bucket
func (*Client) StorageBucketLifecycleCreateHTTP ¶
func (a *Client) StorageBucketLifecycleCreateHTTP(params *StorageBucketLifecycleCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleCreateHTTPNoContent, error)
StorageBucketLifecycleCreateHTTP creates s3 storage bucket lifecycle
Create s3 storage bucket lifecycle
func (*Client) StorageBucketLifecycleDeleteHTTP ¶
func (a *Client) StorageBucketLifecycleDeleteHTTP(params *StorageBucketLifecycleDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleDeleteHTTPNoContent, error)
StorageBucketLifecycleDeleteHTTP deletes s3 storage bucket lifecycle
Delete s3 storage bucket lifecycle
func (*Client) StorageBucketPolicyCreateHTTP ¶
func (a *Client) StorageBucketPolicyCreateHTTP(params *StorageBucketPolicyCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketPolicyCreateHTTPNoContent, error)
StorageBucketPolicyCreateHTTP creates s3 storage bucket policy
Create s3 storage bucket policy
func (*Client) StorageBucketRemoveHTTP ¶
func (a *Client) StorageBucketRemoveHTTP(params *StorageBucketRemoveHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketRemoveHTTPNoContent, error)
StorageBucketRemoveHTTP removes s3 storage bucket
Remove s3 storage bucket
func (*Client) StorageCreateHTTP ¶
func (a *Client) StorageCreateHTTP(params *StorageCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageCreateHTTPOK, error)
StorageCreateHTTP creates storage
Creates storage and returns it
func (*Client) StorageDeleteHTTP ¶
func (a *Client) StorageDeleteHTTP(params *StorageDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageDeleteHTTPNoContent, error)
StorageDeleteHTTP deletes storage
Delete storage
func (*Client) StorageGetHTTP ¶
func (a *Client) StorageGetHTTP(params *StorageGetHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageGetHTTPOK, error)
StorageGetHTTP gets storage
Get storage
func (*Client) StorageListBucketsHTTP ¶
func (a *Client) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListBucketsHTTPOK, error)
StorageListBucketsHTTP lists s3 storage buckets
List s3 storage buckets
func (*Client) StorageListHTTPV1 ¶
func (a *Client) StorageListHTTPV1(params *StorageListHTTPV1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV1OK, error)
StorageListHTTPV1 lists storages
List storages
func (*Client) StorageListHTTPV2 ¶
func (a *Client) StorageListHTTPV2(params *StorageListHTTPV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV2OK, error)
StorageListHTTPV2 lists storages v2
List storages v2
func (*Client) StorageUpdateCredentialsHTTP ¶
func (a *Client) StorageUpdateCredentialsHTTP(params *StorageUpdateCredentialsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateCredentialsHTTPOK, error)
StorageUpdateCredentialsHTTP resets storage credentials
Reset storage credentials
func (*Client) StorageUpdateHTTP ¶
func (a *Client) StorageUpdateHTTP(params *StorageUpdateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateHTTPOK, error)
StorageUpdateHTTP updates storage
Updates storage and returns it
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageBucketCORSHTTPOK, error) KeyLinkHTTP(params *KeyLinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyLinkHTTPNoContent, error) KeyUnlinkHTTP(params *KeyUnlinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyUnlinkHTTPNoContent, error) StorageBucketCORSCreateHTTP(params *StorageBucketCORSCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCORSCreateHTTPNoContent, error) StorageBucketCreateHTTP(params *StorageBucketCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCreateHTTPNoContent, error) StorageBucketLifecycleCreateHTTP(params *StorageBucketLifecycleCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleCreateHTTPNoContent, error) StorageBucketLifecycleDeleteHTTP(params *StorageBucketLifecycleDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleDeleteHTTPNoContent, error) StorageBucketPolicyCreateHTTP(params *StorageBucketPolicyCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketPolicyCreateHTTPNoContent, error) StorageBucketRemoveHTTP(params *StorageBucketRemoveHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketRemoveHTTPNoContent, error) StorageCreateHTTP(params *StorageCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageCreateHTTPOK, error) StorageDeleteHTTP(params *StorageDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageDeleteHTTPNoContent, error) StorageGetHTTP(params *StorageGetHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageGetHTTPOK, error) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListBucketsHTTPOK, error) StorageListHTTPV1(params *StorageListHTTPV1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV1OK, error) StorageListHTTPV2(params *StorageListHTTPV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV2OK, error) StorageUpdateCredentialsHTTP(params *StorageUpdateCredentialsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateCredentialsHTTPOK, error) StorageUpdateHTTP(params *StorageUpdateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateHTTPOK, 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 storage API client.
type GetStorageBucketCORSHTTPBadRequest ¶
type GetStorageBucketCORSHTTPBadRequest struct {
Payload *models.ErrResponse
}
GetStorageBucketCORSHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewGetStorageBucketCORSHTTPBadRequest ¶
func NewGetStorageBucketCORSHTTPBadRequest() *GetStorageBucketCORSHTTPBadRequest
NewGetStorageBucketCORSHTTPBadRequest creates a GetStorageBucketCORSHTTPBadRequest with default headers values
func (*GetStorageBucketCORSHTTPBadRequest) Error ¶
func (o *GetStorageBucketCORSHTTPBadRequest) Error() string
func (*GetStorageBucketCORSHTTPBadRequest) GetPayload ¶
func (o *GetStorageBucketCORSHTTPBadRequest) GetPayload() *models.ErrResponse
type GetStorageBucketCORSHTTPBody ¶
type GetStorageBucketCORSHTTPBody struct { // allowed origins AllowedOrigins []string `json:"allowedOrigins"` }
GetStorageBucketCORSHTTPBody get storage bucket c o r s HTTP body swagger:model GetStorageBucketCORSHTTPBody
func (*GetStorageBucketCORSHTTPBody) ContextValidate ¶
func (o *GetStorageBucketCORSHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get storage bucket c o r s HTTP body based on context it is used
func (*GetStorageBucketCORSHTTPBody) MarshalBinary ¶
func (o *GetStorageBucketCORSHTTPBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetStorageBucketCORSHTTPBody) UnmarshalBinary ¶
func (o *GetStorageBucketCORSHTTPBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetStorageBucketCORSHTTPOK ¶
type GetStorageBucketCORSHTTPOK struct {
Payload *models.StorageGetBucketCorsEndpointRes
}
GetStorageBucketCORSHTTPOK describes a response with status code 200, with default header values.
StorageGetBucketCorsEndpointRes
func NewGetStorageBucketCORSHTTPOK ¶
func NewGetStorageBucketCORSHTTPOK() *GetStorageBucketCORSHTTPOK
NewGetStorageBucketCORSHTTPOK creates a GetStorageBucketCORSHTTPOK with default headers values
func (*GetStorageBucketCORSHTTPOK) Error ¶
func (o *GetStorageBucketCORSHTTPOK) Error() string
func (*GetStorageBucketCORSHTTPOK) GetPayload ¶
func (o *GetStorageBucketCORSHTTPOK) GetPayload() *models.StorageGetBucketCorsEndpointRes
type GetStorageBucketCORSHTTPParams ¶
type GetStorageBucketCORSHTTPParams struct { // Body. Body GetStorageBucketCORSHTTPBody // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStorageBucketCORSHTTPParams contains all the parameters to send to the API endpoint
for the get storage bucket c o r s Http operation. Typically these are written to a http.Request.
func NewGetStorageBucketCORSHTTPParams ¶
func NewGetStorageBucketCORSHTTPParams() *GetStorageBucketCORSHTTPParams
NewGetStorageBucketCORSHTTPParams creates a new GetStorageBucketCORSHTTPParams 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 NewGetStorageBucketCORSHTTPParamsWithContext ¶
func NewGetStorageBucketCORSHTTPParamsWithContext(ctx context.Context) *GetStorageBucketCORSHTTPParams
NewGetStorageBucketCORSHTTPParamsWithContext creates a new GetStorageBucketCORSHTTPParams object with the ability to set a context for a request.
func NewGetStorageBucketCORSHTTPParamsWithHTTPClient ¶
func NewGetStorageBucketCORSHTTPParamsWithHTTPClient(client *http.Client) *GetStorageBucketCORSHTTPParams
NewGetStorageBucketCORSHTTPParamsWithHTTPClient creates a new GetStorageBucketCORSHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewGetStorageBucketCORSHTTPParamsWithTimeout ¶
func NewGetStorageBucketCORSHTTPParamsWithTimeout(timeout time.Duration) *GetStorageBucketCORSHTTPParams
NewGetStorageBucketCORSHTTPParamsWithTimeout creates a new GetStorageBucketCORSHTTPParams object with the ability to set a timeout on a request.
func (*GetStorageBucketCORSHTTPParams) SetBody ¶
func (o *GetStorageBucketCORSHTTPParams) SetBody(body GetStorageBucketCORSHTTPBody)
SetBody adds the body to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) SetContext ¶
func (o *GetStorageBucketCORSHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) SetDefaults ¶
func (o *GetStorageBucketCORSHTTPParams) SetDefaults()
SetDefaults hydrates default values in the get storage bucket c o r s Http params (not the query body).
All values with no default are reset to their zero value.
func (*GetStorageBucketCORSHTTPParams) SetHTTPClient ¶
func (o *GetStorageBucketCORSHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) SetID ¶
func (o *GetStorageBucketCORSHTTPParams) SetID(id int64)
SetID adds the id to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) SetName ¶
func (o *GetStorageBucketCORSHTTPParams) SetName(name string)
SetName adds the name to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) SetTimeout ¶
func (o *GetStorageBucketCORSHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WithBody ¶
func (o *GetStorageBucketCORSHTTPParams) WithBody(body GetStorageBucketCORSHTTPBody) *GetStorageBucketCORSHTTPParams
WithBody adds the body to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WithContext ¶
func (o *GetStorageBucketCORSHTTPParams) WithContext(ctx context.Context) *GetStorageBucketCORSHTTPParams
WithContext adds the context to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WithDefaults ¶
func (o *GetStorageBucketCORSHTTPParams) WithDefaults() *GetStorageBucketCORSHTTPParams
WithDefaults hydrates default values in the get storage bucket c o r s Http params (not the query body).
All values with no default are reset to their zero value.
func (*GetStorageBucketCORSHTTPParams) WithHTTPClient ¶
func (o *GetStorageBucketCORSHTTPParams) WithHTTPClient(client *http.Client) *GetStorageBucketCORSHTTPParams
WithHTTPClient adds the HTTPClient to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WithID ¶
func (o *GetStorageBucketCORSHTTPParams) WithID(id int64) *GetStorageBucketCORSHTTPParams
WithID adds the id to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WithName ¶
func (o *GetStorageBucketCORSHTTPParams) WithName(name string) *GetStorageBucketCORSHTTPParams
WithName adds the name to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WithTimeout ¶
func (o *GetStorageBucketCORSHTTPParams) WithTimeout(timeout time.Duration) *GetStorageBucketCORSHTTPParams
WithTimeout adds the timeout to the get storage bucket c o r s Http params
func (*GetStorageBucketCORSHTTPParams) WriteToRequest ¶
func (o *GetStorageBucketCORSHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStorageBucketCORSHTTPReader ¶
type GetStorageBucketCORSHTTPReader struct {
// contains filtered or unexported fields
}
GetStorageBucketCORSHTTPReader is a Reader for the GetStorageBucketCORSHTTP structure.
func (*GetStorageBucketCORSHTTPReader) ReadResponse ¶
func (o *GetStorageBucketCORSHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyLinkHTTPBadRequest ¶
type KeyLinkHTTPBadRequest struct {
Payload *models.ErrResponse
}
KeyLinkHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewKeyLinkHTTPBadRequest ¶
func NewKeyLinkHTTPBadRequest() *KeyLinkHTTPBadRequest
NewKeyLinkHTTPBadRequest creates a KeyLinkHTTPBadRequest with default headers values
func (*KeyLinkHTTPBadRequest) Error ¶
func (o *KeyLinkHTTPBadRequest) Error() string
func (*KeyLinkHTTPBadRequest) GetPayload ¶
func (o *KeyLinkHTTPBadRequest) GetPayload() *models.ErrResponse
type KeyLinkHTTPNoContent ¶
type KeyLinkHTTPNoContent struct { }
KeyLinkHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewKeyLinkHTTPNoContent ¶
func NewKeyLinkHTTPNoContent() *KeyLinkHTTPNoContent
NewKeyLinkHTTPNoContent creates a KeyLinkHTTPNoContent with default headers values
func (*KeyLinkHTTPNoContent) Error ¶
func (o *KeyLinkHTTPNoContent) Error() string
type KeyLinkHTTPParams ¶
type KeyLinkHTTPParams struct { // ID. // // Format: int64 ID int64 // KeyID. // // Format: int64 KeyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyLinkHTTPParams contains all the parameters to send to the API endpoint
for the key link Http operation. Typically these are written to a http.Request.
func NewKeyLinkHTTPParams ¶
func NewKeyLinkHTTPParams() *KeyLinkHTTPParams
NewKeyLinkHTTPParams creates a new KeyLinkHTTPParams 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 NewKeyLinkHTTPParamsWithContext ¶
func NewKeyLinkHTTPParamsWithContext(ctx context.Context) *KeyLinkHTTPParams
NewKeyLinkHTTPParamsWithContext creates a new KeyLinkHTTPParams object with the ability to set a context for a request.
func NewKeyLinkHTTPParamsWithHTTPClient ¶
func NewKeyLinkHTTPParamsWithHTTPClient(client *http.Client) *KeyLinkHTTPParams
NewKeyLinkHTTPParamsWithHTTPClient creates a new KeyLinkHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewKeyLinkHTTPParamsWithTimeout ¶
func NewKeyLinkHTTPParamsWithTimeout(timeout time.Duration) *KeyLinkHTTPParams
NewKeyLinkHTTPParamsWithTimeout creates a new KeyLinkHTTPParams object with the ability to set a timeout on a request.
func (*KeyLinkHTTPParams) SetContext ¶
func (o *KeyLinkHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the key link Http params
func (*KeyLinkHTTPParams) SetDefaults ¶
func (o *KeyLinkHTTPParams) SetDefaults()
SetDefaults hydrates default values in the key link Http params (not the query body).
All values with no default are reset to their zero value.
func (*KeyLinkHTTPParams) SetHTTPClient ¶
func (o *KeyLinkHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key link Http params
func (*KeyLinkHTTPParams) SetID ¶
func (o *KeyLinkHTTPParams) SetID(id int64)
SetID adds the id to the key link Http params
func (*KeyLinkHTTPParams) SetKeyID ¶
func (o *KeyLinkHTTPParams) SetKeyID(keyID int64)
SetKeyID adds the keyId to the key link Http params
func (*KeyLinkHTTPParams) SetTimeout ¶
func (o *KeyLinkHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key link Http params
func (*KeyLinkHTTPParams) WithContext ¶
func (o *KeyLinkHTTPParams) WithContext(ctx context.Context) *KeyLinkHTTPParams
WithContext adds the context to the key link Http params
func (*KeyLinkHTTPParams) WithDefaults ¶
func (o *KeyLinkHTTPParams) WithDefaults() *KeyLinkHTTPParams
WithDefaults hydrates default values in the key link Http params (not the query body).
All values with no default are reset to their zero value.
func (*KeyLinkHTTPParams) WithHTTPClient ¶
func (o *KeyLinkHTTPParams) WithHTTPClient(client *http.Client) *KeyLinkHTTPParams
WithHTTPClient adds the HTTPClient to the key link Http params
func (*KeyLinkHTTPParams) WithID ¶
func (o *KeyLinkHTTPParams) WithID(id int64) *KeyLinkHTTPParams
WithID adds the id to the key link Http params
func (*KeyLinkHTTPParams) WithKeyID ¶
func (o *KeyLinkHTTPParams) WithKeyID(keyID int64) *KeyLinkHTTPParams
WithKeyID adds the keyID to the key link Http params
func (*KeyLinkHTTPParams) WithTimeout ¶
func (o *KeyLinkHTTPParams) WithTimeout(timeout time.Duration) *KeyLinkHTTPParams
WithTimeout adds the timeout to the key link Http params
func (*KeyLinkHTTPParams) WriteToRequest ¶
func (o *KeyLinkHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyLinkHTTPReader ¶
type KeyLinkHTTPReader struct {
// contains filtered or unexported fields
}
KeyLinkHTTPReader is a Reader for the KeyLinkHTTP structure.
func (*KeyLinkHTTPReader) ReadResponse ¶
func (o *KeyLinkHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KeyUnlinkHTTPBadRequest ¶
type KeyUnlinkHTTPBadRequest struct {
Payload *models.ErrResponse
}
KeyUnlinkHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewKeyUnlinkHTTPBadRequest ¶
func NewKeyUnlinkHTTPBadRequest() *KeyUnlinkHTTPBadRequest
NewKeyUnlinkHTTPBadRequest creates a KeyUnlinkHTTPBadRequest with default headers values
func (*KeyUnlinkHTTPBadRequest) Error ¶
func (o *KeyUnlinkHTTPBadRequest) Error() string
func (*KeyUnlinkHTTPBadRequest) GetPayload ¶
func (o *KeyUnlinkHTTPBadRequest) GetPayload() *models.ErrResponse
type KeyUnlinkHTTPNoContent ¶
type KeyUnlinkHTTPNoContent struct { }
KeyUnlinkHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewKeyUnlinkHTTPNoContent ¶
func NewKeyUnlinkHTTPNoContent() *KeyUnlinkHTTPNoContent
NewKeyUnlinkHTTPNoContent creates a KeyUnlinkHTTPNoContent with default headers values
func (*KeyUnlinkHTTPNoContent) Error ¶
func (o *KeyUnlinkHTTPNoContent) Error() string
type KeyUnlinkHTTPParams ¶
type KeyUnlinkHTTPParams struct { // ID. // // Format: int64 ID int64 // KeyID. // // Format: int64 KeyID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
KeyUnlinkHTTPParams contains all the parameters to send to the API endpoint
for the key unlink Http operation. Typically these are written to a http.Request.
func NewKeyUnlinkHTTPParams ¶
func NewKeyUnlinkHTTPParams() *KeyUnlinkHTTPParams
NewKeyUnlinkHTTPParams creates a new KeyUnlinkHTTPParams 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 NewKeyUnlinkHTTPParamsWithContext ¶
func NewKeyUnlinkHTTPParamsWithContext(ctx context.Context) *KeyUnlinkHTTPParams
NewKeyUnlinkHTTPParamsWithContext creates a new KeyUnlinkHTTPParams object with the ability to set a context for a request.
func NewKeyUnlinkHTTPParamsWithHTTPClient ¶
func NewKeyUnlinkHTTPParamsWithHTTPClient(client *http.Client) *KeyUnlinkHTTPParams
NewKeyUnlinkHTTPParamsWithHTTPClient creates a new KeyUnlinkHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewKeyUnlinkHTTPParamsWithTimeout ¶
func NewKeyUnlinkHTTPParamsWithTimeout(timeout time.Duration) *KeyUnlinkHTTPParams
NewKeyUnlinkHTTPParamsWithTimeout creates a new KeyUnlinkHTTPParams object with the ability to set a timeout on a request.
func (*KeyUnlinkHTTPParams) SetContext ¶
func (o *KeyUnlinkHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the key unlink Http params
func (*KeyUnlinkHTTPParams) SetDefaults ¶
func (o *KeyUnlinkHTTPParams) SetDefaults()
SetDefaults hydrates default values in the key unlink Http params (not the query body).
All values with no default are reset to their zero value.
func (*KeyUnlinkHTTPParams) SetHTTPClient ¶
func (o *KeyUnlinkHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the key unlink Http params
func (*KeyUnlinkHTTPParams) SetID ¶
func (o *KeyUnlinkHTTPParams) SetID(id int64)
SetID adds the id to the key unlink Http params
func (*KeyUnlinkHTTPParams) SetKeyID ¶
func (o *KeyUnlinkHTTPParams) SetKeyID(keyID int64)
SetKeyID adds the keyId to the key unlink Http params
func (*KeyUnlinkHTTPParams) SetTimeout ¶
func (o *KeyUnlinkHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the key unlink Http params
func (*KeyUnlinkHTTPParams) WithContext ¶
func (o *KeyUnlinkHTTPParams) WithContext(ctx context.Context) *KeyUnlinkHTTPParams
WithContext adds the context to the key unlink Http params
func (*KeyUnlinkHTTPParams) WithDefaults ¶
func (o *KeyUnlinkHTTPParams) WithDefaults() *KeyUnlinkHTTPParams
WithDefaults hydrates default values in the key unlink Http params (not the query body).
All values with no default are reset to their zero value.
func (*KeyUnlinkHTTPParams) WithHTTPClient ¶
func (o *KeyUnlinkHTTPParams) WithHTTPClient(client *http.Client) *KeyUnlinkHTTPParams
WithHTTPClient adds the HTTPClient to the key unlink Http params
func (*KeyUnlinkHTTPParams) WithID ¶
func (o *KeyUnlinkHTTPParams) WithID(id int64) *KeyUnlinkHTTPParams
WithID adds the id to the key unlink Http params
func (*KeyUnlinkHTTPParams) WithKeyID ¶
func (o *KeyUnlinkHTTPParams) WithKeyID(keyID int64) *KeyUnlinkHTTPParams
WithKeyID adds the keyID to the key unlink Http params
func (*KeyUnlinkHTTPParams) WithTimeout ¶
func (o *KeyUnlinkHTTPParams) WithTimeout(timeout time.Duration) *KeyUnlinkHTTPParams
WithTimeout adds the timeout to the key unlink Http params
func (*KeyUnlinkHTTPParams) WriteToRequest ¶
func (o *KeyUnlinkHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type KeyUnlinkHTTPReader ¶
type KeyUnlinkHTTPReader struct {
// contains filtered or unexported fields
}
KeyUnlinkHTTPReader is a Reader for the KeyUnlinkHTTP structure.
func (*KeyUnlinkHTTPReader) ReadResponse ¶
func (o *KeyUnlinkHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageBucketCORSCreateHTTPBadRequest ¶
type StorageBucketCORSCreateHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageBucketCORSCreateHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageBucketCORSCreateHTTPBadRequest ¶
func NewStorageBucketCORSCreateHTTPBadRequest() *StorageBucketCORSCreateHTTPBadRequest
NewStorageBucketCORSCreateHTTPBadRequest creates a StorageBucketCORSCreateHTTPBadRequest with default headers values
func (*StorageBucketCORSCreateHTTPBadRequest) Error ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) Error() string
func (*StorageBucketCORSCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageBucketCORSCreateHTTPBody ¶
type StorageBucketCORSCreateHTTPBody struct { // allowed origins AllowedOrigins []string `json:"allowedOrigins"` }
StorageBucketCORSCreateHTTPBody storage bucket c o r s create HTTP body swagger:model StorageBucketCORSCreateHTTPBody
func (*StorageBucketCORSCreateHTTPBody) ContextValidate ¶
func (o *StorageBucketCORSCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this storage bucket c o r s create HTTP body based on context it is used
func (*StorageBucketCORSCreateHTTPBody) MarshalBinary ¶
func (o *StorageBucketCORSCreateHTTPBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageBucketCORSCreateHTTPBody) UnmarshalBinary ¶
func (o *StorageBucketCORSCreateHTTPBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageBucketCORSCreateHTTPNoContent ¶
type StorageBucketCORSCreateHTTPNoContent struct { }
StorageBucketCORSCreateHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageBucketCORSCreateHTTPNoContent ¶
func NewStorageBucketCORSCreateHTTPNoContent() *StorageBucketCORSCreateHTTPNoContent
NewStorageBucketCORSCreateHTTPNoContent creates a StorageBucketCORSCreateHTTPNoContent with default headers values
func (*StorageBucketCORSCreateHTTPNoContent) Error ¶
func (o *StorageBucketCORSCreateHTTPNoContent) Error() string
type StorageBucketCORSCreateHTTPParams ¶
type StorageBucketCORSCreateHTTPParams struct { // Body. Body StorageBucketCORSCreateHTTPBody // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageBucketCORSCreateHTTPParams contains all the parameters to send to the API endpoint
for the storage bucket c o r s create Http operation. Typically these are written to a http.Request.
func NewStorageBucketCORSCreateHTTPParams ¶
func NewStorageBucketCORSCreateHTTPParams() *StorageBucketCORSCreateHTTPParams
NewStorageBucketCORSCreateHTTPParams creates a new StorageBucketCORSCreateHTTPParams 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 NewStorageBucketCORSCreateHTTPParamsWithContext ¶
func NewStorageBucketCORSCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketCORSCreateHTTPParams
NewStorageBucketCORSCreateHTTPParamsWithContext creates a new StorageBucketCORSCreateHTTPParams object with the ability to set a context for a request.
func NewStorageBucketCORSCreateHTTPParamsWithHTTPClient ¶
func NewStorageBucketCORSCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketCORSCreateHTTPParams
NewStorageBucketCORSCreateHTTPParamsWithHTTPClient creates a new StorageBucketCORSCreateHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageBucketCORSCreateHTTPParamsWithTimeout ¶
func NewStorageBucketCORSCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketCORSCreateHTTPParams
NewStorageBucketCORSCreateHTTPParamsWithTimeout creates a new StorageBucketCORSCreateHTTPParams object with the ability to set a timeout on a request.
func (*StorageBucketCORSCreateHTTPParams) SetBody ¶
func (o *StorageBucketCORSCreateHTTPParams) SetBody(body StorageBucketCORSCreateHTTPBody)
SetBody adds the body to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) SetContext ¶
func (o *StorageBucketCORSCreateHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) SetDefaults ¶
func (o *StorageBucketCORSCreateHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage bucket c o r s create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketCORSCreateHTTPParams) SetHTTPClient ¶
func (o *StorageBucketCORSCreateHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) SetID ¶
func (o *StorageBucketCORSCreateHTTPParams) SetID(id int64)
SetID adds the id to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) SetName ¶
func (o *StorageBucketCORSCreateHTTPParams) SetName(name string)
SetName adds the name to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) SetTimeout ¶
func (o *StorageBucketCORSCreateHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WithBody ¶
func (o *StorageBucketCORSCreateHTTPParams) WithBody(body StorageBucketCORSCreateHTTPBody) *StorageBucketCORSCreateHTTPParams
WithBody adds the body to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WithContext ¶
func (o *StorageBucketCORSCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketCORSCreateHTTPParams
WithContext adds the context to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WithDefaults ¶
func (o *StorageBucketCORSCreateHTTPParams) WithDefaults() *StorageBucketCORSCreateHTTPParams
WithDefaults hydrates default values in the storage bucket c o r s create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketCORSCreateHTTPParams) WithHTTPClient ¶
func (o *StorageBucketCORSCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketCORSCreateHTTPParams
WithHTTPClient adds the HTTPClient to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WithID ¶
func (o *StorageBucketCORSCreateHTTPParams) WithID(id int64) *StorageBucketCORSCreateHTTPParams
WithID adds the id to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WithName ¶
func (o *StorageBucketCORSCreateHTTPParams) WithName(name string) *StorageBucketCORSCreateHTTPParams
WithName adds the name to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WithTimeout ¶
func (o *StorageBucketCORSCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketCORSCreateHTTPParams
WithTimeout adds the timeout to the storage bucket c o r s create Http params
func (*StorageBucketCORSCreateHTTPParams) WriteToRequest ¶
func (o *StorageBucketCORSCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageBucketCORSCreateHTTPReader ¶
type StorageBucketCORSCreateHTTPReader struct {
// contains filtered or unexported fields
}
StorageBucketCORSCreateHTTPReader is a Reader for the StorageBucketCORSCreateHTTP structure.
func (*StorageBucketCORSCreateHTTPReader) ReadResponse ¶
func (o *StorageBucketCORSCreateHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageBucketCreateHTTPBadRequest ¶
type StorageBucketCreateHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageBucketCreateHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageBucketCreateHTTPBadRequest ¶
func NewStorageBucketCreateHTTPBadRequest() *StorageBucketCreateHTTPBadRequest
NewStorageBucketCreateHTTPBadRequest creates a StorageBucketCreateHTTPBadRequest with default headers values
func (*StorageBucketCreateHTTPBadRequest) Error ¶
func (o *StorageBucketCreateHTTPBadRequest) Error() string
func (*StorageBucketCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketCreateHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageBucketCreateHTTPNoContent ¶
type StorageBucketCreateHTTPNoContent struct { }
StorageBucketCreateHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageBucketCreateHTTPNoContent ¶
func NewStorageBucketCreateHTTPNoContent() *StorageBucketCreateHTTPNoContent
NewStorageBucketCreateHTTPNoContent creates a StorageBucketCreateHTTPNoContent with default headers values
func (*StorageBucketCreateHTTPNoContent) Error ¶
func (o *StorageBucketCreateHTTPNoContent) Error() string
type StorageBucketCreateHTTPParams ¶
type StorageBucketCreateHTTPParams struct { // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageBucketCreateHTTPParams contains all the parameters to send to the API endpoint
for the storage bucket create Http operation. Typically these are written to a http.Request.
func NewStorageBucketCreateHTTPParams ¶
func NewStorageBucketCreateHTTPParams() *StorageBucketCreateHTTPParams
NewStorageBucketCreateHTTPParams creates a new StorageBucketCreateHTTPParams 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 NewStorageBucketCreateHTTPParamsWithContext ¶
func NewStorageBucketCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketCreateHTTPParams
NewStorageBucketCreateHTTPParamsWithContext creates a new StorageBucketCreateHTTPParams object with the ability to set a context for a request.
func NewStorageBucketCreateHTTPParamsWithHTTPClient ¶
func NewStorageBucketCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketCreateHTTPParams
NewStorageBucketCreateHTTPParamsWithHTTPClient creates a new StorageBucketCreateHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageBucketCreateHTTPParamsWithTimeout ¶
func NewStorageBucketCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketCreateHTTPParams
NewStorageBucketCreateHTTPParamsWithTimeout creates a new StorageBucketCreateHTTPParams object with the ability to set a timeout on a request.
func (*StorageBucketCreateHTTPParams) SetContext ¶
func (o *StorageBucketCreateHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) SetDefaults ¶
func (o *StorageBucketCreateHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage bucket create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketCreateHTTPParams) SetHTTPClient ¶
func (o *StorageBucketCreateHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) SetID ¶
func (o *StorageBucketCreateHTTPParams) SetID(id int64)
SetID adds the id to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) SetName ¶
func (o *StorageBucketCreateHTTPParams) SetName(name string)
SetName adds the name to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) SetTimeout ¶
func (o *StorageBucketCreateHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) WithContext ¶
func (o *StorageBucketCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketCreateHTTPParams
WithContext adds the context to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) WithDefaults ¶
func (o *StorageBucketCreateHTTPParams) WithDefaults() *StorageBucketCreateHTTPParams
WithDefaults hydrates default values in the storage bucket create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketCreateHTTPParams) WithHTTPClient ¶
func (o *StorageBucketCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketCreateHTTPParams
WithHTTPClient adds the HTTPClient to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) WithID ¶
func (o *StorageBucketCreateHTTPParams) WithID(id int64) *StorageBucketCreateHTTPParams
WithID adds the id to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) WithName ¶
func (o *StorageBucketCreateHTTPParams) WithName(name string) *StorageBucketCreateHTTPParams
WithName adds the name to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) WithTimeout ¶
func (o *StorageBucketCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketCreateHTTPParams
WithTimeout adds the timeout to the storage bucket create Http params
func (*StorageBucketCreateHTTPParams) WriteToRequest ¶
func (o *StorageBucketCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageBucketCreateHTTPReader ¶
type StorageBucketCreateHTTPReader struct {
// contains filtered or unexported fields
}
StorageBucketCreateHTTPReader is a Reader for the StorageBucketCreateHTTP structure.
func (*StorageBucketCreateHTTPReader) ReadResponse ¶
func (o *StorageBucketCreateHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageBucketLifecycleCreateHTTPBadRequest ¶
type StorageBucketLifecycleCreateHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageBucketLifecycleCreateHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageBucketLifecycleCreateHTTPBadRequest ¶
func NewStorageBucketLifecycleCreateHTTPBadRequest() *StorageBucketLifecycleCreateHTTPBadRequest
NewStorageBucketLifecycleCreateHTTPBadRequest creates a StorageBucketLifecycleCreateHTTPBadRequest with default headers values
func (*StorageBucketLifecycleCreateHTTPBadRequest) Error ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) Error() string
func (*StorageBucketLifecycleCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageBucketLifecycleCreateHTTPBody ¶
type StorageBucketLifecycleCreateHTTPBody struct { // expiration days ExpirationDays int64 `json:"expiration_days,omitempty"` }
StorageBucketLifecycleCreateHTTPBody storage bucket lifecycle create HTTP body swagger:model StorageBucketLifecycleCreateHTTPBody
func (*StorageBucketLifecycleCreateHTTPBody) ContextValidate ¶
func (o *StorageBucketLifecycleCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this storage bucket lifecycle create HTTP body based on context it is used
func (*StorageBucketLifecycleCreateHTTPBody) MarshalBinary ¶
func (o *StorageBucketLifecycleCreateHTTPBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageBucketLifecycleCreateHTTPBody) UnmarshalBinary ¶
func (o *StorageBucketLifecycleCreateHTTPBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageBucketLifecycleCreateHTTPNoContent ¶
type StorageBucketLifecycleCreateHTTPNoContent struct { }
StorageBucketLifecycleCreateHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageBucketLifecycleCreateHTTPNoContent ¶
func NewStorageBucketLifecycleCreateHTTPNoContent() *StorageBucketLifecycleCreateHTTPNoContent
NewStorageBucketLifecycleCreateHTTPNoContent creates a StorageBucketLifecycleCreateHTTPNoContent with default headers values
func (*StorageBucketLifecycleCreateHTTPNoContent) Error ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) Error() string
type StorageBucketLifecycleCreateHTTPParams ¶
type StorageBucketLifecycleCreateHTTPParams struct { // Body. Body StorageBucketLifecycleCreateHTTPBody // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageBucketLifecycleCreateHTTPParams contains all the parameters to send to the API endpoint
for the storage bucket lifecycle create Http operation. Typically these are written to a http.Request.
func NewStorageBucketLifecycleCreateHTTPParams ¶
func NewStorageBucketLifecycleCreateHTTPParams() *StorageBucketLifecycleCreateHTTPParams
NewStorageBucketLifecycleCreateHTTPParams creates a new StorageBucketLifecycleCreateHTTPParams 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 NewStorageBucketLifecycleCreateHTTPParamsWithContext ¶
func NewStorageBucketLifecycleCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketLifecycleCreateHTTPParams
NewStorageBucketLifecycleCreateHTTPParamsWithContext creates a new StorageBucketLifecycleCreateHTTPParams object with the ability to set a context for a request.
func NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient ¶
func NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketLifecycleCreateHTTPParams
NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient creates a new StorageBucketLifecycleCreateHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageBucketLifecycleCreateHTTPParamsWithTimeout ¶
func NewStorageBucketLifecycleCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketLifecycleCreateHTTPParams
NewStorageBucketLifecycleCreateHTTPParamsWithTimeout creates a new StorageBucketLifecycleCreateHTTPParams object with the ability to set a timeout on a request.
func (*StorageBucketLifecycleCreateHTTPParams) SetBody ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetBody(body StorageBucketLifecycleCreateHTTPBody)
SetBody adds the body to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) SetContext ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) SetDefaults ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage bucket lifecycle create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketLifecycleCreateHTTPParams) SetHTTPClient ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) SetID ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetID(id int64)
SetID adds the id to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) SetName ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetName(name string)
SetName adds the name to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) SetTimeout ¶
func (o *StorageBucketLifecycleCreateHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WithBody ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithBody(body StorageBucketLifecycleCreateHTTPBody) *StorageBucketLifecycleCreateHTTPParams
WithBody adds the body to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WithContext ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketLifecycleCreateHTTPParams
WithContext adds the context to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WithDefaults ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithDefaults() *StorageBucketLifecycleCreateHTTPParams
WithDefaults hydrates default values in the storage bucket lifecycle create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketLifecycleCreateHTTPParams) WithHTTPClient ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketLifecycleCreateHTTPParams
WithHTTPClient adds the HTTPClient to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WithID ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithID(id int64) *StorageBucketLifecycleCreateHTTPParams
WithID adds the id to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WithName ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithName(name string) *StorageBucketLifecycleCreateHTTPParams
WithName adds the name to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WithTimeout ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketLifecycleCreateHTTPParams
WithTimeout adds the timeout to the storage bucket lifecycle create Http params
func (*StorageBucketLifecycleCreateHTTPParams) WriteToRequest ¶
func (o *StorageBucketLifecycleCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageBucketLifecycleCreateHTTPReader ¶
type StorageBucketLifecycleCreateHTTPReader struct {
// contains filtered or unexported fields
}
StorageBucketLifecycleCreateHTTPReader is a Reader for the StorageBucketLifecycleCreateHTTP structure.
func (*StorageBucketLifecycleCreateHTTPReader) ReadResponse ¶
func (o *StorageBucketLifecycleCreateHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageBucketLifecycleDeleteHTTPBadRequest ¶
type StorageBucketLifecycleDeleteHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageBucketLifecycleDeleteHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageBucketLifecycleDeleteHTTPBadRequest ¶
func NewStorageBucketLifecycleDeleteHTTPBadRequest() *StorageBucketLifecycleDeleteHTTPBadRequest
NewStorageBucketLifecycleDeleteHTTPBadRequest creates a StorageBucketLifecycleDeleteHTTPBadRequest with default headers values
func (*StorageBucketLifecycleDeleteHTTPBadRequest) Error ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) Error() string
func (*StorageBucketLifecycleDeleteHTTPBadRequest) GetPayload ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageBucketLifecycleDeleteHTTPNoContent ¶
type StorageBucketLifecycleDeleteHTTPNoContent struct { }
StorageBucketLifecycleDeleteHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageBucketLifecycleDeleteHTTPNoContent ¶
func NewStorageBucketLifecycleDeleteHTTPNoContent() *StorageBucketLifecycleDeleteHTTPNoContent
NewStorageBucketLifecycleDeleteHTTPNoContent creates a StorageBucketLifecycleDeleteHTTPNoContent with default headers values
func (*StorageBucketLifecycleDeleteHTTPNoContent) Error ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) Error() string
type StorageBucketLifecycleDeleteHTTPParams ¶
type StorageBucketLifecycleDeleteHTTPParams struct { // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageBucketLifecycleDeleteHTTPParams contains all the parameters to send to the API endpoint
for the storage bucket lifecycle delete Http operation. Typically these are written to a http.Request.
func NewStorageBucketLifecycleDeleteHTTPParams ¶
func NewStorageBucketLifecycleDeleteHTTPParams() *StorageBucketLifecycleDeleteHTTPParams
NewStorageBucketLifecycleDeleteHTTPParams creates a new StorageBucketLifecycleDeleteHTTPParams 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 NewStorageBucketLifecycleDeleteHTTPParamsWithContext ¶
func NewStorageBucketLifecycleDeleteHTTPParamsWithContext(ctx context.Context) *StorageBucketLifecycleDeleteHTTPParams
NewStorageBucketLifecycleDeleteHTTPParamsWithContext creates a new StorageBucketLifecycleDeleteHTTPParams object with the ability to set a context for a request.
func NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient ¶
func NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketLifecycleDeleteHTTPParams
NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient creates a new StorageBucketLifecycleDeleteHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout ¶
func NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketLifecycleDeleteHTTPParams
NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout creates a new StorageBucketLifecycleDeleteHTTPParams object with the ability to set a timeout on a request.
func (*StorageBucketLifecycleDeleteHTTPParams) SetContext ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) SetDefaults ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage bucket lifecycle delete Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketLifecycleDeleteHTTPParams) SetHTTPClient ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) SetID ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) SetID(id int64)
SetID adds the id to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) SetName ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) SetName(name string)
SetName adds the name to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) SetTimeout ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) WithContext ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WithContext(ctx context.Context) *StorageBucketLifecycleDeleteHTTPParams
WithContext adds the context to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) WithDefaults ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WithDefaults() *StorageBucketLifecycleDeleteHTTPParams
WithDefaults hydrates default values in the storage bucket lifecycle delete Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketLifecycleDeleteHTTPParams) WithHTTPClient ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketLifecycleDeleteHTTPParams
WithHTTPClient adds the HTTPClient to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) WithID ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WithID(id int64) *StorageBucketLifecycleDeleteHTTPParams
WithID adds the id to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) WithName ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WithName(name string) *StorageBucketLifecycleDeleteHTTPParams
WithName adds the name to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) WithTimeout ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketLifecycleDeleteHTTPParams
WithTimeout adds the timeout to the storage bucket lifecycle delete Http params
func (*StorageBucketLifecycleDeleteHTTPParams) WriteToRequest ¶
func (o *StorageBucketLifecycleDeleteHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageBucketLifecycleDeleteHTTPReader ¶
type StorageBucketLifecycleDeleteHTTPReader struct {
// contains filtered or unexported fields
}
StorageBucketLifecycleDeleteHTTPReader is a Reader for the StorageBucketLifecycleDeleteHTTP structure.
func (*StorageBucketLifecycleDeleteHTTPReader) ReadResponse ¶
func (o *StorageBucketLifecycleDeleteHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageBucketPolicyCreateHTTPBadRequest ¶
type StorageBucketPolicyCreateHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageBucketPolicyCreateHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageBucketPolicyCreateHTTPBadRequest ¶
func NewStorageBucketPolicyCreateHTTPBadRequest() *StorageBucketPolicyCreateHTTPBadRequest
NewStorageBucketPolicyCreateHTTPBadRequest creates a StorageBucketPolicyCreateHTTPBadRequest with default headers values
func (*StorageBucketPolicyCreateHTTPBadRequest) Error ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) Error() string
func (*StorageBucketPolicyCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageBucketPolicyCreateHTTPNoContent ¶
type StorageBucketPolicyCreateHTTPNoContent struct { }
StorageBucketPolicyCreateHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageBucketPolicyCreateHTTPNoContent ¶
func NewStorageBucketPolicyCreateHTTPNoContent() *StorageBucketPolicyCreateHTTPNoContent
NewStorageBucketPolicyCreateHTTPNoContent creates a StorageBucketPolicyCreateHTTPNoContent with default headers values
func (*StorageBucketPolicyCreateHTTPNoContent) Error ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) Error() string
type StorageBucketPolicyCreateHTTPParams ¶
type StorageBucketPolicyCreateHTTPParams struct { // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageBucketPolicyCreateHTTPParams contains all the parameters to send to the API endpoint
for the storage bucket policy create Http operation. Typically these are written to a http.Request.
func NewStorageBucketPolicyCreateHTTPParams ¶
func NewStorageBucketPolicyCreateHTTPParams() *StorageBucketPolicyCreateHTTPParams
NewStorageBucketPolicyCreateHTTPParams creates a new StorageBucketPolicyCreateHTTPParams 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 NewStorageBucketPolicyCreateHTTPParamsWithContext ¶
func NewStorageBucketPolicyCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketPolicyCreateHTTPParams
NewStorageBucketPolicyCreateHTTPParamsWithContext creates a new StorageBucketPolicyCreateHTTPParams object with the ability to set a context for a request.
func NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient ¶
func NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketPolicyCreateHTTPParams
NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient creates a new StorageBucketPolicyCreateHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageBucketPolicyCreateHTTPParamsWithTimeout ¶
func NewStorageBucketPolicyCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketPolicyCreateHTTPParams
NewStorageBucketPolicyCreateHTTPParamsWithTimeout creates a new StorageBucketPolicyCreateHTTPParams object with the ability to set a timeout on a request.
func (*StorageBucketPolicyCreateHTTPParams) SetContext ¶
func (o *StorageBucketPolicyCreateHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) SetDefaults ¶
func (o *StorageBucketPolicyCreateHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage bucket policy create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketPolicyCreateHTTPParams) SetHTTPClient ¶
func (o *StorageBucketPolicyCreateHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) SetID ¶
func (o *StorageBucketPolicyCreateHTTPParams) SetID(id int64)
SetID adds the id to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) SetName ¶
func (o *StorageBucketPolicyCreateHTTPParams) SetName(name string)
SetName adds the name to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) SetTimeout ¶
func (o *StorageBucketPolicyCreateHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) WithContext ¶
func (o *StorageBucketPolicyCreateHTTPParams) WithContext(ctx context.Context) *StorageBucketPolicyCreateHTTPParams
WithContext adds the context to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) WithDefaults ¶
func (o *StorageBucketPolicyCreateHTTPParams) WithDefaults() *StorageBucketPolicyCreateHTTPParams
WithDefaults hydrates default values in the storage bucket policy create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketPolicyCreateHTTPParams) WithHTTPClient ¶
func (o *StorageBucketPolicyCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketPolicyCreateHTTPParams
WithHTTPClient adds the HTTPClient to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) WithID ¶
func (o *StorageBucketPolicyCreateHTTPParams) WithID(id int64) *StorageBucketPolicyCreateHTTPParams
WithID adds the id to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) WithName ¶
func (o *StorageBucketPolicyCreateHTTPParams) WithName(name string) *StorageBucketPolicyCreateHTTPParams
WithName adds the name to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) WithTimeout ¶
func (o *StorageBucketPolicyCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketPolicyCreateHTTPParams
WithTimeout adds the timeout to the storage bucket policy create Http params
func (*StorageBucketPolicyCreateHTTPParams) WriteToRequest ¶
func (o *StorageBucketPolicyCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageBucketPolicyCreateHTTPReader ¶
type StorageBucketPolicyCreateHTTPReader struct {
// contains filtered or unexported fields
}
StorageBucketPolicyCreateHTTPReader is a Reader for the StorageBucketPolicyCreateHTTP structure.
func (*StorageBucketPolicyCreateHTTPReader) ReadResponse ¶
func (o *StorageBucketPolicyCreateHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageBucketRemoveHTTPBadRequest ¶
type StorageBucketRemoveHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageBucketRemoveHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageBucketRemoveHTTPBadRequest ¶
func NewStorageBucketRemoveHTTPBadRequest() *StorageBucketRemoveHTTPBadRequest
NewStorageBucketRemoveHTTPBadRequest creates a StorageBucketRemoveHTTPBadRequest with default headers values
func (*StorageBucketRemoveHTTPBadRequest) Error ¶
func (o *StorageBucketRemoveHTTPBadRequest) Error() string
func (*StorageBucketRemoveHTTPBadRequest) GetPayload ¶
func (o *StorageBucketRemoveHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageBucketRemoveHTTPNoContent ¶
type StorageBucketRemoveHTTPNoContent struct { }
StorageBucketRemoveHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageBucketRemoveHTTPNoContent ¶
func NewStorageBucketRemoveHTTPNoContent() *StorageBucketRemoveHTTPNoContent
NewStorageBucketRemoveHTTPNoContent creates a StorageBucketRemoveHTTPNoContent with default headers values
func (*StorageBucketRemoveHTTPNoContent) Error ¶
func (o *StorageBucketRemoveHTTPNoContent) Error() string
type StorageBucketRemoveHTTPParams ¶
type StorageBucketRemoveHTTPParams struct { // ID. // // Format: int64 ID int64 // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageBucketRemoveHTTPParams contains all the parameters to send to the API endpoint
for the storage bucket remove Http operation. Typically these are written to a http.Request.
func NewStorageBucketRemoveHTTPParams ¶
func NewStorageBucketRemoveHTTPParams() *StorageBucketRemoveHTTPParams
NewStorageBucketRemoveHTTPParams creates a new StorageBucketRemoveHTTPParams 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 NewStorageBucketRemoveHTTPParamsWithContext ¶
func NewStorageBucketRemoveHTTPParamsWithContext(ctx context.Context) *StorageBucketRemoveHTTPParams
NewStorageBucketRemoveHTTPParamsWithContext creates a new StorageBucketRemoveHTTPParams object with the ability to set a context for a request.
func NewStorageBucketRemoveHTTPParamsWithHTTPClient ¶
func NewStorageBucketRemoveHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketRemoveHTTPParams
NewStorageBucketRemoveHTTPParamsWithHTTPClient creates a new StorageBucketRemoveHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageBucketRemoveHTTPParamsWithTimeout ¶
func NewStorageBucketRemoveHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketRemoveHTTPParams
NewStorageBucketRemoveHTTPParamsWithTimeout creates a new StorageBucketRemoveHTTPParams object with the ability to set a timeout on a request.
func (*StorageBucketRemoveHTTPParams) SetContext ¶
func (o *StorageBucketRemoveHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) SetDefaults ¶
func (o *StorageBucketRemoveHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage bucket remove Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketRemoveHTTPParams) SetHTTPClient ¶
func (o *StorageBucketRemoveHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) SetID ¶
func (o *StorageBucketRemoveHTTPParams) SetID(id int64)
SetID adds the id to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) SetName ¶
func (o *StorageBucketRemoveHTTPParams) SetName(name string)
SetName adds the name to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) SetTimeout ¶
func (o *StorageBucketRemoveHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) WithContext ¶
func (o *StorageBucketRemoveHTTPParams) WithContext(ctx context.Context) *StorageBucketRemoveHTTPParams
WithContext adds the context to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) WithDefaults ¶
func (o *StorageBucketRemoveHTTPParams) WithDefaults() *StorageBucketRemoveHTTPParams
WithDefaults hydrates default values in the storage bucket remove Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageBucketRemoveHTTPParams) WithHTTPClient ¶
func (o *StorageBucketRemoveHTTPParams) WithHTTPClient(client *http.Client) *StorageBucketRemoveHTTPParams
WithHTTPClient adds the HTTPClient to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) WithID ¶
func (o *StorageBucketRemoveHTTPParams) WithID(id int64) *StorageBucketRemoveHTTPParams
WithID adds the id to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) WithName ¶
func (o *StorageBucketRemoveHTTPParams) WithName(name string) *StorageBucketRemoveHTTPParams
WithName adds the name to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) WithTimeout ¶
func (o *StorageBucketRemoveHTTPParams) WithTimeout(timeout time.Duration) *StorageBucketRemoveHTTPParams
WithTimeout adds the timeout to the storage bucket remove Http params
func (*StorageBucketRemoveHTTPParams) WriteToRequest ¶
func (o *StorageBucketRemoveHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageBucketRemoveHTTPReader ¶
type StorageBucketRemoveHTTPReader struct {
// contains filtered or unexported fields
}
StorageBucketRemoveHTTPReader is a Reader for the StorageBucketRemoveHTTP structure.
func (*StorageBucketRemoveHTTPReader) ReadResponse ¶
func (o *StorageBucketRemoveHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageCreateHTTPBadRequest ¶
type StorageCreateHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageCreateHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageCreateHTTPBadRequest ¶
func NewStorageCreateHTTPBadRequest() *StorageCreateHTTPBadRequest
NewStorageCreateHTTPBadRequest creates a StorageCreateHTTPBadRequest with default headers values
func (*StorageCreateHTTPBadRequest) Error ¶
func (o *StorageCreateHTTPBadRequest) Error() string
func (*StorageCreateHTTPBadRequest) GetPayload ¶
func (o *StorageCreateHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageCreateHTTPBody ¶
type StorageCreateHTTPBody struct { // generate sftp password GenerateSftpPassword bool `json:"generate_sftp_password,omitempty"` // location // Enum: [s-ed1 s-darz1 s-ws1 ams sin fra mia] Location string `json:"location,omitempty"` // name Name string `json:"name,omitempty"` // sftp password SftpPassword string `json:"sftp_password,omitempty"` // type // Enum: [sftp s3] Type string `json:"type,omitempty"` }
StorageCreateHTTPBody storage create HTTP body swagger:model StorageCreateHTTPBody
func (*StorageCreateHTTPBody) ContextValidate ¶
ContextValidate validates this storage create HTTP body based on context it is used
func (*StorageCreateHTTPBody) MarshalBinary ¶
func (o *StorageCreateHTTPBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageCreateHTTPBody) UnmarshalBinary ¶
func (o *StorageCreateHTTPBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageCreateHTTPConflict ¶
type StorageCreateHTTPConflict struct {
Payload *models.ErrResponse
}
StorageCreateHTTPConflict describes a response with status code 409, with default header values.
ErrResponse
func NewStorageCreateHTTPConflict ¶
func NewStorageCreateHTTPConflict() *StorageCreateHTTPConflict
NewStorageCreateHTTPConflict creates a StorageCreateHTTPConflict with default headers values
func (*StorageCreateHTTPConflict) Error ¶
func (o *StorageCreateHTTPConflict) Error() string
func (*StorageCreateHTTPConflict) GetPayload ¶
func (o *StorageCreateHTTPConflict) GetPayload() *models.ErrResponse
type StorageCreateHTTPOK ¶
StorageCreateHTTPOK describes a response with status code 200, with default header values.
Storage
func NewStorageCreateHTTPOK ¶
func NewStorageCreateHTTPOK() *StorageCreateHTTPOK
NewStorageCreateHTTPOK creates a StorageCreateHTTPOK with default headers values
func (*StorageCreateHTTPOK) Error ¶
func (o *StorageCreateHTTPOK) Error() string
func (*StorageCreateHTTPOK) GetPayload ¶
func (o *StorageCreateHTTPOK) GetPayload() *models.Storage
type StorageCreateHTTPParams ¶
type StorageCreateHTTPParams struct { // Body. Body StorageCreateHTTPBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageCreateHTTPParams contains all the parameters to send to the API endpoint
for the storage create Http operation. Typically these are written to a http.Request.
func NewStorageCreateHTTPParams ¶
func NewStorageCreateHTTPParams() *StorageCreateHTTPParams
NewStorageCreateHTTPParams creates a new StorageCreateHTTPParams 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 NewStorageCreateHTTPParamsWithContext ¶
func NewStorageCreateHTTPParamsWithContext(ctx context.Context) *StorageCreateHTTPParams
NewStorageCreateHTTPParamsWithContext creates a new StorageCreateHTTPParams object with the ability to set a context for a request.
func NewStorageCreateHTTPParamsWithHTTPClient ¶
func NewStorageCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageCreateHTTPParams
NewStorageCreateHTTPParamsWithHTTPClient creates a new StorageCreateHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageCreateHTTPParamsWithTimeout ¶
func NewStorageCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageCreateHTTPParams
NewStorageCreateHTTPParamsWithTimeout creates a new StorageCreateHTTPParams object with the ability to set a timeout on a request.
func (*StorageCreateHTTPParams) SetBody ¶
func (o *StorageCreateHTTPParams) SetBody(body StorageCreateHTTPBody)
SetBody adds the body to the storage create Http params
func (*StorageCreateHTTPParams) SetContext ¶
func (o *StorageCreateHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage create Http params
func (*StorageCreateHTTPParams) SetDefaults ¶
func (o *StorageCreateHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageCreateHTTPParams) SetHTTPClient ¶
func (o *StorageCreateHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage create Http params
func (*StorageCreateHTTPParams) SetTimeout ¶
func (o *StorageCreateHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage create Http params
func (*StorageCreateHTTPParams) WithBody ¶
func (o *StorageCreateHTTPParams) WithBody(body StorageCreateHTTPBody) *StorageCreateHTTPParams
WithBody adds the body to the storage create Http params
func (*StorageCreateHTTPParams) WithContext ¶
func (o *StorageCreateHTTPParams) WithContext(ctx context.Context) *StorageCreateHTTPParams
WithContext adds the context to the storage create Http params
func (*StorageCreateHTTPParams) WithDefaults ¶
func (o *StorageCreateHTTPParams) WithDefaults() *StorageCreateHTTPParams
WithDefaults hydrates default values in the storage create Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageCreateHTTPParams) WithHTTPClient ¶
func (o *StorageCreateHTTPParams) WithHTTPClient(client *http.Client) *StorageCreateHTTPParams
WithHTTPClient adds the HTTPClient to the storage create Http params
func (*StorageCreateHTTPParams) WithTimeout ¶
func (o *StorageCreateHTTPParams) WithTimeout(timeout time.Duration) *StorageCreateHTTPParams
WithTimeout adds the timeout to the storage create Http params
func (*StorageCreateHTTPParams) WriteToRequest ¶
func (o *StorageCreateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageCreateHTTPReader ¶
type StorageCreateHTTPReader struct {
// contains filtered or unexported fields
}
StorageCreateHTTPReader is a Reader for the StorageCreateHTTP structure.
func (*StorageCreateHTTPReader) ReadResponse ¶
func (o *StorageCreateHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageDeleteHTTPBadRequest ¶
type StorageDeleteHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageDeleteHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageDeleteHTTPBadRequest ¶
func NewStorageDeleteHTTPBadRequest() *StorageDeleteHTTPBadRequest
NewStorageDeleteHTTPBadRequest creates a StorageDeleteHTTPBadRequest with default headers values
func (*StorageDeleteHTTPBadRequest) Error ¶
func (o *StorageDeleteHTTPBadRequest) Error() string
func (*StorageDeleteHTTPBadRequest) GetPayload ¶
func (o *StorageDeleteHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageDeleteHTTPNoContent ¶
type StorageDeleteHTTPNoContent struct { }
StorageDeleteHTTPNoContent describes a response with status code 204, with default header values.
A SuccessResponse is a response that shows that operations was completed successfully
func NewStorageDeleteHTTPNoContent ¶
func NewStorageDeleteHTTPNoContent() *StorageDeleteHTTPNoContent
NewStorageDeleteHTTPNoContent creates a StorageDeleteHTTPNoContent with default headers values
func (*StorageDeleteHTTPNoContent) Error ¶
func (o *StorageDeleteHTTPNoContent) Error() string
type StorageDeleteHTTPParams ¶
type StorageDeleteHTTPParams struct { // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageDeleteHTTPParams contains all the parameters to send to the API endpoint
for the storage delete Http operation. Typically these are written to a http.Request.
func NewStorageDeleteHTTPParams ¶
func NewStorageDeleteHTTPParams() *StorageDeleteHTTPParams
NewStorageDeleteHTTPParams creates a new StorageDeleteHTTPParams 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 NewStorageDeleteHTTPParamsWithContext ¶
func NewStorageDeleteHTTPParamsWithContext(ctx context.Context) *StorageDeleteHTTPParams
NewStorageDeleteHTTPParamsWithContext creates a new StorageDeleteHTTPParams object with the ability to set a context for a request.
func NewStorageDeleteHTTPParamsWithHTTPClient ¶
func NewStorageDeleteHTTPParamsWithHTTPClient(client *http.Client) *StorageDeleteHTTPParams
NewStorageDeleteHTTPParamsWithHTTPClient creates a new StorageDeleteHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageDeleteHTTPParamsWithTimeout ¶
func NewStorageDeleteHTTPParamsWithTimeout(timeout time.Duration) *StorageDeleteHTTPParams
NewStorageDeleteHTTPParamsWithTimeout creates a new StorageDeleteHTTPParams object with the ability to set a timeout on a request.
func (*StorageDeleteHTTPParams) SetContext ¶
func (o *StorageDeleteHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage delete Http params
func (*StorageDeleteHTTPParams) SetDefaults ¶
func (o *StorageDeleteHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage delete Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageDeleteHTTPParams) SetHTTPClient ¶
func (o *StorageDeleteHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage delete Http params
func (*StorageDeleteHTTPParams) SetID ¶
func (o *StorageDeleteHTTPParams) SetID(id int64)
SetID adds the id to the storage delete Http params
func (*StorageDeleteHTTPParams) SetTimeout ¶
func (o *StorageDeleteHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage delete Http params
func (*StorageDeleteHTTPParams) WithContext ¶
func (o *StorageDeleteHTTPParams) WithContext(ctx context.Context) *StorageDeleteHTTPParams
WithContext adds the context to the storage delete Http params
func (*StorageDeleteHTTPParams) WithDefaults ¶
func (o *StorageDeleteHTTPParams) WithDefaults() *StorageDeleteHTTPParams
WithDefaults hydrates default values in the storage delete Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageDeleteHTTPParams) WithHTTPClient ¶
func (o *StorageDeleteHTTPParams) WithHTTPClient(client *http.Client) *StorageDeleteHTTPParams
WithHTTPClient adds the HTTPClient to the storage delete Http params
func (*StorageDeleteHTTPParams) WithID ¶
func (o *StorageDeleteHTTPParams) WithID(id int64) *StorageDeleteHTTPParams
WithID adds the id to the storage delete Http params
func (*StorageDeleteHTTPParams) WithTimeout ¶
func (o *StorageDeleteHTTPParams) WithTimeout(timeout time.Duration) *StorageDeleteHTTPParams
WithTimeout adds the timeout to the storage delete Http params
func (*StorageDeleteHTTPParams) WriteToRequest ¶
func (o *StorageDeleteHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageDeleteHTTPReader ¶
type StorageDeleteHTTPReader struct {
// contains filtered or unexported fields
}
StorageDeleteHTTPReader is a Reader for the StorageDeleteHTTP structure.
func (*StorageDeleteHTTPReader) ReadResponse ¶
func (o *StorageDeleteHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageGetHTTPBadRequest ¶
type StorageGetHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageGetHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageGetHTTPBadRequest ¶
func NewStorageGetHTTPBadRequest() *StorageGetHTTPBadRequest
NewStorageGetHTTPBadRequest creates a StorageGetHTTPBadRequest with default headers values
func (*StorageGetHTTPBadRequest) Error ¶
func (o *StorageGetHTTPBadRequest) Error() string
func (*StorageGetHTTPBadRequest) GetPayload ¶
func (o *StorageGetHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageGetHTTPOK ¶
StorageGetHTTPOK describes a response with status code 200, with default header values.
Storage
func NewStorageGetHTTPOK ¶
func NewStorageGetHTTPOK() *StorageGetHTTPOK
NewStorageGetHTTPOK creates a StorageGetHTTPOK with default headers values
func (*StorageGetHTTPOK) Error ¶
func (o *StorageGetHTTPOK) Error() string
func (*StorageGetHTTPOK) GetPayload ¶
func (o *StorageGetHTTPOK) GetPayload() *models.Storage
type StorageGetHTTPParams ¶
type StorageGetHTTPParams struct { // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageGetHTTPParams contains all the parameters to send to the API endpoint
for the storage get Http operation. Typically these are written to a http.Request.
func NewStorageGetHTTPParams ¶
func NewStorageGetHTTPParams() *StorageGetHTTPParams
NewStorageGetHTTPParams creates a new StorageGetHTTPParams 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 NewStorageGetHTTPParamsWithContext ¶
func NewStorageGetHTTPParamsWithContext(ctx context.Context) *StorageGetHTTPParams
NewStorageGetHTTPParamsWithContext creates a new StorageGetHTTPParams object with the ability to set a context for a request.
func NewStorageGetHTTPParamsWithHTTPClient ¶
func NewStorageGetHTTPParamsWithHTTPClient(client *http.Client) *StorageGetHTTPParams
NewStorageGetHTTPParamsWithHTTPClient creates a new StorageGetHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageGetHTTPParamsWithTimeout ¶
func NewStorageGetHTTPParamsWithTimeout(timeout time.Duration) *StorageGetHTTPParams
NewStorageGetHTTPParamsWithTimeout creates a new StorageGetHTTPParams object with the ability to set a timeout on a request.
func (*StorageGetHTTPParams) SetContext ¶
func (o *StorageGetHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage get Http params
func (*StorageGetHTTPParams) SetDefaults ¶
func (o *StorageGetHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage get Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageGetHTTPParams) SetHTTPClient ¶
func (o *StorageGetHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage get Http params
func (*StorageGetHTTPParams) SetID ¶
func (o *StorageGetHTTPParams) SetID(id int64)
SetID adds the id to the storage get Http params
func (*StorageGetHTTPParams) SetTimeout ¶
func (o *StorageGetHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage get Http params
func (*StorageGetHTTPParams) WithContext ¶
func (o *StorageGetHTTPParams) WithContext(ctx context.Context) *StorageGetHTTPParams
WithContext adds the context to the storage get Http params
func (*StorageGetHTTPParams) WithDefaults ¶
func (o *StorageGetHTTPParams) WithDefaults() *StorageGetHTTPParams
WithDefaults hydrates default values in the storage get Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageGetHTTPParams) WithHTTPClient ¶
func (o *StorageGetHTTPParams) WithHTTPClient(client *http.Client) *StorageGetHTTPParams
WithHTTPClient adds the HTTPClient to the storage get Http params
func (*StorageGetHTTPParams) WithID ¶
func (o *StorageGetHTTPParams) WithID(id int64) *StorageGetHTTPParams
WithID adds the id to the storage get Http params
func (*StorageGetHTTPParams) WithTimeout ¶
func (o *StorageGetHTTPParams) WithTimeout(timeout time.Duration) *StorageGetHTTPParams
WithTimeout adds the timeout to the storage get Http params
func (*StorageGetHTTPParams) WriteToRequest ¶
func (o *StorageGetHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageGetHTTPReader ¶
type StorageGetHTTPReader struct {
// contains filtered or unexported fields
}
StorageGetHTTPReader is a Reader for the StorageGetHTTP structure.
func (*StorageGetHTTPReader) ReadResponse ¶
func (o *StorageGetHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageListBucketsHTTPBadRequest ¶
type StorageListBucketsHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageListBucketsHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageListBucketsHTTPBadRequest ¶
func NewStorageListBucketsHTTPBadRequest() *StorageListBucketsHTTPBadRequest
NewStorageListBucketsHTTPBadRequest creates a StorageListBucketsHTTPBadRequest with default headers values
func (*StorageListBucketsHTTPBadRequest) Error ¶
func (o *StorageListBucketsHTTPBadRequest) Error() string
func (*StorageListBucketsHTTPBadRequest) GetPayload ¶
func (o *StorageListBucketsHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageListBucketsHTTPOK ¶
type StorageListBucketsHTTPOK struct {
Payload *models.StorageListBucketsEndpointRes
}
StorageListBucketsHTTPOK describes a response with status code 200, with default header values.
StorageListBucketsEndpointRes
func NewStorageListBucketsHTTPOK ¶
func NewStorageListBucketsHTTPOK() *StorageListBucketsHTTPOK
NewStorageListBucketsHTTPOK creates a StorageListBucketsHTTPOK with default headers values
func (*StorageListBucketsHTTPOK) Error ¶
func (o *StorageListBucketsHTTPOK) Error() string
func (*StorageListBucketsHTTPOK) GetPayload ¶
func (o *StorageListBucketsHTTPOK) GetPayload() *models.StorageListBucketsEndpointRes
type StorageListBucketsHTTPParams ¶
type StorageListBucketsHTTPParams struct { // ID. // // Format: int64 ID int64 /* Limit. Max number of records in response Format: uint64 */ Limit *uint64 /* Offset. Amount of records to skip before beginning to write in response. Format: uint64 */ Offset *uint64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageListBucketsHTTPParams contains all the parameters to send to the API endpoint
for the storage list buckets Http operation. Typically these are written to a http.Request.
func NewStorageListBucketsHTTPParams ¶
func NewStorageListBucketsHTTPParams() *StorageListBucketsHTTPParams
NewStorageListBucketsHTTPParams creates a new StorageListBucketsHTTPParams 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 NewStorageListBucketsHTTPParamsWithContext ¶
func NewStorageListBucketsHTTPParamsWithContext(ctx context.Context) *StorageListBucketsHTTPParams
NewStorageListBucketsHTTPParamsWithContext creates a new StorageListBucketsHTTPParams object with the ability to set a context for a request.
func NewStorageListBucketsHTTPParamsWithHTTPClient ¶
func NewStorageListBucketsHTTPParamsWithHTTPClient(client *http.Client) *StorageListBucketsHTTPParams
NewStorageListBucketsHTTPParamsWithHTTPClient creates a new StorageListBucketsHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageListBucketsHTTPParamsWithTimeout ¶
func NewStorageListBucketsHTTPParamsWithTimeout(timeout time.Duration) *StorageListBucketsHTTPParams
NewStorageListBucketsHTTPParamsWithTimeout creates a new StorageListBucketsHTTPParams object with the ability to set a timeout on a request.
func (*StorageListBucketsHTTPParams) SetContext ¶
func (o *StorageListBucketsHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) SetDefaults ¶
func (o *StorageListBucketsHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage list buckets Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageListBucketsHTTPParams) SetHTTPClient ¶
func (o *StorageListBucketsHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) SetID ¶
func (o *StorageListBucketsHTTPParams) SetID(id int64)
SetID adds the id to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) SetLimit ¶
func (o *StorageListBucketsHTTPParams) SetLimit(limit *uint64)
SetLimit adds the limit to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) SetOffset ¶
func (o *StorageListBucketsHTTPParams) SetOffset(offset *uint64)
SetOffset adds the offset to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) SetTimeout ¶
func (o *StorageListBucketsHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WithContext ¶
func (o *StorageListBucketsHTTPParams) WithContext(ctx context.Context) *StorageListBucketsHTTPParams
WithContext adds the context to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WithDefaults ¶
func (o *StorageListBucketsHTTPParams) WithDefaults() *StorageListBucketsHTTPParams
WithDefaults hydrates default values in the storage list buckets Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageListBucketsHTTPParams) WithHTTPClient ¶
func (o *StorageListBucketsHTTPParams) WithHTTPClient(client *http.Client) *StorageListBucketsHTTPParams
WithHTTPClient adds the HTTPClient to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WithID ¶
func (o *StorageListBucketsHTTPParams) WithID(id int64) *StorageListBucketsHTTPParams
WithID adds the id to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WithLimit ¶
func (o *StorageListBucketsHTTPParams) WithLimit(limit *uint64) *StorageListBucketsHTTPParams
WithLimit adds the limit to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WithOffset ¶
func (o *StorageListBucketsHTTPParams) WithOffset(offset *uint64) *StorageListBucketsHTTPParams
WithOffset adds the offset to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WithTimeout ¶
func (o *StorageListBucketsHTTPParams) WithTimeout(timeout time.Duration) *StorageListBucketsHTTPParams
WithTimeout adds the timeout to the storage list buckets Http params
func (*StorageListBucketsHTTPParams) WriteToRequest ¶
func (o *StorageListBucketsHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageListBucketsHTTPReader ¶
type StorageListBucketsHTTPReader struct {
// contains filtered or unexported fields
}
StorageListBucketsHTTPReader is a Reader for the StorageListBucketsHTTP structure.
func (*StorageListBucketsHTTPReader) ReadResponse ¶
func (o *StorageListBucketsHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageListHTTPV1BadRequest ¶
type StorageListHTTPV1BadRequest struct {
Payload *models.ErrResponse
}
StorageListHTTPV1BadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageListHTTPV1BadRequest ¶
func NewStorageListHTTPV1BadRequest() *StorageListHTTPV1BadRequest
NewStorageListHTTPV1BadRequest creates a StorageListHTTPV1BadRequest with default headers values
func (*StorageListHTTPV1BadRequest) Error ¶
func (o *StorageListHTTPV1BadRequest) Error() string
func (*StorageListHTTPV1BadRequest) GetPayload ¶
func (o *StorageListHTTPV1BadRequest) GetPayload() *models.ErrResponse
type StorageListHTTPV1OK ¶
type StorageListHTTPV1OK struct {
Payload *models.StorageListEndpointRes
}
StorageListHTTPV1OK describes a response with status code 200, with default header values.
StorageListEndpointRes
func NewStorageListHTTPV1OK ¶
func NewStorageListHTTPV1OK() *StorageListHTTPV1OK
NewStorageListHTTPV1OK creates a StorageListHTTPV1OK with default headers values
func (*StorageListHTTPV1OK) Error ¶
func (o *StorageListHTTPV1OK) Error() string
func (*StorageListHTTPV1OK) GetPayload ¶
func (o *StorageListHTTPV1OK) GetPayload() *models.StorageListEndpointRes
type StorageListHTTPV1Params ¶
type StorageListHTTPV1Params struct { // ID. ID *string /* Limit. Max number of records in response Format: uint64 */ Limit *uint64 // Location. Location *string // Name. Name *string /* Offset. Amount of records to skip before beginning to write in response. Format: uint64 */ Offset *uint64 /* OrderBy. Field name to sort by */ By *string /* OrderDirection. Ascending or descending order */ Direction *string // ShowDeleted. ShowDeleted *bool // Status. Status *string // Type. Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageListHTTPV1Params contains all the parameters to send to the API endpoint
for the storage list Http v1 operation. Typically these are written to a http.Request.
func NewStorageListHTTPV1Params ¶
func NewStorageListHTTPV1Params() *StorageListHTTPV1Params
NewStorageListHTTPV1Params creates a new StorageListHTTPV1Params 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 NewStorageListHTTPV1ParamsWithContext ¶
func NewStorageListHTTPV1ParamsWithContext(ctx context.Context) *StorageListHTTPV1Params
NewStorageListHTTPV1ParamsWithContext creates a new StorageListHTTPV1Params object with the ability to set a context for a request.
func NewStorageListHTTPV1ParamsWithHTTPClient ¶
func NewStorageListHTTPV1ParamsWithHTTPClient(client *http.Client) *StorageListHTTPV1Params
NewStorageListHTTPV1ParamsWithHTTPClient creates a new StorageListHTTPV1Params object with the ability to set a custom HTTPClient for a request.
func NewStorageListHTTPV1ParamsWithTimeout ¶
func NewStorageListHTTPV1ParamsWithTimeout(timeout time.Duration) *StorageListHTTPV1Params
NewStorageListHTTPV1ParamsWithTimeout creates a new StorageListHTTPV1Params object with the ability to set a timeout on a request.
func (*StorageListHTTPV1Params) SetBy ¶
func (o *StorageListHTTPV1Params) SetBy(orderBy *string)
SetBy adds the orderBy to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetContext ¶
func (o *StorageListHTTPV1Params) SetContext(ctx context.Context)
SetContext adds the context to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetDefaults ¶
func (o *StorageListHTTPV1Params) SetDefaults()
SetDefaults hydrates default values in the storage list Http v1 params (not the query body).
All values with no default are reset to their zero value.
func (*StorageListHTTPV1Params) SetDirection ¶
func (o *StorageListHTTPV1Params) SetDirection(orderDirection *string)
SetDirection adds the orderDirection to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetHTTPClient ¶
func (o *StorageListHTTPV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetID ¶
func (o *StorageListHTTPV1Params) SetID(id *string)
SetID adds the id to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetLimit ¶
func (o *StorageListHTTPV1Params) SetLimit(limit *uint64)
SetLimit adds the limit to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetLocation ¶
func (o *StorageListHTTPV1Params) SetLocation(location *string)
SetLocation adds the location to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetName ¶
func (o *StorageListHTTPV1Params) SetName(name *string)
SetName adds the name to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetOffset ¶
func (o *StorageListHTTPV1Params) SetOffset(offset *uint64)
SetOffset adds the offset to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetShowDeleted ¶
func (o *StorageListHTTPV1Params) SetShowDeleted(showDeleted *bool)
SetShowDeleted adds the showDeleted to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetStatus ¶
func (o *StorageListHTTPV1Params) SetStatus(status *string)
SetStatus adds the status to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetTimeout ¶
func (o *StorageListHTTPV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage list Http v1 params
func (*StorageListHTTPV1Params) SetType ¶
func (o *StorageListHTTPV1Params) SetType(typeVar *string)
SetType adds the type to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithBy ¶
func (o *StorageListHTTPV1Params) WithBy(orderBy *string) *StorageListHTTPV1Params
WithBy adds the orderBy to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithContext ¶
func (o *StorageListHTTPV1Params) WithContext(ctx context.Context) *StorageListHTTPV1Params
WithContext adds the context to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithDefaults ¶
func (o *StorageListHTTPV1Params) WithDefaults() *StorageListHTTPV1Params
WithDefaults hydrates default values in the storage list Http v1 params (not the query body).
All values with no default are reset to their zero value.
func (*StorageListHTTPV1Params) WithDirection ¶
func (o *StorageListHTTPV1Params) WithDirection(orderDirection *string) *StorageListHTTPV1Params
WithDirection adds the orderDirection to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithHTTPClient ¶
func (o *StorageListHTTPV1Params) WithHTTPClient(client *http.Client) *StorageListHTTPV1Params
WithHTTPClient adds the HTTPClient to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithID ¶
func (o *StorageListHTTPV1Params) WithID(id *string) *StorageListHTTPV1Params
WithID adds the id to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithLimit ¶
func (o *StorageListHTTPV1Params) WithLimit(limit *uint64) *StorageListHTTPV1Params
WithLimit adds the limit to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithLocation ¶
func (o *StorageListHTTPV1Params) WithLocation(location *string) *StorageListHTTPV1Params
WithLocation adds the location to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithName ¶
func (o *StorageListHTTPV1Params) WithName(name *string) *StorageListHTTPV1Params
WithName adds the name to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithOffset ¶
func (o *StorageListHTTPV1Params) WithOffset(offset *uint64) *StorageListHTTPV1Params
WithOffset adds the offset to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithShowDeleted ¶
func (o *StorageListHTTPV1Params) WithShowDeleted(showDeleted *bool) *StorageListHTTPV1Params
WithShowDeleted adds the showDeleted to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithStatus ¶
func (o *StorageListHTTPV1Params) WithStatus(status *string) *StorageListHTTPV1Params
WithStatus adds the status to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithTimeout ¶
func (o *StorageListHTTPV1Params) WithTimeout(timeout time.Duration) *StorageListHTTPV1Params
WithTimeout adds the timeout to the storage list Http v1 params
func (*StorageListHTTPV1Params) WithType ¶
func (o *StorageListHTTPV1Params) WithType(typeVar *string) *StorageListHTTPV1Params
WithType adds the typeVar to the storage list Http v1 params
func (*StorageListHTTPV1Params) WriteToRequest ¶
func (o *StorageListHTTPV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageListHTTPV1Reader ¶
type StorageListHTTPV1Reader struct {
// contains filtered or unexported fields
}
StorageListHTTPV1Reader is a Reader for the StorageListHTTPV1 structure.
func (*StorageListHTTPV1Reader) ReadResponse ¶
func (o *StorageListHTTPV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageListHTTPV2BadRequest ¶
type StorageListHTTPV2BadRequest struct {
Payload *models.ErrResponse
}
StorageListHTTPV2BadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageListHTTPV2BadRequest ¶
func NewStorageListHTTPV2BadRequest() *StorageListHTTPV2BadRequest
NewStorageListHTTPV2BadRequest creates a StorageListHTTPV2BadRequest with default headers values
func (*StorageListHTTPV2BadRequest) Error ¶
func (o *StorageListHTTPV2BadRequest) Error() string
func (*StorageListHTTPV2BadRequest) GetPayload ¶
func (o *StorageListHTTPV2BadRequest) GetPayload() *models.ErrResponse
type StorageListHTTPV2OK ¶
type StorageListHTTPV2OK struct {
Payload *models.StorageListEndpointRes
}
StorageListHTTPV2OK describes a response with status code 200, with default header values.
StorageListEndpointRes
func NewStorageListHTTPV2OK ¶
func NewStorageListHTTPV2OK() *StorageListHTTPV2OK
NewStorageListHTTPV2OK creates a StorageListHTTPV2OK with default headers values
func (*StorageListHTTPV2OK) Error ¶
func (o *StorageListHTTPV2OK) Error() string
func (*StorageListHTTPV2OK) GetPayload ¶
func (o *StorageListHTTPV2OK) GetPayload() *models.StorageListEndpointRes
type StorageListHTTPV2Params ¶
type StorageListHTTPV2Params struct { // ID. ID *string /* Limit. Max number of records in response Format: uint64 */ Limit *uint64 // Location. Location *string // Name. Name *string /* Offset. Amount of records to skip before beginning to write in response. Format: uint64 */ Offset *uint64 /* OrderBy. Field name to sort by */ By *string /* OrderDirection. Ascending or descending order */ Direction *string // ShowDeleted. ShowDeleted *bool // Status. Status *string // Type. Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageListHTTPV2Params contains all the parameters to send to the API endpoint
for the storage list Http v2 operation. Typically these are written to a http.Request.
func NewStorageListHTTPV2Params ¶
func NewStorageListHTTPV2Params() *StorageListHTTPV2Params
NewStorageListHTTPV2Params creates a new StorageListHTTPV2Params 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 NewStorageListHTTPV2ParamsWithContext ¶
func NewStorageListHTTPV2ParamsWithContext(ctx context.Context) *StorageListHTTPV2Params
NewStorageListHTTPV2ParamsWithContext creates a new StorageListHTTPV2Params object with the ability to set a context for a request.
func NewStorageListHTTPV2ParamsWithHTTPClient ¶
func NewStorageListHTTPV2ParamsWithHTTPClient(client *http.Client) *StorageListHTTPV2Params
NewStorageListHTTPV2ParamsWithHTTPClient creates a new StorageListHTTPV2Params object with the ability to set a custom HTTPClient for a request.
func NewStorageListHTTPV2ParamsWithTimeout ¶
func NewStorageListHTTPV2ParamsWithTimeout(timeout time.Duration) *StorageListHTTPV2Params
NewStorageListHTTPV2ParamsWithTimeout creates a new StorageListHTTPV2Params object with the ability to set a timeout on a request.
func (*StorageListHTTPV2Params) SetBy ¶
func (o *StorageListHTTPV2Params) SetBy(orderBy *string)
SetBy adds the orderBy to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetContext ¶
func (o *StorageListHTTPV2Params) SetContext(ctx context.Context)
SetContext adds the context to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetDefaults ¶
func (o *StorageListHTTPV2Params) SetDefaults()
SetDefaults hydrates default values in the storage list Http v2 params (not the query body).
All values with no default are reset to their zero value.
func (*StorageListHTTPV2Params) SetDirection ¶
func (o *StorageListHTTPV2Params) SetDirection(orderDirection *string)
SetDirection adds the orderDirection to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetHTTPClient ¶
func (o *StorageListHTTPV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetID ¶
func (o *StorageListHTTPV2Params) SetID(id *string)
SetID adds the id to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetLimit ¶
func (o *StorageListHTTPV2Params) SetLimit(limit *uint64)
SetLimit adds the limit to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetLocation ¶
func (o *StorageListHTTPV2Params) SetLocation(location *string)
SetLocation adds the location to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetName ¶
func (o *StorageListHTTPV2Params) SetName(name *string)
SetName adds the name to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetOffset ¶
func (o *StorageListHTTPV2Params) SetOffset(offset *uint64)
SetOffset adds the offset to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetShowDeleted ¶
func (o *StorageListHTTPV2Params) SetShowDeleted(showDeleted *bool)
SetShowDeleted adds the showDeleted to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetStatus ¶
func (o *StorageListHTTPV2Params) SetStatus(status *string)
SetStatus adds the status to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetTimeout ¶
func (o *StorageListHTTPV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage list Http v2 params
func (*StorageListHTTPV2Params) SetType ¶
func (o *StorageListHTTPV2Params) SetType(typeVar *string)
SetType adds the type to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithBy ¶
func (o *StorageListHTTPV2Params) WithBy(orderBy *string) *StorageListHTTPV2Params
WithBy adds the orderBy to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithContext ¶
func (o *StorageListHTTPV2Params) WithContext(ctx context.Context) *StorageListHTTPV2Params
WithContext adds the context to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithDefaults ¶
func (o *StorageListHTTPV2Params) WithDefaults() *StorageListHTTPV2Params
WithDefaults hydrates default values in the storage list Http v2 params (not the query body).
All values with no default are reset to their zero value.
func (*StorageListHTTPV2Params) WithDirection ¶
func (o *StorageListHTTPV2Params) WithDirection(orderDirection *string) *StorageListHTTPV2Params
WithDirection adds the orderDirection to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithHTTPClient ¶
func (o *StorageListHTTPV2Params) WithHTTPClient(client *http.Client) *StorageListHTTPV2Params
WithHTTPClient adds the HTTPClient to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithID ¶
func (o *StorageListHTTPV2Params) WithID(id *string) *StorageListHTTPV2Params
WithID adds the id to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithLimit ¶
func (o *StorageListHTTPV2Params) WithLimit(limit *uint64) *StorageListHTTPV2Params
WithLimit adds the limit to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithLocation ¶
func (o *StorageListHTTPV2Params) WithLocation(location *string) *StorageListHTTPV2Params
WithLocation adds the location to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithName ¶
func (o *StorageListHTTPV2Params) WithName(name *string) *StorageListHTTPV2Params
WithName adds the name to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithOffset ¶
func (o *StorageListHTTPV2Params) WithOffset(offset *uint64) *StorageListHTTPV2Params
WithOffset adds the offset to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithShowDeleted ¶
func (o *StorageListHTTPV2Params) WithShowDeleted(showDeleted *bool) *StorageListHTTPV2Params
WithShowDeleted adds the showDeleted to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithStatus ¶
func (o *StorageListHTTPV2Params) WithStatus(status *string) *StorageListHTTPV2Params
WithStatus adds the status to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithTimeout ¶
func (o *StorageListHTTPV2Params) WithTimeout(timeout time.Duration) *StorageListHTTPV2Params
WithTimeout adds the timeout to the storage list Http v2 params
func (*StorageListHTTPV2Params) WithType ¶
func (o *StorageListHTTPV2Params) WithType(typeVar *string) *StorageListHTTPV2Params
WithType adds the typeVar to the storage list Http v2 params
func (*StorageListHTTPV2Params) WriteToRequest ¶
func (o *StorageListHTTPV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageListHTTPV2Reader ¶
type StorageListHTTPV2Reader struct {
// contains filtered or unexported fields
}
StorageListHTTPV2Reader is a Reader for the StorageListHTTPV2 structure.
func (*StorageListHTTPV2Reader) ReadResponse ¶
func (o *StorageListHTTPV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageUpdateCredentialsHTTPBadRequest ¶
type StorageUpdateCredentialsHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageUpdateCredentialsHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageUpdateCredentialsHTTPBadRequest ¶
func NewStorageUpdateCredentialsHTTPBadRequest() *StorageUpdateCredentialsHTTPBadRequest
NewStorageUpdateCredentialsHTTPBadRequest creates a StorageUpdateCredentialsHTTPBadRequest with default headers values
func (*StorageUpdateCredentialsHTTPBadRequest) Error ¶
func (o *StorageUpdateCredentialsHTTPBadRequest) Error() string
func (*StorageUpdateCredentialsHTTPBadRequest) GetPayload ¶
func (o *StorageUpdateCredentialsHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageUpdateCredentialsHTTPBody ¶
type StorageUpdateCredentialsHTTPBody struct { // delete sftp password DeleteSftpPassword bool `json:"delete_sftp_password,omitempty"` // generate s3 keys GenerateS3Keys bool `json:"generate_s3_keys,omitempty"` // generate sftp password GenerateSftpPassword bool `json:"generate_sftp_password,omitempty"` // reset sftp keys ResetSftpKeys bool `json:"reset_sftp_keys,omitempty"` // sftp password SftpPassword string `json:"sftp_password,omitempty"` }
StorageUpdateCredentialsHTTPBody storage update credentials HTTP body swagger:model StorageUpdateCredentialsHTTPBody
func (*StorageUpdateCredentialsHTTPBody) ContextValidate ¶
func (o *StorageUpdateCredentialsHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this storage update credentials HTTP body based on context it is used
func (*StorageUpdateCredentialsHTTPBody) MarshalBinary ¶
func (o *StorageUpdateCredentialsHTTPBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageUpdateCredentialsHTTPBody) UnmarshalBinary ¶
func (o *StorageUpdateCredentialsHTTPBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageUpdateCredentialsHTTPOK ¶
StorageUpdateCredentialsHTTPOK describes a response with status code 200, with default header values.
Storage
func NewStorageUpdateCredentialsHTTPOK ¶
func NewStorageUpdateCredentialsHTTPOK() *StorageUpdateCredentialsHTTPOK
NewStorageUpdateCredentialsHTTPOK creates a StorageUpdateCredentialsHTTPOK with default headers values
func (*StorageUpdateCredentialsHTTPOK) Error ¶
func (o *StorageUpdateCredentialsHTTPOK) Error() string
func (*StorageUpdateCredentialsHTTPOK) GetPayload ¶
func (o *StorageUpdateCredentialsHTTPOK) GetPayload() *models.Storage
type StorageUpdateCredentialsHTTPParams ¶
type StorageUpdateCredentialsHTTPParams struct { // Body. Body StorageUpdateCredentialsHTTPBody // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageUpdateCredentialsHTTPParams contains all the parameters to send to the API endpoint
for the storage update credentials Http operation. Typically these are written to a http.Request.
func NewStorageUpdateCredentialsHTTPParams ¶
func NewStorageUpdateCredentialsHTTPParams() *StorageUpdateCredentialsHTTPParams
NewStorageUpdateCredentialsHTTPParams creates a new StorageUpdateCredentialsHTTPParams 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 NewStorageUpdateCredentialsHTTPParamsWithContext ¶
func NewStorageUpdateCredentialsHTTPParamsWithContext(ctx context.Context) *StorageUpdateCredentialsHTTPParams
NewStorageUpdateCredentialsHTTPParamsWithContext creates a new StorageUpdateCredentialsHTTPParams object with the ability to set a context for a request.
func NewStorageUpdateCredentialsHTTPParamsWithHTTPClient ¶
func NewStorageUpdateCredentialsHTTPParamsWithHTTPClient(client *http.Client) *StorageUpdateCredentialsHTTPParams
NewStorageUpdateCredentialsHTTPParamsWithHTTPClient creates a new StorageUpdateCredentialsHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageUpdateCredentialsHTTPParamsWithTimeout ¶
func NewStorageUpdateCredentialsHTTPParamsWithTimeout(timeout time.Duration) *StorageUpdateCredentialsHTTPParams
NewStorageUpdateCredentialsHTTPParamsWithTimeout creates a new StorageUpdateCredentialsHTTPParams object with the ability to set a timeout on a request.
func (*StorageUpdateCredentialsHTTPParams) SetBody ¶
func (o *StorageUpdateCredentialsHTTPParams) SetBody(body StorageUpdateCredentialsHTTPBody)
SetBody adds the body to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) SetContext ¶
func (o *StorageUpdateCredentialsHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) SetDefaults ¶
func (o *StorageUpdateCredentialsHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage update credentials Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageUpdateCredentialsHTTPParams) SetHTTPClient ¶
func (o *StorageUpdateCredentialsHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) SetID ¶
func (o *StorageUpdateCredentialsHTTPParams) SetID(id int64)
SetID adds the id to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) SetTimeout ¶
func (o *StorageUpdateCredentialsHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) WithBody ¶
func (o *StorageUpdateCredentialsHTTPParams) WithBody(body StorageUpdateCredentialsHTTPBody) *StorageUpdateCredentialsHTTPParams
WithBody adds the body to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) WithContext ¶
func (o *StorageUpdateCredentialsHTTPParams) WithContext(ctx context.Context) *StorageUpdateCredentialsHTTPParams
WithContext adds the context to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) WithDefaults ¶
func (o *StorageUpdateCredentialsHTTPParams) WithDefaults() *StorageUpdateCredentialsHTTPParams
WithDefaults hydrates default values in the storage update credentials Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageUpdateCredentialsHTTPParams) WithHTTPClient ¶
func (o *StorageUpdateCredentialsHTTPParams) WithHTTPClient(client *http.Client) *StorageUpdateCredentialsHTTPParams
WithHTTPClient adds the HTTPClient to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) WithID ¶
func (o *StorageUpdateCredentialsHTTPParams) WithID(id int64) *StorageUpdateCredentialsHTTPParams
WithID adds the id to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) WithTimeout ¶
func (o *StorageUpdateCredentialsHTTPParams) WithTimeout(timeout time.Duration) *StorageUpdateCredentialsHTTPParams
WithTimeout adds the timeout to the storage update credentials Http params
func (*StorageUpdateCredentialsHTTPParams) WriteToRequest ¶
func (o *StorageUpdateCredentialsHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageUpdateCredentialsHTTPReader ¶
type StorageUpdateCredentialsHTTPReader struct {
// contains filtered or unexported fields
}
StorageUpdateCredentialsHTTPReader is a Reader for the StorageUpdateCredentialsHTTP structure.
func (*StorageUpdateCredentialsHTTPReader) ReadResponse ¶
func (o *StorageUpdateCredentialsHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StorageUpdateHTTPBadRequest ¶
type StorageUpdateHTTPBadRequest struct {
Payload *models.ErrResponse
}
StorageUpdateHTTPBadRequest describes a response with status code 400, with default header values.
ErrResponse
func NewStorageUpdateHTTPBadRequest ¶
func NewStorageUpdateHTTPBadRequest() *StorageUpdateHTTPBadRequest
NewStorageUpdateHTTPBadRequest creates a StorageUpdateHTTPBadRequest with default headers values
func (*StorageUpdateHTTPBadRequest) Error ¶
func (o *StorageUpdateHTTPBadRequest) Error() string
func (*StorageUpdateHTTPBadRequest) GetPayload ¶
func (o *StorageUpdateHTTPBadRequest) GetPayload() *models.ErrResponse
type StorageUpdateHTTPBody ¶
type StorageUpdateHTTPBody struct { // expires Expires string `json:"expires,omitempty"` // server alias ServerAlias string `json:"server_alias,omitempty"` }
StorageUpdateHTTPBody storage update HTTP body swagger:model StorageUpdateHTTPBody
func (*StorageUpdateHTTPBody) ContextValidate ¶
ContextValidate validates this storage update HTTP body based on context it is used
func (*StorageUpdateHTTPBody) MarshalBinary ¶
func (o *StorageUpdateHTTPBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageUpdateHTTPBody) UnmarshalBinary ¶
func (o *StorageUpdateHTTPBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageUpdateHTTPOK ¶
StorageUpdateHTTPOK describes a response with status code 200, with default header values.
Storage
func NewStorageUpdateHTTPOK ¶
func NewStorageUpdateHTTPOK() *StorageUpdateHTTPOK
NewStorageUpdateHTTPOK creates a StorageUpdateHTTPOK with default headers values
func (*StorageUpdateHTTPOK) Error ¶
func (o *StorageUpdateHTTPOK) Error() string
func (*StorageUpdateHTTPOK) GetPayload ¶
func (o *StorageUpdateHTTPOK) GetPayload() *models.Storage
type StorageUpdateHTTPParams ¶
type StorageUpdateHTTPParams struct { // Body. Body StorageUpdateHTTPBody // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StorageUpdateHTTPParams contains all the parameters to send to the API endpoint
for the storage update Http operation. Typically these are written to a http.Request.
func NewStorageUpdateHTTPParams ¶
func NewStorageUpdateHTTPParams() *StorageUpdateHTTPParams
NewStorageUpdateHTTPParams creates a new StorageUpdateHTTPParams 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 NewStorageUpdateHTTPParamsWithContext ¶
func NewStorageUpdateHTTPParamsWithContext(ctx context.Context) *StorageUpdateHTTPParams
NewStorageUpdateHTTPParamsWithContext creates a new StorageUpdateHTTPParams object with the ability to set a context for a request.
func NewStorageUpdateHTTPParamsWithHTTPClient ¶
func NewStorageUpdateHTTPParamsWithHTTPClient(client *http.Client) *StorageUpdateHTTPParams
NewStorageUpdateHTTPParamsWithHTTPClient creates a new StorageUpdateHTTPParams object with the ability to set a custom HTTPClient for a request.
func NewStorageUpdateHTTPParamsWithTimeout ¶
func NewStorageUpdateHTTPParamsWithTimeout(timeout time.Duration) *StorageUpdateHTTPParams
NewStorageUpdateHTTPParamsWithTimeout creates a new StorageUpdateHTTPParams object with the ability to set a timeout on a request.
func (*StorageUpdateHTTPParams) SetBody ¶
func (o *StorageUpdateHTTPParams) SetBody(body StorageUpdateHTTPBody)
SetBody adds the body to the storage update Http params
func (*StorageUpdateHTTPParams) SetContext ¶
func (o *StorageUpdateHTTPParams) SetContext(ctx context.Context)
SetContext adds the context to the storage update Http params
func (*StorageUpdateHTTPParams) SetDefaults ¶
func (o *StorageUpdateHTTPParams) SetDefaults()
SetDefaults hydrates default values in the storage update Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageUpdateHTTPParams) SetHTTPClient ¶
func (o *StorageUpdateHTTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the storage update Http params
func (*StorageUpdateHTTPParams) SetID ¶
func (o *StorageUpdateHTTPParams) SetID(id int64)
SetID adds the id to the storage update Http params
func (*StorageUpdateHTTPParams) SetTimeout ¶
func (o *StorageUpdateHTTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the storage update Http params
func (*StorageUpdateHTTPParams) WithBody ¶
func (o *StorageUpdateHTTPParams) WithBody(body StorageUpdateHTTPBody) *StorageUpdateHTTPParams
WithBody adds the body to the storage update Http params
func (*StorageUpdateHTTPParams) WithContext ¶
func (o *StorageUpdateHTTPParams) WithContext(ctx context.Context) *StorageUpdateHTTPParams
WithContext adds the context to the storage update Http params
func (*StorageUpdateHTTPParams) WithDefaults ¶
func (o *StorageUpdateHTTPParams) WithDefaults() *StorageUpdateHTTPParams
WithDefaults hydrates default values in the storage update Http params (not the query body).
All values with no default are reset to their zero value.
func (*StorageUpdateHTTPParams) WithHTTPClient ¶
func (o *StorageUpdateHTTPParams) WithHTTPClient(client *http.Client) *StorageUpdateHTTPParams
WithHTTPClient adds the HTTPClient to the storage update Http params
func (*StorageUpdateHTTPParams) WithID ¶
func (o *StorageUpdateHTTPParams) WithID(id int64) *StorageUpdateHTTPParams
WithID adds the id to the storage update Http params
func (*StorageUpdateHTTPParams) WithTimeout ¶
func (o *StorageUpdateHTTPParams) WithTimeout(timeout time.Duration) *StorageUpdateHTTPParams
WithTimeout adds the timeout to the storage update Http params
func (*StorageUpdateHTTPParams) WriteToRequest ¶
func (o *StorageUpdateHTTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StorageUpdateHTTPReader ¶
type StorageUpdateHTTPReader struct {
// contains filtered or unexported fields
}
StorageUpdateHTTPReader is a Reader for the StorageUpdateHTTP structure.
func (*StorageUpdateHTTPReader) ReadResponse ¶
func (o *StorageUpdateHTTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- get_storage_bucket_c_o_r_s_http_parameters.go
- get_storage_bucket_c_o_r_s_http_responses.go
- key_link_http_parameters.go
- key_link_http_responses.go
- key_unlink_http_parameters.go
- key_unlink_http_responses.go
- storage_bucket_c_o_r_s_create_http_parameters.go
- storage_bucket_c_o_r_s_create_http_responses.go
- storage_bucket_create_http_parameters.go
- storage_bucket_create_http_responses.go
- storage_bucket_lifecycle_create_http_parameters.go
- storage_bucket_lifecycle_create_http_responses.go
- storage_bucket_lifecycle_delete_http_parameters.go
- storage_bucket_lifecycle_delete_http_responses.go
- storage_bucket_policy_create_http_parameters.go
- storage_bucket_policy_create_http_responses.go
- storage_bucket_remove_http_parameters.go
- storage_bucket_remove_http_responses.go
- storage_client.go
- storage_create_http_parameters.go
- storage_create_http_responses.go
- storage_delete_http_parameters.go
- storage_delete_http_responses.go
- storage_get_http_parameters.go
- storage_get_http_responses.go
- storage_list_buckets_http_parameters.go
- storage_list_buckets_http_responses.go
- storage_list_http_v1_parameters.go
- storage_list_http_v1_responses.go
- storage_list_http_v2_parameters.go
- storage_list_http_v2_responses.go
- storage_update_credentials_http_parameters.go
- storage_update_credentials_http_responses.go
- storage_update_http_parameters.go
- storage_update_http_responses.go