api_key_storage

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for api key storage API

func (*Client) DeleteAPIKeyStorageW3sURL

func (a *Client) DeleteAPIKeyStorageW3sURL(params *DeleteAPIKeyStorageW3sURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyStorageW3sURLOK, error)

DeleteAPIKeyStorageW3sURL deletes Url by Api key

func (*Client) GetAPIKeyStorageUploadFolder

func (a *Client) GetAPIKeyStorageUploadFolder(params *GetAPIKeyStorageUploadFolderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyStorageUploadFolderOK, error)

GetAPIKeyStorageUploadFolder gets user uploads by folder by api key

func (*Client) GetAPIKeyStorageUploadStatistics

func (a *Client) GetAPIKeyStorageUploadStatistics(params *GetAPIKeyStorageUploadStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyStorageUploadStatisticsOK, error)

GetAPIKeyStorageUploadStatistics gets user upload statistics by api key

func (*Client) PostAPIKeyStorageUploadCreatePresignedURL

PostAPIKeyStorageUploadCreatePresignedURL creates presigned Url by Api key

folder is one of avatars, thumbnails, covers, samples, documents

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	DeleteAPIKeyStorageW3sURL(params *DeleteAPIKeyStorageW3sURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyStorageW3sURLOK, error)

	GetAPIKeyStorageUploadFolder(params *GetAPIKeyStorageUploadFolderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyStorageUploadFolderOK, error)

	GetAPIKeyStorageUploadStatistics(params *GetAPIKeyStorageUploadStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyStorageUploadStatisticsOK, error)

	PostAPIKeyStorageUploadCreatePresignedURL(params *PostAPIKeyStorageUploadCreatePresignedURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyStorageUploadCreatePresignedURLOK, 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 api key storage API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new api key storage API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new api key storage API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteAPIKeyStorageW3sURLBadRequest

type DeleteAPIKeyStorageW3sURLBadRequest struct {
	Payload *models.ResponseErrorResponse
}

DeleteAPIKeyStorageW3sURLBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteAPIKeyStorageW3sURLBadRequest

func NewDeleteAPIKeyStorageW3sURLBadRequest() *DeleteAPIKeyStorageW3sURLBadRequest

NewDeleteAPIKeyStorageW3sURLBadRequest creates a DeleteAPIKeyStorageW3sURLBadRequest with default headers values

func (*DeleteAPIKeyStorageW3sURLBadRequest) Code

Code gets the status code for the delete Api key storage w3s Url bad request response

func (*DeleteAPIKeyStorageW3sURLBadRequest) Error

func (*DeleteAPIKeyStorageW3sURLBadRequest) GetPayload

func (*DeleteAPIKeyStorageW3sURLBadRequest) IsClientError

func (o *DeleteAPIKeyStorageW3sURLBadRequest) IsClientError() bool

IsClientError returns true when this delete Api key storage w3s Url bad request response has a 4xx status code

func (*DeleteAPIKeyStorageW3sURLBadRequest) IsCode

IsCode returns true when this delete Api key storage w3s Url bad request response a status code equal to that given

func (*DeleteAPIKeyStorageW3sURLBadRequest) IsRedirect

func (o *DeleteAPIKeyStorageW3sURLBadRequest) IsRedirect() bool

IsRedirect returns true when this delete Api key storage w3s Url bad request response has a 3xx status code

func (*DeleteAPIKeyStorageW3sURLBadRequest) IsServerError

func (o *DeleteAPIKeyStorageW3sURLBadRequest) IsServerError() bool

IsServerError returns true when this delete Api key storage w3s Url bad request response has a 5xx status code

func (*DeleteAPIKeyStorageW3sURLBadRequest) IsSuccess

IsSuccess returns true when this delete Api key storage w3s Url bad request response has a 2xx status code

func (*DeleteAPIKeyStorageW3sURLBadRequest) String

type DeleteAPIKeyStorageW3sURLOK

type DeleteAPIKeyStorageW3sURLOK struct {
	Payload string
}

DeleteAPIKeyStorageW3sURLOK describes a response with status code 200, with default header values.

OK

func NewDeleteAPIKeyStorageW3sURLOK

func NewDeleteAPIKeyStorageW3sURLOK() *DeleteAPIKeyStorageW3sURLOK

NewDeleteAPIKeyStorageW3sURLOK creates a DeleteAPIKeyStorageW3sURLOK with default headers values

func (*DeleteAPIKeyStorageW3sURLOK) Code

func (o *DeleteAPIKeyStorageW3sURLOK) Code() int

Code gets the status code for the delete Api key storage w3s Url o k response

func (*DeleteAPIKeyStorageW3sURLOK) Error

func (*DeleteAPIKeyStorageW3sURLOK) GetPayload

func (o *DeleteAPIKeyStorageW3sURLOK) GetPayload() string

func (*DeleteAPIKeyStorageW3sURLOK) IsClientError

func (o *DeleteAPIKeyStorageW3sURLOK) IsClientError() bool

IsClientError returns true when this delete Api key storage w3s Url o k response has a 4xx status code

func (*DeleteAPIKeyStorageW3sURLOK) IsCode

func (o *DeleteAPIKeyStorageW3sURLOK) IsCode(code int) bool

IsCode returns true when this delete Api key storage w3s Url o k response a status code equal to that given

func (*DeleteAPIKeyStorageW3sURLOK) IsRedirect

func (o *DeleteAPIKeyStorageW3sURLOK) IsRedirect() bool

IsRedirect returns true when this delete Api key storage w3s Url o k response has a 3xx status code

func (*DeleteAPIKeyStorageW3sURLOK) IsServerError

func (o *DeleteAPIKeyStorageW3sURLOK) IsServerError() bool

IsServerError returns true when this delete Api key storage w3s Url o k response has a 5xx status code

func (*DeleteAPIKeyStorageW3sURLOK) IsSuccess

func (o *DeleteAPIKeyStorageW3sURLOK) IsSuccess() bool

IsSuccess returns true when this delete Api key storage w3s Url o k response has a 2xx status code

func (*DeleteAPIKeyStorageW3sURLOK) String

func (o *DeleteAPIKeyStorageW3sURLOK) String() string

type DeleteAPIKeyStorageW3sURLParams

type DeleteAPIKeyStorageW3sURLParams struct {

	/* Input.

	   file url or file key
	*/
	Input *models.RequestDeleteURLRequest

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

DeleteAPIKeyStorageW3sURLParams contains all the parameters to send to the API endpoint

for the delete API key storage w3s URL operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyStorageW3sURLParams

func NewDeleteAPIKeyStorageW3sURLParams() *DeleteAPIKeyStorageW3sURLParams

NewDeleteAPIKeyStorageW3sURLParams creates a new DeleteAPIKeyStorageW3sURLParams 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 NewDeleteAPIKeyStorageW3sURLParamsWithContext

func NewDeleteAPIKeyStorageW3sURLParamsWithContext(ctx context.Context) *DeleteAPIKeyStorageW3sURLParams

NewDeleteAPIKeyStorageW3sURLParamsWithContext creates a new DeleteAPIKeyStorageW3sURLParams object with the ability to set a context for a request.

func NewDeleteAPIKeyStorageW3sURLParamsWithHTTPClient

func NewDeleteAPIKeyStorageW3sURLParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyStorageW3sURLParams

NewDeleteAPIKeyStorageW3sURLParamsWithHTTPClient creates a new DeleteAPIKeyStorageW3sURLParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyStorageW3sURLParamsWithTimeout

func NewDeleteAPIKeyStorageW3sURLParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyStorageW3sURLParams

NewDeleteAPIKeyStorageW3sURLParamsWithTimeout creates a new DeleteAPIKeyStorageW3sURLParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyStorageW3sURLParams) SetContext

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

SetContext adds the context to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) SetDefaults

func (o *DeleteAPIKeyStorageW3sURLParams) SetDefaults()

SetDefaults hydrates default values in the delete API key storage w3s URL params (not the query body).

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

func (*DeleteAPIKeyStorageW3sURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) SetInput

SetInput adds the input to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) SetTimeout

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

SetTimeout adds the timeout to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) WithContext

WithContext adds the context to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) WithDefaults

WithDefaults hydrates default values in the delete API key storage w3s URL params (not the query body).

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

func (*DeleteAPIKeyStorageW3sURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) WithInput

WithInput adds the input to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) WithTimeout

WithTimeout adds the timeout to the delete API key storage w3s URL params

func (*DeleteAPIKeyStorageW3sURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyStorageW3sURLReader

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

DeleteAPIKeyStorageW3sURLReader is a Reader for the DeleteAPIKeyStorageW3sURL structure.

func (*DeleteAPIKeyStorageW3sURLReader) ReadResponse

func (o *DeleteAPIKeyStorageW3sURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAPIKeyStorageUploadFolderBadRequest

type GetAPIKeyStorageUploadFolderBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyStorageUploadFolderBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyStorageUploadFolderBadRequest

func NewGetAPIKeyStorageUploadFolderBadRequest() *GetAPIKeyStorageUploadFolderBadRequest

NewGetAPIKeyStorageUploadFolderBadRequest creates a GetAPIKeyStorageUploadFolderBadRequest with default headers values

func (*GetAPIKeyStorageUploadFolderBadRequest) Code

Code gets the status code for the get Api key storage upload folder bad request response

func (*GetAPIKeyStorageUploadFolderBadRequest) Error

func (*GetAPIKeyStorageUploadFolderBadRequest) GetPayload

func (*GetAPIKeyStorageUploadFolderBadRequest) IsClientError

func (o *GetAPIKeyStorageUploadFolderBadRequest) IsClientError() bool

IsClientError returns true when this get Api key storage upload folder bad request response has a 4xx status code

func (*GetAPIKeyStorageUploadFolderBadRequest) IsCode

IsCode returns true when this get Api key storage upload folder bad request response a status code equal to that given

func (*GetAPIKeyStorageUploadFolderBadRequest) IsRedirect

IsRedirect returns true when this get Api key storage upload folder bad request response has a 3xx status code

func (*GetAPIKeyStorageUploadFolderBadRequest) IsServerError

func (o *GetAPIKeyStorageUploadFolderBadRequest) IsServerError() bool

IsServerError returns true when this get Api key storage upload folder bad request response has a 5xx status code

func (*GetAPIKeyStorageUploadFolderBadRequest) IsSuccess

IsSuccess returns true when this get Api key storage upload folder bad request response has a 2xx status code

func (*GetAPIKeyStorageUploadFolderBadRequest) String

type GetAPIKeyStorageUploadFolderInternalServerError

type GetAPIKeyStorageUploadFolderInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyStorageUploadFolderInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyStorageUploadFolderInternalServerError

func NewGetAPIKeyStorageUploadFolderInternalServerError() *GetAPIKeyStorageUploadFolderInternalServerError

NewGetAPIKeyStorageUploadFolderInternalServerError creates a GetAPIKeyStorageUploadFolderInternalServerError with default headers values

func (*GetAPIKeyStorageUploadFolderInternalServerError) Code

Code gets the status code for the get Api key storage upload folder internal server error response

func (*GetAPIKeyStorageUploadFolderInternalServerError) Error

func (*GetAPIKeyStorageUploadFolderInternalServerError) GetPayload

func (*GetAPIKeyStorageUploadFolderInternalServerError) IsClientError

IsClientError returns true when this get Api key storage upload folder internal server error response has a 4xx status code

func (*GetAPIKeyStorageUploadFolderInternalServerError) IsCode

IsCode returns true when this get Api key storage upload folder internal server error response a status code equal to that given

func (*GetAPIKeyStorageUploadFolderInternalServerError) IsRedirect

IsRedirect returns true when this get Api key storage upload folder internal server error response has a 3xx status code

func (*GetAPIKeyStorageUploadFolderInternalServerError) IsServerError

IsServerError returns true when this get Api key storage upload folder internal server error response has a 5xx status code

func (*GetAPIKeyStorageUploadFolderInternalServerError) IsSuccess

IsSuccess returns true when this get Api key storage upload folder internal server error response has a 2xx status code

func (*GetAPIKeyStorageUploadFolderInternalServerError) String

type GetAPIKeyStorageUploadFolderOK

type GetAPIKeyStorageUploadFolderOK struct {
	Payload *models.ResponseGetUserUploadsResponse
}

GetAPIKeyStorageUploadFolderOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyStorageUploadFolderOK

func NewGetAPIKeyStorageUploadFolderOK() *GetAPIKeyStorageUploadFolderOK

NewGetAPIKeyStorageUploadFolderOK creates a GetAPIKeyStorageUploadFolderOK with default headers values

func (*GetAPIKeyStorageUploadFolderOK) Code

Code gets the status code for the get Api key storage upload folder o k response

func (*GetAPIKeyStorageUploadFolderOK) Error

func (*GetAPIKeyStorageUploadFolderOK) GetPayload

func (*GetAPIKeyStorageUploadFolderOK) IsClientError

func (o *GetAPIKeyStorageUploadFolderOK) IsClientError() bool

IsClientError returns true when this get Api key storage upload folder o k response has a 4xx status code

func (*GetAPIKeyStorageUploadFolderOK) IsCode

func (o *GetAPIKeyStorageUploadFolderOK) IsCode(code int) bool

IsCode returns true when this get Api key storage upload folder o k response a status code equal to that given

func (*GetAPIKeyStorageUploadFolderOK) IsRedirect

func (o *GetAPIKeyStorageUploadFolderOK) IsRedirect() bool

IsRedirect returns true when this get Api key storage upload folder o k response has a 3xx status code

func (*GetAPIKeyStorageUploadFolderOK) IsServerError

func (o *GetAPIKeyStorageUploadFolderOK) IsServerError() bool

IsServerError returns true when this get Api key storage upload folder o k response has a 5xx status code

func (*GetAPIKeyStorageUploadFolderOK) IsSuccess

func (o *GetAPIKeyStorageUploadFolderOK) IsSuccess() bool

IsSuccess returns true when this get Api key storage upload folder o k response has a 2xx status code

func (*GetAPIKeyStorageUploadFolderOK) String

type GetAPIKeyStorageUploadFolderParams

type GetAPIKeyStorageUploadFolderParams struct {

	/* Page.

	   Page is the page number (default: 1) (optional)

	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   PageSize is the page size (default: 10) (optional)

	   Default: 10
	*/
	PageSize *int64

	// Search.
	Search *string

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

GetAPIKeyStorageUploadFolderParams contains all the parameters to send to the API endpoint

for the get API key storage upload folder operation.

Typically these are written to a http.Request.

func NewGetAPIKeyStorageUploadFolderParams

func NewGetAPIKeyStorageUploadFolderParams() *GetAPIKeyStorageUploadFolderParams

NewGetAPIKeyStorageUploadFolderParams creates a new GetAPIKeyStorageUploadFolderParams 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 NewGetAPIKeyStorageUploadFolderParamsWithContext

func NewGetAPIKeyStorageUploadFolderParamsWithContext(ctx context.Context) *GetAPIKeyStorageUploadFolderParams

NewGetAPIKeyStorageUploadFolderParamsWithContext creates a new GetAPIKeyStorageUploadFolderParams object with the ability to set a context for a request.

func NewGetAPIKeyStorageUploadFolderParamsWithHTTPClient

func NewGetAPIKeyStorageUploadFolderParamsWithHTTPClient(client *http.Client) *GetAPIKeyStorageUploadFolderParams

NewGetAPIKeyStorageUploadFolderParamsWithHTTPClient creates a new GetAPIKeyStorageUploadFolderParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyStorageUploadFolderParamsWithTimeout

func NewGetAPIKeyStorageUploadFolderParamsWithTimeout(timeout time.Duration) *GetAPIKeyStorageUploadFolderParams

NewGetAPIKeyStorageUploadFolderParamsWithTimeout creates a new GetAPIKeyStorageUploadFolderParams object with the ability to set a timeout on a request.

func (*GetAPIKeyStorageUploadFolderParams) SetContext

SetContext adds the context to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) SetDefaults

func (o *GetAPIKeyStorageUploadFolderParams) SetDefaults()

SetDefaults hydrates default values in the get API key storage upload folder params (not the query body).

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

func (*GetAPIKeyStorageUploadFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) SetPage

func (o *GetAPIKeyStorageUploadFolderParams) SetPage(page *int64)

SetPage adds the page to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) SetPageSize

func (o *GetAPIKeyStorageUploadFolderParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) SetSearch

func (o *GetAPIKeyStorageUploadFolderParams) SetSearch(search *string)

SetSearch adds the search to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) SetTimeout

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

SetTimeout adds the timeout to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WithContext

WithContext adds the context to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WithDefaults

WithDefaults hydrates default values in the get API key storage upload folder params (not the query body).

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

func (*GetAPIKeyStorageUploadFolderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WithPage

WithPage adds the page to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WithPageSize

WithPageSize adds the pageSize to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WithSearch

WithSearch adds the search to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WithTimeout

WithTimeout adds the timeout to the get API key storage upload folder params

func (*GetAPIKeyStorageUploadFolderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyStorageUploadFolderReader

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

GetAPIKeyStorageUploadFolderReader is a Reader for the GetAPIKeyStorageUploadFolder structure.

func (*GetAPIKeyStorageUploadFolderReader) ReadResponse

func (o *GetAPIKeyStorageUploadFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAPIKeyStorageUploadStatisticsBadRequest

type GetAPIKeyStorageUploadStatisticsBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyStorageUploadStatisticsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyStorageUploadStatisticsBadRequest

func NewGetAPIKeyStorageUploadStatisticsBadRequest() *GetAPIKeyStorageUploadStatisticsBadRequest

NewGetAPIKeyStorageUploadStatisticsBadRequest creates a GetAPIKeyStorageUploadStatisticsBadRequest with default headers values

func (*GetAPIKeyStorageUploadStatisticsBadRequest) Code

Code gets the status code for the get Api key storage upload statistics bad request response

func (*GetAPIKeyStorageUploadStatisticsBadRequest) Error

func (*GetAPIKeyStorageUploadStatisticsBadRequest) GetPayload

func (*GetAPIKeyStorageUploadStatisticsBadRequest) IsClientError

IsClientError returns true when this get Api key storage upload statistics bad request response has a 4xx status code

func (*GetAPIKeyStorageUploadStatisticsBadRequest) IsCode

IsCode returns true when this get Api key storage upload statistics bad request response a status code equal to that given

func (*GetAPIKeyStorageUploadStatisticsBadRequest) IsRedirect

IsRedirect returns true when this get Api key storage upload statistics bad request response has a 3xx status code

func (*GetAPIKeyStorageUploadStatisticsBadRequest) IsServerError

IsServerError returns true when this get Api key storage upload statistics bad request response has a 5xx status code

func (*GetAPIKeyStorageUploadStatisticsBadRequest) IsSuccess

IsSuccess returns true when this get Api key storage upload statistics bad request response has a 2xx status code

func (*GetAPIKeyStorageUploadStatisticsBadRequest) String

type GetAPIKeyStorageUploadStatisticsInternalServerError

type GetAPIKeyStorageUploadStatisticsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyStorageUploadStatisticsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyStorageUploadStatisticsInternalServerError

func NewGetAPIKeyStorageUploadStatisticsInternalServerError() *GetAPIKeyStorageUploadStatisticsInternalServerError

NewGetAPIKeyStorageUploadStatisticsInternalServerError creates a GetAPIKeyStorageUploadStatisticsInternalServerError with default headers values

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) Code

Code gets the status code for the get Api key storage upload statistics internal server error response

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) Error

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) GetPayload

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) IsClientError

IsClientError returns true when this get Api key storage upload statistics internal server error response has a 4xx status code

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) IsCode

IsCode returns true when this get Api key storage upload statistics internal server error response a status code equal to that given

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) IsRedirect

IsRedirect returns true when this get Api key storage upload statistics internal server error response has a 3xx status code

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) IsServerError

IsServerError returns true when this get Api key storage upload statistics internal server error response has a 5xx status code

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) IsSuccess

IsSuccess returns true when this get Api key storage upload statistics internal server error response has a 2xx status code

func (*GetAPIKeyStorageUploadStatisticsInternalServerError) String

type GetAPIKeyStorageUploadStatisticsOK

type GetAPIKeyStorageUploadStatisticsOK struct {
	Payload *models.ResponseGetUserUploadStatisticsResponse
}

GetAPIKeyStorageUploadStatisticsOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyStorageUploadStatisticsOK

func NewGetAPIKeyStorageUploadStatisticsOK() *GetAPIKeyStorageUploadStatisticsOK

NewGetAPIKeyStorageUploadStatisticsOK creates a GetAPIKeyStorageUploadStatisticsOK with default headers values

func (*GetAPIKeyStorageUploadStatisticsOK) Code

Code gets the status code for the get Api key storage upload statistics o k response

func (*GetAPIKeyStorageUploadStatisticsOK) Error

func (*GetAPIKeyStorageUploadStatisticsOK) GetPayload

func (*GetAPIKeyStorageUploadStatisticsOK) IsClientError

func (o *GetAPIKeyStorageUploadStatisticsOK) IsClientError() bool

IsClientError returns true when this get Api key storage upload statistics o k response has a 4xx status code

func (*GetAPIKeyStorageUploadStatisticsOK) IsCode

IsCode returns true when this get Api key storage upload statistics o k response a status code equal to that given

func (*GetAPIKeyStorageUploadStatisticsOK) IsRedirect

func (o *GetAPIKeyStorageUploadStatisticsOK) IsRedirect() bool

IsRedirect returns true when this get Api key storage upload statistics o k response has a 3xx status code

func (*GetAPIKeyStorageUploadStatisticsOK) IsServerError

func (o *GetAPIKeyStorageUploadStatisticsOK) IsServerError() bool

IsServerError returns true when this get Api key storage upload statistics o k response has a 5xx status code

func (*GetAPIKeyStorageUploadStatisticsOK) IsSuccess

IsSuccess returns true when this get Api key storage upload statistics o k response has a 2xx status code

func (*GetAPIKeyStorageUploadStatisticsOK) String

type GetAPIKeyStorageUploadStatisticsParams

type GetAPIKeyStorageUploadStatisticsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeyStorageUploadStatisticsParams contains all the parameters to send to the API endpoint

for the get API key storage upload statistics operation.

Typically these are written to a http.Request.

func NewGetAPIKeyStorageUploadStatisticsParams

func NewGetAPIKeyStorageUploadStatisticsParams() *GetAPIKeyStorageUploadStatisticsParams

NewGetAPIKeyStorageUploadStatisticsParams creates a new GetAPIKeyStorageUploadStatisticsParams 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 NewGetAPIKeyStorageUploadStatisticsParamsWithContext

func NewGetAPIKeyStorageUploadStatisticsParamsWithContext(ctx context.Context) *GetAPIKeyStorageUploadStatisticsParams

NewGetAPIKeyStorageUploadStatisticsParamsWithContext creates a new GetAPIKeyStorageUploadStatisticsParams object with the ability to set a context for a request.

func NewGetAPIKeyStorageUploadStatisticsParamsWithHTTPClient

func NewGetAPIKeyStorageUploadStatisticsParamsWithHTTPClient(client *http.Client) *GetAPIKeyStorageUploadStatisticsParams

NewGetAPIKeyStorageUploadStatisticsParamsWithHTTPClient creates a new GetAPIKeyStorageUploadStatisticsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyStorageUploadStatisticsParamsWithTimeout

func NewGetAPIKeyStorageUploadStatisticsParamsWithTimeout(timeout time.Duration) *GetAPIKeyStorageUploadStatisticsParams

NewGetAPIKeyStorageUploadStatisticsParamsWithTimeout creates a new GetAPIKeyStorageUploadStatisticsParams object with the ability to set a timeout on a request.

func (*GetAPIKeyStorageUploadStatisticsParams) SetContext

SetContext adds the context to the get API key storage upload statistics params

func (*GetAPIKeyStorageUploadStatisticsParams) SetDefaults

func (o *GetAPIKeyStorageUploadStatisticsParams) SetDefaults()

SetDefaults hydrates default values in the get API key storage upload statistics params (not the query body).

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

func (*GetAPIKeyStorageUploadStatisticsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key storage upload statistics params

func (*GetAPIKeyStorageUploadStatisticsParams) SetTimeout

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

SetTimeout adds the timeout to the get API key storage upload statistics params

func (*GetAPIKeyStorageUploadStatisticsParams) WithContext

WithContext adds the context to the get API key storage upload statistics params

func (*GetAPIKeyStorageUploadStatisticsParams) WithDefaults

WithDefaults hydrates default values in the get API key storage upload statistics params (not the query body).

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

func (*GetAPIKeyStorageUploadStatisticsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key storage upload statistics params

func (*GetAPIKeyStorageUploadStatisticsParams) WithTimeout

WithTimeout adds the timeout to the get API key storage upload statistics params

func (*GetAPIKeyStorageUploadStatisticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyStorageUploadStatisticsReader

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

GetAPIKeyStorageUploadStatisticsReader is a Reader for the GetAPIKeyStorageUploadStatistics structure.

func (*GetAPIKeyStorageUploadStatisticsReader) ReadResponse

ReadResponse reads a server response into the received o.

type PostAPIKeyStorageUploadCreatePresignedURLBadRequest

type PostAPIKeyStorageUploadCreatePresignedURLBadRequest struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyStorageUploadCreatePresignedURLBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyStorageUploadCreatePresignedURLBadRequest

func NewPostAPIKeyStorageUploadCreatePresignedURLBadRequest() *PostAPIKeyStorageUploadCreatePresignedURLBadRequest

NewPostAPIKeyStorageUploadCreatePresignedURLBadRequest creates a PostAPIKeyStorageUploadCreatePresignedURLBadRequest with default headers values

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) Code

Code gets the status code for the post Api key storage upload create presigned Url bad request response

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) Error

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) GetPayload

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) IsClientError

IsClientError returns true when this post Api key storage upload create presigned Url bad request response has a 4xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) IsCode

IsCode returns true when this post Api key storage upload create presigned Url bad request response a status code equal to that given

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) IsRedirect

IsRedirect returns true when this post Api key storage upload create presigned Url bad request response has a 3xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) IsServerError

IsServerError returns true when this post Api key storage upload create presigned Url bad request response has a 5xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) IsSuccess

IsSuccess returns true when this post Api key storage upload create presigned Url bad request response has a 2xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLBadRequest) String

type PostAPIKeyStorageUploadCreatePresignedURLOK

type PostAPIKeyStorageUploadCreatePresignedURLOK struct {
	Payload *models.ResponseCreatePresignedURLResponse
}

PostAPIKeyStorageUploadCreatePresignedURLOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyStorageUploadCreatePresignedURLOK

func NewPostAPIKeyStorageUploadCreatePresignedURLOK() *PostAPIKeyStorageUploadCreatePresignedURLOK

NewPostAPIKeyStorageUploadCreatePresignedURLOK creates a PostAPIKeyStorageUploadCreatePresignedURLOK with default headers values

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) Code

Code gets the status code for the post Api key storage upload create presigned Url o k response

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) Error

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) GetPayload

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) IsClientError

IsClientError returns true when this post Api key storage upload create presigned Url o k response has a 4xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) IsCode

IsCode returns true when this post Api key storage upload create presigned Url o k response a status code equal to that given

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) IsRedirect

IsRedirect returns true when this post Api key storage upload create presigned Url o k response has a 3xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) IsServerError

IsServerError returns true when this post Api key storage upload create presigned Url o k response has a 5xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) IsSuccess

IsSuccess returns true when this post Api key storage upload create presigned Url o k response has a 2xx status code

func (*PostAPIKeyStorageUploadCreatePresignedURLOK) String

type PostAPIKeyStorageUploadCreatePresignedURLParams

type PostAPIKeyStorageUploadCreatePresignedURLParams struct {

	/* Input.

	   Create presigned url request
	*/
	Input *models.RequestCreatePresignedURLRequest

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

PostAPIKeyStorageUploadCreatePresignedURLParams contains all the parameters to send to the API endpoint

for the post API key storage upload create presigned URL operation.

Typically these are written to a http.Request.

func NewPostAPIKeyStorageUploadCreatePresignedURLParams

func NewPostAPIKeyStorageUploadCreatePresignedURLParams() *PostAPIKeyStorageUploadCreatePresignedURLParams

NewPostAPIKeyStorageUploadCreatePresignedURLParams creates a new PostAPIKeyStorageUploadCreatePresignedURLParams 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 NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithContext

func NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithContext(ctx context.Context) *PostAPIKeyStorageUploadCreatePresignedURLParams

NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithContext creates a new PostAPIKeyStorageUploadCreatePresignedURLParams object with the ability to set a context for a request.

func NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithHTTPClient

func NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithHTTPClient(client *http.Client) *PostAPIKeyStorageUploadCreatePresignedURLParams

NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithHTTPClient creates a new PostAPIKeyStorageUploadCreatePresignedURLParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithTimeout

func NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithTimeout(timeout time.Duration) *PostAPIKeyStorageUploadCreatePresignedURLParams

NewPostAPIKeyStorageUploadCreatePresignedURLParamsWithTimeout creates a new PostAPIKeyStorageUploadCreatePresignedURLParams object with the ability to set a timeout on a request.

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) SetContext

SetContext adds the context to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) SetDefaults

SetDefaults hydrates default values in the post API key storage upload create presigned URL params (not the query body).

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

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) SetInput

SetInput adds the input to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) SetTimeout

SetTimeout adds the timeout to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) WithContext

WithContext adds the context to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) WithDefaults

WithDefaults hydrates default values in the post API key storage upload create presigned URL params (not the query body).

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

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) WithInput

WithInput adds the input to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) WithTimeout

WithTimeout adds the timeout to the post API key storage upload create presigned URL params

func (*PostAPIKeyStorageUploadCreatePresignedURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyStorageUploadCreatePresignedURLReader

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

PostAPIKeyStorageUploadCreatePresignedURLReader is a Reader for the PostAPIKeyStorageUploadCreatePresignedURL structure.

func (*PostAPIKeyStorageUploadCreatePresignedURLReader) ReadResponse

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