Documentation
¶
Index ¶
- type Client
- func (a *Client) DownloadFile(params *DownloadFileParams, opts ...ClientOption) (*DownloadFileOK, error)
- func (a *Client) EnumerateFile(params *EnumerateFileParams, opts ...ClientOption) (*EnumerateFileOK, error)
- func (a *Client) FetchFilesDownloadInfo(params *FetchFilesDownloadInfoParams, opts ...ClientOption) (*FetchFilesDownloadInfoOK, error)
- func (a *Client) FetchFilesDownloadInfoV2(params *FetchFilesDownloadInfoV2Params, opts ...ClientOption) (*FetchFilesDownloadInfoV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DownloadFileBadRequest
- func (o *DownloadFileBadRequest) Code() int
- func (o *DownloadFileBadRequest) Error() string
- func (o *DownloadFileBadRequest) GetPayload() *models.ModelsEntitiesResponse
- func (o *DownloadFileBadRequest) IsClientError() bool
- func (o *DownloadFileBadRequest) IsCode(code int) bool
- func (o *DownloadFileBadRequest) IsRedirect() bool
- func (o *DownloadFileBadRequest) IsServerError() bool
- func (o *DownloadFileBadRequest) IsSuccess() bool
- func (o *DownloadFileBadRequest) String() string
- type DownloadFileForbidden
- func (o *DownloadFileForbidden) Code() int
- func (o *DownloadFileForbidden) Error() string
- func (o *DownloadFileForbidden) GetPayload() *models.ModelsEntitiesResponse
- func (o *DownloadFileForbidden) IsClientError() bool
- func (o *DownloadFileForbidden) IsCode(code int) bool
- func (o *DownloadFileForbidden) IsRedirect() bool
- func (o *DownloadFileForbidden) IsServerError() bool
- func (o *DownloadFileForbidden) IsSuccess() bool
- func (o *DownloadFileForbidden) String() string
- type DownloadFileInternalServerError
- func (o *DownloadFileInternalServerError) Code() int
- func (o *DownloadFileInternalServerError) Error() string
- func (o *DownloadFileInternalServerError) GetPayload() *models.ModelsEntitiesResponse
- func (o *DownloadFileInternalServerError) IsClientError() bool
- func (o *DownloadFileInternalServerError) IsCode(code int) bool
- func (o *DownloadFileInternalServerError) IsRedirect() bool
- func (o *DownloadFileInternalServerError) IsServerError() bool
- func (o *DownloadFileInternalServerError) IsSuccess() bool
- func (o *DownloadFileInternalServerError) String() string
- type DownloadFileOK
- func (o *DownloadFileOK) Code() int
- func (o *DownloadFileOK) Error() string
- func (o *DownloadFileOK) GetPayload() *models.ModelsEntitiesResponse
- func (o *DownloadFileOK) IsClientError() bool
- func (o *DownloadFileOK) IsCode(code int) bool
- func (o *DownloadFileOK) IsRedirect() bool
- func (o *DownloadFileOK) IsServerError() bool
- func (o *DownloadFileOK) IsSuccess() bool
- func (o *DownloadFileOK) String() string
- type DownloadFileParams
- func (o *DownloadFileParams) SetContext(ctx context.Context)
- func (o *DownloadFileParams) SetDefaults()
- func (o *DownloadFileParams) SetFileName(fileName string)
- func (o *DownloadFileParams) SetFileVersion(fileVersion string)
- func (o *DownloadFileParams) SetHTTPClient(client *http.Client)
- func (o *DownloadFileParams) SetTimeout(timeout time.Duration)
- func (o *DownloadFileParams) WithContext(ctx context.Context) *DownloadFileParams
- func (o *DownloadFileParams) WithDefaults() *DownloadFileParams
- func (o *DownloadFileParams) WithFileName(fileName string) *DownloadFileParams
- func (o *DownloadFileParams) WithFileVersion(fileVersion string) *DownloadFileParams
- func (o *DownloadFileParams) WithHTTPClient(client *http.Client) *DownloadFileParams
- func (o *DownloadFileParams) WithTimeout(timeout time.Duration) *DownloadFileParams
- func (o *DownloadFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadFileReader
- type DownloadFileTooManyRequests
- func (o *DownloadFileTooManyRequests) Code() int
- func (o *DownloadFileTooManyRequests) Error() string
- func (o *DownloadFileTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DownloadFileTooManyRequests) IsClientError() bool
- func (o *DownloadFileTooManyRequests) IsCode(code int) bool
- func (o *DownloadFileTooManyRequests) IsRedirect() bool
- func (o *DownloadFileTooManyRequests) IsServerError() bool
- func (o *DownloadFileTooManyRequests) IsSuccess() bool
- func (o *DownloadFileTooManyRequests) String() string
- type DownloadFileUnauthorized
- func (o *DownloadFileUnauthorized) Code() int
- func (o *DownloadFileUnauthorized) Error() string
- func (o *DownloadFileUnauthorized) GetPayload() *models.ModelsEntitiesResponse
- func (o *DownloadFileUnauthorized) IsClientError() bool
- func (o *DownloadFileUnauthorized) IsCode(code int) bool
- func (o *DownloadFileUnauthorized) IsRedirect() bool
- func (o *DownloadFileUnauthorized) IsServerError() bool
- func (o *DownloadFileUnauthorized) IsSuccess() bool
- func (o *DownloadFileUnauthorized) String() string
- type EnumerateFileBadRequest
- func (o *EnumerateFileBadRequest) Code() int
- func (o *EnumerateFileBadRequest) Error() string
- func (o *EnumerateFileBadRequest) GetPayload() *models.ModelsEntitiesResponse
- func (o *EnumerateFileBadRequest) IsClientError() bool
- func (o *EnumerateFileBadRequest) IsCode(code int) bool
- func (o *EnumerateFileBadRequest) IsRedirect() bool
- func (o *EnumerateFileBadRequest) IsServerError() bool
- func (o *EnumerateFileBadRequest) IsSuccess() bool
- func (o *EnumerateFileBadRequest) String() string
- type EnumerateFileForbidden
- func (o *EnumerateFileForbidden) Code() int
- func (o *EnumerateFileForbidden) Error() string
- func (o *EnumerateFileForbidden) GetPayload() *models.ModelsEntitiesResponse
- func (o *EnumerateFileForbidden) IsClientError() bool
- func (o *EnumerateFileForbidden) IsCode(code int) bool
- func (o *EnumerateFileForbidden) IsRedirect() bool
- func (o *EnumerateFileForbidden) IsServerError() bool
- func (o *EnumerateFileForbidden) IsSuccess() bool
- func (o *EnumerateFileForbidden) String() string
- type EnumerateFileInternalServerError
- func (o *EnumerateFileInternalServerError) Code() int
- func (o *EnumerateFileInternalServerError) Error() string
- func (o *EnumerateFileInternalServerError) GetPayload() *models.ModelsEntitiesResponse
- func (o *EnumerateFileInternalServerError) IsClientError() bool
- func (o *EnumerateFileInternalServerError) IsCode(code int) bool
- func (o *EnumerateFileInternalServerError) IsRedirect() bool
- func (o *EnumerateFileInternalServerError) IsServerError() bool
- func (o *EnumerateFileInternalServerError) IsSuccess() bool
- func (o *EnumerateFileInternalServerError) String() string
- type EnumerateFileOK
- func (o *EnumerateFileOK) Code() int
- func (o *EnumerateFileOK) Error() string
- func (o *EnumerateFileOK) GetPayload() *models.ModelsEntitiesResponse
- func (o *EnumerateFileOK) IsClientError() bool
- func (o *EnumerateFileOK) IsCode(code int) bool
- func (o *EnumerateFileOK) IsRedirect() bool
- func (o *EnumerateFileOK) IsServerError() bool
- func (o *EnumerateFileOK) IsSuccess() bool
- func (o *EnumerateFileOK) String() string
- type EnumerateFileParams
- func (o *EnumerateFileParams) SetArch(arch *string)
- func (o *EnumerateFileParams) SetCategory(category *string)
- func (o *EnumerateFileParams) SetContext(ctx context.Context)
- func (o *EnumerateFileParams) SetDefaults()
- func (o *EnumerateFileParams) SetFileName(fileName *string)
- func (o *EnumerateFileParams) SetFileVersion(fileVersion *string)
- func (o *EnumerateFileParams) SetHTTPClient(client *http.Client)
- func (o *EnumerateFileParams) SetOs(os *string)
- func (o *EnumerateFileParams) SetPlatform(platform *string)
- func (o *EnumerateFileParams) SetTimeout(timeout time.Duration)
- func (o *EnumerateFileParams) WithArch(arch *string) *EnumerateFileParams
- func (o *EnumerateFileParams) WithCategory(category *string) *EnumerateFileParams
- func (o *EnumerateFileParams) WithContext(ctx context.Context) *EnumerateFileParams
- func (o *EnumerateFileParams) WithDefaults() *EnumerateFileParams
- func (o *EnumerateFileParams) WithFileName(fileName *string) *EnumerateFileParams
- func (o *EnumerateFileParams) WithFileVersion(fileVersion *string) *EnumerateFileParams
- func (o *EnumerateFileParams) WithHTTPClient(client *http.Client) *EnumerateFileParams
- func (o *EnumerateFileParams) WithOs(os *string) *EnumerateFileParams
- func (o *EnumerateFileParams) WithPlatform(platform *string) *EnumerateFileParams
- func (o *EnumerateFileParams) WithTimeout(timeout time.Duration) *EnumerateFileParams
- func (o *EnumerateFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnumerateFileReader
- type EnumerateFileTooManyRequests
- func (o *EnumerateFileTooManyRequests) Code() int
- func (o *EnumerateFileTooManyRequests) Error() string
- func (o *EnumerateFileTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *EnumerateFileTooManyRequests) IsClientError() bool
- func (o *EnumerateFileTooManyRequests) IsCode(code int) bool
- func (o *EnumerateFileTooManyRequests) IsRedirect() bool
- func (o *EnumerateFileTooManyRequests) IsServerError() bool
- func (o *EnumerateFileTooManyRequests) IsSuccess() bool
- func (o *EnumerateFileTooManyRequests) String() string
- type EnumerateFileUnauthorized
- func (o *EnumerateFileUnauthorized) Code() int
- func (o *EnumerateFileUnauthorized) Error() string
- func (o *EnumerateFileUnauthorized) GetPayload() *models.ModelsEntitiesResponse
- func (o *EnumerateFileUnauthorized) IsClientError() bool
- func (o *EnumerateFileUnauthorized) IsCode(code int) bool
- func (o *EnumerateFileUnauthorized) IsRedirect() bool
- func (o *EnumerateFileUnauthorized) IsServerError() bool
- func (o *EnumerateFileUnauthorized) IsSuccess() bool
- func (o *EnumerateFileUnauthorized) String() string
- type FetchFilesDownloadInfoBadRequest
- func (o *FetchFilesDownloadInfoBadRequest) Code() int
- func (o *FetchFilesDownloadInfoBadRequest) Error() string
- func (o *FetchFilesDownloadInfoBadRequest) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoBadRequest) IsClientError() bool
- func (o *FetchFilesDownloadInfoBadRequest) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoBadRequest) IsRedirect() bool
- func (o *FetchFilesDownloadInfoBadRequest) IsServerError() bool
- func (o *FetchFilesDownloadInfoBadRequest) IsSuccess() bool
- func (o *FetchFilesDownloadInfoBadRequest) String() string
- type FetchFilesDownloadInfoForbidden
- func (o *FetchFilesDownloadInfoForbidden) Code() int
- func (o *FetchFilesDownloadInfoForbidden) Error() string
- func (o *FetchFilesDownloadInfoForbidden) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoForbidden) IsClientError() bool
- func (o *FetchFilesDownloadInfoForbidden) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoForbidden) IsRedirect() bool
- func (o *FetchFilesDownloadInfoForbidden) IsServerError() bool
- func (o *FetchFilesDownloadInfoForbidden) IsSuccess() bool
- func (o *FetchFilesDownloadInfoForbidden) String() string
- type FetchFilesDownloadInfoInternalServerError
- func (o *FetchFilesDownloadInfoInternalServerError) Code() int
- func (o *FetchFilesDownloadInfoInternalServerError) Error() string
- func (o *FetchFilesDownloadInfoInternalServerError) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoInternalServerError) IsClientError() bool
- func (o *FetchFilesDownloadInfoInternalServerError) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoInternalServerError) IsRedirect() bool
- func (o *FetchFilesDownloadInfoInternalServerError) IsServerError() bool
- func (o *FetchFilesDownloadInfoInternalServerError) IsSuccess() bool
- func (o *FetchFilesDownloadInfoInternalServerError) String() string
- type FetchFilesDownloadInfoOK
- func (o *FetchFilesDownloadInfoOK) Code() int
- func (o *FetchFilesDownloadInfoOK) Error() string
- func (o *FetchFilesDownloadInfoOK) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoOK) IsClientError() bool
- func (o *FetchFilesDownloadInfoOK) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoOK) IsRedirect() bool
- func (o *FetchFilesDownloadInfoOK) IsServerError() bool
- func (o *FetchFilesDownloadInfoOK) IsSuccess() bool
- func (o *FetchFilesDownloadInfoOK) String() string
- type FetchFilesDownloadInfoParams
- func NewFetchFilesDownloadInfoParams() *FetchFilesDownloadInfoParams
- func NewFetchFilesDownloadInfoParamsWithContext(ctx context.Context) *FetchFilesDownloadInfoParams
- func NewFetchFilesDownloadInfoParamsWithHTTPClient(client *http.Client) *FetchFilesDownloadInfoParams
- func NewFetchFilesDownloadInfoParamsWithTimeout(timeout time.Duration) *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) SetContext(ctx context.Context)
- func (o *FetchFilesDownloadInfoParams) SetDefaults()
- func (o *FetchFilesDownloadInfoParams) SetFilter(filter *string)
- func (o *FetchFilesDownloadInfoParams) SetHTTPClient(client *http.Client)
- func (o *FetchFilesDownloadInfoParams) SetSort(sort *string)
- func (o *FetchFilesDownloadInfoParams) SetTimeout(timeout time.Duration)
- func (o *FetchFilesDownloadInfoParams) WithContext(ctx context.Context) *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) WithDefaults() *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) WithFilter(filter *string) *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) WithHTTPClient(client *http.Client) *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) WithSort(sort *string) *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) WithTimeout(timeout time.Duration) *FetchFilesDownloadInfoParams
- func (o *FetchFilesDownloadInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FetchFilesDownloadInfoReader
- type FetchFilesDownloadInfoTooManyRequests
- func (o *FetchFilesDownloadInfoTooManyRequests) Code() int
- func (o *FetchFilesDownloadInfoTooManyRequests) Error() string
- func (o *FetchFilesDownloadInfoTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *FetchFilesDownloadInfoTooManyRequests) IsClientError() bool
- func (o *FetchFilesDownloadInfoTooManyRequests) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoTooManyRequests) IsRedirect() bool
- func (o *FetchFilesDownloadInfoTooManyRequests) IsServerError() bool
- func (o *FetchFilesDownloadInfoTooManyRequests) IsSuccess() bool
- func (o *FetchFilesDownloadInfoTooManyRequests) String() string
- type FetchFilesDownloadInfoUnauthorized
- func (o *FetchFilesDownloadInfoUnauthorized) Code() int
- func (o *FetchFilesDownloadInfoUnauthorized) Error() string
- func (o *FetchFilesDownloadInfoUnauthorized) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoUnauthorized) IsClientError() bool
- func (o *FetchFilesDownloadInfoUnauthorized) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoUnauthorized) IsRedirect() bool
- func (o *FetchFilesDownloadInfoUnauthorized) IsServerError() bool
- func (o *FetchFilesDownloadInfoUnauthorized) IsSuccess() bool
- func (o *FetchFilesDownloadInfoUnauthorized) String() string
- type FetchFilesDownloadInfoV2BadRequest
- func (o *FetchFilesDownloadInfoV2BadRequest) Code() int
- func (o *FetchFilesDownloadInfoV2BadRequest) Error() string
- func (o *FetchFilesDownloadInfoV2BadRequest) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoV2BadRequest) IsClientError() bool
- func (o *FetchFilesDownloadInfoV2BadRequest) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoV2BadRequest) IsRedirect() bool
- func (o *FetchFilesDownloadInfoV2BadRequest) IsServerError() bool
- func (o *FetchFilesDownloadInfoV2BadRequest) IsSuccess() bool
- func (o *FetchFilesDownloadInfoV2BadRequest) String() string
- type FetchFilesDownloadInfoV2Forbidden
- func (o *FetchFilesDownloadInfoV2Forbidden) Code() int
- func (o *FetchFilesDownloadInfoV2Forbidden) Error() string
- func (o *FetchFilesDownloadInfoV2Forbidden) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoV2Forbidden) IsClientError() bool
- func (o *FetchFilesDownloadInfoV2Forbidden) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoV2Forbidden) IsRedirect() bool
- func (o *FetchFilesDownloadInfoV2Forbidden) IsServerError() bool
- func (o *FetchFilesDownloadInfoV2Forbidden) IsSuccess() bool
- func (o *FetchFilesDownloadInfoV2Forbidden) String() string
- type FetchFilesDownloadInfoV2InternalServerError
- func (o *FetchFilesDownloadInfoV2InternalServerError) Code() int
- func (o *FetchFilesDownloadInfoV2InternalServerError) Error() string
- func (o *FetchFilesDownloadInfoV2InternalServerError) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoV2InternalServerError) IsClientError() bool
- func (o *FetchFilesDownloadInfoV2InternalServerError) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoV2InternalServerError) IsRedirect() bool
- func (o *FetchFilesDownloadInfoV2InternalServerError) IsServerError() bool
- func (o *FetchFilesDownloadInfoV2InternalServerError) IsSuccess() bool
- func (o *FetchFilesDownloadInfoV2InternalServerError) String() string
- type FetchFilesDownloadInfoV2OK
- func (o *FetchFilesDownloadInfoV2OK) Code() int
- func (o *FetchFilesDownloadInfoV2OK) Error() string
- func (o *FetchFilesDownloadInfoV2OK) GetPayload() *models.ModelsCombinedFilesDownloadResponse
- func (o *FetchFilesDownloadInfoV2OK) IsClientError() bool
- func (o *FetchFilesDownloadInfoV2OK) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoV2OK) IsRedirect() bool
- func (o *FetchFilesDownloadInfoV2OK) IsServerError() bool
- func (o *FetchFilesDownloadInfoV2OK) IsSuccess() bool
- func (o *FetchFilesDownloadInfoV2OK) String() string
- type FetchFilesDownloadInfoV2Params
- func NewFetchFilesDownloadInfoV2Params() *FetchFilesDownloadInfoV2Params
- func NewFetchFilesDownloadInfoV2ParamsWithContext(ctx context.Context) *FetchFilesDownloadInfoV2Params
- func NewFetchFilesDownloadInfoV2ParamsWithHTTPClient(client *http.Client) *FetchFilesDownloadInfoV2Params
- func NewFetchFilesDownloadInfoV2ParamsWithTimeout(timeout time.Duration) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) SetContext(ctx context.Context)
- func (o *FetchFilesDownloadInfoV2Params) SetDefaults()
- func (o *FetchFilesDownloadInfoV2Params) SetFilter(filter *string)
- func (o *FetchFilesDownloadInfoV2Params) SetHTTPClient(client *http.Client)
- func (o *FetchFilesDownloadInfoV2Params) SetLimit(limit *int64)
- func (o *FetchFilesDownloadInfoV2Params) SetOffset(offset *int64)
- func (o *FetchFilesDownloadInfoV2Params) SetSort(sort *string)
- func (o *FetchFilesDownloadInfoV2Params) SetTimeout(timeout time.Duration)
- func (o *FetchFilesDownloadInfoV2Params) WithContext(ctx context.Context) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithDefaults() *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithFilter(filter *string) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithHTTPClient(client *http.Client) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithLimit(limit *int64) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithOffset(offset *int64) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithSort(sort *string) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WithTimeout(timeout time.Duration) *FetchFilesDownloadInfoV2Params
- func (o *FetchFilesDownloadInfoV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FetchFilesDownloadInfoV2Reader
- type FetchFilesDownloadInfoV2TooManyRequests
- func (o *FetchFilesDownloadInfoV2TooManyRequests) Code() int
- func (o *FetchFilesDownloadInfoV2TooManyRequests) Error() string
- func (o *FetchFilesDownloadInfoV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *FetchFilesDownloadInfoV2TooManyRequests) IsClientError() bool
- func (o *FetchFilesDownloadInfoV2TooManyRequests) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoV2TooManyRequests) IsRedirect() bool
- func (o *FetchFilesDownloadInfoV2TooManyRequests) IsServerError() bool
- func (o *FetchFilesDownloadInfoV2TooManyRequests) IsSuccess() bool
- func (o *FetchFilesDownloadInfoV2TooManyRequests) String() string
- type FetchFilesDownloadInfoV2Unauthorized
- func (o *FetchFilesDownloadInfoV2Unauthorized) Code() int
- func (o *FetchFilesDownloadInfoV2Unauthorized) Error() string
- func (o *FetchFilesDownloadInfoV2Unauthorized) GetPayload() *models.ModelsEntitiesResponse
- func (o *FetchFilesDownloadInfoV2Unauthorized) IsClientError() bool
- func (o *FetchFilesDownloadInfoV2Unauthorized) IsCode(code int) bool
- func (o *FetchFilesDownloadInfoV2Unauthorized) IsRedirect() bool
- func (o *FetchFilesDownloadInfoV2Unauthorized) IsServerError() bool
- func (o *FetchFilesDownloadInfoV2Unauthorized) IsSuccess() bool
- func (o *FetchFilesDownloadInfoV2Unauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for downloads api API
func (*Client) DownloadFile ¶
func (a *Client) DownloadFile(params *DownloadFileParams, opts ...ClientOption) (*DownloadFileOK, error)
DownloadFile gets pre signed URL for the file
func (*Client) EnumerateFile ¶
func (a *Client) EnumerateFile(params *EnumerateFileParams, opts ...ClientOption) (*EnumerateFileOK, error)
EnumerateFile enumerates a list of files available for c ID
func (*Client) FetchFilesDownloadInfo ¶ added in v0.17.0
func (a *Client) FetchFilesDownloadInfo(params *FetchFilesDownloadInfoParams, opts ...ClientOption) (*FetchFilesDownloadInfoOK, error)
FetchFilesDownloadInfo gets files info and pre signed download u r ls
func (*Client) FetchFilesDownloadInfoV2 ¶ added in v0.20.0
func (a *Client) FetchFilesDownloadInfoV2(params *FetchFilesDownloadInfoV2Params, opts ...ClientOption) (*FetchFilesDownloadInfoV2OK, error)
FetchFilesDownloadInfoV2 gets cloud security tools info and pre signed download u r ls
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 is the option for Client methods
type ClientService ¶
type ClientService interface {
DownloadFile(params *DownloadFileParams, opts ...ClientOption) (*DownloadFileOK, error)
EnumerateFile(params *EnumerateFileParams, opts ...ClientOption) (*EnumerateFileOK, error)
FetchFilesDownloadInfo(params *FetchFilesDownloadInfoParams, opts ...ClientOption) (*FetchFilesDownloadInfoOK, error)
FetchFilesDownloadInfoV2(params *FetchFilesDownloadInfoV2Params, opts ...ClientOption) (*FetchFilesDownloadInfoV2OK, 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 downloads api API client.
type DownloadFileBadRequest ¶
type DownloadFileBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
DownloadFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDownloadFileBadRequest ¶
func NewDownloadFileBadRequest() *DownloadFileBadRequest
NewDownloadFileBadRequest creates a DownloadFileBadRequest with default headers values
func (*DownloadFileBadRequest) Code ¶
func (o *DownloadFileBadRequest) Code() int
Code gets the status code for the download file bad request response
func (*DownloadFileBadRequest) Error ¶
func (o *DownloadFileBadRequest) Error() string
func (*DownloadFileBadRequest) GetPayload ¶
func (o *DownloadFileBadRequest) GetPayload() *models.ModelsEntitiesResponse
func (*DownloadFileBadRequest) IsClientError ¶
func (o *DownloadFileBadRequest) IsClientError() bool
IsClientError returns true when this download file bad request response has a 4xx status code
func (*DownloadFileBadRequest) IsCode ¶
func (o *DownloadFileBadRequest) IsCode(code int) bool
IsCode returns true when this download file bad request response a status code equal to that given
func (*DownloadFileBadRequest) IsRedirect ¶
func (o *DownloadFileBadRequest) IsRedirect() bool
IsRedirect returns true when this download file bad request response has a 3xx status code
func (*DownloadFileBadRequest) IsServerError ¶
func (o *DownloadFileBadRequest) IsServerError() bool
IsServerError returns true when this download file bad request response has a 5xx status code
func (*DownloadFileBadRequest) IsSuccess ¶
func (o *DownloadFileBadRequest) IsSuccess() bool
IsSuccess returns true when this download file bad request response has a 2xx status code
func (*DownloadFileBadRequest) String ¶
func (o *DownloadFileBadRequest) String() string
type DownloadFileForbidden ¶
type DownloadFileForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
DownloadFileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDownloadFileForbidden ¶
func NewDownloadFileForbidden() *DownloadFileForbidden
NewDownloadFileForbidden creates a DownloadFileForbidden with default headers values
func (*DownloadFileForbidden) Code ¶
func (o *DownloadFileForbidden) Code() int
Code gets the status code for the download file forbidden response
func (*DownloadFileForbidden) Error ¶
func (o *DownloadFileForbidden) Error() string
func (*DownloadFileForbidden) GetPayload ¶
func (o *DownloadFileForbidden) GetPayload() *models.ModelsEntitiesResponse
func (*DownloadFileForbidden) IsClientError ¶
func (o *DownloadFileForbidden) IsClientError() bool
IsClientError returns true when this download file forbidden response has a 4xx status code
func (*DownloadFileForbidden) IsCode ¶
func (o *DownloadFileForbidden) IsCode(code int) bool
IsCode returns true when this download file forbidden response a status code equal to that given
func (*DownloadFileForbidden) IsRedirect ¶
func (o *DownloadFileForbidden) IsRedirect() bool
IsRedirect returns true when this download file forbidden response has a 3xx status code
func (*DownloadFileForbidden) IsServerError ¶
func (o *DownloadFileForbidden) IsServerError() bool
IsServerError returns true when this download file forbidden response has a 5xx status code
func (*DownloadFileForbidden) IsSuccess ¶
func (o *DownloadFileForbidden) IsSuccess() bool
IsSuccess returns true when this download file forbidden response has a 2xx status code
func (*DownloadFileForbidden) String ¶
func (o *DownloadFileForbidden) String() string
type DownloadFileInternalServerError ¶
type DownloadFileInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
DownloadFileInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDownloadFileInternalServerError ¶
func NewDownloadFileInternalServerError() *DownloadFileInternalServerError
NewDownloadFileInternalServerError creates a DownloadFileInternalServerError with default headers values
func (*DownloadFileInternalServerError) Code ¶
func (o *DownloadFileInternalServerError) Code() int
Code gets the status code for the download file internal server error response
func (*DownloadFileInternalServerError) Error ¶
func (o *DownloadFileInternalServerError) Error() string
func (*DownloadFileInternalServerError) GetPayload ¶
func (o *DownloadFileInternalServerError) GetPayload() *models.ModelsEntitiesResponse
func (*DownloadFileInternalServerError) IsClientError ¶
func (o *DownloadFileInternalServerError) IsClientError() bool
IsClientError returns true when this download file internal server error response has a 4xx status code
func (*DownloadFileInternalServerError) IsCode ¶
func (o *DownloadFileInternalServerError) IsCode(code int) bool
IsCode returns true when this download file internal server error response a status code equal to that given
func (*DownloadFileInternalServerError) IsRedirect ¶
func (o *DownloadFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this download file internal server error response has a 3xx status code
func (*DownloadFileInternalServerError) IsServerError ¶
func (o *DownloadFileInternalServerError) IsServerError() bool
IsServerError returns true when this download file internal server error response has a 5xx status code
func (*DownloadFileInternalServerError) IsSuccess ¶
func (o *DownloadFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this download file internal server error response has a 2xx status code
func (*DownloadFileInternalServerError) String ¶
func (o *DownloadFileInternalServerError) String() string
type DownloadFileOK ¶
type DownloadFileOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
DownloadFileOK describes a response with status code 200, with default header values.
OK
func NewDownloadFileOK ¶
func NewDownloadFileOK() *DownloadFileOK
NewDownloadFileOK creates a DownloadFileOK with default headers values
func (*DownloadFileOK) Code ¶
func (o *DownloadFileOK) Code() int
Code gets the status code for the download file o k response
func (*DownloadFileOK) Error ¶
func (o *DownloadFileOK) Error() string
func (*DownloadFileOK) GetPayload ¶
func (o *DownloadFileOK) GetPayload() *models.ModelsEntitiesResponse
func (*DownloadFileOK) IsClientError ¶
func (o *DownloadFileOK) IsClientError() bool
IsClientError returns true when this download file o k response has a 4xx status code
func (*DownloadFileOK) IsCode ¶
func (o *DownloadFileOK) IsCode(code int) bool
IsCode returns true when this download file o k response a status code equal to that given
func (*DownloadFileOK) IsRedirect ¶
func (o *DownloadFileOK) IsRedirect() bool
IsRedirect returns true when this download file o k response has a 3xx status code
func (*DownloadFileOK) IsServerError ¶
func (o *DownloadFileOK) IsServerError() bool
IsServerError returns true when this download file o k response has a 5xx status code
func (*DownloadFileOK) IsSuccess ¶
func (o *DownloadFileOK) IsSuccess() bool
IsSuccess returns true when this download file o k response has a 2xx status code
func (*DownloadFileOK) String ¶
func (o *DownloadFileOK) String() string
type DownloadFileParams ¶
type DownloadFileParams struct {
/* FileName.
Name of the file to be downloaded
*/
FileName string
/* FileVersion.
Version of the file to be downloaded
*/
FileVersion string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DownloadFileParams contains all the parameters to send to the API endpoint
for the download file operation. Typically these are written to a http.Request.
func NewDownloadFileParams ¶
func NewDownloadFileParams() *DownloadFileParams
NewDownloadFileParams creates a new DownloadFileParams 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 NewDownloadFileParamsWithContext ¶
func NewDownloadFileParamsWithContext(ctx context.Context) *DownloadFileParams
NewDownloadFileParamsWithContext creates a new DownloadFileParams object with the ability to set a context for a request.
func NewDownloadFileParamsWithHTTPClient ¶
func NewDownloadFileParamsWithHTTPClient(client *http.Client) *DownloadFileParams
NewDownloadFileParamsWithHTTPClient creates a new DownloadFileParams object with the ability to set a custom HTTPClient for a request.
func NewDownloadFileParamsWithTimeout ¶
func NewDownloadFileParamsWithTimeout(timeout time.Duration) *DownloadFileParams
NewDownloadFileParamsWithTimeout creates a new DownloadFileParams object with the ability to set a timeout on a request.
func (*DownloadFileParams) SetContext ¶
func (o *DownloadFileParams) SetContext(ctx context.Context)
SetContext adds the context to the download file params
func (*DownloadFileParams) SetDefaults ¶
func (o *DownloadFileParams) SetDefaults()
SetDefaults hydrates default values in the download file params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadFileParams) SetFileName ¶
func (o *DownloadFileParams) SetFileName(fileName string)
SetFileName adds the fileName to the download file params
func (*DownloadFileParams) SetFileVersion ¶
func (o *DownloadFileParams) SetFileVersion(fileVersion string)
SetFileVersion adds the fileVersion to the download file params
func (*DownloadFileParams) SetHTTPClient ¶
func (o *DownloadFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download file params
func (*DownloadFileParams) SetTimeout ¶
func (o *DownloadFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download file params
func (*DownloadFileParams) WithContext ¶
func (o *DownloadFileParams) WithContext(ctx context.Context) *DownloadFileParams
WithContext adds the context to the download file params
func (*DownloadFileParams) WithDefaults ¶
func (o *DownloadFileParams) WithDefaults() *DownloadFileParams
WithDefaults hydrates default values in the download file params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadFileParams) WithFileName ¶
func (o *DownloadFileParams) WithFileName(fileName string) *DownloadFileParams
WithFileName adds the fileName to the download file params
func (*DownloadFileParams) WithFileVersion ¶
func (o *DownloadFileParams) WithFileVersion(fileVersion string) *DownloadFileParams
WithFileVersion adds the fileVersion to the download file params
func (*DownloadFileParams) WithHTTPClient ¶
func (o *DownloadFileParams) WithHTTPClient(client *http.Client) *DownloadFileParams
WithHTTPClient adds the HTTPClient to the download file params
func (*DownloadFileParams) WithTimeout ¶
func (o *DownloadFileParams) WithTimeout(timeout time.Duration) *DownloadFileParams
WithTimeout adds the timeout to the download file params
func (*DownloadFileParams) WriteToRequest ¶
func (o *DownloadFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadFileReader ¶
type DownloadFileReader struct {
// contains filtered or unexported fields
}
DownloadFileReader is a Reader for the DownloadFile structure.
func (*DownloadFileReader) ReadResponse ¶
func (o *DownloadFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadFileTooManyRequests ¶
type DownloadFileTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
DownloadFileTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDownloadFileTooManyRequests ¶
func NewDownloadFileTooManyRequests() *DownloadFileTooManyRequests
NewDownloadFileTooManyRequests creates a DownloadFileTooManyRequests with default headers values
func (*DownloadFileTooManyRequests) Code ¶
func (o *DownloadFileTooManyRequests) Code() int
Code gets the status code for the download file too many requests response
func (*DownloadFileTooManyRequests) Error ¶
func (o *DownloadFileTooManyRequests) Error() string
func (*DownloadFileTooManyRequests) GetPayload ¶
func (o *DownloadFileTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DownloadFileTooManyRequests) IsClientError ¶
func (o *DownloadFileTooManyRequests) IsClientError() bool
IsClientError returns true when this download file too many requests response has a 4xx status code
func (*DownloadFileTooManyRequests) IsCode ¶
func (o *DownloadFileTooManyRequests) IsCode(code int) bool
IsCode returns true when this download file too many requests response a status code equal to that given
func (*DownloadFileTooManyRequests) IsRedirect ¶
func (o *DownloadFileTooManyRequests) IsRedirect() bool
IsRedirect returns true when this download file too many requests response has a 3xx status code
func (*DownloadFileTooManyRequests) IsServerError ¶
func (o *DownloadFileTooManyRequests) IsServerError() bool
IsServerError returns true when this download file too many requests response has a 5xx status code
func (*DownloadFileTooManyRequests) IsSuccess ¶
func (o *DownloadFileTooManyRequests) IsSuccess() bool
IsSuccess returns true when this download file too many requests response has a 2xx status code
func (*DownloadFileTooManyRequests) String ¶
func (o *DownloadFileTooManyRequests) String() string
type DownloadFileUnauthorized ¶
type DownloadFileUnauthorized struct {
XCSTRACEID string
XRateLimitLimit int64
XRateLimitRemaining int64
}
DownloadFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDownloadFileUnauthorized ¶
func NewDownloadFileUnauthorized() *DownloadFileUnauthorized
NewDownloadFileUnauthorized creates a DownloadFileUnauthorized with default headers values
func (*DownloadFileUnauthorized) Code ¶
func (o *DownloadFileUnauthorized) Code() int
Code gets the status code for the download file unauthorized response
func (*DownloadFileUnauthorized) Error ¶
func (o *DownloadFileUnauthorized) Error() string
func (*DownloadFileUnauthorized) GetPayload ¶
func (o *DownloadFileUnauthorized) GetPayload() *models.ModelsEntitiesResponse
func (*DownloadFileUnauthorized) IsClientError ¶
func (o *DownloadFileUnauthorized) IsClientError() bool
IsClientError returns true when this download file unauthorized response has a 4xx status code
func (*DownloadFileUnauthorized) IsCode ¶
func (o *DownloadFileUnauthorized) IsCode(code int) bool
IsCode returns true when this download file unauthorized response a status code equal to that given
func (*DownloadFileUnauthorized) IsRedirect ¶
func (o *DownloadFileUnauthorized) IsRedirect() bool
IsRedirect returns true when this download file unauthorized response has a 3xx status code
func (*DownloadFileUnauthorized) IsServerError ¶
func (o *DownloadFileUnauthorized) IsServerError() bool
IsServerError returns true when this download file unauthorized response has a 5xx status code
func (*DownloadFileUnauthorized) IsSuccess ¶
func (o *DownloadFileUnauthorized) IsSuccess() bool
IsSuccess returns true when this download file unauthorized response has a 2xx status code
func (*DownloadFileUnauthorized) String ¶
func (o *DownloadFileUnauthorized) String() string
type EnumerateFileBadRequest ¶
type EnumerateFileBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
EnumerateFileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewEnumerateFileBadRequest ¶
func NewEnumerateFileBadRequest() *EnumerateFileBadRequest
NewEnumerateFileBadRequest creates a EnumerateFileBadRequest with default headers values
func (*EnumerateFileBadRequest) Code ¶
func (o *EnumerateFileBadRequest) Code() int
Code gets the status code for the enumerate file bad request response
func (*EnumerateFileBadRequest) Error ¶
func (o *EnumerateFileBadRequest) Error() string
func (*EnumerateFileBadRequest) GetPayload ¶
func (o *EnumerateFileBadRequest) GetPayload() *models.ModelsEntitiesResponse
func (*EnumerateFileBadRequest) IsClientError ¶
func (o *EnumerateFileBadRequest) IsClientError() bool
IsClientError returns true when this enumerate file bad request response has a 4xx status code
func (*EnumerateFileBadRequest) IsCode ¶
func (o *EnumerateFileBadRequest) IsCode(code int) bool
IsCode returns true when this enumerate file bad request response a status code equal to that given
func (*EnumerateFileBadRequest) IsRedirect ¶
func (o *EnumerateFileBadRequest) IsRedirect() bool
IsRedirect returns true when this enumerate file bad request response has a 3xx status code
func (*EnumerateFileBadRequest) IsServerError ¶
func (o *EnumerateFileBadRequest) IsServerError() bool
IsServerError returns true when this enumerate file bad request response has a 5xx status code
func (*EnumerateFileBadRequest) IsSuccess ¶
func (o *EnumerateFileBadRequest) IsSuccess() bool
IsSuccess returns true when this enumerate file bad request response has a 2xx status code
func (*EnumerateFileBadRequest) String ¶
func (o *EnumerateFileBadRequest) String() string
type EnumerateFileForbidden ¶
type EnumerateFileForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
EnumerateFileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewEnumerateFileForbidden ¶
func NewEnumerateFileForbidden() *EnumerateFileForbidden
NewEnumerateFileForbidden creates a EnumerateFileForbidden with default headers values
func (*EnumerateFileForbidden) Code ¶
func (o *EnumerateFileForbidden) Code() int
Code gets the status code for the enumerate file forbidden response
func (*EnumerateFileForbidden) Error ¶
func (o *EnumerateFileForbidden) Error() string
func (*EnumerateFileForbidden) GetPayload ¶
func (o *EnumerateFileForbidden) GetPayload() *models.ModelsEntitiesResponse
func (*EnumerateFileForbidden) IsClientError ¶
func (o *EnumerateFileForbidden) IsClientError() bool
IsClientError returns true when this enumerate file forbidden response has a 4xx status code
func (*EnumerateFileForbidden) IsCode ¶
func (o *EnumerateFileForbidden) IsCode(code int) bool
IsCode returns true when this enumerate file forbidden response a status code equal to that given
func (*EnumerateFileForbidden) IsRedirect ¶
func (o *EnumerateFileForbidden) IsRedirect() bool
IsRedirect returns true when this enumerate file forbidden response has a 3xx status code
func (*EnumerateFileForbidden) IsServerError ¶
func (o *EnumerateFileForbidden) IsServerError() bool
IsServerError returns true when this enumerate file forbidden response has a 5xx status code
func (*EnumerateFileForbidden) IsSuccess ¶
func (o *EnumerateFileForbidden) IsSuccess() bool
IsSuccess returns true when this enumerate file forbidden response has a 2xx status code
func (*EnumerateFileForbidden) String ¶
func (o *EnumerateFileForbidden) String() string
type EnumerateFileInternalServerError ¶
type EnumerateFileInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
EnumerateFileInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEnumerateFileInternalServerError ¶
func NewEnumerateFileInternalServerError() *EnumerateFileInternalServerError
NewEnumerateFileInternalServerError creates a EnumerateFileInternalServerError with default headers values
func (*EnumerateFileInternalServerError) Code ¶
func (o *EnumerateFileInternalServerError) Code() int
Code gets the status code for the enumerate file internal server error response
func (*EnumerateFileInternalServerError) Error ¶
func (o *EnumerateFileInternalServerError) Error() string
func (*EnumerateFileInternalServerError) GetPayload ¶
func (o *EnumerateFileInternalServerError) GetPayload() *models.ModelsEntitiesResponse
func (*EnumerateFileInternalServerError) IsClientError ¶
func (o *EnumerateFileInternalServerError) IsClientError() bool
IsClientError returns true when this enumerate file internal server error response has a 4xx status code
func (*EnumerateFileInternalServerError) IsCode ¶
func (o *EnumerateFileInternalServerError) IsCode(code int) bool
IsCode returns true when this enumerate file internal server error response a status code equal to that given
func (*EnumerateFileInternalServerError) IsRedirect ¶
func (o *EnumerateFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this enumerate file internal server error response has a 3xx status code
func (*EnumerateFileInternalServerError) IsServerError ¶
func (o *EnumerateFileInternalServerError) IsServerError() bool
IsServerError returns true when this enumerate file internal server error response has a 5xx status code
func (*EnumerateFileInternalServerError) IsSuccess ¶
func (o *EnumerateFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this enumerate file internal server error response has a 2xx status code
func (*EnumerateFileInternalServerError) String ¶
func (o *EnumerateFileInternalServerError) String() string
type EnumerateFileOK ¶
type EnumerateFileOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
EnumerateFileOK describes a response with status code 200, with default header values.
OK
func NewEnumerateFileOK ¶
func NewEnumerateFileOK() *EnumerateFileOK
NewEnumerateFileOK creates a EnumerateFileOK with default headers values
func (*EnumerateFileOK) Code ¶
func (o *EnumerateFileOK) Code() int
Code gets the status code for the enumerate file o k response
func (*EnumerateFileOK) Error ¶
func (o *EnumerateFileOK) Error() string
func (*EnumerateFileOK) GetPayload ¶
func (o *EnumerateFileOK) GetPayload() *models.ModelsEntitiesResponse
func (*EnumerateFileOK) IsClientError ¶
func (o *EnumerateFileOK) IsClientError() bool
IsClientError returns true when this enumerate file o k response has a 4xx status code
func (*EnumerateFileOK) IsCode ¶
func (o *EnumerateFileOK) IsCode(code int) bool
IsCode returns true when this enumerate file o k response a status code equal to that given
func (*EnumerateFileOK) IsRedirect ¶
func (o *EnumerateFileOK) IsRedirect() bool
IsRedirect returns true when this enumerate file o k response has a 3xx status code
func (*EnumerateFileOK) IsServerError ¶
func (o *EnumerateFileOK) IsServerError() bool
IsServerError returns true when this enumerate file o k response has a 5xx status code
func (*EnumerateFileOK) IsSuccess ¶
func (o *EnumerateFileOK) IsSuccess() bool
IsSuccess returns true when this enumerate file o k response has a 2xx status code
func (*EnumerateFileOK) String ¶
func (o *EnumerateFileOK) String() string
type EnumerateFileParams ¶
type EnumerateFileParams struct {
/* Arch.
Apply filtering on architecture
*/
Arch *string
/* Category.
Apply filtering on file category
*/
Category *string
/* FileName.
Apply filtering on file name
*/
FileName *string
/* FileVersion.
Apply filtering on file version
*/
FileVersion *string
/* Os.
Apply filtering on operating system
*/
Os *string
/* Platform.
Apply filtering on file platform
*/
Platform *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnumerateFileParams contains all the parameters to send to the API endpoint
for the enumerate file operation. Typically these are written to a http.Request.
func NewEnumerateFileParams ¶
func NewEnumerateFileParams() *EnumerateFileParams
NewEnumerateFileParams creates a new EnumerateFileParams 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 NewEnumerateFileParamsWithContext ¶
func NewEnumerateFileParamsWithContext(ctx context.Context) *EnumerateFileParams
NewEnumerateFileParamsWithContext creates a new EnumerateFileParams object with the ability to set a context for a request.
func NewEnumerateFileParamsWithHTTPClient ¶
func NewEnumerateFileParamsWithHTTPClient(client *http.Client) *EnumerateFileParams
NewEnumerateFileParamsWithHTTPClient creates a new EnumerateFileParams object with the ability to set a custom HTTPClient for a request.
func NewEnumerateFileParamsWithTimeout ¶
func NewEnumerateFileParamsWithTimeout(timeout time.Duration) *EnumerateFileParams
NewEnumerateFileParamsWithTimeout creates a new EnumerateFileParams object with the ability to set a timeout on a request.
func (*EnumerateFileParams) SetArch ¶
func (o *EnumerateFileParams) SetArch(arch *string)
SetArch adds the arch to the enumerate file params
func (*EnumerateFileParams) SetCategory ¶
func (o *EnumerateFileParams) SetCategory(category *string)
SetCategory adds the category to the enumerate file params
func (*EnumerateFileParams) SetContext ¶
func (o *EnumerateFileParams) SetContext(ctx context.Context)
SetContext adds the context to the enumerate file params
func (*EnumerateFileParams) SetDefaults ¶
func (o *EnumerateFileParams) SetDefaults()
SetDefaults hydrates default values in the enumerate file params (not the query body).
All values with no default are reset to their zero value.
func (*EnumerateFileParams) SetFileName ¶
func (o *EnumerateFileParams) SetFileName(fileName *string)
SetFileName adds the fileName to the enumerate file params
func (*EnumerateFileParams) SetFileVersion ¶
func (o *EnumerateFileParams) SetFileVersion(fileVersion *string)
SetFileVersion adds the fileVersion to the enumerate file params
func (*EnumerateFileParams) SetHTTPClient ¶
func (o *EnumerateFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enumerate file params
func (*EnumerateFileParams) SetOs ¶
func (o *EnumerateFileParams) SetOs(os *string)
SetOs adds the os to the enumerate file params
func (*EnumerateFileParams) SetPlatform ¶
func (o *EnumerateFileParams) SetPlatform(platform *string)
SetPlatform adds the platform to the enumerate file params
func (*EnumerateFileParams) SetTimeout ¶
func (o *EnumerateFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enumerate file params
func (*EnumerateFileParams) WithArch ¶
func (o *EnumerateFileParams) WithArch(arch *string) *EnumerateFileParams
WithArch adds the arch to the enumerate file params
func (*EnumerateFileParams) WithCategory ¶
func (o *EnumerateFileParams) WithCategory(category *string) *EnumerateFileParams
WithCategory adds the category to the enumerate file params
func (*EnumerateFileParams) WithContext ¶
func (o *EnumerateFileParams) WithContext(ctx context.Context) *EnumerateFileParams
WithContext adds the context to the enumerate file params
func (*EnumerateFileParams) WithDefaults ¶
func (o *EnumerateFileParams) WithDefaults() *EnumerateFileParams
WithDefaults hydrates default values in the enumerate file params (not the query body).
All values with no default are reset to their zero value.
func (*EnumerateFileParams) WithFileName ¶
func (o *EnumerateFileParams) WithFileName(fileName *string) *EnumerateFileParams
WithFileName adds the fileName to the enumerate file params
func (*EnumerateFileParams) WithFileVersion ¶
func (o *EnumerateFileParams) WithFileVersion(fileVersion *string) *EnumerateFileParams
WithFileVersion adds the fileVersion to the enumerate file params
func (*EnumerateFileParams) WithHTTPClient ¶
func (o *EnumerateFileParams) WithHTTPClient(client *http.Client) *EnumerateFileParams
WithHTTPClient adds the HTTPClient to the enumerate file params
func (*EnumerateFileParams) WithOs ¶
func (o *EnumerateFileParams) WithOs(os *string) *EnumerateFileParams
WithOs adds the os to the enumerate file params
func (*EnumerateFileParams) WithPlatform ¶
func (o *EnumerateFileParams) WithPlatform(platform *string) *EnumerateFileParams
WithPlatform adds the platform to the enumerate file params
func (*EnumerateFileParams) WithTimeout ¶
func (o *EnumerateFileParams) WithTimeout(timeout time.Duration) *EnumerateFileParams
WithTimeout adds the timeout to the enumerate file params
func (*EnumerateFileParams) WriteToRequest ¶
func (o *EnumerateFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnumerateFileReader ¶
type EnumerateFileReader struct {
// contains filtered or unexported fields
}
EnumerateFileReader is a Reader for the EnumerateFile structure.
func (*EnumerateFileReader) ReadResponse ¶
func (o *EnumerateFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnumerateFileTooManyRequests ¶
type EnumerateFileTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
EnumerateFileTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewEnumerateFileTooManyRequests ¶
func NewEnumerateFileTooManyRequests() *EnumerateFileTooManyRequests
NewEnumerateFileTooManyRequests creates a EnumerateFileTooManyRequests with default headers values
func (*EnumerateFileTooManyRequests) Code ¶
func (o *EnumerateFileTooManyRequests) Code() int
Code gets the status code for the enumerate file too many requests response
func (*EnumerateFileTooManyRequests) Error ¶
func (o *EnumerateFileTooManyRequests) Error() string
func (*EnumerateFileTooManyRequests) GetPayload ¶
func (o *EnumerateFileTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*EnumerateFileTooManyRequests) IsClientError ¶
func (o *EnumerateFileTooManyRequests) IsClientError() bool
IsClientError returns true when this enumerate file too many requests response has a 4xx status code
func (*EnumerateFileTooManyRequests) IsCode ¶
func (o *EnumerateFileTooManyRequests) IsCode(code int) bool
IsCode returns true when this enumerate file too many requests response a status code equal to that given
func (*EnumerateFileTooManyRequests) IsRedirect ¶
func (o *EnumerateFileTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enumerate file too many requests response has a 3xx status code
func (*EnumerateFileTooManyRequests) IsServerError ¶
func (o *EnumerateFileTooManyRequests) IsServerError() bool
IsServerError returns true when this enumerate file too many requests response has a 5xx status code
func (*EnumerateFileTooManyRequests) IsSuccess ¶
func (o *EnumerateFileTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enumerate file too many requests response has a 2xx status code
func (*EnumerateFileTooManyRequests) String ¶
func (o *EnumerateFileTooManyRequests) String() string
type EnumerateFileUnauthorized ¶
type EnumerateFileUnauthorized struct {
XCSTRACEID string
XRateLimitLimit int64
XRateLimitRemaining int64
}
EnumerateFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewEnumerateFileUnauthorized ¶
func NewEnumerateFileUnauthorized() *EnumerateFileUnauthorized
NewEnumerateFileUnauthorized creates a EnumerateFileUnauthorized with default headers values
func (*EnumerateFileUnauthorized) Code ¶
func (o *EnumerateFileUnauthorized) Code() int
Code gets the status code for the enumerate file unauthorized response
func (*EnumerateFileUnauthorized) Error ¶
func (o *EnumerateFileUnauthorized) Error() string
func (*EnumerateFileUnauthorized) GetPayload ¶
func (o *EnumerateFileUnauthorized) GetPayload() *models.ModelsEntitiesResponse
func (*EnumerateFileUnauthorized) IsClientError ¶
func (o *EnumerateFileUnauthorized) IsClientError() bool
IsClientError returns true when this enumerate file unauthorized response has a 4xx status code
func (*EnumerateFileUnauthorized) IsCode ¶
func (o *EnumerateFileUnauthorized) IsCode(code int) bool
IsCode returns true when this enumerate file unauthorized response a status code equal to that given
func (*EnumerateFileUnauthorized) IsRedirect ¶
func (o *EnumerateFileUnauthorized) IsRedirect() bool
IsRedirect returns true when this enumerate file unauthorized response has a 3xx status code
func (*EnumerateFileUnauthorized) IsServerError ¶
func (o *EnumerateFileUnauthorized) IsServerError() bool
IsServerError returns true when this enumerate file unauthorized response has a 5xx status code
func (*EnumerateFileUnauthorized) IsSuccess ¶
func (o *EnumerateFileUnauthorized) IsSuccess() bool
IsSuccess returns true when this enumerate file unauthorized response has a 2xx status code
func (*EnumerateFileUnauthorized) String ¶
func (o *EnumerateFileUnauthorized) String() string
type FetchFilesDownloadInfoBadRequest ¶ added in v0.17.0
type FetchFilesDownloadInfoBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewFetchFilesDownloadInfoBadRequest ¶ added in v0.17.0
func NewFetchFilesDownloadInfoBadRequest() *FetchFilesDownloadInfoBadRequest
NewFetchFilesDownloadInfoBadRequest creates a FetchFilesDownloadInfoBadRequest with default headers values
func (*FetchFilesDownloadInfoBadRequest) Code ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) Code() int
Code gets the status code for the fetch files download info bad request response
func (*FetchFilesDownloadInfoBadRequest) Error ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) Error() string
func (*FetchFilesDownloadInfoBadRequest) GetPayload ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoBadRequest) IsClientError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) IsClientError() bool
IsClientError returns true when this fetch files download info bad request response has a 4xx status code
func (*FetchFilesDownloadInfoBadRequest) IsCode ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) IsCode(code int) bool
IsCode returns true when this fetch files download info bad request response a status code equal to that given
func (*FetchFilesDownloadInfoBadRequest) IsRedirect ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) IsRedirect() bool
IsRedirect returns true when this fetch files download info bad request response has a 3xx status code
func (*FetchFilesDownloadInfoBadRequest) IsServerError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) IsServerError() bool
IsServerError returns true when this fetch files download info bad request response has a 5xx status code
func (*FetchFilesDownloadInfoBadRequest) IsSuccess ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) IsSuccess() bool
IsSuccess returns true when this fetch files download info bad request response has a 2xx status code
func (*FetchFilesDownloadInfoBadRequest) String ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoBadRequest) String() string
type FetchFilesDownloadInfoForbidden ¶ added in v0.17.0
type FetchFilesDownloadInfoForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoForbidden describes a response with status code 403, with default header values.
Forbidden
func NewFetchFilesDownloadInfoForbidden ¶ added in v0.17.0
func NewFetchFilesDownloadInfoForbidden() *FetchFilesDownloadInfoForbidden
NewFetchFilesDownloadInfoForbidden creates a FetchFilesDownloadInfoForbidden with default headers values
func (*FetchFilesDownloadInfoForbidden) Code ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) Code() int
Code gets the status code for the fetch files download info forbidden response
func (*FetchFilesDownloadInfoForbidden) Error ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) Error() string
func (*FetchFilesDownloadInfoForbidden) GetPayload ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoForbidden) IsClientError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) IsClientError() bool
IsClientError returns true when this fetch files download info forbidden response has a 4xx status code
func (*FetchFilesDownloadInfoForbidden) IsCode ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) IsCode(code int) bool
IsCode returns true when this fetch files download info forbidden response a status code equal to that given
func (*FetchFilesDownloadInfoForbidden) IsRedirect ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) IsRedirect() bool
IsRedirect returns true when this fetch files download info forbidden response has a 3xx status code
func (*FetchFilesDownloadInfoForbidden) IsServerError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) IsServerError() bool
IsServerError returns true when this fetch files download info forbidden response has a 5xx status code
func (*FetchFilesDownloadInfoForbidden) IsSuccess ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) IsSuccess() bool
IsSuccess returns true when this fetch files download info forbidden response has a 2xx status code
func (*FetchFilesDownloadInfoForbidden) String ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoForbidden) String() string
type FetchFilesDownloadInfoInternalServerError ¶ added in v0.17.0
type FetchFilesDownloadInfoInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewFetchFilesDownloadInfoInternalServerError ¶ added in v0.17.0
func NewFetchFilesDownloadInfoInternalServerError() *FetchFilesDownloadInfoInternalServerError
NewFetchFilesDownloadInfoInternalServerError creates a FetchFilesDownloadInfoInternalServerError with default headers values
func (*FetchFilesDownloadInfoInternalServerError) Code ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) Code() int
Code gets the status code for the fetch files download info internal server error response
func (*FetchFilesDownloadInfoInternalServerError) Error ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) Error() string
func (*FetchFilesDownloadInfoInternalServerError) GetPayload ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoInternalServerError) IsClientError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) IsClientError() bool
IsClientError returns true when this fetch files download info internal server error response has a 4xx status code
func (*FetchFilesDownloadInfoInternalServerError) IsCode ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) IsCode(code int) bool
IsCode returns true when this fetch files download info internal server error response a status code equal to that given
func (*FetchFilesDownloadInfoInternalServerError) IsRedirect ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) IsRedirect() bool
IsRedirect returns true when this fetch files download info internal server error response has a 3xx status code
func (*FetchFilesDownloadInfoInternalServerError) IsServerError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) IsServerError() bool
IsServerError returns true when this fetch files download info internal server error response has a 5xx status code
func (*FetchFilesDownloadInfoInternalServerError) IsSuccess ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) IsSuccess() bool
IsSuccess returns true when this fetch files download info internal server error response has a 2xx status code
func (*FetchFilesDownloadInfoInternalServerError) String ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoInternalServerError) String() string
type FetchFilesDownloadInfoOK ¶ added in v0.17.0
type FetchFilesDownloadInfoOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoOK describes a response with status code 200, with default header values.
OK
func NewFetchFilesDownloadInfoOK ¶ added in v0.17.0
func NewFetchFilesDownloadInfoOK() *FetchFilesDownloadInfoOK
NewFetchFilesDownloadInfoOK creates a FetchFilesDownloadInfoOK with default headers values
func (*FetchFilesDownloadInfoOK) Code ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) Code() int
Code gets the status code for the fetch files download info o k response
func (*FetchFilesDownloadInfoOK) Error ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) Error() string
func (*FetchFilesDownloadInfoOK) GetPayload ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoOK) IsClientError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) IsClientError() bool
IsClientError returns true when this fetch files download info o k response has a 4xx status code
func (*FetchFilesDownloadInfoOK) IsCode ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) IsCode(code int) bool
IsCode returns true when this fetch files download info o k response a status code equal to that given
func (*FetchFilesDownloadInfoOK) IsRedirect ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) IsRedirect() bool
IsRedirect returns true when this fetch files download info o k response has a 3xx status code
func (*FetchFilesDownloadInfoOK) IsServerError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) IsServerError() bool
IsServerError returns true when this fetch files download info o k response has a 5xx status code
func (*FetchFilesDownloadInfoOK) IsSuccess ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) IsSuccess() bool
IsSuccess returns true when this fetch files download info o k response has a 2xx status code
func (*FetchFilesDownloadInfoOK) String ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoOK) String() string
type FetchFilesDownloadInfoParams ¶ added in v0.17.0
type FetchFilesDownloadInfoParams struct {
/* Filter.
Search files using various filters using query in Falcon Query Language (FQL). Supported filters: arch,category,file_name,file_version,os
*/
Filter *string
/* Sort.
The fields to sort records on. Supported columns:
- `arch`
- `category`
- `file_name`
- `file_version`
- `os`
*/
Sort *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
FetchFilesDownloadInfoParams contains all the parameters to send to the API endpoint
for the fetch files download info operation. Typically these are written to a http.Request.
func NewFetchFilesDownloadInfoParams ¶ added in v0.17.0
func NewFetchFilesDownloadInfoParams() *FetchFilesDownloadInfoParams
NewFetchFilesDownloadInfoParams creates a new FetchFilesDownloadInfoParams 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 NewFetchFilesDownloadInfoParamsWithContext ¶ added in v0.17.0
func NewFetchFilesDownloadInfoParamsWithContext(ctx context.Context) *FetchFilesDownloadInfoParams
NewFetchFilesDownloadInfoParamsWithContext creates a new FetchFilesDownloadInfoParams object with the ability to set a context for a request.
func NewFetchFilesDownloadInfoParamsWithHTTPClient ¶ added in v0.17.0
func NewFetchFilesDownloadInfoParamsWithHTTPClient(client *http.Client) *FetchFilesDownloadInfoParams
NewFetchFilesDownloadInfoParamsWithHTTPClient creates a new FetchFilesDownloadInfoParams object with the ability to set a custom HTTPClient for a request.
func NewFetchFilesDownloadInfoParamsWithTimeout ¶ added in v0.17.0
func NewFetchFilesDownloadInfoParamsWithTimeout(timeout time.Duration) *FetchFilesDownloadInfoParams
NewFetchFilesDownloadInfoParamsWithTimeout creates a new FetchFilesDownloadInfoParams object with the ability to set a timeout on a request.
func (*FetchFilesDownloadInfoParams) SetContext ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the fetch files download info params
func (*FetchFilesDownloadInfoParams) SetDefaults ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) SetDefaults()
SetDefaults hydrates default values in the fetch files download info params (not the query body).
All values with no default are reset to their zero value.
func (*FetchFilesDownloadInfoParams) SetFilter ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) SetFilter(filter *string)
SetFilter adds the filter to the fetch files download info params
func (*FetchFilesDownloadInfoParams) SetHTTPClient ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fetch files download info params
func (*FetchFilesDownloadInfoParams) SetSort ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) SetSort(sort *string)
SetSort adds the sort to the fetch files download info params
func (*FetchFilesDownloadInfoParams) SetTimeout ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fetch files download info params
func (*FetchFilesDownloadInfoParams) WithContext ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WithContext(ctx context.Context) *FetchFilesDownloadInfoParams
WithContext adds the context to the fetch files download info params
func (*FetchFilesDownloadInfoParams) WithDefaults ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WithDefaults() *FetchFilesDownloadInfoParams
WithDefaults hydrates default values in the fetch files download info params (not the query body).
All values with no default are reset to their zero value.
func (*FetchFilesDownloadInfoParams) WithFilter ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WithFilter(filter *string) *FetchFilesDownloadInfoParams
WithFilter adds the filter to the fetch files download info params
func (*FetchFilesDownloadInfoParams) WithHTTPClient ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WithHTTPClient(client *http.Client) *FetchFilesDownloadInfoParams
WithHTTPClient adds the HTTPClient to the fetch files download info params
func (*FetchFilesDownloadInfoParams) WithSort ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WithSort(sort *string) *FetchFilesDownloadInfoParams
WithSort adds the sort to the fetch files download info params
func (*FetchFilesDownloadInfoParams) WithTimeout ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WithTimeout(timeout time.Duration) *FetchFilesDownloadInfoParams
WithTimeout adds the timeout to the fetch files download info params
func (*FetchFilesDownloadInfoParams) WriteToRequest ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FetchFilesDownloadInfoReader ¶ added in v0.17.0
type FetchFilesDownloadInfoReader struct {
// contains filtered or unexported fields
}
FetchFilesDownloadInfoReader is a Reader for the FetchFilesDownloadInfo structure.
func (*FetchFilesDownloadInfoReader) ReadResponse ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FetchFilesDownloadInfoTooManyRequests ¶ added in v0.17.0
type FetchFilesDownloadInfoTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
FetchFilesDownloadInfoTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewFetchFilesDownloadInfoTooManyRequests ¶ added in v0.17.0
func NewFetchFilesDownloadInfoTooManyRequests() *FetchFilesDownloadInfoTooManyRequests
NewFetchFilesDownloadInfoTooManyRequests creates a FetchFilesDownloadInfoTooManyRequests with default headers values
func (*FetchFilesDownloadInfoTooManyRequests) Code ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) Code() int
Code gets the status code for the fetch files download info too many requests response
func (*FetchFilesDownloadInfoTooManyRequests) Error ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) Error() string
func (*FetchFilesDownloadInfoTooManyRequests) GetPayload ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*FetchFilesDownloadInfoTooManyRequests) IsClientError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) IsClientError() bool
IsClientError returns true when this fetch files download info too many requests response has a 4xx status code
func (*FetchFilesDownloadInfoTooManyRequests) IsCode ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) IsCode(code int) bool
IsCode returns true when this fetch files download info too many requests response a status code equal to that given
func (*FetchFilesDownloadInfoTooManyRequests) IsRedirect ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) IsRedirect() bool
IsRedirect returns true when this fetch files download info too many requests response has a 3xx status code
func (*FetchFilesDownloadInfoTooManyRequests) IsServerError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) IsServerError() bool
IsServerError returns true when this fetch files download info too many requests response has a 5xx status code
func (*FetchFilesDownloadInfoTooManyRequests) IsSuccess ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) IsSuccess() bool
IsSuccess returns true when this fetch files download info too many requests response has a 2xx status code
func (*FetchFilesDownloadInfoTooManyRequests) String ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoTooManyRequests) String() string
type FetchFilesDownloadInfoUnauthorized ¶ added in v0.17.0
type FetchFilesDownloadInfoUnauthorized struct {
XCSTRACEID string
XRateLimitLimit int64
XRateLimitRemaining int64
}
FetchFilesDownloadInfoUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewFetchFilesDownloadInfoUnauthorized ¶ added in v0.17.0
func NewFetchFilesDownloadInfoUnauthorized() *FetchFilesDownloadInfoUnauthorized
NewFetchFilesDownloadInfoUnauthorized creates a FetchFilesDownloadInfoUnauthorized with default headers values
func (*FetchFilesDownloadInfoUnauthorized) Code ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) Code() int
Code gets the status code for the fetch files download info unauthorized response
func (*FetchFilesDownloadInfoUnauthorized) Error ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) Error() string
func (*FetchFilesDownloadInfoUnauthorized) GetPayload ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoUnauthorized) IsClientError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) IsClientError() bool
IsClientError returns true when this fetch files download info unauthorized response has a 4xx status code
func (*FetchFilesDownloadInfoUnauthorized) IsCode ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) IsCode(code int) bool
IsCode returns true when this fetch files download info unauthorized response a status code equal to that given
func (*FetchFilesDownloadInfoUnauthorized) IsRedirect ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) IsRedirect() bool
IsRedirect returns true when this fetch files download info unauthorized response has a 3xx status code
func (*FetchFilesDownloadInfoUnauthorized) IsServerError ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) IsServerError() bool
IsServerError returns true when this fetch files download info unauthorized response has a 5xx status code
func (*FetchFilesDownloadInfoUnauthorized) IsSuccess ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) IsSuccess() bool
IsSuccess returns true when this fetch files download info unauthorized response has a 2xx status code
func (*FetchFilesDownloadInfoUnauthorized) String ¶ added in v0.17.0
func (o *FetchFilesDownloadInfoUnauthorized) String() string
type FetchFilesDownloadInfoV2BadRequest ¶ added in v0.20.0
type FetchFilesDownloadInfoV2BadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewFetchFilesDownloadInfoV2BadRequest ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2BadRequest() *FetchFilesDownloadInfoV2BadRequest
NewFetchFilesDownloadInfoV2BadRequest creates a FetchFilesDownloadInfoV2BadRequest with default headers values
func (*FetchFilesDownloadInfoV2BadRequest) Code ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) Code() int
Code gets the status code for the fetch files download info v2 bad request response
func (*FetchFilesDownloadInfoV2BadRequest) Error ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) Error() string
func (*FetchFilesDownloadInfoV2BadRequest) GetPayload ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoV2BadRequest) IsClientError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) IsClientError() bool
IsClientError returns true when this fetch files download info v2 bad request response has a 4xx status code
func (*FetchFilesDownloadInfoV2BadRequest) IsCode ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) IsCode(code int) bool
IsCode returns true when this fetch files download info v2 bad request response a status code equal to that given
func (*FetchFilesDownloadInfoV2BadRequest) IsRedirect ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) IsRedirect() bool
IsRedirect returns true when this fetch files download info v2 bad request response has a 3xx status code
func (*FetchFilesDownloadInfoV2BadRequest) IsServerError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) IsServerError() bool
IsServerError returns true when this fetch files download info v2 bad request response has a 5xx status code
func (*FetchFilesDownloadInfoV2BadRequest) IsSuccess ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) IsSuccess() bool
IsSuccess returns true when this fetch files download info v2 bad request response has a 2xx status code
func (*FetchFilesDownloadInfoV2BadRequest) String ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2BadRequest) String() string
type FetchFilesDownloadInfoV2Forbidden ¶ added in v0.20.0
type FetchFilesDownloadInfoV2Forbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewFetchFilesDownloadInfoV2Forbidden ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2Forbidden() *FetchFilesDownloadInfoV2Forbidden
NewFetchFilesDownloadInfoV2Forbidden creates a FetchFilesDownloadInfoV2Forbidden with default headers values
func (*FetchFilesDownloadInfoV2Forbidden) Code ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) Code() int
Code gets the status code for the fetch files download info v2 forbidden response
func (*FetchFilesDownloadInfoV2Forbidden) Error ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) Error() string
func (*FetchFilesDownloadInfoV2Forbidden) GetPayload ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoV2Forbidden) IsClientError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) IsClientError() bool
IsClientError returns true when this fetch files download info v2 forbidden response has a 4xx status code
func (*FetchFilesDownloadInfoV2Forbidden) IsCode ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) IsCode(code int) bool
IsCode returns true when this fetch files download info v2 forbidden response a status code equal to that given
func (*FetchFilesDownloadInfoV2Forbidden) IsRedirect ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) IsRedirect() bool
IsRedirect returns true when this fetch files download info v2 forbidden response has a 3xx status code
func (*FetchFilesDownloadInfoV2Forbidden) IsServerError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) IsServerError() bool
IsServerError returns true when this fetch files download info v2 forbidden response has a 5xx status code
func (*FetchFilesDownloadInfoV2Forbidden) IsSuccess ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) IsSuccess() bool
IsSuccess returns true when this fetch files download info v2 forbidden response has a 2xx status code
func (*FetchFilesDownloadInfoV2Forbidden) String ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Forbidden) String() string
type FetchFilesDownloadInfoV2InternalServerError ¶ added in v0.20.0
type FetchFilesDownloadInfoV2InternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsEntitiesResponse
}
FetchFilesDownloadInfoV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewFetchFilesDownloadInfoV2InternalServerError ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2InternalServerError() *FetchFilesDownloadInfoV2InternalServerError
NewFetchFilesDownloadInfoV2InternalServerError creates a FetchFilesDownloadInfoV2InternalServerError with default headers values
func (*FetchFilesDownloadInfoV2InternalServerError) Code ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) Code() int
Code gets the status code for the fetch files download info v2 internal server error response
func (*FetchFilesDownloadInfoV2InternalServerError) Error ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) Error() string
func (*FetchFilesDownloadInfoV2InternalServerError) GetPayload ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoV2InternalServerError) IsClientError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) IsClientError() bool
IsClientError returns true when this fetch files download info v2 internal server error response has a 4xx status code
func (*FetchFilesDownloadInfoV2InternalServerError) IsCode ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) IsCode(code int) bool
IsCode returns true when this fetch files download info v2 internal server error response a status code equal to that given
func (*FetchFilesDownloadInfoV2InternalServerError) IsRedirect ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this fetch files download info v2 internal server error response has a 3xx status code
func (*FetchFilesDownloadInfoV2InternalServerError) IsServerError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) IsServerError() bool
IsServerError returns true when this fetch files download info v2 internal server error response has a 5xx status code
func (*FetchFilesDownloadInfoV2InternalServerError) IsSuccess ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this fetch files download info v2 internal server error response has a 2xx status code
func (*FetchFilesDownloadInfoV2InternalServerError) String ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2InternalServerError) String() string
type FetchFilesDownloadInfoV2OK ¶ added in v0.20.0
type FetchFilesDownloadInfoV2OK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ModelsCombinedFilesDownloadResponse
}
FetchFilesDownloadInfoV2OK describes a response with status code 200, with default header values.
OK
func NewFetchFilesDownloadInfoV2OK ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2OK() *FetchFilesDownloadInfoV2OK
NewFetchFilesDownloadInfoV2OK creates a FetchFilesDownloadInfoV2OK with default headers values
func (*FetchFilesDownloadInfoV2OK) Code ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) Code() int
Code gets the status code for the fetch files download info v2 o k response
func (*FetchFilesDownloadInfoV2OK) Error ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) Error() string
func (*FetchFilesDownloadInfoV2OK) GetPayload ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) GetPayload() *models.ModelsCombinedFilesDownloadResponse
func (*FetchFilesDownloadInfoV2OK) IsClientError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) IsClientError() bool
IsClientError returns true when this fetch files download info v2 o k response has a 4xx status code
func (*FetchFilesDownloadInfoV2OK) IsCode ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) IsCode(code int) bool
IsCode returns true when this fetch files download info v2 o k response a status code equal to that given
func (*FetchFilesDownloadInfoV2OK) IsRedirect ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) IsRedirect() bool
IsRedirect returns true when this fetch files download info v2 o k response has a 3xx status code
func (*FetchFilesDownloadInfoV2OK) IsServerError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) IsServerError() bool
IsServerError returns true when this fetch files download info v2 o k response has a 5xx status code
func (*FetchFilesDownloadInfoV2OK) IsSuccess ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) IsSuccess() bool
IsSuccess returns true when this fetch files download info v2 o k response has a 2xx status code
func (*FetchFilesDownloadInfoV2OK) String ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2OK) String() string
type FetchFilesDownloadInfoV2Params ¶ added in v0.20.0
type FetchFilesDownloadInfoV2Params struct {
/* Filter.
Search files using various filters. Supported filters: arch,category,file_name,file_version,os
*/
Filter *string
/* Limit.
The upper-bound on the number of records to retrieve. Maximum limit: 100.
Default: 100
*/
Limit *int64
/* Offset.
The offset from where to begin. Maximum offset = 1000 - limit.
*/
Offset *int64
/* Sort.
The fields to sort records on. Supported columns:
- `arch`
- `category`
- `file_name`
- `file_version`
- `os`
*/
Sort *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
FetchFilesDownloadInfoV2Params contains all the parameters to send to the API endpoint
for the fetch files download info v2 operation. Typically these are written to a http.Request.
func NewFetchFilesDownloadInfoV2Params ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2Params() *FetchFilesDownloadInfoV2Params
NewFetchFilesDownloadInfoV2Params creates a new FetchFilesDownloadInfoV2Params 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 NewFetchFilesDownloadInfoV2ParamsWithContext ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2ParamsWithContext(ctx context.Context) *FetchFilesDownloadInfoV2Params
NewFetchFilesDownloadInfoV2ParamsWithContext creates a new FetchFilesDownloadInfoV2Params object with the ability to set a context for a request.
func NewFetchFilesDownloadInfoV2ParamsWithHTTPClient ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2ParamsWithHTTPClient(client *http.Client) *FetchFilesDownloadInfoV2Params
NewFetchFilesDownloadInfoV2ParamsWithHTTPClient creates a new FetchFilesDownloadInfoV2Params object with the ability to set a custom HTTPClient for a request.
func NewFetchFilesDownloadInfoV2ParamsWithTimeout ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2ParamsWithTimeout(timeout time.Duration) *FetchFilesDownloadInfoV2Params
NewFetchFilesDownloadInfoV2ParamsWithTimeout creates a new FetchFilesDownloadInfoV2Params object with the ability to set a timeout on a request.
func (*FetchFilesDownloadInfoV2Params) SetContext ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetContext(ctx context.Context)
SetContext adds the context to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) SetDefaults ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetDefaults()
SetDefaults hydrates default values in the fetch files download info v2 params (not the query body).
All values with no default are reset to their zero value.
func (*FetchFilesDownloadInfoV2Params) SetFilter ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetFilter(filter *string)
SetFilter adds the filter to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) SetHTTPClient ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) SetLimit ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) SetOffset ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) SetSort ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetSort(sort *string)
SetSort adds the sort to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) SetTimeout ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithContext ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithContext(ctx context.Context) *FetchFilesDownloadInfoV2Params
WithContext adds the context to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithDefaults ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithDefaults() *FetchFilesDownloadInfoV2Params
WithDefaults hydrates default values in the fetch files download info v2 params (not the query body).
All values with no default are reset to their zero value.
func (*FetchFilesDownloadInfoV2Params) WithFilter ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithFilter(filter *string) *FetchFilesDownloadInfoV2Params
WithFilter adds the filter to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithHTTPClient ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithHTTPClient(client *http.Client) *FetchFilesDownloadInfoV2Params
WithHTTPClient adds the HTTPClient to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithLimit ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithLimit(limit *int64) *FetchFilesDownloadInfoV2Params
WithLimit adds the limit to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithOffset ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithOffset(offset *int64) *FetchFilesDownloadInfoV2Params
WithOffset adds the offset to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithSort ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithSort(sort *string) *FetchFilesDownloadInfoV2Params
WithSort adds the sort to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WithTimeout ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WithTimeout(timeout time.Duration) *FetchFilesDownloadInfoV2Params
WithTimeout adds the timeout to the fetch files download info v2 params
func (*FetchFilesDownloadInfoV2Params) WriteToRequest ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FetchFilesDownloadInfoV2Reader ¶ added in v0.20.0
type FetchFilesDownloadInfoV2Reader struct {
// contains filtered or unexported fields
}
FetchFilesDownloadInfoV2Reader is a Reader for the FetchFilesDownloadInfoV2 structure.
func (*FetchFilesDownloadInfoV2Reader) ReadResponse ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FetchFilesDownloadInfoV2TooManyRequests ¶ added in v0.20.0
type FetchFilesDownloadInfoV2TooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
FetchFilesDownloadInfoV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewFetchFilesDownloadInfoV2TooManyRequests ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2TooManyRequests() *FetchFilesDownloadInfoV2TooManyRequests
NewFetchFilesDownloadInfoV2TooManyRequests creates a FetchFilesDownloadInfoV2TooManyRequests with default headers values
func (*FetchFilesDownloadInfoV2TooManyRequests) Code ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) Code() int
Code gets the status code for the fetch files download info v2 too many requests response
func (*FetchFilesDownloadInfoV2TooManyRequests) Error ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) Error() string
func (*FetchFilesDownloadInfoV2TooManyRequests) GetPayload ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*FetchFilesDownloadInfoV2TooManyRequests) IsClientError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) IsClientError() bool
IsClientError returns true when this fetch files download info v2 too many requests response has a 4xx status code
func (*FetchFilesDownloadInfoV2TooManyRequests) IsCode ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this fetch files download info v2 too many requests response a status code equal to that given
func (*FetchFilesDownloadInfoV2TooManyRequests) IsRedirect ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this fetch files download info v2 too many requests response has a 3xx status code
func (*FetchFilesDownloadInfoV2TooManyRequests) IsServerError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) IsServerError() bool
IsServerError returns true when this fetch files download info v2 too many requests response has a 5xx status code
func (*FetchFilesDownloadInfoV2TooManyRequests) IsSuccess ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this fetch files download info v2 too many requests response has a 2xx status code
func (*FetchFilesDownloadInfoV2TooManyRequests) String ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2TooManyRequests) String() string
type FetchFilesDownloadInfoV2Unauthorized ¶ added in v0.20.0
type FetchFilesDownloadInfoV2Unauthorized struct {
XCSTRACEID string
XRateLimitLimit int64
XRateLimitRemaining int64
}
FetchFilesDownloadInfoV2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewFetchFilesDownloadInfoV2Unauthorized ¶ added in v0.20.0
func NewFetchFilesDownloadInfoV2Unauthorized() *FetchFilesDownloadInfoV2Unauthorized
NewFetchFilesDownloadInfoV2Unauthorized creates a FetchFilesDownloadInfoV2Unauthorized with default headers values
func (*FetchFilesDownloadInfoV2Unauthorized) Code ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) Code() int
Code gets the status code for the fetch files download info v2 unauthorized response
func (*FetchFilesDownloadInfoV2Unauthorized) Error ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) Error() string
func (*FetchFilesDownloadInfoV2Unauthorized) GetPayload ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) GetPayload() *models.ModelsEntitiesResponse
func (*FetchFilesDownloadInfoV2Unauthorized) IsClientError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) IsClientError() bool
IsClientError returns true when this fetch files download info v2 unauthorized response has a 4xx status code
func (*FetchFilesDownloadInfoV2Unauthorized) IsCode ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) IsCode(code int) bool
IsCode returns true when this fetch files download info v2 unauthorized response a status code equal to that given
func (*FetchFilesDownloadInfoV2Unauthorized) IsRedirect ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) IsRedirect() bool
IsRedirect returns true when this fetch files download info v2 unauthorized response has a 3xx status code
func (*FetchFilesDownloadInfoV2Unauthorized) IsServerError ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) IsServerError() bool
IsServerError returns true when this fetch files download info v2 unauthorized response has a 5xx status code
func (*FetchFilesDownloadInfoV2Unauthorized) IsSuccess ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) IsSuccess() bool
IsSuccess returns true when this fetch files download info v2 unauthorized response has a 2xx status code
func (*FetchFilesDownloadInfoV2Unauthorized) String ¶ added in v0.20.0
func (o *FetchFilesDownloadInfoV2Unauthorized) String() string