Documentation ¶
Index ¶
- type Client
- func (a *Client) GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetStorageBucketCORSHTTPOK, 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) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StorageListBucketsHTTPOK, error)
- type ClientOption
- type ClientService
- type GetStorageBucketCORSHTTPBadRequest
- func (o *GetStorageBucketCORSHTTPBadRequest) Code() int
- func (o *GetStorageBucketCORSHTTPBadRequest) Error() string
- func (o *GetStorageBucketCORSHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *GetStorageBucketCORSHTTPBadRequest) IsClientError() bool
- func (o *GetStorageBucketCORSHTTPBadRequest) IsCode(code int) bool
- func (o *GetStorageBucketCORSHTTPBadRequest) IsRedirect() bool
- func (o *GetStorageBucketCORSHTTPBadRequest) IsServerError() bool
- func (o *GetStorageBucketCORSHTTPBadRequest) IsSuccess() bool
- func (o *GetStorageBucketCORSHTTPBadRequest) String() string
- 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
- func (o *GetStorageBucketCORSHTTPOK) Code() int
- func (o *GetStorageBucketCORSHTTPOK) Error() string
- func (o *GetStorageBucketCORSHTTPOK) GetPayload() *models.StorageGetBucketCorsEndpointRes
- func (o *GetStorageBucketCORSHTTPOK) IsClientError() bool
- func (o *GetStorageBucketCORSHTTPOK) IsCode(code int) bool
- func (o *GetStorageBucketCORSHTTPOK) IsRedirect() bool
- func (o *GetStorageBucketCORSHTTPOK) IsServerError() bool
- func (o *GetStorageBucketCORSHTTPOK) IsSuccess() bool
- func (o *GetStorageBucketCORSHTTPOK) String() string
- 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 StorageBucketCORSCreateHTTPBadRequest
- func (o *StorageBucketCORSCreateHTTPBadRequest) Code() int
- func (o *StorageBucketCORSCreateHTTPBadRequest) Error() string
- func (o *StorageBucketCORSCreateHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageBucketCORSCreateHTTPBadRequest) IsClientError() bool
- func (o *StorageBucketCORSCreateHTTPBadRequest) IsCode(code int) bool
- func (o *StorageBucketCORSCreateHTTPBadRequest) IsRedirect() bool
- func (o *StorageBucketCORSCreateHTTPBadRequest) IsServerError() bool
- func (o *StorageBucketCORSCreateHTTPBadRequest) IsSuccess() bool
- func (o *StorageBucketCORSCreateHTTPBadRequest) String() string
- 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
- func (o *StorageBucketCORSCreateHTTPNoContent) Code() int
- func (o *StorageBucketCORSCreateHTTPNoContent) Error() string
- func (o *StorageBucketCORSCreateHTTPNoContent) IsClientError() bool
- func (o *StorageBucketCORSCreateHTTPNoContent) IsCode(code int) bool
- func (o *StorageBucketCORSCreateHTTPNoContent) IsRedirect() bool
- func (o *StorageBucketCORSCreateHTTPNoContent) IsServerError() bool
- func (o *StorageBucketCORSCreateHTTPNoContent) IsSuccess() bool
- func (o *StorageBucketCORSCreateHTTPNoContent) String() string
- 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
- func (o *StorageBucketCreateHTTPBadRequest) Code() int
- func (o *StorageBucketCreateHTTPBadRequest) Error() string
- func (o *StorageBucketCreateHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageBucketCreateHTTPBadRequest) IsClientError() bool
- func (o *StorageBucketCreateHTTPBadRequest) IsCode(code int) bool
- func (o *StorageBucketCreateHTTPBadRequest) IsRedirect() bool
- func (o *StorageBucketCreateHTTPBadRequest) IsServerError() bool
- func (o *StorageBucketCreateHTTPBadRequest) IsSuccess() bool
- func (o *StorageBucketCreateHTTPBadRequest) String() string
- type StorageBucketCreateHTTPNoContent
- func (o *StorageBucketCreateHTTPNoContent) Code() int
- func (o *StorageBucketCreateHTTPNoContent) Error() string
- func (o *StorageBucketCreateHTTPNoContent) IsClientError() bool
- func (o *StorageBucketCreateHTTPNoContent) IsCode(code int) bool
- func (o *StorageBucketCreateHTTPNoContent) IsRedirect() bool
- func (o *StorageBucketCreateHTTPNoContent) IsServerError() bool
- func (o *StorageBucketCreateHTTPNoContent) IsSuccess() bool
- func (o *StorageBucketCreateHTTPNoContent) String() string
- 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
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) Code() int
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) Error() string
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsClientError() bool
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsCode(code int) bool
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsRedirect() bool
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsServerError() bool
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsSuccess() bool
- func (o *StorageBucketLifecycleCreateHTTPBadRequest) String() string
- 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
- func (o *StorageBucketLifecycleCreateHTTPNoContent) Code() int
- func (o *StorageBucketLifecycleCreateHTTPNoContent) Error() string
- func (o *StorageBucketLifecycleCreateHTTPNoContent) IsClientError() bool
- func (o *StorageBucketLifecycleCreateHTTPNoContent) IsCode(code int) bool
- func (o *StorageBucketLifecycleCreateHTTPNoContent) IsRedirect() bool
- func (o *StorageBucketLifecycleCreateHTTPNoContent) IsServerError() bool
- func (o *StorageBucketLifecycleCreateHTTPNoContent) IsSuccess() bool
- func (o *StorageBucketLifecycleCreateHTTPNoContent) String() string
- 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
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) Code() int
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) Error() string
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsClientError() bool
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsCode(code int) bool
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsRedirect() bool
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsServerError() bool
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsSuccess() bool
- func (o *StorageBucketLifecycleDeleteHTTPBadRequest) String() string
- type StorageBucketLifecycleDeleteHTTPNoContent
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) Code() int
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) Error() string
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsClientError() bool
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsCode(code int) bool
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsRedirect() bool
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsServerError() bool
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsSuccess() bool
- func (o *StorageBucketLifecycleDeleteHTTPNoContent) String() string
- 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
- func (o *StorageBucketPolicyCreateHTTPBadRequest) Code() int
- func (o *StorageBucketPolicyCreateHTTPBadRequest) Error() string
- func (o *StorageBucketPolicyCreateHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageBucketPolicyCreateHTTPBadRequest) IsClientError() bool
- func (o *StorageBucketPolicyCreateHTTPBadRequest) IsCode(code int) bool
- func (o *StorageBucketPolicyCreateHTTPBadRequest) IsRedirect() bool
- func (o *StorageBucketPolicyCreateHTTPBadRequest) IsServerError() bool
- func (o *StorageBucketPolicyCreateHTTPBadRequest) IsSuccess() bool
- func (o *StorageBucketPolicyCreateHTTPBadRequest) String() string
- type StorageBucketPolicyCreateHTTPNoContent
- func (o *StorageBucketPolicyCreateHTTPNoContent) Code() int
- func (o *StorageBucketPolicyCreateHTTPNoContent) Error() string
- func (o *StorageBucketPolicyCreateHTTPNoContent) IsClientError() bool
- func (o *StorageBucketPolicyCreateHTTPNoContent) IsCode(code int) bool
- func (o *StorageBucketPolicyCreateHTTPNoContent) IsRedirect() bool
- func (o *StorageBucketPolicyCreateHTTPNoContent) IsServerError() bool
- func (o *StorageBucketPolicyCreateHTTPNoContent) IsSuccess() bool
- func (o *StorageBucketPolicyCreateHTTPNoContent) String() string
- 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
- func (o *StorageBucketRemoveHTTPBadRequest) Code() int
- func (o *StorageBucketRemoveHTTPBadRequest) Error() string
- func (o *StorageBucketRemoveHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageBucketRemoveHTTPBadRequest) IsClientError() bool
- func (o *StorageBucketRemoveHTTPBadRequest) IsCode(code int) bool
- func (o *StorageBucketRemoveHTTPBadRequest) IsRedirect() bool
- func (o *StorageBucketRemoveHTTPBadRequest) IsServerError() bool
- func (o *StorageBucketRemoveHTTPBadRequest) IsSuccess() bool
- func (o *StorageBucketRemoveHTTPBadRequest) String() string
- type StorageBucketRemoveHTTPNoContent
- func (o *StorageBucketRemoveHTTPNoContent) Code() int
- func (o *StorageBucketRemoveHTTPNoContent) Error() string
- func (o *StorageBucketRemoveHTTPNoContent) IsClientError() bool
- func (o *StorageBucketRemoveHTTPNoContent) IsCode(code int) bool
- func (o *StorageBucketRemoveHTTPNoContent) IsRedirect() bool
- func (o *StorageBucketRemoveHTTPNoContent) IsServerError() bool
- func (o *StorageBucketRemoveHTTPNoContent) IsSuccess() bool
- func (o *StorageBucketRemoveHTTPNoContent) String() string
- 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 StorageListBucketsHTTPBadRequest
- func (o *StorageListBucketsHTTPBadRequest) Code() int
- func (o *StorageListBucketsHTTPBadRequest) Error() string
- func (o *StorageListBucketsHTTPBadRequest) GetPayload() *models.ErrResponse
- func (o *StorageListBucketsHTTPBadRequest) IsClientError() bool
- func (o *StorageListBucketsHTTPBadRequest) IsCode(code int) bool
- func (o *StorageListBucketsHTTPBadRequest) IsRedirect() bool
- func (o *StorageListBucketsHTTPBadRequest) IsServerError() bool
- func (o *StorageListBucketsHTTPBadRequest) IsSuccess() bool
- func (o *StorageListBucketsHTTPBadRequest) String() string
- type StorageListBucketsHTTPOK
- func (o *StorageListBucketsHTTPOK) Code() int
- func (o *StorageListBucketsHTTPOK) Error() string
- func (o *StorageListBucketsHTTPOK) GetPayload() *models.StorageListBucketsEndpointRes
- func (o *StorageListBucketsHTTPOK) IsClientError() bool
- func (o *StorageListBucketsHTTPOK) IsCode(code int) bool
- func (o *StorageListBucketsHTTPOK) IsRedirect() bool
- func (o *StorageListBucketsHTTPOK) IsServerError() bool
- func (o *StorageListBucketsHTTPOK) IsSuccess() bool
- func (o *StorageListBucketsHTTPOK) String() string
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for buckets API
func (*Client) GetStorageBucketCORSHTTP ¶
func (a *Client) GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageBucketCORSHTTPOK, error)
GetStorageBucketCORSHTTP gets a bucket c o r s
Returns the CORS configuration for your bucket.
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 a bucket c o r s
Creates the CORS configuration for your bucket.
func (*Client) StorageBucketCreateHTTP ¶
func (a *Client) StorageBucketCreateHTTP(params *StorageBucketCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCreateHTTPNoContent, error)
StorageBucketCreateHTTP creates a bucket
Creates a bucket in your S3 storage.
func (*Client) StorageBucketLifecycleCreateHTTP ¶
func (a *Client) StorageBucketLifecycleCreateHTTP(params *StorageBucketLifecycleCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleCreateHTTPNoContent, error)
StorageBucketLifecycleCreateHTTP creates a bucket lifecycle Creates a lifecycle for your bucket. Lifecycle determines the number of days after which the objects in the
bucket are considered expired.
func (*Client) StorageBucketLifecycleDeleteHTTP ¶
func (a *Client) StorageBucketLifecycleDeleteHTTP(params *StorageBucketLifecycleDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleDeleteHTTPNoContent, error)
StorageBucketLifecycleDeleteHTTP deletes a bucket lifecycle
Delete a bucket lifecycle
func (*Client) StorageBucketPolicyCreateHTTP ¶
func (a *Client) StorageBucketPolicyCreateHTTP(params *StorageBucketPolicyCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketPolicyCreateHTTPNoContent, error)
StorageBucketPolicyCreateHTTP creates a bucket policy Creates a policy for your bucket. Policies are used to set permissions for actions on buckets, objects, and
groups of objects.
func (*Client) StorageBucketRemoveHTTP ¶
func (a *Client) StorageBucketRemoveHTTP(params *StorageBucketRemoveHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketRemoveHTTPNoContent, error)
StorageBucketRemoveHTTP deletes a bucket
Deletes a bucket from your S3 storage.
func (*Client) StorageListBucketsHTTP ¶
func (a *Client) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListBucketsHTTPOK, error)
StorageListBucketsHTTP gets all buckets
Returns information about all the buckets created in your S3 storage.
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) 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) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListBucketsHTTPOK, 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 buckets 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) Code ¶
func (o *GetStorageBucketCORSHTTPBadRequest) Code() int
Code gets the status code for the get storage bucket c o r s Http bad request response
func (*GetStorageBucketCORSHTTPBadRequest) Error ¶
func (o *GetStorageBucketCORSHTTPBadRequest) Error() string
func (*GetStorageBucketCORSHTTPBadRequest) GetPayload ¶
func (o *GetStorageBucketCORSHTTPBadRequest) GetPayload() *models.ErrResponse
func (*GetStorageBucketCORSHTTPBadRequest) IsClientError ¶
func (o *GetStorageBucketCORSHTTPBadRequest) IsClientError() bool
IsClientError returns true when this get storage bucket c o r s Http bad request response has a 4xx status code
func (*GetStorageBucketCORSHTTPBadRequest) IsCode ¶
func (o *GetStorageBucketCORSHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this get storage bucket c o r s Http bad request response a status code equal to that given
func (*GetStorageBucketCORSHTTPBadRequest) IsRedirect ¶
func (o *GetStorageBucketCORSHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this get storage bucket c o r s Http bad request response has a 3xx status code
func (*GetStorageBucketCORSHTTPBadRequest) IsServerError ¶
func (o *GetStorageBucketCORSHTTPBadRequest) IsServerError() bool
IsServerError returns true when this get storage bucket c o r s Http bad request response has a 5xx status code
func (*GetStorageBucketCORSHTTPBadRequest) IsSuccess ¶
func (o *GetStorageBucketCORSHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this get storage bucket c o r s Http bad request response has a 2xx status code
func (*GetStorageBucketCORSHTTPBadRequest) String ¶
func (o *GetStorageBucketCORSHTTPBadRequest) String() string
type GetStorageBucketCORSHTTPBody ¶
type GetStorageBucketCORSHTTPBody struct { // Specify the origins for your CORS configuration 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) Code ¶
func (o *GetStorageBucketCORSHTTPOK) Code() int
Code gets the status code for the get storage bucket c o r s Http o k response
func (*GetStorageBucketCORSHTTPOK) Error ¶
func (o *GetStorageBucketCORSHTTPOK) Error() string
func (*GetStorageBucketCORSHTTPOK) GetPayload ¶
func (o *GetStorageBucketCORSHTTPOK) GetPayload() *models.StorageGetBucketCorsEndpointRes
func (*GetStorageBucketCORSHTTPOK) IsClientError ¶
func (o *GetStorageBucketCORSHTTPOK) IsClientError() bool
IsClientError returns true when this get storage bucket c o r s Http o k response has a 4xx status code
func (*GetStorageBucketCORSHTTPOK) IsCode ¶
func (o *GetStorageBucketCORSHTTPOK) IsCode(code int) bool
IsCode returns true when this get storage bucket c o r s Http o k response a status code equal to that given
func (*GetStorageBucketCORSHTTPOK) IsRedirect ¶
func (o *GetStorageBucketCORSHTTPOK) IsRedirect() bool
IsRedirect returns true when this get storage bucket c o r s Http o k response has a 3xx status code
func (*GetStorageBucketCORSHTTPOK) IsServerError ¶
func (o *GetStorageBucketCORSHTTPOK) IsServerError() bool
IsServerError returns true when this get storage bucket c o r s Http o k response has a 5xx status code
func (*GetStorageBucketCORSHTTPOK) IsSuccess ¶
func (o *GetStorageBucketCORSHTTPOK) IsSuccess() bool
IsSuccess returns true when this get storage bucket c o r s Http o k response has a 2xx status code
func (*GetStorageBucketCORSHTTPOK) String ¶
func (o *GetStorageBucketCORSHTTPOK) String() string
type GetStorageBucketCORSHTTPParams ¶
type GetStorageBucketCORSHTTPParams struct { // Body. Body GetStorageBucketCORSHTTPBody /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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 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) Code ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) Code() int
Code gets the status code for the storage bucket c o r s create Http bad request response
func (*StorageBucketCORSCreateHTTPBadRequest) Error ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) Error() string
func (*StorageBucketCORSCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageBucketCORSCreateHTTPBadRequest) IsClientError ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage bucket c o r s create Http bad request response has a 4xx status code
func (*StorageBucketCORSCreateHTTPBadRequest) IsCode ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage bucket c o r s create Http bad request response a status code equal to that given
func (*StorageBucketCORSCreateHTTPBadRequest) IsRedirect ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage bucket c o r s create Http bad request response has a 3xx status code
func (*StorageBucketCORSCreateHTTPBadRequest) IsServerError ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage bucket c o r s create Http bad request response has a 5xx status code
func (*StorageBucketCORSCreateHTTPBadRequest) IsSuccess ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage bucket c o r s create Http bad request response has a 2xx status code
func (*StorageBucketCORSCreateHTTPBadRequest) String ¶
func (o *StorageBucketCORSCreateHTTPBadRequest) String() string
type StorageBucketCORSCreateHTTPBody ¶
type StorageBucketCORSCreateHTTPBody struct { // Specify the origins for your CORS configuration 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) Code ¶
func (o *StorageBucketCORSCreateHTTPNoContent) Code() int
Code gets the status code for the storage bucket c o r s create Http no content response
func (*StorageBucketCORSCreateHTTPNoContent) Error ¶
func (o *StorageBucketCORSCreateHTTPNoContent) Error() string
func (*StorageBucketCORSCreateHTTPNoContent) IsClientError ¶
func (o *StorageBucketCORSCreateHTTPNoContent) IsClientError() bool
IsClientError returns true when this storage bucket c o r s create Http no content response has a 4xx status code
func (*StorageBucketCORSCreateHTTPNoContent) IsCode ¶
func (o *StorageBucketCORSCreateHTTPNoContent) IsCode(code int) bool
IsCode returns true when this storage bucket c o r s create Http no content response a status code equal to that given
func (*StorageBucketCORSCreateHTTPNoContent) IsRedirect ¶
func (o *StorageBucketCORSCreateHTTPNoContent) IsRedirect() bool
IsRedirect returns true when this storage bucket c o r s create Http no content response has a 3xx status code
func (*StorageBucketCORSCreateHTTPNoContent) IsServerError ¶
func (o *StorageBucketCORSCreateHTTPNoContent) IsServerError() bool
IsServerError returns true when this storage bucket c o r s create Http no content response has a 5xx status code
func (*StorageBucketCORSCreateHTTPNoContent) IsSuccess ¶
func (o *StorageBucketCORSCreateHTTPNoContent) IsSuccess() bool
IsSuccess returns true when this storage bucket c o r s create Http no content response has a 2xx status code
func (*StorageBucketCORSCreateHTTPNoContent) String ¶
func (o *StorageBucketCORSCreateHTTPNoContent) String() string
type StorageBucketCORSCreateHTTPParams ¶
type StorageBucketCORSCreateHTTPParams struct { // Body. Body StorageBucketCORSCreateHTTPBody /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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) Code ¶
func (o *StorageBucketCreateHTTPBadRequest) Code() int
Code gets the status code for the storage bucket create Http bad request response
func (*StorageBucketCreateHTTPBadRequest) Error ¶
func (o *StorageBucketCreateHTTPBadRequest) Error() string
func (*StorageBucketCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketCreateHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageBucketCreateHTTPBadRequest) IsClientError ¶
func (o *StorageBucketCreateHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage bucket create Http bad request response has a 4xx status code
func (*StorageBucketCreateHTTPBadRequest) IsCode ¶
func (o *StorageBucketCreateHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage bucket create Http bad request response a status code equal to that given
func (*StorageBucketCreateHTTPBadRequest) IsRedirect ¶
func (o *StorageBucketCreateHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage bucket create Http bad request response has a 3xx status code
func (*StorageBucketCreateHTTPBadRequest) IsServerError ¶
func (o *StorageBucketCreateHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage bucket create Http bad request response has a 5xx status code
func (*StorageBucketCreateHTTPBadRequest) IsSuccess ¶
func (o *StorageBucketCreateHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage bucket create Http bad request response has a 2xx status code
func (*StorageBucketCreateHTTPBadRequest) String ¶
func (o *StorageBucketCreateHTTPBadRequest) String() string
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) Code ¶
func (o *StorageBucketCreateHTTPNoContent) Code() int
Code gets the status code for the storage bucket create Http no content response
func (*StorageBucketCreateHTTPNoContent) Error ¶
func (o *StorageBucketCreateHTTPNoContent) Error() string
func (*StorageBucketCreateHTTPNoContent) IsClientError ¶
func (o *StorageBucketCreateHTTPNoContent) IsClientError() bool
IsClientError returns true when this storage bucket create Http no content response has a 4xx status code
func (*StorageBucketCreateHTTPNoContent) IsCode ¶
func (o *StorageBucketCreateHTTPNoContent) IsCode(code int) bool
IsCode returns true when this storage bucket create Http no content response a status code equal to that given
func (*StorageBucketCreateHTTPNoContent) IsRedirect ¶
func (o *StorageBucketCreateHTTPNoContent) IsRedirect() bool
IsRedirect returns true when this storage bucket create Http no content response has a 3xx status code
func (*StorageBucketCreateHTTPNoContent) IsServerError ¶
func (o *StorageBucketCreateHTTPNoContent) IsServerError() bool
IsServerError returns true when this storage bucket create Http no content response has a 5xx status code
func (*StorageBucketCreateHTTPNoContent) IsSuccess ¶
func (o *StorageBucketCreateHTTPNoContent) IsSuccess() bool
IsSuccess returns true when this storage bucket create Http no content response has a 2xx status code
func (*StorageBucketCreateHTTPNoContent) String ¶
func (o *StorageBucketCreateHTTPNoContent) String() string
type StorageBucketCreateHTTPParams ¶
type StorageBucketCreateHTTPParams struct { /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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) Code ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) Code() int
Code gets the status code for the storage bucket lifecycle create Http bad request response
func (*StorageBucketLifecycleCreateHTTPBadRequest) Error ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) Error() string
func (*StorageBucketLifecycleCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageBucketLifecycleCreateHTTPBadRequest) IsClientError ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage bucket lifecycle create Http bad request response has a 4xx status code
func (*StorageBucketLifecycleCreateHTTPBadRequest) IsCode ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage bucket lifecycle create Http bad request response a status code equal to that given
func (*StorageBucketLifecycleCreateHTTPBadRequest) IsRedirect ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage bucket lifecycle create Http bad request response has a 3xx status code
func (*StorageBucketLifecycleCreateHTTPBadRequest) IsServerError ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage bucket lifecycle create Http bad request response has a 5xx status code
func (*StorageBucketLifecycleCreateHTTPBadRequest) IsSuccess ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage bucket lifecycle create Http bad request response has a 2xx status code
func (*StorageBucketLifecycleCreateHTTPBadRequest) String ¶
func (o *StorageBucketLifecycleCreateHTTPBadRequest) String() string
type StorageBucketLifecycleCreateHTTPBody ¶
type StorageBucketLifecycleCreateHTTPBody struct { // Set the number of days after which the objects in the bucket will be considered expired 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) Code ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) Code() int
Code gets the status code for the storage bucket lifecycle create Http no content response
func (*StorageBucketLifecycleCreateHTTPNoContent) Error ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) Error() string
func (*StorageBucketLifecycleCreateHTTPNoContent) IsClientError ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) IsClientError() bool
IsClientError returns true when this storage bucket lifecycle create Http no content response has a 4xx status code
func (*StorageBucketLifecycleCreateHTTPNoContent) IsCode ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) IsCode(code int) bool
IsCode returns true when this storage bucket lifecycle create Http no content response a status code equal to that given
func (*StorageBucketLifecycleCreateHTTPNoContent) IsRedirect ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) IsRedirect() bool
IsRedirect returns true when this storage bucket lifecycle create Http no content response has a 3xx status code
func (*StorageBucketLifecycleCreateHTTPNoContent) IsServerError ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) IsServerError() bool
IsServerError returns true when this storage bucket lifecycle create Http no content response has a 5xx status code
func (*StorageBucketLifecycleCreateHTTPNoContent) IsSuccess ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) IsSuccess() bool
IsSuccess returns true when this storage bucket lifecycle create Http no content response has a 2xx status code
func (*StorageBucketLifecycleCreateHTTPNoContent) String ¶
func (o *StorageBucketLifecycleCreateHTTPNoContent) String() string
type StorageBucketLifecycleCreateHTTPParams ¶
type StorageBucketLifecycleCreateHTTPParams struct { // Body. Body StorageBucketLifecycleCreateHTTPBody /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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) Code ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) Code() int
Code gets the status code for the storage bucket lifecycle delete Http bad request response
func (*StorageBucketLifecycleDeleteHTTPBadRequest) Error ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) Error() string
func (*StorageBucketLifecycleDeleteHTTPBadRequest) GetPayload ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageBucketLifecycleDeleteHTTPBadRequest) IsClientError ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage bucket lifecycle delete Http bad request response has a 4xx status code
func (*StorageBucketLifecycleDeleteHTTPBadRequest) IsCode ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage bucket lifecycle delete Http bad request response a status code equal to that given
func (*StorageBucketLifecycleDeleteHTTPBadRequest) IsRedirect ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage bucket lifecycle delete Http bad request response has a 3xx status code
func (*StorageBucketLifecycleDeleteHTTPBadRequest) IsServerError ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage bucket lifecycle delete Http bad request response has a 5xx status code
func (*StorageBucketLifecycleDeleteHTTPBadRequest) IsSuccess ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage bucket lifecycle delete Http bad request response has a 2xx status code
func (*StorageBucketLifecycleDeleteHTTPBadRequest) String ¶
func (o *StorageBucketLifecycleDeleteHTTPBadRequest) String() string
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) Code ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) Code() int
Code gets the status code for the storage bucket lifecycle delete Http no content response
func (*StorageBucketLifecycleDeleteHTTPNoContent) Error ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) Error() string
func (*StorageBucketLifecycleDeleteHTTPNoContent) IsClientError ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsClientError() bool
IsClientError returns true when this storage bucket lifecycle delete Http no content response has a 4xx status code
func (*StorageBucketLifecycleDeleteHTTPNoContent) IsCode ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsCode(code int) bool
IsCode returns true when this storage bucket lifecycle delete Http no content response a status code equal to that given
func (*StorageBucketLifecycleDeleteHTTPNoContent) IsRedirect ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsRedirect() bool
IsRedirect returns true when this storage bucket lifecycle delete Http no content response has a 3xx status code
func (*StorageBucketLifecycleDeleteHTTPNoContent) IsServerError ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsServerError() bool
IsServerError returns true when this storage bucket lifecycle delete Http no content response has a 5xx status code
func (*StorageBucketLifecycleDeleteHTTPNoContent) IsSuccess ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) IsSuccess() bool
IsSuccess returns true when this storage bucket lifecycle delete Http no content response has a 2xx status code
func (*StorageBucketLifecycleDeleteHTTPNoContent) String ¶
func (o *StorageBucketLifecycleDeleteHTTPNoContent) String() string
type StorageBucketLifecycleDeleteHTTPParams ¶
type StorageBucketLifecycleDeleteHTTPParams struct { /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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) Code ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) Code() int
Code gets the status code for the storage bucket policy create Http bad request response
func (*StorageBucketPolicyCreateHTTPBadRequest) Error ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) Error() string
func (*StorageBucketPolicyCreateHTTPBadRequest) GetPayload ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageBucketPolicyCreateHTTPBadRequest) IsClientError ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage bucket policy create Http bad request response has a 4xx status code
func (*StorageBucketPolicyCreateHTTPBadRequest) IsCode ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage bucket policy create Http bad request response a status code equal to that given
func (*StorageBucketPolicyCreateHTTPBadRequest) IsRedirect ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage bucket policy create Http bad request response has a 3xx status code
func (*StorageBucketPolicyCreateHTTPBadRequest) IsServerError ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage bucket policy create Http bad request response has a 5xx status code
func (*StorageBucketPolicyCreateHTTPBadRequest) IsSuccess ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage bucket policy create Http bad request response has a 2xx status code
func (*StorageBucketPolicyCreateHTTPBadRequest) String ¶
func (o *StorageBucketPolicyCreateHTTPBadRequest) String() string
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) Code ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) Code() int
Code gets the status code for the storage bucket policy create Http no content response
func (*StorageBucketPolicyCreateHTTPNoContent) Error ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) Error() string
func (*StorageBucketPolicyCreateHTTPNoContent) IsClientError ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) IsClientError() bool
IsClientError returns true when this storage bucket policy create Http no content response has a 4xx status code
func (*StorageBucketPolicyCreateHTTPNoContent) IsCode ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) IsCode(code int) bool
IsCode returns true when this storage bucket policy create Http no content response a status code equal to that given
func (*StorageBucketPolicyCreateHTTPNoContent) IsRedirect ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) IsRedirect() bool
IsRedirect returns true when this storage bucket policy create Http no content response has a 3xx status code
func (*StorageBucketPolicyCreateHTTPNoContent) IsServerError ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) IsServerError() bool
IsServerError returns true when this storage bucket policy create Http no content response has a 5xx status code
func (*StorageBucketPolicyCreateHTTPNoContent) IsSuccess ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) IsSuccess() bool
IsSuccess returns true when this storage bucket policy create Http no content response has a 2xx status code
func (*StorageBucketPolicyCreateHTTPNoContent) String ¶
func (o *StorageBucketPolicyCreateHTTPNoContent) String() string
type StorageBucketPolicyCreateHTTPParams ¶
type StorageBucketPolicyCreateHTTPParams struct { /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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) Code ¶
func (o *StorageBucketRemoveHTTPBadRequest) Code() int
Code gets the status code for the storage bucket remove Http bad request response
func (*StorageBucketRemoveHTTPBadRequest) Error ¶
func (o *StorageBucketRemoveHTTPBadRequest) Error() string
func (*StorageBucketRemoveHTTPBadRequest) GetPayload ¶
func (o *StorageBucketRemoveHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageBucketRemoveHTTPBadRequest) IsClientError ¶
func (o *StorageBucketRemoveHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage bucket remove Http bad request response has a 4xx status code
func (*StorageBucketRemoveHTTPBadRequest) IsCode ¶
func (o *StorageBucketRemoveHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage bucket remove Http bad request response a status code equal to that given
func (*StorageBucketRemoveHTTPBadRequest) IsRedirect ¶
func (o *StorageBucketRemoveHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage bucket remove Http bad request response has a 3xx status code
func (*StorageBucketRemoveHTTPBadRequest) IsServerError ¶
func (o *StorageBucketRemoveHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage bucket remove Http bad request response has a 5xx status code
func (*StorageBucketRemoveHTTPBadRequest) IsSuccess ¶
func (o *StorageBucketRemoveHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage bucket remove Http bad request response has a 2xx status code
func (*StorageBucketRemoveHTTPBadRequest) String ¶
func (o *StorageBucketRemoveHTTPBadRequest) String() string
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) Code ¶
func (o *StorageBucketRemoveHTTPNoContent) Code() int
Code gets the status code for the storage bucket remove Http no content response
func (*StorageBucketRemoveHTTPNoContent) Error ¶
func (o *StorageBucketRemoveHTTPNoContent) Error() string
func (*StorageBucketRemoveHTTPNoContent) IsClientError ¶
func (o *StorageBucketRemoveHTTPNoContent) IsClientError() bool
IsClientError returns true when this storage bucket remove Http no content response has a 4xx status code
func (*StorageBucketRemoveHTTPNoContent) IsCode ¶
func (o *StorageBucketRemoveHTTPNoContent) IsCode(code int) bool
IsCode returns true when this storage bucket remove Http no content response a status code equal to that given
func (*StorageBucketRemoveHTTPNoContent) IsRedirect ¶
func (o *StorageBucketRemoveHTTPNoContent) IsRedirect() bool
IsRedirect returns true when this storage bucket remove Http no content response has a 3xx status code
func (*StorageBucketRemoveHTTPNoContent) IsServerError ¶
func (o *StorageBucketRemoveHTTPNoContent) IsServerError() bool
IsServerError returns true when this storage bucket remove Http no content response has a 5xx status code
func (*StorageBucketRemoveHTTPNoContent) IsSuccess ¶
func (o *StorageBucketRemoveHTTPNoContent) IsSuccess() bool
IsSuccess returns true when this storage bucket remove Http no content response has a 2xx status code
func (*StorageBucketRemoveHTTPNoContent) String ¶
func (o *StorageBucketRemoveHTTPNoContent) String() string
type StorageBucketRemoveHTTPParams ¶
type StorageBucketRemoveHTTPParams struct { /* ID. Storage ID Format: int64 */ ID int64 /* Name. Bucket 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 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) Code ¶
func (o *StorageListBucketsHTTPBadRequest) Code() int
Code gets the status code for the storage list buckets Http bad request response
func (*StorageListBucketsHTTPBadRequest) Error ¶
func (o *StorageListBucketsHTTPBadRequest) Error() string
func (*StorageListBucketsHTTPBadRequest) GetPayload ¶
func (o *StorageListBucketsHTTPBadRequest) GetPayload() *models.ErrResponse
func (*StorageListBucketsHTTPBadRequest) IsClientError ¶
func (o *StorageListBucketsHTTPBadRequest) IsClientError() bool
IsClientError returns true when this storage list buckets Http bad request response has a 4xx status code
func (*StorageListBucketsHTTPBadRequest) IsCode ¶
func (o *StorageListBucketsHTTPBadRequest) IsCode(code int) bool
IsCode returns true when this storage list buckets Http bad request response a status code equal to that given
func (*StorageListBucketsHTTPBadRequest) IsRedirect ¶
func (o *StorageListBucketsHTTPBadRequest) IsRedirect() bool
IsRedirect returns true when this storage list buckets Http bad request response has a 3xx status code
func (*StorageListBucketsHTTPBadRequest) IsServerError ¶
func (o *StorageListBucketsHTTPBadRequest) IsServerError() bool
IsServerError returns true when this storage list buckets Http bad request response has a 5xx status code
func (*StorageListBucketsHTTPBadRequest) IsSuccess ¶
func (o *StorageListBucketsHTTPBadRequest) IsSuccess() bool
IsSuccess returns true when this storage list buckets Http bad request response has a 2xx status code
func (*StorageListBucketsHTTPBadRequest) String ¶
func (o *StorageListBucketsHTTPBadRequest) String() string
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) Code ¶
func (o *StorageListBucketsHTTPOK) Code() int
Code gets the status code for the storage list buckets Http o k response
func (*StorageListBucketsHTTPOK) Error ¶
func (o *StorageListBucketsHTTPOK) Error() string
func (*StorageListBucketsHTTPOK) GetPayload ¶
func (o *StorageListBucketsHTTPOK) GetPayload() *models.StorageListBucketsEndpointRes
func (*StorageListBucketsHTTPOK) IsClientError ¶
func (o *StorageListBucketsHTTPOK) IsClientError() bool
IsClientError returns true when this storage list buckets Http o k response has a 4xx status code
func (*StorageListBucketsHTTPOK) IsCode ¶
func (o *StorageListBucketsHTTPOK) IsCode(code int) bool
IsCode returns true when this storage list buckets Http o k response a status code equal to that given
func (*StorageListBucketsHTTPOK) IsRedirect ¶
func (o *StorageListBucketsHTTPOK) IsRedirect() bool
IsRedirect returns true when this storage list buckets Http o k response has a 3xx status code
func (*StorageListBucketsHTTPOK) IsServerError ¶
func (o *StorageListBucketsHTTPOK) IsServerError() bool
IsServerError returns true when this storage list buckets Http o k response has a 5xx status code
func (*StorageListBucketsHTTPOK) IsSuccess ¶
func (o *StorageListBucketsHTTPOK) IsSuccess() bool
IsSuccess returns true when this storage list buckets Http o k response has a 2xx status code
func (*StorageListBucketsHTTPOK) String ¶
func (o *StorageListBucketsHTTPOK) String() string
type StorageListBucketsHTTPParams ¶
type StorageListBucketsHTTPParams struct { /* ID. Storage 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.
Source Files ¶
- buckets_client.go
- get_storage_bucket_c_o_r_s_http_parameters.go
- get_storage_bucket_c_o_r_s_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_list_buckets_http_parameters.go
- storage_list_buckets_http_responses.go