storage

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// StorageCreateHTTPBodyLocationSDashEd1 captures enum value "s-ed1"
	StorageCreateHTTPBodyLocationSDashEd1 string = "s-ed1"

	// StorageCreateHTTPBodyLocationSDashDarz1 captures enum value "s-darz1"
	StorageCreateHTTPBodyLocationSDashDarz1 string = "s-darz1"

	// StorageCreateHTTPBodyLocationSDashWs1 captures enum value "s-ws1"
	StorageCreateHTTPBodyLocationSDashWs1 string = "s-ws1"

	// StorageCreateHTTPBodyLocationAms captures enum value "ams"
	StorageCreateHTTPBodyLocationAms string = "ams"

	// StorageCreateHTTPBodyLocationSin captures enum value "sin"
	StorageCreateHTTPBodyLocationSin string = "sin"

	// StorageCreateHTTPBodyLocationFra captures enum value "fra"
	StorageCreateHTTPBodyLocationFra string = "fra"

	// StorageCreateHTTPBodyLocationMia captures enum value "mia"
	StorageCreateHTTPBodyLocationMia string = "mia"
)
View Source
const (

	// StorageCreateHTTPBodyTypeSftp captures enum value "sftp"
	StorageCreateHTTPBodyTypeSftp string = "sftp"

	// StorageCreateHTTPBodyTypeS3 captures enum value "s3"
	StorageCreateHTTPBodyTypeS3 string = "s3"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for storage API

func (*Client) GetStorageBucketCORSHTTP

func (a *Client) GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageBucketCORSHTTPOK, error)

GetStorageBucketCORSHTTP gets s3 storage bucket cors

Get s3 storage bucket cors

func (*Client) KeyLinkHTTP

func (a *Client) KeyLinkHTTP(params *KeyLinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyLinkHTTPNoContent, error)

KeyLinkHTTP links key to storage

Link key to storage

func (*Client) KeyUnlinkHTTP

func (a *Client) KeyUnlinkHTTP(params *KeyUnlinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyUnlinkHTTPNoContent, error)

KeyUnlinkHTTP unlinks key from storage

Unlink key from storage

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StorageBucketCORSCreateHTTP

StorageBucketCORSCreateHTTP creates s3 storage bucket cors

Create s3 storage bucket cors

func (*Client) StorageBucketCreateHTTP

func (a *Client) StorageBucketCreateHTTP(params *StorageBucketCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCreateHTTPNoContent, error)

StorageBucketCreateHTTP creates s3 storage bucket

Create s3 storage bucket

func (*Client) StorageBucketLifecycleCreateHTTP

StorageBucketLifecycleCreateHTTP creates s3 storage bucket lifecycle

Create s3 storage bucket lifecycle

func (*Client) StorageBucketLifecycleDeleteHTTP

StorageBucketLifecycleDeleteHTTP deletes s3 storage bucket lifecycle

Delete s3 storage bucket lifecycle

func (*Client) StorageBucketPolicyCreateHTTP

StorageBucketPolicyCreateHTTP creates s3 storage bucket policy

Create s3 storage bucket policy

func (*Client) StorageBucketRemoveHTTP

func (a *Client) StorageBucketRemoveHTTP(params *StorageBucketRemoveHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketRemoveHTTPNoContent, error)

StorageBucketRemoveHTTP removes s3 storage bucket

Remove s3 storage bucket

func (*Client) StorageCreateHTTP

func (a *Client) StorageCreateHTTP(params *StorageCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageCreateHTTPOK, error)

StorageCreateHTTP creates storage

Creates storage and returns it

func (*Client) StorageDeleteHTTP

func (a *Client) StorageDeleteHTTP(params *StorageDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageDeleteHTTPNoContent, error)

StorageDeleteHTTP deletes storage

Delete storage

func (*Client) StorageGetHTTP

func (a *Client) StorageGetHTTP(params *StorageGetHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageGetHTTPOK, error)

StorageGetHTTP gets storage

Get storage

func (*Client) StorageListBucketsHTTP

func (a *Client) StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListBucketsHTTPOK, error)

StorageListBucketsHTTP lists s3 storage buckets

List s3 storage buckets

func (*Client) StorageListHTTPV1

func (a *Client) StorageListHTTPV1(params *StorageListHTTPV1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV1OK, error)

StorageListHTTPV1 lists storages

List storages

func (*Client) StorageListHTTPV2

func (a *Client) StorageListHTTPV2(params *StorageListHTTPV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV2OK, error)

StorageListHTTPV2 lists storages v2

List storages v2

func (*Client) StorageUpdateCredentialsHTTP

func (a *Client) StorageUpdateCredentialsHTTP(params *StorageUpdateCredentialsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateCredentialsHTTPOK, error)

StorageUpdateCredentialsHTTP resets storage credentials

Reset storage credentials

func (*Client) StorageUpdateHTTP

func (a *Client) StorageUpdateHTTP(params *StorageUpdateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateHTTPOK, error)

StorageUpdateHTTP updates storage

Updates storage and returns it

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetStorageBucketCORSHTTP(params *GetStorageBucketCORSHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStorageBucketCORSHTTPOK, error)

	KeyLinkHTTP(params *KeyLinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyLinkHTTPNoContent, error)

	KeyUnlinkHTTP(params *KeyUnlinkHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KeyUnlinkHTTPNoContent, error)

	StorageBucketCORSCreateHTTP(params *StorageBucketCORSCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCORSCreateHTTPNoContent, error)

	StorageBucketCreateHTTP(params *StorageBucketCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketCreateHTTPNoContent, error)

	StorageBucketLifecycleCreateHTTP(params *StorageBucketLifecycleCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleCreateHTTPNoContent, error)

	StorageBucketLifecycleDeleteHTTP(params *StorageBucketLifecycleDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketLifecycleDeleteHTTPNoContent, error)

	StorageBucketPolicyCreateHTTP(params *StorageBucketPolicyCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketPolicyCreateHTTPNoContent, error)

	StorageBucketRemoveHTTP(params *StorageBucketRemoveHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageBucketRemoveHTTPNoContent, error)

	StorageCreateHTTP(params *StorageCreateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageCreateHTTPOK, error)

	StorageDeleteHTTP(params *StorageDeleteHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageDeleteHTTPNoContent, error)

	StorageGetHTTP(params *StorageGetHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageGetHTTPOK, error)

	StorageListBucketsHTTP(params *StorageListBucketsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListBucketsHTTPOK, error)

	StorageListHTTPV1(params *StorageListHTTPV1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV1OK, error)

	StorageListHTTPV2(params *StorageListHTTPV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageListHTTPV2OK, error)

	StorageUpdateCredentialsHTTP(params *StorageUpdateCredentialsHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateCredentialsHTTPOK, error)

	StorageUpdateHTTP(params *StorageUpdateHTTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StorageUpdateHTTPOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new storage API client.

type GetStorageBucketCORSHTTPBadRequest

type GetStorageBucketCORSHTTPBadRequest struct {
	Payload *models.ErrResponse
}
GetStorageBucketCORSHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewGetStorageBucketCORSHTTPBadRequest

func NewGetStorageBucketCORSHTTPBadRequest() *GetStorageBucketCORSHTTPBadRequest

NewGetStorageBucketCORSHTTPBadRequest creates a GetStorageBucketCORSHTTPBadRequest with default headers values

func (*GetStorageBucketCORSHTTPBadRequest) Error

func (*GetStorageBucketCORSHTTPBadRequest) GetPayload

type GetStorageBucketCORSHTTPBody

type GetStorageBucketCORSHTTPBody struct {

	// allowed origins
	AllowedOrigins []string `json:"allowedOrigins"`
}

GetStorageBucketCORSHTTPBody get storage bucket c o r s HTTP body swagger:model GetStorageBucketCORSHTTPBody

func (*GetStorageBucketCORSHTTPBody) ContextValidate

func (o *GetStorageBucketCORSHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get storage bucket c o r s HTTP body based on context it is used

func (*GetStorageBucketCORSHTTPBody) MarshalBinary

func (o *GetStorageBucketCORSHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetStorageBucketCORSHTTPBody) UnmarshalBinary

func (o *GetStorageBucketCORSHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetStorageBucketCORSHTTPBody) Validate

func (o *GetStorageBucketCORSHTTPBody) Validate(formats strfmt.Registry) error

Validate validates this get storage bucket c o r s HTTP body

type GetStorageBucketCORSHTTPOK

type GetStorageBucketCORSHTTPOK struct {
	Payload *models.StorageGetBucketCorsEndpointRes
}
GetStorageBucketCORSHTTPOK describes a response with status code 200, with default header values.

StorageGetBucketCorsEndpointRes

func NewGetStorageBucketCORSHTTPOK

func NewGetStorageBucketCORSHTTPOK() *GetStorageBucketCORSHTTPOK

NewGetStorageBucketCORSHTTPOK creates a GetStorageBucketCORSHTTPOK with default headers values

func (*GetStorageBucketCORSHTTPOK) Error

func (*GetStorageBucketCORSHTTPOK) GetPayload

type GetStorageBucketCORSHTTPParams

type GetStorageBucketCORSHTTPParams struct {

	// Body.
	Body GetStorageBucketCORSHTTPBody

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

GetStorageBucketCORSHTTPParams contains all the parameters to send to the API endpoint

for the get storage bucket c o r s Http operation.

Typically these are written to a http.Request.

func NewGetStorageBucketCORSHTTPParams

func NewGetStorageBucketCORSHTTPParams() *GetStorageBucketCORSHTTPParams

NewGetStorageBucketCORSHTTPParams creates a new GetStorageBucketCORSHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStorageBucketCORSHTTPParamsWithContext

func NewGetStorageBucketCORSHTTPParamsWithContext(ctx context.Context) *GetStorageBucketCORSHTTPParams

NewGetStorageBucketCORSHTTPParamsWithContext creates a new GetStorageBucketCORSHTTPParams object with the ability to set a context for a request.

func NewGetStorageBucketCORSHTTPParamsWithHTTPClient

func NewGetStorageBucketCORSHTTPParamsWithHTTPClient(client *http.Client) *GetStorageBucketCORSHTTPParams

NewGetStorageBucketCORSHTTPParamsWithHTTPClient creates a new GetStorageBucketCORSHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewGetStorageBucketCORSHTTPParamsWithTimeout

func NewGetStorageBucketCORSHTTPParamsWithTimeout(timeout time.Duration) *GetStorageBucketCORSHTTPParams

NewGetStorageBucketCORSHTTPParamsWithTimeout creates a new GetStorageBucketCORSHTTPParams object with the ability to set a timeout on a request.

func (*GetStorageBucketCORSHTTPParams) SetBody

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

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

WithBody adds the body to the get storage bucket c o r s Http params

func (*GetStorageBucketCORSHTTPParams) WithContext

WithContext adds the context to the get storage bucket c o r s Http params

func (*GetStorageBucketCORSHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get storage bucket c o r s Http params

func (*GetStorageBucketCORSHTTPParams) WithID

WithID adds the id to the get storage bucket c o r s Http params

func (*GetStorageBucketCORSHTTPParams) WithName

WithName adds the name to the get storage bucket c o r s Http params

func (*GetStorageBucketCORSHTTPParams) WithTimeout

WithTimeout adds the timeout to the get storage bucket c o r s Http params

func (*GetStorageBucketCORSHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStorageBucketCORSHTTPReader

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

GetStorageBucketCORSHTTPReader is a Reader for the GetStorageBucketCORSHTTP structure.

func (*GetStorageBucketCORSHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type KeyLinkHTTPBadRequest

type KeyLinkHTTPBadRequest struct {
	Payload *models.ErrResponse
}
KeyLinkHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewKeyLinkHTTPBadRequest

func NewKeyLinkHTTPBadRequest() *KeyLinkHTTPBadRequest

NewKeyLinkHTTPBadRequest creates a KeyLinkHTTPBadRequest with default headers values

func (*KeyLinkHTTPBadRequest) Error

func (o *KeyLinkHTTPBadRequest) Error() string

func (*KeyLinkHTTPBadRequest) GetPayload

func (o *KeyLinkHTTPBadRequest) GetPayload() *models.ErrResponse

type KeyLinkHTTPNoContent

type KeyLinkHTTPNoContent struct {
}
KeyLinkHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewKeyLinkHTTPNoContent

func NewKeyLinkHTTPNoContent() *KeyLinkHTTPNoContent

NewKeyLinkHTTPNoContent creates a KeyLinkHTTPNoContent with default headers values

func (*KeyLinkHTTPNoContent) Error

func (o *KeyLinkHTTPNoContent) Error() string

type KeyLinkHTTPParams

type KeyLinkHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// KeyID.
	//
	// Format: int64
	KeyID int64

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

KeyLinkHTTPParams contains all the parameters to send to the API endpoint

for the key link Http operation.

Typically these are written to a http.Request.

func NewKeyLinkHTTPParams

func NewKeyLinkHTTPParams() *KeyLinkHTTPParams

NewKeyLinkHTTPParams creates a new KeyLinkHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewKeyLinkHTTPParamsWithContext

func NewKeyLinkHTTPParamsWithContext(ctx context.Context) *KeyLinkHTTPParams

NewKeyLinkHTTPParamsWithContext creates a new KeyLinkHTTPParams object with the ability to set a context for a request.

func NewKeyLinkHTTPParamsWithHTTPClient

func NewKeyLinkHTTPParamsWithHTTPClient(client *http.Client) *KeyLinkHTTPParams

NewKeyLinkHTTPParamsWithHTTPClient creates a new KeyLinkHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewKeyLinkHTTPParamsWithTimeout

func NewKeyLinkHTTPParamsWithTimeout(timeout time.Duration) *KeyLinkHTTPParams

NewKeyLinkHTTPParamsWithTimeout creates a new KeyLinkHTTPParams object with the ability to set a timeout on a request.

func (*KeyLinkHTTPParams) SetContext

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

SetContext adds the context to the key link Http params

func (*KeyLinkHTTPParams) SetDefaults

func (o *KeyLinkHTTPParams) SetDefaults()

SetDefaults hydrates default values in the key link Http params (not the query body).

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

func (*KeyLinkHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the key link Http params

func (*KeyLinkHTTPParams) SetID

func (o *KeyLinkHTTPParams) SetID(id int64)

SetID adds the id to the key link Http params

func (*KeyLinkHTTPParams) SetKeyID

func (o *KeyLinkHTTPParams) SetKeyID(keyID int64)

SetKeyID adds the keyId to the key link Http params

func (*KeyLinkHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the key link Http params

func (*KeyLinkHTTPParams) WithContext

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

WithContext adds the context to the key link Http params

func (*KeyLinkHTTPParams) WithDefaults

func (o *KeyLinkHTTPParams) WithDefaults() *KeyLinkHTTPParams

WithDefaults hydrates default values in the key link Http params (not the query body).

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

func (*KeyLinkHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the key link Http params

func (*KeyLinkHTTPParams) WithID

func (o *KeyLinkHTTPParams) WithID(id int64) *KeyLinkHTTPParams

WithID adds the id to the key link Http params

func (*KeyLinkHTTPParams) WithKeyID

func (o *KeyLinkHTTPParams) WithKeyID(keyID int64) *KeyLinkHTTPParams

WithKeyID adds the keyID to the key link Http params

func (*KeyLinkHTTPParams) WithTimeout

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

WithTimeout adds the timeout to the key link Http params

func (*KeyLinkHTTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type KeyLinkHTTPReader

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

KeyLinkHTTPReader is a Reader for the KeyLinkHTTP structure.

func (*KeyLinkHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type KeyUnlinkHTTPBadRequest

type KeyUnlinkHTTPBadRequest struct {
	Payload *models.ErrResponse
}
KeyUnlinkHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewKeyUnlinkHTTPBadRequest

func NewKeyUnlinkHTTPBadRequest() *KeyUnlinkHTTPBadRequest

NewKeyUnlinkHTTPBadRequest creates a KeyUnlinkHTTPBadRequest with default headers values

func (*KeyUnlinkHTTPBadRequest) Error

func (o *KeyUnlinkHTTPBadRequest) Error() string

func (*KeyUnlinkHTTPBadRequest) GetPayload

func (o *KeyUnlinkHTTPBadRequest) GetPayload() *models.ErrResponse

type KeyUnlinkHTTPNoContent

type KeyUnlinkHTTPNoContent struct {
}
KeyUnlinkHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewKeyUnlinkHTTPNoContent

func NewKeyUnlinkHTTPNoContent() *KeyUnlinkHTTPNoContent

NewKeyUnlinkHTTPNoContent creates a KeyUnlinkHTTPNoContent with default headers values

func (*KeyUnlinkHTTPNoContent) Error

func (o *KeyUnlinkHTTPNoContent) Error() string

type KeyUnlinkHTTPParams

type KeyUnlinkHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// KeyID.
	//
	// Format: int64
	KeyID int64

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

KeyUnlinkHTTPParams contains all the parameters to send to the API endpoint

for the key unlink Http operation.

Typically these are written to a http.Request.

func NewKeyUnlinkHTTPParams

func NewKeyUnlinkHTTPParams() *KeyUnlinkHTTPParams

NewKeyUnlinkHTTPParams creates a new KeyUnlinkHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewKeyUnlinkHTTPParamsWithContext

func NewKeyUnlinkHTTPParamsWithContext(ctx context.Context) *KeyUnlinkHTTPParams

NewKeyUnlinkHTTPParamsWithContext creates a new KeyUnlinkHTTPParams object with the ability to set a context for a request.

func NewKeyUnlinkHTTPParamsWithHTTPClient

func NewKeyUnlinkHTTPParamsWithHTTPClient(client *http.Client) *KeyUnlinkHTTPParams

NewKeyUnlinkHTTPParamsWithHTTPClient creates a new KeyUnlinkHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewKeyUnlinkHTTPParamsWithTimeout

func NewKeyUnlinkHTTPParamsWithTimeout(timeout time.Duration) *KeyUnlinkHTTPParams

NewKeyUnlinkHTTPParamsWithTimeout creates a new KeyUnlinkHTTPParams object with the ability to set a timeout on a request.

func (*KeyUnlinkHTTPParams) SetContext

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

SetContext adds the context to the key unlink Http params

func (*KeyUnlinkHTTPParams) SetDefaults

func (o *KeyUnlinkHTTPParams) SetDefaults()

SetDefaults hydrates default values in the key unlink Http params (not the query body).

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

func (*KeyUnlinkHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the key unlink Http params

func (*KeyUnlinkHTTPParams) SetID

func (o *KeyUnlinkHTTPParams) SetID(id int64)

SetID adds the id to the key unlink Http params

func (*KeyUnlinkHTTPParams) SetKeyID

func (o *KeyUnlinkHTTPParams) SetKeyID(keyID int64)

SetKeyID adds the keyId to the key unlink Http params

func (*KeyUnlinkHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the key unlink Http params

func (*KeyUnlinkHTTPParams) WithContext

WithContext adds the context to the key unlink Http params

func (*KeyUnlinkHTTPParams) WithDefaults

func (o *KeyUnlinkHTTPParams) WithDefaults() *KeyUnlinkHTTPParams

WithDefaults hydrates default values in the key unlink Http params (not the query body).

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

func (*KeyUnlinkHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the key unlink Http params

func (*KeyUnlinkHTTPParams) WithID

WithID adds the id to the key unlink Http params

func (*KeyUnlinkHTTPParams) WithKeyID

func (o *KeyUnlinkHTTPParams) WithKeyID(keyID int64) *KeyUnlinkHTTPParams

WithKeyID adds the keyID to the key unlink Http params

func (*KeyUnlinkHTTPParams) WithTimeout

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

WithTimeout adds the timeout to the key unlink Http params

func (*KeyUnlinkHTTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type KeyUnlinkHTTPReader

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

KeyUnlinkHTTPReader is a Reader for the KeyUnlinkHTTP structure.

func (*KeyUnlinkHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageBucketCORSCreateHTTPBadRequest

type StorageBucketCORSCreateHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageBucketCORSCreateHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageBucketCORSCreateHTTPBadRequest

func NewStorageBucketCORSCreateHTTPBadRequest() *StorageBucketCORSCreateHTTPBadRequest

NewStorageBucketCORSCreateHTTPBadRequest creates a StorageBucketCORSCreateHTTPBadRequest with default headers values

func (*StorageBucketCORSCreateHTTPBadRequest) Error

func (*StorageBucketCORSCreateHTTPBadRequest) GetPayload

type StorageBucketCORSCreateHTTPBody

type StorageBucketCORSCreateHTTPBody struct {

	// allowed origins
	AllowedOrigins []string `json:"allowedOrigins"`
}

StorageBucketCORSCreateHTTPBody storage bucket c o r s create HTTP body swagger:model StorageBucketCORSCreateHTTPBody

func (*StorageBucketCORSCreateHTTPBody) ContextValidate

func (o *StorageBucketCORSCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage bucket c o r s create HTTP body based on context it is used

func (*StorageBucketCORSCreateHTTPBody) MarshalBinary

func (o *StorageBucketCORSCreateHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageBucketCORSCreateHTTPBody) UnmarshalBinary

func (o *StorageBucketCORSCreateHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageBucketCORSCreateHTTPBody) Validate

Validate validates this storage bucket c o r s create HTTP body

type StorageBucketCORSCreateHTTPNoContent

type StorageBucketCORSCreateHTTPNoContent struct {
}
StorageBucketCORSCreateHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageBucketCORSCreateHTTPNoContent

func NewStorageBucketCORSCreateHTTPNoContent() *StorageBucketCORSCreateHTTPNoContent

NewStorageBucketCORSCreateHTTPNoContent creates a StorageBucketCORSCreateHTTPNoContent with default headers values

func (*StorageBucketCORSCreateHTTPNoContent) Error

type StorageBucketCORSCreateHTTPParams

type StorageBucketCORSCreateHTTPParams struct {

	// Body.
	Body StorageBucketCORSCreateHTTPBody

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

StorageBucketCORSCreateHTTPParams contains all the parameters to send to the API endpoint

for the storage bucket c o r s create Http operation.

Typically these are written to a http.Request.

func NewStorageBucketCORSCreateHTTPParams

func NewStorageBucketCORSCreateHTTPParams() *StorageBucketCORSCreateHTTPParams

NewStorageBucketCORSCreateHTTPParams creates a new StorageBucketCORSCreateHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageBucketCORSCreateHTTPParamsWithContext

func NewStorageBucketCORSCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketCORSCreateHTTPParams

NewStorageBucketCORSCreateHTTPParamsWithContext creates a new StorageBucketCORSCreateHTTPParams object with the ability to set a context for a request.

func NewStorageBucketCORSCreateHTTPParamsWithHTTPClient

func NewStorageBucketCORSCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketCORSCreateHTTPParams

NewStorageBucketCORSCreateHTTPParamsWithHTTPClient creates a new StorageBucketCORSCreateHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageBucketCORSCreateHTTPParamsWithTimeout

func NewStorageBucketCORSCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketCORSCreateHTTPParams

NewStorageBucketCORSCreateHTTPParamsWithTimeout creates a new StorageBucketCORSCreateHTTPParams object with the ability to set a timeout on a request.

func (*StorageBucketCORSCreateHTTPParams) SetBody

SetBody adds the body to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) SetContext

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

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

WithBody adds the body to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) WithContext

WithContext adds the context to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) WithID

WithID adds the id to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) WithName

WithName adds the name to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage bucket c o r s create Http params

func (*StorageBucketCORSCreateHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageBucketCORSCreateHTTPReader

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

StorageBucketCORSCreateHTTPReader is a Reader for the StorageBucketCORSCreateHTTP structure.

func (*StorageBucketCORSCreateHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageBucketCreateHTTPBadRequest

type StorageBucketCreateHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageBucketCreateHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageBucketCreateHTTPBadRequest

func NewStorageBucketCreateHTTPBadRequest() *StorageBucketCreateHTTPBadRequest

NewStorageBucketCreateHTTPBadRequest creates a StorageBucketCreateHTTPBadRequest with default headers values

func (*StorageBucketCreateHTTPBadRequest) Error

func (*StorageBucketCreateHTTPBadRequest) GetPayload

type StorageBucketCreateHTTPNoContent

type StorageBucketCreateHTTPNoContent struct {
}
StorageBucketCreateHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageBucketCreateHTTPNoContent

func NewStorageBucketCreateHTTPNoContent() *StorageBucketCreateHTTPNoContent

NewStorageBucketCreateHTTPNoContent creates a StorageBucketCreateHTTPNoContent with default headers values

func (*StorageBucketCreateHTTPNoContent) Error

type StorageBucketCreateHTTPParams

type StorageBucketCreateHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

StorageBucketCreateHTTPParams contains all the parameters to send to the API endpoint

for the storage bucket create Http operation.

Typically these are written to a http.Request.

func NewStorageBucketCreateHTTPParams

func NewStorageBucketCreateHTTPParams() *StorageBucketCreateHTTPParams

NewStorageBucketCreateHTTPParams creates a new StorageBucketCreateHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageBucketCreateHTTPParamsWithContext

func NewStorageBucketCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketCreateHTTPParams

NewStorageBucketCreateHTTPParamsWithContext creates a new StorageBucketCreateHTTPParams object with the ability to set a context for a request.

func NewStorageBucketCreateHTTPParamsWithHTTPClient

func NewStorageBucketCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketCreateHTTPParams

NewStorageBucketCreateHTTPParamsWithHTTPClient creates a new StorageBucketCreateHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageBucketCreateHTTPParamsWithTimeout

func NewStorageBucketCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketCreateHTTPParams

NewStorageBucketCreateHTTPParamsWithTimeout creates a new StorageBucketCreateHTTPParams object with the ability to set a timeout on a request.

func (*StorageBucketCreateHTTPParams) SetContext

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

SetContext adds the context to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) SetDefaults

func (o *StorageBucketCreateHTTPParams) SetDefaults()

SetDefaults hydrates default values in the storage bucket create Http params (not the query body).

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

func (*StorageBucketCreateHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) SetID

func (o *StorageBucketCreateHTTPParams) SetID(id int64)

SetID adds the id to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) SetName

func (o *StorageBucketCreateHTTPParams) SetName(name string)

SetName adds the name to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) WithContext

WithContext adds the context to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) WithID

WithID adds the id to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) WithName

WithName adds the name to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage bucket create Http params

func (*StorageBucketCreateHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageBucketCreateHTTPReader

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

StorageBucketCreateHTTPReader is a Reader for the StorageBucketCreateHTTP structure.

func (*StorageBucketCreateHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageBucketLifecycleCreateHTTPBadRequest

type StorageBucketLifecycleCreateHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageBucketLifecycleCreateHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageBucketLifecycleCreateHTTPBadRequest

func NewStorageBucketLifecycleCreateHTTPBadRequest() *StorageBucketLifecycleCreateHTTPBadRequest

NewStorageBucketLifecycleCreateHTTPBadRequest creates a StorageBucketLifecycleCreateHTTPBadRequest with default headers values

func (*StorageBucketLifecycleCreateHTTPBadRequest) Error

func (*StorageBucketLifecycleCreateHTTPBadRequest) GetPayload

type StorageBucketLifecycleCreateHTTPBody

type StorageBucketLifecycleCreateHTTPBody struct {

	// expiration days
	ExpirationDays int64 `json:"expiration_days,omitempty"`
}

StorageBucketLifecycleCreateHTTPBody storage bucket lifecycle create HTTP body swagger:model StorageBucketLifecycleCreateHTTPBody

func (*StorageBucketLifecycleCreateHTTPBody) ContextValidate

func (o *StorageBucketLifecycleCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage bucket lifecycle create HTTP body based on context it is used

func (*StorageBucketLifecycleCreateHTTPBody) MarshalBinary

func (o *StorageBucketLifecycleCreateHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageBucketLifecycleCreateHTTPBody) UnmarshalBinary

func (o *StorageBucketLifecycleCreateHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageBucketLifecycleCreateHTTPBody) Validate

Validate validates this storage bucket lifecycle create HTTP body

type StorageBucketLifecycleCreateHTTPNoContent

type StorageBucketLifecycleCreateHTTPNoContent struct {
}
StorageBucketLifecycleCreateHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageBucketLifecycleCreateHTTPNoContent

func NewStorageBucketLifecycleCreateHTTPNoContent() *StorageBucketLifecycleCreateHTTPNoContent

NewStorageBucketLifecycleCreateHTTPNoContent creates a StorageBucketLifecycleCreateHTTPNoContent with default headers values

func (*StorageBucketLifecycleCreateHTTPNoContent) Error

type StorageBucketLifecycleCreateHTTPParams

type StorageBucketLifecycleCreateHTTPParams struct {

	// Body.
	Body StorageBucketLifecycleCreateHTTPBody

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

StorageBucketLifecycleCreateHTTPParams contains all the parameters to send to the API endpoint

for the storage bucket lifecycle create Http operation.

Typically these are written to a http.Request.

func NewStorageBucketLifecycleCreateHTTPParams

func NewStorageBucketLifecycleCreateHTTPParams() *StorageBucketLifecycleCreateHTTPParams

NewStorageBucketLifecycleCreateHTTPParams creates a new StorageBucketLifecycleCreateHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageBucketLifecycleCreateHTTPParamsWithContext

func NewStorageBucketLifecycleCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketLifecycleCreateHTTPParams

NewStorageBucketLifecycleCreateHTTPParamsWithContext creates a new StorageBucketLifecycleCreateHTTPParams object with the ability to set a context for a request.

func NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient

func NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketLifecycleCreateHTTPParams

NewStorageBucketLifecycleCreateHTTPParamsWithHTTPClient creates a new StorageBucketLifecycleCreateHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageBucketLifecycleCreateHTTPParamsWithTimeout

func NewStorageBucketLifecycleCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketLifecycleCreateHTTPParams

NewStorageBucketLifecycleCreateHTTPParamsWithTimeout creates a new StorageBucketLifecycleCreateHTTPParams object with the ability to set a timeout on a request.

func (*StorageBucketLifecycleCreateHTTPParams) SetBody

SetBody adds the body to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) SetContext

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

SetID adds the id to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) SetName

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

WithBody adds the body to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) WithContext

WithContext adds the context to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) WithID

WithID adds the id to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) WithName

WithName adds the name to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage bucket lifecycle create Http params

func (*StorageBucketLifecycleCreateHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageBucketLifecycleCreateHTTPReader

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

StorageBucketLifecycleCreateHTTPReader is a Reader for the StorageBucketLifecycleCreateHTTP structure.

func (*StorageBucketLifecycleCreateHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageBucketLifecycleDeleteHTTPBadRequest

type StorageBucketLifecycleDeleteHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageBucketLifecycleDeleteHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageBucketLifecycleDeleteHTTPBadRequest

func NewStorageBucketLifecycleDeleteHTTPBadRequest() *StorageBucketLifecycleDeleteHTTPBadRequest

NewStorageBucketLifecycleDeleteHTTPBadRequest creates a StorageBucketLifecycleDeleteHTTPBadRequest with default headers values

func (*StorageBucketLifecycleDeleteHTTPBadRequest) Error

func (*StorageBucketLifecycleDeleteHTTPBadRequest) GetPayload

type StorageBucketLifecycleDeleteHTTPNoContent

type StorageBucketLifecycleDeleteHTTPNoContent struct {
}
StorageBucketLifecycleDeleteHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageBucketLifecycleDeleteHTTPNoContent

func NewStorageBucketLifecycleDeleteHTTPNoContent() *StorageBucketLifecycleDeleteHTTPNoContent

NewStorageBucketLifecycleDeleteHTTPNoContent creates a StorageBucketLifecycleDeleteHTTPNoContent with default headers values

func (*StorageBucketLifecycleDeleteHTTPNoContent) Error

type StorageBucketLifecycleDeleteHTTPParams

type StorageBucketLifecycleDeleteHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

StorageBucketLifecycleDeleteHTTPParams contains all the parameters to send to the API endpoint

for the storage bucket lifecycle delete Http operation.

Typically these are written to a http.Request.

func NewStorageBucketLifecycleDeleteHTTPParams

func NewStorageBucketLifecycleDeleteHTTPParams() *StorageBucketLifecycleDeleteHTTPParams

NewStorageBucketLifecycleDeleteHTTPParams creates a new StorageBucketLifecycleDeleteHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageBucketLifecycleDeleteHTTPParamsWithContext

func NewStorageBucketLifecycleDeleteHTTPParamsWithContext(ctx context.Context) *StorageBucketLifecycleDeleteHTTPParams

NewStorageBucketLifecycleDeleteHTTPParamsWithContext creates a new StorageBucketLifecycleDeleteHTTPParams object with the ability to set a context for a request.

func NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient

func NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketLifecycleDeleteHTTPParams

NewStorageBucketLifecycleDeleteHTTPParamsWithHTTPClient creates a new StorageBucketLifecycleDeleteHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout

func NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketLifecycleDeleteHTTPParams

NewStorageBucketLifecycleDeleteHTTPParamsWithTimeout creates a new StorageBucketLifecycleDeleteHTTPParams object with the ability to set a timeout on a request.

func (*StorageBucketLifecycleDeleteHTTPParams) SetContext

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

SetID adds the id to the storage bucket lifecycle delete Http params

func (*StorageBucketLifecycleDeleteHTTPParams) SetName

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

WithContext adds the context to the storage bucket lifecycle delete Http params

func (*StorageBucketLifecycleDeleteHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage bucket lifecycle delete Http params

func (*StorageBucketLifecycleDeleteHTTPParams) WithID

WithID adds the id to the storage bucket lifecycle delete Http params

func (*StorageBucketLifecycleDeleteHTTPParams) WithName

WithName adds the name to the storage bucket lifecycle delete Http params

func (*StorageBucketLifecycleDeleteHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage bucket lifecycle delete Http params

func (*StorageBucketLifecycleDeleteHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageBucketLifecycleDeleteHTTPReader

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

StorageBucketLifecycleDeleteHTTPReader is a Reader for the StorageBucketLifecycleDeleteHTTP structure.

func (*StorageBucketLifecycleDeleteHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageBucketPolicyCreateHTTPBadRequest

type StorageBucketPolicyCreateHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageBucketPolicyCreateHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageBucketPolicyCreateHTTPBadRequest

func NewStorageBucketPolicyCreateHTTPBadRequest() *StorageBucketPolicyCreateHTTPBadRequest

NewStorageBucketPolicyCreateHTTPBadRequest creates a StorageBucketPolicyCreateHTTPBadRequest with default headers values

func (*StorageBucketPolicyCreateHTTPBadRequest) Error

func (*StorageBucketPolicyCreateHTTPBadRequest) GetPayload

type StorageBucketPolicyCreateHTTPNoContent

type StorageBucketPolicyCreateHTTPNoContent struct {
}
StorageBucketPolicyCreateHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageBucketPolicyCreateHTTPNoContent

func NewStorageBucketPolicyCreateHTTPNoContent() *StorageBucketPolicyCreateHTTPNoContent

NewStorageBucketPolicyCreateHTTPNoContent creates a StorageBucketPolicyCreateHTTPNoContent with default headers values

func (*StorageBucketPolicyCreateHTTPNoContent) Error

type StorageBucketPolicyCreateHTTPParams

type StorageBucketPolicyCreateHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

StorageBucketPolicyCreateHTTPParams contains all the parameters to send to the API endpoint

for the storage bucket policy create Http operation.

Typically these are written to a http.Request.

func NewStorageBucketPolicyCreateHTTPParams

func NewStorageBucketPolicyCreateHTTPParams() *StorageBucketPolicyCreateHTTPParams

NewStorageBucketPolicyCreateHTTPParams creates a new StorageBucketPolicyCreateHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageBucketPolicyCreateHTTPParamsWithContext

func NewStorageBucketPolicyCreateHTTPParamsWithContext(ctx context.Context) *StorageBucketPolicyCreateHTTPParams

NewStorageBucketPolicyCreateHTTPParamsWithContext creates a new StorageBucketPolicyCreateHTTPParams object with the ability to set a context for a request.

func NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient

func NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketPolicyCreateHTTPParams

NewStorageBucketPolicyCreateHTTPParamsWithHTTPClient creates a new StorageBucketPolicyCreateHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageBucketPolicyCreateHTTPParamsWithTimeout

func NewStorageBucketPolicyCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketPolicyCreateHTTPParams

NewStorageBucketPolicyCreateHTTPParamsWithTimeout creates a new StorageBucketPolicyCreateHTTPParams object with the ability to set a timeout on a request.

func (*StorageBucketPolicyCreateHTTPParams) SetContext

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

SetID adds the id to the storage bucket policy create Http params

func (*StorageBucketPolicyCreateHTTPParams) SetName

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

WithContext adds the context to the storage bucket policy create Http params

func (*StorageBucketPolicyCreateHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage bucket policy create Http params

func (*StorageBucketPolicyCreateHTTPParams) WithID

WithID adds the id to the storage bucket policy create Http params

func (*StorageBucketPolicyCreateHTTPParams) WithName

WithName adds the name to the storage bucket policy create Http params

func (*StorageBucketPolicyCreateHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage bucket policy create Http params

func (*StorageBucketPolicyCreateHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageBucketPolicyCreateHTTPReader

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

StorageBucketPolicyCreateHTTPReader is a Reader for the StorageBucketPolicyCreateHTTP structure.

func (*StorageBucketPolicyCreateHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageBucketRemoveHTTPBadRequest

type StorageBucketRemoveHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageBucketRemoveHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageBucketRemoveHTTPBadRequest

func NewStorageBucketRemoveHTTPBadRequest() *StorageBucketRemoveHTTPBadRequest

NewStorageBucketRemoveHTTPBadRequest creates a StorageBucketRemoveHTTPBadRequest with default headers values

func (*StorageBucketRemoveHTTPBadRequest) Error

func (*StorageBucketRemoveHTTPBadRequest) GetPayload

type StorageBucketRemoveHTTPNoContent

type StorageBucketRemoveHTTPNoContent struct {
}
StorageBucketRemoveHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageBucketRemoveHTTPNoContent

func NewStorageBucketRemoveHTTPNoContent() *StorageBucketRemoveHTTPNoContent

NewStorageBucketRemoveHTTPNoContent creates a StorageBucketRemoveHTTPNoContent with default headers values

func (*StorageBucketRemoveHTTPNoContent) Error

type StorageBucketRemoveHTTPParams

type StorageBucketRemoveHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name string

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

StorageBucketRemoveHTTPParams contains all the parameters to send to the API endpoint

for the storage bucket remove Http operation.

Typically these are written to a http.Request.

func NewStorageBucketRemoveHTTPParams

func NewStorageBucketRemoveHTTPParams() *StorageBucketRemoveHTTPParams

NewStorageBucketRemoveHTTPParams creates a new StorageBucketRemoveHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageBucketRemoveHTTPParamsWithContext

func NewStorageBucketRemoveHTTPParamsWithContext(ctx context.Context) *StorageBucketRemoveHTTPParams

NewStorageBucketRemoveHTTPParamsWithContext creates a new StorageBucketRemoveHTTPParams object with the ability to set a context for a request.

func NewStorageBucketRemoveHTTPParamsWithHTTPClient

func NewStorageBucketRemoveHTTPParamsWithHTTPClient(client *http.Client) *StorageBucketRemoveHTTPParams

NewStorageBucketRemoveHTTPParamsWithHTTPClient creates a new StorageBucketRemoveHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageBucketRemoveHTTPParamsWithTimeout

func NewStorageBucketRemoveHTTPParamsWithTimeout(timeout time.Duration) *StorageBucketRemoveHTTPParams

NewStorageBucketRemoveHTTPParamsWithTimeout creates a new StorageBucketRemoveHTTPParams object with the ability to set a timeout on a request.

func (*StorageBucketRemoveHTTPParams) SetContext

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

SetContext adds the context to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) SetDefaults

func (o *StorageBucketRemoveHTTPParams) SetDefaults()

SetDefaults hydrates default values in the storage bucket remove Http params (not the query body).

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

func (*StorageBucketRemoveHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) SetID

func (o *StorageBucketRemoveHTTPParams) SetID(id int64)

SetID adds the id to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) SetName

func (o *StorageBucketRemoveHTTPParams) SetName(name string)

SetName adds the name to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) WithContext

WithContext adds the context to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) WithID

WithID adds the id to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) WithName

WithName adds the name to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage bucket remove Http params

func (*StorageBucketRemoveHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageBucketRemoveHTTPReader

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

StorageBucketRemoveHTTPReader is a Reader for the StorageBucketRemoveHTTP structure.

func (*StorageBucketRemoveHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageCreateHTTPBadRequest

type StorageCreateHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageCreateHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageCreateHTTPBadRequest

func NewStorageCreateHTTPBadRequest() *StorageCreateHTTPBadRequest

NewStorageCreateHTTPBadRequest creates a StorageCreateHTTPBadRequest with default headers values

func (*StorageCreateHTTPBadRequest) Error

func (*StorageCreateHTTPBadRequest) GetPayload

type StorageCreateHTTPBody

type StorageCreateHTTPBody struct {

	// generate sftp password
	GenerateSftpPassword bool `json:"generate_sftp_password,omitempty"`

	// location
	// Enum: [s-ed1 s-darz1 s-ws1 ams sin fra mia]
	Location string `json:"location,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// sftp password
	SftpPassword string `json:"sftp_password,omitempty"`

	// type
	// Enum: [sftp s3]
	Type string `json:"type,omitempty"`
}

StorageCreateHTTPBody storage create HTTP body swagger:model StorageCreateHTTPBody

func (*StorageCreateHTTPBody) ContextValidate

func (o *StorageCreateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage create HTTP body based on context it is used

func (*StorageCreateHTTPBody) MarshalBinary

func (o *StorageCreateHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageCreateHTTPBody) UnmarshalBinary

func (o *StorageCreateHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageCreateHTTPBody) Validate

func (o *StorageCreateHTTPBody) Validate(formats strfmt.Registry) error

Validate validates this storage create HTTP body

type StorageCreateHTTPConflict

type StorageCreateHTTPConflict struct {
	Payload *models.ErrResponse
}
StorageCreateHTTPConflict describes a response with status code 409, with default header values.

ErrResponse

func NewStorageCreateHTTPConflict

func NewStorageCreateHTTPConflict() *StorageCreateHTTPConflict

NewStorageCreateHTTPConflict creates a StorageCreateHTTPConflict with default headers values

func (*StorageCreateHTTPConflict) Error

func (o *StorageCreateHTTPConflict) Error() string

func (*StorageCreateHTTPConflict) GetPayload

func (o *StorageCreateHTTPConflict) GetPayload() *models.ErrResponse

type StorageCreateHTTPOK

type StorageCreateHTTPOK struct {
	Payload *models.Storage
}
StorageCreateHTTPOK describes a response with status code 200, with default header values.

Storage

func NewStorageCreateHTTPOK

func NewStorageCreateHTTPOK() *StorageCreateHTTPOK

NewStorageCreateHTTPOK creates a StorageCreateHTTPOK with default headers values

func (*StorageCreateHTTPOK) Error

func (o *StorageCreateHTTPOK) Error() string

func (*StorageCreateHTTPOK) GetPayload

func (o *StorageCreateHTTPOK) GetPayload() *models.Storage

type StorageCreateHTTPParams

type StorageCreateHTTPParams struct {

	// Body.
	Body StorageCreateHTTPBody

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

StorageCreateHTTPParams contains all the parameters to send to the API endpoint

for the storage create Http operation.

Typically these are written to a http.Request.

func NewStorageCreateHTTPParams

func NewStorageCreateHTTPParams() *StorageCreateHTTPParams

NewStorageCreateHTTPParams creates a new StorageCreateHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageCreateHTTPParamsWithContext

func NewStorageCreateHTTPParamsWithContext(ctx context.Context) *StorageCreateHTTPParams

NewStorageCreateHTTPParamsWithContext creates a new StorageCreateHTTPParams object with the ability to set a context for a request.

func NewStorageCreateHTTPParamsWithHTTPClient

func NewStorageCreateHTTPParamsWithHTTPClient(client *http.Client) *StorageCreateHTTPParams

NewStorageCreateHTTPParamsWithHTTPClient creates a new StorageCreateHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageCreateHTTPParamsWithTimeout

func NewStorageCreateHTTPParamsWithTimeout(timeout time.Duration) *StorageCreateHTTPParams

NewStorageCreateHTTPParamsWithTimeout creates a new StorageCreateHTTPParams object with the ability to set a timeout on a request.

func (*StorageCreateHTTPParams) SetBody

SetBody adds the body to the storage create Http params

func (*StorageCreateHTTPParams) SetContext

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

SetContext adds the context to the storage create Http params

func (*StorageCreateHTTPParams) SetDefaults

func (o *StorageCreateHTTPParams) SetDefaults()

SetDefaults hydrates default values in the storage create Http params (not the query body).

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

func (*StorageCreateHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage create Http params

func (*StorageCreateHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage create Http params

func (*StorageCreateHTTPParams) WithBody

WithBody adds the body to the storage create Http params

func (*StorageCreateHTTPParams) WithContext

WithContext adds the context to the storage create Http params

func (*StorageCreateHTTPParams) WithDefaults

WithDefaults hydrates default values in the storage create Http params (not the query body).

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

func (*StorageCreateHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the storage create Http params

func (*StorageCreateHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage create Http params

func (*StorageCreateHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageCreateHTTPReader

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

StorageCreateHTTPReader is a Reader for the StorageCreateHTTP structure.

func (*StorageCreateHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageDeleteHTTPBadRequest

type StorageDeleteHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageDeleteHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageDeleteHTTPBadRequest

func NewStorageDeleteHTTPBadRequest() *StorageDeleteHTTPBadRequest

NewStorageDeleteHTTPBadRequest creates a StorageDeleteHTTPBadRequest with default headers values

func (*StorageDeleteHTTPBadRequest) Error

func (*StorageDeleteHTTPBadRequest) GetPayload

type StorageDeleteHTTPNoContent

type StorageDeleteHTTPNoContent struct {
}
StorageDeleteHTTPNoContent describes a response with status code 204, with default header values.

A SuccessResponse is a response that shows that operations was completed successfully

func NewStorageDeleteHTTPNoContent

func NewStorageDeleteHTTPNoContent() *StorageDeleteHTTPNoContent

NewStorageDeleteHTTPNoContent creates a StorageDeleteHTTPNoContent with default headers values

func (*StorageDeleteHTTPNoContent) Error

type StorageDeleteHTTPParams

type StorageDeleteHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

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

StorageDeleteHTTPParams contains all the parameters to send to the API endpoint

for the storage delete Http operation.

Typically these are written to a http.Request.

func NewStorageDeleteHTTPParams

func NewStorageDeleteHTTPParams() *StorageDeleteHTTPParams

NewStorageDeleteHTTPParams creates a new StorageDeleteHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageDeleteHTTPParamsWithContext

func NewStorageDeleteHTTPParamsWithContext(ctx context.Context) *StorageDeleteHTTPParams

NewStorageDeleteHTTPParamsWithContext creates a new StorageDeleteHTTPParams object with the ability to set a context for a request.

func NewStorageDeleteHTTPParamsWithHTTPClient

func NewStorageDeleteHTTPParamsWithHTTPClient(client *http.Client) *StorageDeleteHTTPParams

NewStorageDeleteHTTPParamsWithHTTPClient creates a new StorageDeleteHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageDeleteHTTPParamsWithTimeout

func NewStorageDeleteHTTPParamsWithTimeout(timeout time.Duration) *StorageDeleteHTTPParams

NewStorageDeleteHTTPParamsWithTimeout creates a new StorageDeleteHTTPParams object with the ability to set a timeout on a request.

func (*StorageDeleteHTTPParams) SetContext

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

SetContext adds the context to the storage delete Http params

func (*StorageDeleteHTTPParams) SetDefaults

func (o *StorageDeleteHTTPParams) SetDefaults()

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

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

func (*StorageDeleteHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage delete Http params

func (*StorageDeleteHTTPParams) SetID

func (o *StorageDeleteHTTPParams) SetID(id int64)

SetID adds the id to the storage delete Http params

func (*StorageDeleteHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage delete Http params

func (*StorageDeleteHTTPParams) WithContext

WithContext adds the context to the storage delete Http params

func (*StorageDeleteHTTPParams) WithDefaults

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

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

func (*StorageDeleteHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the storage delete Http params

func (*StorageDeleteHTTPParams) WithID

WithID adds the id to the storage delete Http params

func (*StorageDeleteHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage delete Http params

func (*StorageDeleteHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageDeleteHTTPReader

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

StorageDeleteHTTPReader is a Reader for the StorageDeleteHTTP structure.

func (*StorageDeleteHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageGetHTTPBadRequest

type StorageGetHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageGetHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageGetHTTPBadRequest

func NewStorageGetHTTPBadRequest() *StorageGetHTTPBadRequest

NewStorageGetHTTPBadRequest creates a StorageGetHTTPBadRequest with default headers values

func (*StorageGetHTTPBadRequest) Error

func (o *StorageGetHTTPBadRequest) Error() string

func (*StorageGetHTTPBadRequest) GetPayload

func (o *StorageGetHTTPBadRequest) GetPayload() *models.ErrResponse

type StorageGetHTTPOK

type StorageGetHTTPOK struct {
	Payload *models.Storage
}
StorageGetHTTPOK describes a response with status code 200, with default header values.

Storage

func NewStorageGetHTTPOK

func NewStorageGetHTTPOK() *StorageGetHTTPOK

NewStorageGetHTTPOK creates a StorageGetHTTPOK with default headers values

func (*StorageGetHTTPOK) Error

func (o *StorageGetHTTPOK) Error() string

func (*StorageGetHTTPOK) GetPayload

func (o *StorageGetHTTPOK) GetPayload() *models.Storage

type StorageGetHTTPParams

type StorageGetHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

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

StorageGetHTTPParams contains all the parameters to send to the API endpoint

for the storage get Http operation.

Typically these are written to a http.Request.

func NewStorageGetHTTPParams

func NewStorageGetHTTPParams() *StorageGetHTTPParams

NewStorageGetHTTPParams creates a new StorageGetHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageGetHTTPParamsWithContext

func NewStorageGetHTTPParamsWithContext(ctx context.Context) *StorageGetHTTPParams

NewStorageGetHTTPParamsWithContext creates a new StorageGetHTTPParams object with the ability to set a context for a request.

func NewStorageGetHTTPParamsWithHTTPClient

func NewStorageGetHTTPParamsWithHTTPClient(client *http.Client) *StorageGetHTTPParams

NewStorageGetHTTPParamsWithHTTPClient creates a new StorageGetHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageGetHTTPParamsWithTimeout

func NewStorageGetHTTPParamsWithTimeout(timeout time.Duration) *StorageGetHTTPParams

NewStorageGetHTTPParamsWithTimeout creates a new StorageGetHTTPParams object with the ability to set a timeout on a request.

func (*StorageGetHTTPParams) SetContext

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

SetContext adds the context to the storage get Http params

func (*StorageGetHTTPParams) SetDefaults

func (o *StorageGetHTTPParams) SetDefaults()

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

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

func (*StorageGetHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage get Http params

func (*StorageGetHTTPParams) SetID

func (o *StorageGetHTTPParams) SetID(id int64)

SetID adds the id to the storage get Http params

func (*StorageGetHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage get Http params

func (*StorageGetHTTPParams) WithContext

WithContext adds the context to the storage get Http params

func (*StorageGetHTTPParams) WithDefaults

func (o *StorageGetHTTPParams) WithDefaults() *StorageGetHTTPParams

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

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

func (*StorageGetHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the storage get Http params

func (*StorageGetHTTPParams) WithID

WithID adds the id to the storage get Http params

func (*StorageGetHTTPParams) WithTimeout

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

WithTimeout adds the timeout to the storage get Http params

func (*StorageGetHTTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StorageGetHTTPReader

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

StorageGetHTTPReader is a Reader for the StorageGetHTTP structure.

func (*StorageGetHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageListBucketsHTTPBadRequest

type StorageListBucketsHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageListBucketsHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageListBucketsHTTPBadRequest

func NewStorageListBucketsHTTPBadRequest() *StorageListBucketsHTTPBadRequest

NewStorageListBucketsHTTPBadRequest creates a StorageListBucketsHTTPBadRequest with default headers values

func (*StorageListBucketsHTTPBadRequest) Error

func (*StorageListBucketsHTTPBadRequest) GetPayload

type StorageListBucketsHTTPOK

type StorageListBucketsHTTPOK struct {
	Payload *models.StorageListBucketsEndpointRes
}
StorageListBucketsHTTPOK describes a response with status code 200, with default header values.

StorageListBucketsEndpointRes

func NewStorageListBucketsHTTPOK

func NewStorageListBucketsHTTPOK() *StorageListBucketsHTTPOK

NewStorageListBucketsHTTPOK creates a StorageListBucketsHTTPOK with default headers values

func (*StorageListBucketsHTTPOK) Error

func (o *StorageListBucketsHTTPOK) Error() string

func (*StorageListBucketsHTTPOK) GetPayload

type StorageListBucketsHTTPParams

type StorageListBucketsHTTPParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	/* Limit.

	   Max number of records in response

	   Format: uint64
	*/
	Limit *uint64

	/* Offset.

	   Amount of records to skip before beginning to write in response.

	   Format: uint64
	*/
	Offset *uint64

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

StorageListBucketsHTTPParams contains all the parameters to send to the API endpoint

for the storage list buckets Http operation.

Typically these are written to a http.Request.

func NewStorageListBucketsHTTPParams

func NewStorageListBucketsHTTPParams() *StorageListBucketsHTTPParams

NewStorageListBucketsHTTPParams creates a new StorageListBucketsHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageListBucketsHTTPParamsWithContext

func NewStorageListBucketsHTTPParamsWithContext(ctx context.Context) *StorageListBucketsHTTPParams

NewStorageListBucketsHTTPParamsWithContext creates a new StorageListBucketsHTTPParams object with the ability to set a context for a request.

func NewStorageListBucketsHTTPParamsWithHTTPClient

func NewStorageListBucketsHTTPParamsWithHTTPClient(client *http.Client) *StorageListBucketsHTTPParams

NewStorageListBucketsHTTPParamsWithHTTPClient creates a new StorageListBucketsHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageListBucketsHTTPParamsWithTimeout

func NewStorageListBucketsHTTPParamsWithTimeout(timeout time.Duration) *StorageListBucketsHTTPParams

NewStorageListBucketsHTTPParamsWithTimeout creates a new StorageListBucketsHTTPParams object with the ability to set a timeout on a request.

func (*StorageListBucketsHTTPParams) SetContext

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

SetContext adds the context to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) SetDefaults

func (o *StorageListBucketsHTTPParams) SetDefaults()

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

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

func (*StorageListBucketsHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) SetID

func (o *StorageListBucketsHTTPParams) SetID(id int64)

SetID adds the id to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) SetLimit

func (o *StorageListBucketsHTTPParams) SetLimit(limit *uint64)

SetLimit adds the limit to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) SetOffset

func (o *StorageListBucketsHTTPParams) SetOffset(offset *uint64)

SetOffset adds the offset to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WithContext

WithContext adds the context to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WithID

WithID adds the id to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WithLimit

WithLimit adds the limit to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WithOffset

WithOffset adds the offset to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage list buckets Http params

func (*StorageListBucketsHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageListBucketsHTTPReader

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

StorageListBucketsHTTPReader is a Reader for the StorageListBucketsHTTP structure.

func (*StorageListBucketsHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageListHTTPV1BadRequest

type StorageListHTTPV1BadRequest struct {
	Payload *models.ErrResponse
}
StorageListHTTPV1BadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageListHTTPV1BadRequest

func NewStorageListHTTPV1BadRequest() *StorageListHTTPV1BadRequest

NewStorageListHTTPV1BadRequest creates a StorageListHTTPV1BadRequest with default headers values

func (*StorageListHTTPV1BadRequest) Error

func (*StorageListHTTPV1BadRequest) GetPayload

type StorageListHTTPV1OK

type StorageListHTTPV1OK struct {
	Payload *models.StorageListEndpointRes
}
StorageListHTTPV1OK describes a response with status code 200, with default header values.

StorageListEndpointRes

func NewStorageListHTTPV1OK

func NewStorageListHTTPV1OK() *StorageListHTTPV1OK

NewStorageListHTTPV1OK creates a StorageListHTTPV1OK with default headers values

func (*StorageListHTTPV1OK) Error

func (o *StorageListHTTPV1OK) Error() string

func (*StorageListHTTPV1OK) GetPayload

type StorageListHTTPV1Params

type StorageListHTTPV1Params struct {

	// ID.
	ID *string

	/* Limit.

	   Max number of records in response

	   Format: uint64
	*/
	Limit *uint64

	// Location.
	Location *string

	// Name.
	Name *string

	/* Offset.

	   Amount of records to skip before beginning to write in response.

	   Format: uint64
	*/
	Offset *uint64

	/* OrderBy.

	   Field name to sort by
	*/
	By *string

	/* OrderDirection.

	   Ascending or descending order
	*/
	Direction *string

	// ShowDeleted.
	ShowDeleted *bool

	// Status.
	Status *string

	// Type.
	Type *string

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

StorageListHTTPV1Params contains all the parameters to send to the API endpoint

for the storage list Http v1 operation.

Typically these are written to a http.Request.

func NewStorageListHTTPV1Params

func NewStorageListHTTPV1Params() *StorageListHTTPV1Params

NewStorageListHTTPV1Params creates a new StorageListHTTPV1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageListHTTPV1ParamsWithContext

func NewStorageListHTTPV1ParamsWithContext(ctx context.Context) *StorageListHTTPV1Params

NewStorageListHTTPV1ParamsWithContext creates a new StorageListHTTPV1Params object with the ability to set a context for a request.

func NewStorageListHTTPV1ParamsWithHTTPClient

func NewStorageListHTTPV1ParamsWithHTTPClient(client *http.Client) *StorageListHTTPV1Params

NewStorageListHTTPV1ParamsWithHTTPClient creates a new StorageListHTTPV1Params object with the ability to set a custom HTTPClient for a request.

func NewStorageListHTTPV1ParamsWithTimeout

func NewStorageListHTTPV1ParamsWithTimeout(timeout time.Duration) *StorageListHTTPV1Params

NewStorageListHTTPV1ParamsWithTimeout creates a new StorageListHTTPV1Params object with the ability to set a timeout on a request.

func (*StorageListHTTPV1Params) SetBy

func (o *StorageListHTTPV1Params) SetBy(orderBy *string)

SetBy adds the orderBy to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetContext

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

SetContext adds the context to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetDefaults

func (o *StorageListHTTPV1Params) SetDefaults()

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

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

func (*StorageListHTTPV1Params) SetDirection

func (o *StorageListHTTPV1Params) SetDirection(orderDirection *string)

SetDirection adds the orderDirection to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetID

func (o *StorageListHTTPV1Params) SetID(id *string)

SetID adds the id to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetLimit

func (o *StorageListHTTPV1Params) SetLimit(limit *uint64)

SetLimit adds the limit to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetLocation

func (o *StorageListHTTPV1Params) SetLocation(location *string)

SetLocation adds the location to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetName

func (o *StorageListHTTPV1Params) SetName(name *string)

SetName adds the name to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetOffset

func (o *StorageListHTTPV1Params) SetOffset(offset *uint64)

SetOffset adds the offset to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetShowDeleted

func (o *StorageListHTTPV1Params) SetShowDeleted(showDeleted *bool)

SetShowDeleted adds the showDeleted to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetStatus

func (o *StorageListHTTPV1Params) SetStatus(status *string)

SetStatus adds the status to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetTimeout

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

SetTimeout adds the timeout to the storage list Http v1 params

func (*StorageListHTTPV1Params) SetType

func (o *StorageListHTTPV1Params) SetType(typeVar *string)

SetType adds the type to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithBy

WithBy adds the orderBy to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithContext

WithContext adds the context to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithDefaults

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

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

func (*StorageListHTTPV1Params) WithDirection

func (o *StorageListHTTPV1Params) WithDirection(orderDirection *string) *StorageListHTTPV1Params

WithDirection adds the orderDirection to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithID

WithID adds the id to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithLimit

WithLimit adds the limit to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithLocation

func (o *StorageListHTTPV1Params) WithLocation(location *string) *StorageListHTTPV1Params

WithLocation adds the location to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithName

WithName adds the name to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithOffset

func (o *StorageListHTTPV1Params) WithOffset(offset *uint64) *StorageListHTTPV1Params

WithOffset adds the offset to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithShowDeleted

func (o *StorageListHTTPV1Params) WithShowDeleted(showDeleted *bool) *StorageListHTTPV1Params

WithShowDeleted adds the showDeleted to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithStatus

func (o *StorageListHTTPV1Params) WithStatus(status *string) *StorageListHTTPV1Params

WithStatus adds the status to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithTimeout

WithTimeout adds the timeout to the storage list Http v1 params

func (*StorageListHTTPV1Params) WithType

WithType adds the typeVar to the storage list Http v1 params

func (*StorageListHTTPV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageListHTTPV1Reader

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

StorageListHTTPV1Reader is a Reader for the StorageListHTTPV1 structure.

func (*StorageListHTTPV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageListHTTPV2BadRequest

type StorageListHTTPV2BadRequest struct {
	Payload *models.ErrResponse
}
StorageListHTTPV2BadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageListHTTPV2BadRequest

func NewStorageListHTTPV2BadRequest() *StorageListHTTPV2BadRequest

NewStorageListHTTPV2BadRequest creates a StorageListHTTPV2BadRequest with default headers values

func (*StorageListHTTPV2BadRequest) Error

func (*StorageListHTTPV2BadRequest) GetPayload

type StorageListHTTPV2OK

type StorageListHTTPV2OK struct {
	Payload *models.StorageListEndpointRes
}
StorageListHTTPV2OK describes a response with status code 200, with default header values.

StorageListEndpointRes

func NewStorageListHTTPV2OK

func NewStorageListHTTPV2OK() *StorageListHTTPV2OK

NewStorageListHTTPV2OK creates a StorageListHTTPV2OK with default headers values

func (*StorageListHTTPV2OK) Error

func (o *StorageListHTTPV2OK) Error() string

func (*StorageListHTTPV2OK) GetPayload

type StorageListHTTPV2Params

type StorageListHTTPV2Params struct {

	// ID.
	ID *string

	/* Limit.

	   Max number of records in response

	   Format: uint64
	*/
	Limit *uint64

	// Location.
	Location *string

	// Name.
	Name *string

	/* Offset.

	   Amount of records to skip before beginning to write in response.

	   Format: uint64
	*/
	Offset *uint64

	/* OrderBy.

	   Field name to sort by
	*/
	By *string

	/* OrderDirection.

	   Ascending or descending order
	*/
	Direction *string

	// ShowDeleted.
	ShowDeleted *bool

	// Status.
	Status *string

	// Type.
	Type *string

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

StorageListHTTPV2Params contains all the parameters to send to the API endpoint

for the storage list Http v2 operation.

Typically these are written to a http.Request.

func NewStorageListHTTPV2Params

func NewStorageListHTTPV2Params() *StorageListHTTPV2Params

NewStorageListHTTPV2Params creates a new StorageListHTTPV2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageListHTTPV2ParamsWithContext

func NewStorageListHTTPV2ParamsWithContext(ctx context.Context) *StorageListHTTPV2Params

NewStorageListHTTPV2ParamsWithContext creates a new StorageListHTTPV2Params object with the ability to set a context for a request.

func NewStorageListHTTPV2ParamsWithHTTPClient

func NewStorageListHTTPV2ParamsWithHTTPClient(client *http.Client) *StorageListHTTPV2Params

NewStorageListHTTPV2ParamsWithHTTPClient creates a new StorageListHTTPV2Params object with the ability to set a custom HTTPClient for a request.

func NewStorageListHTTPV2ParamsWithTimeout

func NewStorageListHTTPV2ParamsWithTimeout(timeout time.Duration) *StorageListHTTPV2Params

NewStorageListHTTPV2ParamsWithTimeout creates a new StorageListHTTPV2Params object with the ability to set a timeout on a request.

func (*StorageListHTTPV2Params) SetBy

func (o *StorageListHTTPV2Params) SetBy(orderBy *string)

SetBy adds the orderBy to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetContext

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

SetContext adds the context to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetDefaults

func (o *StorageListHTTPV2Params) SetDefaults()

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

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

func (*StorageListHTTPV2Params) SetDirection

func (o *StorageListHTTPV2Params) SetDirection(orderDirection *string)

SetDirection adds the orderDirection to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetID

func (o *StorageListHTTPV2Params) SetID(id *string)

SetID adds the id to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetLimit

func (o *StorageListHTTPV2Params) SetLimit(limit *uint64)

SetLimit adds the limit to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetLocation

func (o *StorageListHTTPV2Params) SetLocation(location *string)

SetLocation adds the location to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetName

func (o *StorageListHTTPV2Params) SetName(name *string)

SetName adds the name to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetOffset

func (o *StorageListHTTPV2Params) SetOffset(offset *uint64)

SetOffset adds the offset to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetShowDeleted

func (o *StorageListHTTPV2Params) SetShowDeleted(showDeleted *bool)

SetShowDeleted adds the showDeleted to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetStatus

func (o *StorageListHTTPV2Params) SetStatus(status *string)

SetStatus adds the status to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetTimeout

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

SetTimeout adds the timeout to the storage list Http v2 params

func (*StorageListHTTPV2Params) SetType

func (o *StorageListHTTPV2Params) SetType(typeVar *string)

SetType adds the type to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithBy

WithBy adds the orderBy to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithContext

WithContext adds the context to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithDefaults

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

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

func (*StorageListHTTPV2Params) WithDirection

func (o *StorageListHTTPV2Params) WithDirection(orderDirection *string) *StorageListHTTPV2Params

WithDirection adds the orderDirection to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithID

WithID adds the id to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithLimit

WithLimit adds the limit to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithLocation

func (o *StorageListHTTPV2Params) WithLocation(location *string) *StorageListHTTPV2Params

WithLocation adds the location to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithName

WithName adds the name to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithOffset

func (o *StorageListHTTPV2Params) WithOffset(offset *uint64) *StorageListHTTPV2Params

WithOffset adds the offset to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithShowDeleted

func (o *StorageListHTTPV2Params) WithShowDeleted(showDeleted *bool) *StorageListHTTPV2Params

WithShowDeleted adds the showDeleted to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithStatus

func (o *StorageListHTTPV2Params) WithStatus(status *string) *StorageListHTTPV2Params

WithStatus adds the status to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithTimeout

WithTimeout adds the timeout to the storage list Http v2 params

func (*StorageListHTTPV2Params) WithType

WithType adds the typeVar to the storage list Http v2 params

func (*StorageListHTTPV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageListHTTPV2Reader

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

StorageListHTTPV2Reader is a Reader for the StorageListHTTPV2 structure.

func (*StorageListHTTPV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageUpdateCredentialsHTTPBadRequest

type StorageUpdateCredentialsHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageUpdateCredentialsHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageUpdateCredentialsHTTPBadRequest

func NewStorageUpdateCredentialsHTTPBadRequest() *StorageUpdateCredentialsHTTPBadRequest

NewStorageUpdateCredentialsHTTPBadRequest creates a StorageUpdateCredentialsHTTPBadRequest with default headers values

func (*StorageUpdateCredentialsHTTPBadRequest) Error

func (*StorageUpdateCredentialsHTTPBadRequest) GetPayload

type StorageUpdateCredentialsHTTPBody

type StorageUpdateCredentialsHTTPBody struct {

	// delete sftp password
	DeleteSftpPassword bool `json:"delete_sftp_password,omitempty"`

	// generate s3 keys
	GenerateS3Keys bool `json:"generate_s3_keys,omitempty"`

	// generate sftp password
	GenerateSftpPassword bool `json:"generate_sftp_password,omitempty"`

	// reset sftp keys
	ResetSftpKeys bool `json:"reset_sftp_keys,omitempty"`

	// sftp password
	SftpPassword string `json:"sftp_password,omitempty"`
}

StorageUpdateCredentialsHTTPBody storage update credentials HTTP body swagger:model StorageUpdateCredentialsHTTPBody

func (*StorageUpdateCredentialsHTTPBody) ContextValidate

func (o *StorageUpdateCredentialsHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage update credentials HTTP body based on context it is used

func (*StorageUpdateCredentialsHTTPBody) MarshalBinary

func (o *StorageUpdateCredentialsHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageUpdateCredentialsHTTPBody) UnmarshalBinary

func (o *StorageUpdateCredentialsHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageUpdateCredentialsHTTPBody) Validate

Validate validates this storage update credentials HTTP body

type StorageUpdateCredentialsHTTPOK

type StorageUpdateCredentialsHTTPOK struct {
	Payload *models.Storage
}
StorageUpdateCredentialsHTTPOK describes a response with status code 200, with default header values.

Storage

func NewStorageUpdateCredentialsHTTPOK

func NewStorageUpdateCredentialsHTTPOK() *StorageUpdateCredentialsHTTPOK

NewStorageUpdateCredentialsHTTPOK creates a StorageUpdateCredentialsHTTPOK with default headers values

func (*StorageUpdateCredentialsHTTPOK) Error

func (*StorageUpdateCredentialsHTTPOK) GetPayload

type StorageUpdateCredentialsHTTPParams

type StorageUpdateCredentialsHTTPParams struct {

	// Body.
	Body StorageUpdateCredentialsHTTPBody

	// ID.
	//
	// Format: int64
	ID int64

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

StorageUpdateCredentialsHTTPParams contains all the parameters to send to the API endpoint

for the storage update credentials Http operation.

Typically these are written to a http.Request.

func NewStorageUpdateCredentialsHTTPParams

func NewStorageUpdateCredentialsHTTPParams() *StorageUpdateCredentialsHTTPParams

NewStorageUpdateCredentialsHTTPParams creates a new StorageUpdateCredentialsHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageUpdateCredentialsHTTPParamsWithContext

func NewStorageUpdateCredentialsHTTPParamsWithContext(ctx context.Context) *StorageUpdateCredentialsHTTPParams

NewStorageUpdateCredentialsHTTPParamsWithContext creates a new StorageUpdateCredentialsHTTPParams object with the ability to set a context for a request.

func NewStorageUpdateCredentialsHTTPParamsWithHTTPClient

func NewStorageUpdateCredentialsHTTPParamsWithHTTPClient(client *http.Client) *StorageUpdateCredentialsHTTPParams

NewStorageUpdateCredentialsHTTPParamsWithHTTPClient creates a new StorageUpdateCredentialsHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageUpdateCredentialsHTTPParamsWithTimeout

func NewStorageUpdateCredentialsHTTPParamsWithTimeout(timeout time.Duration) *StorageUpdateCredentialsHTTPParams

NewStorageUpdateCredentialsHTTPParamsWithTimeout creates a new StorageUpdateCredentialsHTTPParams object with the ability to set a timeout on a request.

func (*StorageUpdateCredentialsHTTPParams) SetBody

SetBody adds the body to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) SetContext

SetContext adds the context to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) SetDefaults

func (o *StorageUpdateCredentialsHTTPParams) SetDefaults()

SetDefaults hydrates default values in the storage update credentials Http params (not the query body).

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

func (*StorageUpdateCredentialsHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) SetID

SetID adds the id to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) WithBody

WithBody adds the body to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) WithContext

WithContext adds the context to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) WithDefaults

WithDefaults hydrates default values in the storage update credentials Http params (not the query body).

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

func (*StorageUpdateCredentialsHTTPParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) WithID

WithID adds the id to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage update credentials Http params

func (*StorageUpdateCredentialsHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageUpdateCredentialsHTTPReader

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

StorageUpdateCredentialsHTTPReader is a Reader for the StorageUpdateCredentialsHTTP structure.

func (*StorageUpdateCredentialsHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StorageUpdateHTTPBadRequest

type StorageUpdateHTTPBadRequest struct {
	Payload *models.ErrResponse
}
StorageUpdateHTTPBadRequest describes a response with status code 400, with default header values.

ErrResponse

func NewStorageUpdateHTTPBadRequest

func NewStorageUpdateHTTPBadRequest() *StorageUpdateHTTPBadRequest

NewStorageUpdateHTTPBadRequest creates a StorageUpdateHTTPBadRequest with default headers values

func (*StorageUpdateHTTPBadRequest) Error

func (*StorageUpdateHTTPBadRequest) GetPayload

type StorageUpdateHTTPBody

type StorageUpdateHTTPBody struct {

	// expires
	Expires string `json:"expires,omitempty"`

	// server alias
	ServerAlias string `json:"server_alias,omitempty"`
}

StorageUpdateHTTPBody storage update HTTP body swagger:model StorageUpdateHTTPBody

func (*StorageUpdateHTTPBody) ContextValidate

func (o *StorageUpdateHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage update HTTP body based on context it is used

func (*StorageUpdateHTTPBody) MarshalBinary

func (o *StorageUpdateHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageUpdateHTTPBody) UnmarshalBinary

func (o *StorageUpdateHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageUpdateHTTPBody) Validate

func (o *StorageUpdateHTTPBody) Validate(formats strfmt.Registry) error

Validate validates this storage update HTTP body

type StorageUpdateHTTPOK

type StorageUpdateHTTPOK struct {
	Payload *models.Storage
}
StorageUpdateHTTPOK describes a response with status code 200, with default header values.

Storage

func NewStorageUpdateHTTPOK

func NewStorageUpdateHTTPOK() *StorageUpdateHTTPOK

NewStorageUpdateHTTPOK creates a StorageUpdateHTTPOK with default headers values

func (*StorageUpdateHTTPOK) Error

func (o *StorageUpdateHTTPOK) Error() string

func (*StorageUpdateHTTPOK) GetPayload

func (o *StorageUpdateHTTPOK) GetPayload() *models.Storage

type StorageUpdateHTTPParams

type StorageUpdateHTTPParams struct {

	// Body.
	Body StorageUpdateHTTPBody

	// ID.
	//
	// Format: int64
	ID int64

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

StorageUpdateHTTPParams contains all the parameters to send to the API endpoint

for the storage update Http operation.

Typically these are written to a http.Request.

func NewStorageUpdateHTTPParams

func NewStorageUpdateHTTPParams() *StorageUpdateHTTPParams

NewStorageUpdateHTTPParams creates a new StorageUpdateHTTPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStorageUpdateHTTPParamsWithContext

func NewStorageUpdateHTTPParamsWithContext(ctx context.Context) *StorageUpdateHTTPParams

NewStorageUpdateHTTPParamsWithContext creates a new StorageUpdateHTTPParams object with the ability to set a context for a request.

func NewStorageUpdateHTTPParamsWithHTTPClient

func NewStorageUpdateHTTPParamsWithHTTPClient(client *http.Client) *StorageUpdateHTTPParams

NewStorageUpdateHTTPParamsWithHTTPClient creates a new StorageUpdateHTTPParams object with the ability to set a custom HTTPClient for a request.

func NewStorageUpdateHTTPParamsWithTimeout

func NewStorageUpdateHTTPParamsWithTimeout(timeout time.Duration) *StorageUpdateHTTPParams

NewStorageUpdateHTTPParamsWithTimeout creates a new StorageUpdateHTTPParams object with the ability to set a timeout on a request.

func (*StorageUpdateHTTPParams) SetBody

SetBody adds the body to the storage update Http params

func (*StorageUpdateHTTPParams) SetContext

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

SetContext adds the context to the storage update Http params

func (*StorageUpdateHTTPParams) SetDefaults

func (o *StorageUpdateHTTPParams) SetDefaults()

SetDefaults hydrates default values in the storage update Http params (not the query body).

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

func (*StorageUpdateHTTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the storage update Http params

func (*StorageUpdateHTTPParams) SetID

func (o *StorageUpdateHTTPParams) SetID(id int64)

SetID adds the id to the storage update Http params

func (*StorageUpdateHTTPParams) SetTimeout

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

SetTimeout adds the timeout to the storage update Http params

func (*StorageUpdateHTTPParams) WithBody

WithBody adds the body to the storage update Http params

func (*StorageUpdateHTTPParams) WithContext

WithContext adds the context to the storage update Http params

func (*StorageUpdateHTTPParams) WithDefaults

WithDefaults hydrates default values in the storage update Http params (not the query body).

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

func (*StorageUpdateHTTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the storage update Http params

func (*StorageUpdateHTTPParams) WithID

WithID adds the id to the storage update Http params

func (*StorageUpdateHTTPParams) WithTimeout

WithTimeout adds the timeout to the storage update Http params

func (*StorageUpdateHTTPParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StorageUpdateHTTPReader

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

StorageUpdateHTTPReader is a Reader for the StorageUpdateHTTP structure.

func (*StorageUpdateHTTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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