Documentation
¶
Index ¶
- type Client
- func (a *Client) DownloadFeedArchive(params *DownloadFeedArchiveParams, opts ...ClientOption) error
- func (a *Client) ListFeedTypes(params *ListFeedTypesParams, opts ...ClientOption) (*ListFeedTypesOK, error)
- func (a *Client) QueryFeedArchives(params *QueryFeedArchivesParams, opts ...ClientOption) (*QueryFeedArchivesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DownloadFeedArchiveBadRequest
- func (o *DownloadFeedArchiveBadRequest) Code() int
- func (o *DownloadFeedArchiveBadRequest) Error() string
- func (o *DownloadFeedArchiveBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *DownloadFeedArchiveBadRequest) IsClientError() bool
- func (o *DownloadFeedArchiveBadRequest) IsCode(code int) bool
- func (o *DownloadFeedArchiveBadRequest) IsRedirect() bool
- func (o *DownloadFeedArchiveBadRequest) IsServerError() bool
- func (o *DownloadFeedArchiveBadRequest) IsSuccess() bool
- func (o *DownloadFeedArchiveBadRequest) String() string
- type DownloadFeedArchiveForbidden
- func (o *DownloadFeedArchiveForbidden) Code() int
- func (o *DownloadFeedArchiveForbidden) Error() string
- func (o *DownloadFeedArchiveForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DownloadFeedArchiveForbidden) IsClientError() bool
- func (o *DownloadFeedArchiveForbidden) IsCode(code int) bool
- func (o *DownloadFeedArchiveForbidden) IsRedirect() bool
- func (o *DownloadFeedArchiveForbidden) IsServerError() bool
- func (o *DownloadFeedArchiveForbidden) IsSuccess() bool
- func (o *DownloadFeedArchiveForbidden) String() string
- type DownloadFeedArchiveInternalServerError
- func (o *DownloadFeedArchiveInternalServerError) Code() int
- func (o *DownloadFeedArchiveInternalServerError) Error() string
- func (o *DownloadFeedArchiveInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *DownloadFeedArchiveInternalServerError) IsClientError() bool
- func (o *DownloadFeedArchiveInternalServerError) IsCode(code int) bool
- func (o *DownloadFeedArchiveInternalServerError) IsRedirect() bool
- func (o *DownloadFeedArchiveInternalServerError) IsServerError() bool
- func (o *DownloadFeedArchiveInternalServerError) IsSuccess() bool
- func (o *DownloadFeedArchiveInternalServerError) String() string
- type DownloadFeedArchiveParams
- func NewDownloadFeedArchiveParams() *DownloadFeedArchiveParams
- func NewDownloadFeedArchiveParamsWithContext(ctx context.Context) *DownloadFeedArchiveParams
- func NewDownloadFeedArchiveParamsWithHTTPClient(client *http.Client) *DownloadFeedArchiveParams
- func NewDownloadFeedArchiveParamsWithTimeout(timeout time.Duration) *DownloadFeedArchiveParams
- func (o *DownloadFeedArchiveParams) SetContext(ctx context.Context)
- func (o *DownloadFeedArchiveParams) SetDefaults()
- func (o *DownloadFeedArchiveParams) SetFeedItemID(feedItemID string)
- func (o *DownloadFeedArchiveParams) SetHTTPClient(client *http.Client)
- func (o *DownloadFeedArchiveParams) SetTimeout(timeout time.Duration)
- func (o *DownloadFeedArchiveParams) WithContext(ctx context.Context) *DownloadFeedArchiveParams
- func (o *DownloadFeedArchiveParams) WithDefaults() *DownloadFeedArchiveParams
- func (o *DownloadFeedArchiveParams) WithFeedItemID(feedItemID string) *DownloadFeedArchiveParams
- func (o *DownloadFeedArchiveParams) WithHTTPClient(client *http.Client) *DownloadFeedArchiveParams
- func (o *DownloadFeedArchiveParams) WithTimeout(timeout time.Duration) *DownloadFeedArchiveParams
- func (o *DownloadFeedArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadFeedArchivePermanentRedirect
- func (o *DownloadFeedArchivePermanentRedirect) Code() int
- func (o *DownloadFeedArchivePermanentRedirect) Error() string
- func (o *DownloadFeedArchivePermanentRedirect) GetPayload() *models.MsaspecResponseFields
- func (o *DownloadFeedArchivePermanentRedirect) IsClientError() bool
- func (o *DownloadFeedArchivePermanentRedirect) IsCode(code int) bool
- func (o *DownloadFeedArchivePermanentRedirect) IsRedirect() bool
- func (o *DownloadFeedArchivePermanentRedirect) IsServerError() bool
- func (o *DownloadFeedArchivePermanentRedirect) IsSuccess() bool
- func (o *DownloadFeedArchivePermanentRedirect) String() string
- type DownloadFeedArchiveReader
- type DownloadFeedArchiveTooManyRequests
- func (o *DownloadFeedArchiveTooManyRequests) Code() int
- func (o *DownloadFeedArchiveTooManyRequests) Error() string
- func (o *DownloadFeedArchiveTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DownloadFeedArchiveTooManyRequests) IsClientError() bool
- func (o *DownloadFeedArchiveTooManyRequests) IsCode(code int) bool
- func (o *DownloadFeedArchiveTooManyRequests) IsRedirect() bool
- func (o *DownloadFeedArchiveTooManyRequests) IsServerError() bool
- func (o *DownloadFeedArchiveTooManyRequests) IsSuccess() bool
- func (o *DownloadFeedArchiveTooManyRequests) String() string
- type ListFeedTypesBadRequest
- func (o *ListFeedTypesBadRequest) Code() int
- func (o *ListFeedTypesBadRequest) Error() string
- func (o *ListFeedTypesBadRequest) IsClientError() bool
- func (o *ListFeedTypesBadRequest) IsCode(code int) bool
- func (o *ListFeedTypesBadRequest) IsRedirect() bool
- func (o *ListFeedTypesBadRequest) IsServerError() bool
- func (o *ListFeedTypesBadRequest) IsSuccess() bool
- func (o *ListFeedTypesBadRequest) String() string
- type ListFeedTypesForbidden
- func (o *ListFeedTypesForbidden) Code() int
- func (o *ListFeedTypesForbidden) Error() string
- func (o *ListFeedTypesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListFeedTypesForbidden) IsClientError() bool
- func (o *ListFeedTypesForbidden) IsCode(code int) bool
- func (o *ListFeedTypesForbidden) IsRedirect() bool
- func (o *ListFeedTypesForbidden) IsServerError() bool
- func (o *ListFeedTypesForbidden) IsSuccess() bool
- func (o *ListFeedTypesForbidden) String() string
- type ListFeedTypesInternalServerError
- func (o *ListFeedTypesInternalServerError) Code() int
- func (o *ListFeedTypesInternalServerError) Error() string
- func (o *ListFeedTypesInternalServerError) IsClientError() bool
- func (o *ListFeedTypesInternalServerError) IsCode(code int) bool
- func (o *ListFeedTypesInternalServerError) IsRedirect() bool
- func (o *ListFeedTypesInternalServerError) IsServerError() bool
- func (o *ListFeedTypesInternalServerError) IsSuccess() bool
- func (o *ListFeedTypesInternalServerError) String() string
- type ListFeedTypesOK
- func (o *ListFeedTypesOK) Code() int
- func (o *ListFeedTypesOK) Error() string
- func (o *ListFeedTypesOK) GetPayload() *models.RestapiIndicatorGetFeedsResponse
- func (o *ListFeedTypesOK) IsClientError() bool
- func (o *ListFeedTypesOK) IsCode(code int) bool
- func (o *ListFeedTypesOK) IsRedirect() bool
- func (o *ListFeedTypesOK) IsServerError() bool
- func (o *ListFeedTypesOK) IsSuccess() bool
- func (o *ListFeedTypesOK) String() string
- type ListFeedTypesParams
- func (o *ListFeedTypesParams) SetContext(ctx context.Context)
- func (o *ListFeedTypesParams) SetDefaults()
- func (o *ListFeedTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListFeedTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListFeedTypesParams) WithContext(ctx context.Context) *ListFeedTypesParams
- func (o *ListFeedTypesParams) WithDefaults() *ListFeedTypesParams
- func (o *ListFeedTypesParams) WithHTTPClient(client *http.Client) *ListFeedTypesParams
- func (o *ListFeedTypesParams) WithTimeout(timeout time.Duration) *ListFeedTypesParams
- func (o *ListFeedTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFeedTypesReader
- type ListFeedTypesTooManyRequests
- func (o *ListFeedTypesTooManyRequests) Code() int
- func (o *ListFeedTypesTooManyRequests) Error() string
- func (o *ListFeedTypesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ListFeedTypesTooManyRequests) IsClientError() bool
- func (o *ListFeedTypesTooManyRequests) IsCode(code int) bool
- func (o *ListFeedTypesTooManyRequests) IsRedirect() bool
- func (o *ListFeedTypesTooManyRequests) IsServerError() bool
- func (o *ListFeedTypesTooManyRequests) IsSuccess() bool
- func (o *ListFeedTypesTooManyRequests) String() string
- type QueryFeedArchivesBadRequest
- func (o *QueryFeedArchivesBadRequest) Code() int
- func (o *QueryFeedArchivesBadRequest) Error() string
- func (o *QueryFeedArchivesBadRequest) IsClientError() bool
- func (o *QueryFeedArchivesBadRequest) IsCode(code int) bool
- func (o *QueryFeedArchivesBadRequest) IsRedirect() bool
- func (o *QueryFeedArchivesBadRequest) IsServerError() bool
- func (o *QueryFeedArchivesBadRequest) IsSuccess() bool
- func (o *QueryFeedArchivesBadRequest) String() string
- type QueryFeedArchivesForbidden
- func (o *QueryFeedArchivesForbidden) Code() int
- func (o *QueryFeedArchivesForbidden) Error() string
- func (o *QueryFeedArchivesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryFeedArchivesForbidden) IsClientError() bool
- func (o *QueryFeedArchivesForbidden) IsCode(code int) bool
- func (o *QueryFeedArchivesForbidden) IsRedirect() bool
- func (o *QueryFeedArchivesForbidden) IsServerError() bool
- func (o *QueryFeedArchivesForbidden) IsSuccess() bool
- func (o *QueryFeedArchivesForbidden) String() string
- type QueryFeedArchivesInternalServerError
- func (o *QueryFeedArchivesInternalServerError) Code() int
- func (o *QueryFeedArchivesInternalServerError) Error() string
- func (o *QueryFeedArchivesInternalServerError) IsClientError() bool
- func (o *QueryFeedArchivesInternalServerError) IsCode(code int) bool
- func (o *QueryFeedArchivesInternalServerError) IsRedirect() bool
- func (o *QueryFeedArchivesInternalServerError) IsServerError() bool
- func (o *QueryFeedArchivesInternalServerError) IsSuccess() bool
- func (o *QueryFeedArchivesInternalServerError) String() string
- type QueryFeedArchivesOK
- func (o *QueryFeedArchivesOK) Code() int
- func (o *QueryFeedArchivesOK) Error() string
- func (o *QueryFeedArchivesOK) GetPayload() *models.RestapiIndicatorFeedQueryResponse
- func (o *QueryFeedArchivesOK) IsClientError() bool
- func (o *QueryFeedArchivesOK) IsCode(code int) bool
- func (o *QueryFeedArchivesOK) IsRedirect() bool
- func (o *QueryFeedArchivesOK) IsServerError() bool
- func (o *QueryFeedArchivesOK) IsSuccess() bool
- func (o *QueryFeedArchivesOK) String() string
- type QueryFeedArchivesParams
- func NewQueryFeedArchivesParams() *QueryFeedArchivesParams
- func NewQueryFeedArchivesParamsWithContext(ctx context.Context) *QueryFeedArchivesParams
- func NewQueryFeedArchivesParamsWithHTTPClient(client *http.Client) *QueryFeedArchivesParams
- func NewQueryFeedArchivesParamsWithTimeout(timeout time.Duration) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) SetContext(ctx context.Context)
- func (o *QueryFeedArchivesParams) SetDefaults()
- func (o *QueryFeedArchivesParams) SetFeedInterval(feedInterval *string)
- func (o *QueryFeedArchivesParams) SetFeedName(feedName string)
- func (o *QueryFeedArchivesParams) SetHTTPClient(client *http.Client)
- func (o *QueryFeedArchivesParams) SetSince(since *string)
- func (o *QueryFeedArchivesParams) SetTimeout(timeout time.Duration)
- func (o *QueryFeedArchivesParams) WithContext(ctx context.Context) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WithDefaults() *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WithFeedInterval(feedInterval *string) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WithFeedName(feedName string) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WithHTTPClient(client *http.Client) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WithSince(since *string) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WithTimeout(timeout time.Duration) *QueryFeedArchivesParams
- func (o *QueryFeedArchivesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryFeedArchivesReader
- type QueryFeedArchivesTooManyRequests
- func (o *QueryFeedArchivesTooManyRequests) Code() int
- func (o *QueryFeedArchivesTooManyRequests) Error() string
- func (o *QueryFeedArchivesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryFeedArchivesTooManyRequests) IsClientError() bool
- func (o *QueryFeedArchivesTooManyRequests) IsCode(code int) bool
- func (o *QueryFeedArchivesTooManyRequests) IsRedirect() bool
- func (o *QueryFeedArchivesTooManyRequests) IsServerError() bool
- func (o *QueryFeedArchivesTooManyRequests) IsSuccess() bool
- func (o *QueryFeedArchivesTooManyRequests) 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 intelligence feeds API
func (*Client) DownloadFeedArchive ¶
func (a *Client) DownloadFeedArchive(params *DownloadFeedArchiveParams, opts ...ClientOption) error
DownloadFeedArchive downloads the content as a zip archive for a given feed item ID
func (*Client) ListFeedTypes ¶
func (a *Client) ListFeedTypes(params *ListFeedTypesParams, opts ...ClientOption) (*ListFeedTypesOK, error)
ListFeedTypes lists the accessible feed types for a given customer
func (*Client) QueryFeedArchives ¶
func (a *Client) QueryFeedArchives(params *QueryFeedArchivesParams, opts ...ClientOption) (*QueryFeedArchivesOK, error)
QueryFeedArchives queries the accessible feed types for a customer returns a list of feed item i ds which can be later downloaded
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 {
DownloadFeedArchive(params *DownloadFeedArchiveParams, opts ...ClientOption) error
ListFeedTypes(params *ListFeedTypesParams, opts ...ClientOption) (*ListFeedTypesOK, error)
QueryFeedArchives(params *QueryFeedArchivesParams, opts ...ClientOption) (*QueryFeedArchivesOK, 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 intelligence feeds API client.
type DownloadFeedArchiveBadRequest ¶
type DownloadFeedArchiveBadRequest 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.MsaspecResponseFields
}
DownloadFeedArchiveBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDownloadFeedArchiveBadRequest ¶
func NewDownloadFeedArchiveBadRequest() *DownloadFeedArchiveBadRequest
NewDownloadFeedArchiveBadRequest creates a DownloadFeedArchiveBadRequest with default headers values
func (*DownloadFeedArchiveBadRequest) Code ¶
func (o *DownloadFeedArchiveBadRequest) Code() int
Code gets the status code for the download feed archive bad request response
func (*DownloadFeedArchiveBadRequest) Error ¶
func (o *DownloadFeedArchiveBadRequest) Error() string
func (*DownloadFeedArchiveBadRequest) GetPayload ¶
func (o *DownloadFeedArchiveBadRequest) GetPayload() *models.MsaspecResponseFields
func (*DownloadFeedArchiveBadRequest) IsClientError ¶
func (o *DownloadFeedArchiveBadRequest) IsClientError() bool
IsClientError returns true when this download feed archive bad request response has a 4xx status code
func (*DownloadFeedArchiveBadRequest) IsCode ¶
func (o *DownloadFeedArchiveBadRequest) IsCode(code int) bool
IsCode returns true when this download feed archive bad request response a status code equal to that given
func (*DownloadFeedArchiveBadRequest) IsRedirect ¶
func (o *DownloadFeedArchiveBadRequest) IsRedirect() bool
IsRedirect returns true when this download feed archive bad request response has a 3xx status code
func (*DownloadFeedArchiveBadRequest) IsServerError ¶
func (o *DownloadFeedArchiveBadRequest) IsServerError() bool
IsServerError returns true when this download feed archive bad request response has a 5xx status code
func (*DownloadFeedArchiveBadRequest) IsSuccess ¶
func (o *DownloadFeedArchiveBadRequest) IsSuccess() bool
IsSuccess returns true when this download feed archive bad request response has a 2xx status code
func (*DownloadFeedArchiveBadRequest) String ¶
func (o *DownloadFeedArchiveBadRequest) String() string
type DownloadFeedArchiveForbidden ¶
type DownloadFeedArchiveForbidden 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.MsaReplyMetaOnly
}
DownloadFeedArchiveForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDownloadFeedArchiveForbidden ¶
func NewDownloadFeedArchiveForbidden() *DownloadFeedArchiveForbidden
NewDownloadFeedArchiveForbidden creates a DownloadFeedArchiveForbidden with default headers values
func (*DownloadFeedArchiveForbidden) Code ¶
func (o *DownloadFeedArchiveForbidden) Code() int
Code gets the status code for the download feed archive forbidden response
func (*DownloadFeedArchiveForbidden) Error ¶
func (o *DownloadFeedArchiveForbidden) Error() string
func (*DownloadFeedArchiveForbidden) GetPayload ¶
func (o *DownloadFeedArchiveForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*DownloadFeedArchiveForbidden) IsClientError ¶
func (o *DownloadFeedArchiveForbidden) IsClientError() bool
IsClientError returns true when this download feed archive forbidden response has a 4xx status code
func (*DownloadFeedArchiveForbidden) IsCode ¶
func (o *DownloadFeedArchiveForbidden) IsCode(code int) bool
IsCode returns true when this download feed archive forbidden response a status code equal to that given
func (*DownloadFeedArchiveForbidden) IsRedirect ¶
func (o *DownloadFeedArchiveForbidden) IsRedirect() bool
IsRedirect returns true when this download feed archive forbidden response has a 3xx status code
func (*DownloadFeedArchiveForbidden) IsServerError ¶
func (o *DownloadFeedArchiveForbidden) IsServerError() bool
IsServerError returns true when this download feed archive forbidden response has a 5xx status code
func (*DownloadFeedArchiveForbidden) IsSuccess ¶
func (o *DownloadFeedArchiveForbidden) IsSuccess() bool
IsSuccess returns true when this download feed archive forbidden response has a 2xx status code
func (*DownloadFeedArchiveForbidden) String ¶
func (o *DownloadFeedArchiveForbidden) String() string
type DownloadFeedArchiveInternalServerError ¶
type DownloadFeedArchiveInternalServerError 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.MsaspecResponseFields
}
DownloadFeedArchiveInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDownloadFeedArchiveInternalServerError ¶
func NewDownloadFeedArchiveInternalServerError() *DownloadFeedArchiveInternalServerError
NewDownloadFeedArchiveInternalServerError creates a DownloadFeedArchiveInternalServerError with default headers values
func (*DownloadFeedArchiveInternalServerError) Code ¶
func (o *DownloadFeedArchiveInternalServerError) Code() int
Code gets the status code for the download feed archive internal server error response
func (*DownloadFeedArchiveInternalServerError) Error ¶
func (o *DownloadFeedArchiveInternalServerError) Error() string
func (*DownloadFeedArchiveInternalServerError) GetPayload ¶
func (o *DownloadFeedArchiveInternalServerError) GetPayload() *models.MsaspecResponseFields
func (*DownloadFeedArchiveInternalServerError) IsClientError ¶
func (o *DownloadFeedArchiveInternalServerError) IsClientError() bool
IsClientError returns true when this download feed archive internal server error response has a 4xx status code
func (*DownloadFeedArchiveInternalServerError) IsCode ¶
func (o *DownloadFeedArchiveInternalServerError) IsCode(code int) bool
IsCode returns true when this download feed archive internal server error response a status code equal to that given
func (*DownloadFeedArchiveInternalServerError) IsRedirect ¶
func (o *DownloadFeedArchiveInternalServerError) IsRedirect() bool
IsRedirect returns true when this download feed archive internal server error response has a 3xx status code
func (*DownloadFeedArchiveInternalServerError) IsServerError ¶
func (o *DownloadFeedArchiveInternalServerError) IsServerError() bool
IsServerError returns true when this download feed archive internal server error response has a 5xx status code
func (*DownloadFeedArchiveInternalServerError) IsSuccess ¶
func (o *DownloadFeedArchiveInternalServerError) IsSuccess() bool
IsSuccess returns true when this download feed archive internal server error response has a 2xx status code
func (*DownloadFeedArchiveInternalServerError) String ¶
func (o *DownloadFeedArchiveInternalServerError) String() string
type DownloadFeedArchiveParams ¶
type DownloadFeedArchiveParams struct {
/* FeedItemID.
Feed ID
*/
FeedItemID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DownloadFeedArchiveParams contains all the parameters to send to the API endpoint
for the download feed archive operation. Typically these are written to a http.Request.
func NewDownloadFeedArchiveParams ¶
func NewDownloadFeedArchiveParams() *DownloadFeedArchiveParams
NewDownloadFeedArchiveParams creates a new DownloadFeedArchiveParams 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 NewDownloadFeedArchiveParamsWithContext ¶
func NewDownloadFeedArchiveParamsWithContext(ctx context.Context) *DownloadFeedArchiveParams
NewDownloadFeedArchiveParamsWithContext creates a new DownloadFeedArchiveParams object with the ability to set a context for a request.
func NewDownloadFeedArchiveParamsWithHTTPClient ¶
func NewDownloadFeedArchiveParamsWithHTTPClient(client *http.Client) *DownloadFeedArchiveParams
NewDownloadFeedArchiveParamsWithHTTPClient creates a new DownloadFeedArchiveParams object with the ability to set a custom HTTPClient for a request.
func NewDownloadFeedArchiveParamsWithTimeout ¶
func NewDownloadFeedArchiveParamsWithTimeout(timeout time.Duration) *DownloadFeedArchiveParams
NewDownloadFeedArchiveParamsWithTimeout creates a new DownloadFeedArchiveParams object with the ability to set a timeout on a request.
func (*DownloadFeedArchiveParams) SetContext ¶
func (o *DownloadFeedArchiveParams) SetContext(ctx context.Context)
SetContext adds the context to the download feed archive params
func (*DownloadFeedArchiveParams) SetDefaults ¶
func (o *DownloadFeedArchiveParams) SetDefaults()
SetDefaults hydrates default values in the download feed archive params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadFeedArchiveParams) SetFeedItemID ¶
func (o *DownloadFeedArchiveParams) SetFeedItemID(feedItemID string)
SetFeedItemID adds the feedItemId to the download feed archive params
func (*DownloadFeedArchiveParams) SetHTTPClient ¶
func (o *DownloadFeedArchiveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download feed archive params
func (*DownloadFeedArchiveParams) SetTimeout ¶
func (o *DownloadFeedArchiveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download feed archive params
func (*DownloadFeedArchiveParams) WithContext ¶
func (o *DownloadFeedArchiveParams) WithContext(ctx context.Context) *DownloadFeedArchiveParams
WithContext adds the context to the download feed archive params
func (*DownloadFeedArchiveParams) WithDefaults ¶
func (o *DownloadFeedArchiveParams) WithDefaults() *DownloadFeedArchiveParams
WithDefaults hydrates default values in the download feed archive params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadFeedArchiveParams) WithFeedItemID ¶
func (o *DownloadFeedArchiveParams) WithFeedItemID(feedItemID string) *DownloadFeedArchiveParams
WithFeedItemID adds the feedItemID to the download feed archive params
func (*DownloadFeedArchiveParams) WithHTTPClient ¶
func (o *DownloadFeedArchiveParams) WithHTTPClient(client *http.Client) *DownloadFeedArchiveParams
WithHTTPClient adds the HTTPClient to the download feed archive params
func (*DownloadFeedArchiveParams) WithTimeout ¶
func (o *DownloadFeedArchiveParams) WithTimeout(timeout time.Duration) *DownloadFeedArchiveParams
WithTimeout adds the timeout to the download feed archive params
func (*DownloadFeedArchiveParams) WriteToRequest ¶
func (o *DownloadFeedArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadFeedArchivePermanentRedirect ¶
type DownloadFeedArchivePermanentRedirect 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
/* Provides the download URL of a feed item. Available only if the provided feed ID is present and you have access to it.
*/
Location string
Payload *models.MsaspecResponseFields
}
DownloadFeedArchivePermanentRedirect describes a response with status code 308, with default header values.
Permanent Redirect
func NewDownloadFeedArchivePermanentRedirect ¶
func NewDownloadFeedArchivePermanentRedirect() *DownloadFeedArchivePermanentRedirect
NewDownloadFeedArchivePermanentRedirect creates a DownloadFeedArchivePermanentRedirect with default headers values
func (*DownloadFeedArchivePermanentRedirect) Code ¶
func (o *DownloadFeedArchivePermanentRedirect) Code() int
Code gets the status code for the download feed archive permanent redirect response
func (*DownloadFeedArchivePermanentRedirect) Error ¶
func (o *DownloadFeedArchivePermanentRedirect) Error() string
func (*DownloadFeedArchivePermanentRedirect) GetPayload ¶
func (o *DownloadFeedArchivePermanentRedirect) GetPayload() *models.MsaspecResponseFields
func (*DownloadFeedArchivePermanentRedirect) IsClientError ¶
func (o *DownloadFeedArchivePermanentRedirect) IsClientError() bool
IsClientError returns true when this download feed archive permanent redirect response has a 4xx status code
func (*DownloadFeedArchivePermanentRedirect) IsCode ¶
func (o *DownloadFeedArchivePermanentRedirect) IsCode(code int) bool
IsCode returns true when this download feed archive permanent redirect response a status code equal to that given
func (*DownloadFeedArchivePermanentRedirect) IsRedirect ¶
func (o *DownloadFeedArchivePermanentRedirect) IsRedirect() bool
IsRedirect returns true when this download feed archive permanent redirect response has a 3xx status code
func (*DownloadFeedArchivePermanentRedirect) IsServerError ¶
func (o *DownloadFeedArchivePermanentRedirect) IsServerError() bool
IsServerError returns true when this download feed archive permanent redirect response has a 5xx status code
func (*DownloadFeedArchivePermanentRedirect) IsSuccess ¶
func (o *DownloadFeedArchivePermanentRedirect) IsSuccess() bool
IsSuccess returns true when this download feed archive permanent redirect response has a 2xx status code
func (*DownloadFeedArchivePermanentRedirect) String ¶
func (o *DownloadFeedArchivePermanentRedirect) String() string
type DownloadFeedArchiveReader ¶
type DownloadFeedArchiveReader struct {
// contains filtered or unexported fields
}
DownloadFeedArchiveReader is a Reader for the DownloadFeedArchive structure.
func (*DownloadFeedArchiveReader) ReadResponse ¶
func (o *DownloadFeedArchiveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadFeedArchiveTooManyRequests ¶
type DownloadFeedArchiveTooManyRequests 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
}
DownloadFeedArchiveTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDownloadFeedArchiveTooManyRequests ¶
func NewDownloadFeedArchiveTooManyRequests() *DownloadFeedArchiveTooManyRequests
NewDownloadFeedArchiveTooManyRequests creates a DownloadFeedArchiveTooManyRequests with default headers values
func (*DownloadFeedArchiveTooManyRequests) Code ¶
func (o *DownloadFeedArchiveTooManyRequests) Code() int
Code gets the status code for the download feed archive too many requests response
func (*DownloadFeedArchiveTooManyRequests) Error ¶
func (o *DownloadFeedArchiveTooManyRequests) Error() string
func (*DownloadFeedArchiveTooManyRequests) GetPayload ¶
func (o *DownloadFeedArchiveTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DownloadFeedArchiveTooManyRequests) IsClientError ¶
func (o *DownloadFeedArchiveTooManyRequests) IsClientError() bool
IsClientError returns true when this download feed archive too many requests response has a 4xx status code
func (*DownloadFeedArchiveTooManyRequests) IsCode ¶
func (o *DownloadFeedArchiveTooManyRequests) IsCode(code int) bool
IsCode returns true when this download feed archive too many requests response a status code equal to that given
func (*DownloadFeedArchiveTooManyRequests) IsRedirect ¶
func (o *DownloadFeedArchiveTooManyRequests) IsRedirect() bool
IsRedirect returns true when this download feed archive too many requests response has a 3xx status code
func (*DownloadFeedArchiveTooManyRequests) IsServerError ¶
func (o *DownloadFeedArchiveTooManyRequests) IsServerError() bool
IsServerError returns true when this download feed archive too many requests response has a 5xx status code
func (*DownloadFeedArchiveTooManyRequests) IsSuccess ¶
func (o *DownloadFeedArchiveTooManyRequests) IsSuccess() bool
IsSuccess returns true when this download feed archive too many requests response has a 2xx status code
func (*DownloadFeedArchiveTooManyRequests) String ¶
func (o *DownloadFeedArchiveTooManyRequests) String() string
type ListFeedTypesBadRequest ¶
type ListFeedTypesBadRequest 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
}
ListFeedTypesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListFeedTypesBadRequest ¶
func NewListFeedTypesBadRequest() *ListFeedTypesBadRequest
NewListFeedTypesBadRequest creates a ListFeedTypesBadRequest with default headers values
func (*ListFeedTypesBadRequest) Code ¶
func (o *ListFeedTypesBadRequest) Code() int
Code gets the status code for the list feed types bad request response
func (*ListFeedTypesBadRequest) Error ¶
func (o *ListFeedTypesBadRequest) Error() string
func (*ListFeedTypesBadRequest) IsClientError ¶
func (o *ListFeedTypesBadRequest) IsClientError() bool
IsClientError returns true when this list feed types bad request response has a 4xx status code
func (*ListFeedTypesBadRequest) IsCode ¶
func (o *ListFeedTypesBadRequest) IsCode(code int) bool
IsCode returns true when this list feed types bad request response a status code equal to that given
func (*ListFeedTypesBadRequest) IsRedirect ¶
func (o *ListFeedTypesBadRequest) IsRedirect() bool
IsRedirect returns true when this list feed types bad request response has a 3xx status code
func (*ListFeedTypesBadRequest) IsServerError ¶
func (o *ListFeedTypesBadRequest) IsServerError() bool
IsServerError returns true when this list feed types bad request response has a 5xx status code
func (*ListFeedTypesBadRequest) IsSuccess ¶
func (o *ListFeedTypesBadRequest) IsSuccess() bool
IsSuccess returns true when this list feed types bad request response has a 2xx status code
func (*ListFeedTypesBadRequest) String ¶
func (o *ListFeedTypesBadRequest) String() string
type ListFeedTypesForbidden ¶
type ListFeedTypesForbidden 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.MsaReplyMetaOnly
}
ListFeedTypesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListFeedTypesForbidden ¶
func NewListFeedTypesForbidden() *ListFeedTypesForbidden
NewListFeedTypesForbidden creates a ListFeedTypesForbidden with default headers values
func (*ListFeedTypesForbidden) Code ¶
func (o *ListFeedTypesForbidden) Code() int
Code gets the status code for the list feed types forbidden response
func (*ListFeedTypesForbidden) Error ¶
func (o *ListFeedTypesForbidden) Error() string
func (*ListFeedTypesForbidden) GetPayload ¶
func (o *ListFeedTypesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ListFeedTypesForbidden) IsClientError ¶
func (o *ListFeedTypesForbidden) IsClientError() bool
IsClientError returns true when this list feed types forbidden response has a 4xx status code
func (*ListFeedTypesForbidden) IsCode ¶
func (o *ListFeedTypesForbidden) IsCode(code int) bool
IsCode returns true when this list feed types forbidden response a status code equal to that given
func (*ListFeedTypesForbidden) IsRedirect ¶
func (o *ListFeedTypesForbidden) IsRedirect() bool
IsRedirect returns true when this list feed types forbidden response has a 3xx status code
func (*ListFeedTypesForbidden) IsServerError ¶
func (o *ListFeedTypesForbidden) IsServerError() bool
IsServerError returns true when this list feed types forbidden response has a 5xx status code
func (*ListFeedTypesForbidden) IsSuccess ¶
func (o *ListFeedTypesForbidden) IsSuccess() bool
IsSuccess returns true when this list feed types forbidden response has a 2xx status code
func (*ListFeedTypesForbidden) String ¶
func (o *ListFeedTypesForbidden) String() string
type ListFeedTypesInternalServerError ¶
type ListFeedTypesInternalServerError 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
}
ListFeedTypesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewListFeedTypesInternalServerError ¶
func NewListFeedTypesInternalServerError() *ListFeedTypesInternalServerError
NewListFeedTypesInternalServerError creates a ListFeedTypesInternalServerError with default headers values
func (*ListFeedTypesInternalServerError) Code ¶
func (o *ListFeedTypesInternalServerError) Code() int
Code gets the status code for the list feed types internal server error response
func (*ListFeedTypesInternalServerError) Error ¶
func (o *ListFeedTypesInternalServerError) Error() string
func (*ListFeedTypesInternalServerError) IsClientError ¶
func (o *ListFeedTypesInternalServerError) IsClientError() bool
IsClientError returns true when this list feed types internal server error response has a 4xx status code
func (*ListFeedTypesInternalServerError) IsCode ¶
func (o *ListFeedTypesInternalServerError) IsCode(code int) bool
IsCode returns true when this list feed types internal server error response a status code equal to that given
func (*ListFeedTypesInternalServerError) IsRedirect ¶
func (o *ListFeedTypesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list feed types internal server error response has a 3xx status code
func (*ListFeedTypesInternalServerError) IsServerError ¶
func (o *ListFeedTypesInternalServerError) IsServerError() bool
IsServerError returns true when this list feed types internal server error response has a 5xx status code
func (*ListFeedTypesInternalServerError) IsSuccess ¶
func (o *ListFeedTypesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list feed types internal server error response has a 2xx status code
func (*ListFeedTypesInternalServerError) String ¶
func (o *ListFeedTypesInternalServerError) String() string
type ListFeedTypesOK ¶
type ListFeedTypesOK 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.RestapiIndicatorGetFeedsResponse
}
ListFeedTypesOK describes a response with status code 200, with default header values.
OK
func NewListFeedTypesOK ¶
func NewListFeedTypesOK() *ListFeedTypesOK
NewListFeedTypesOK creates a ListFeedTypesOK with default headers values
func (*ListFeedTypesOK) Code ¶
func (o *ListFeedTypesOK) Code() int
Code gets the status code for the list feed types o k response
func (*ListFeedTypesOK) Error ¶
func (o *ListFeedTypesOK) Error() string
func (*ListFeedTypesOK) GetPayload ¶
func (o *ListFeedTypesOK) GetPayload() *models.RestapiIndicatorGetFeedsResponse
func (*ListFeedTypesOK) IsClientError ¶
func (o *ListFeedTypesOK) IsClientError() bool
IsClientError returns true when this list feed types o k response has a 4xx status code
func (*ListFeedTypesOK) IsCode ¶
func (o *ListFeedTypesOK) IsCode(code int) bool
IsCode returns true when this list feed types o k response a status code equal to that given
func (*ListFeedTypesOK) IsRedirect ¶
func (o *ListFeedTypesOK) IsRedirect() bool
IsRedirect returns true when this list feed types o k response has a 3xx status code
func (*ListFeedTypesOK) IsServerError ¶
func (o *ListFeedTypesOK) IsServerError() bool
IsServerError returns true when this list feed types o k response has a 5xx status code
func (*ListFeedTypesOK) IsSuccess ¶
func (o *ListFeedTypesOK) IsSuccess() bool
IsSuccess returns true when this list feed types o k response has a 2xx status code
func (*ListFeedTypesOK) String ¶
func (o *ListFeedTypesOK) String() string
type ListFeedTypesParams ¶
type ListFeedTypesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListFeedTypesParams contains all the parameters to send to the API endpoint
for the list feed types operation. Typically these are written to a http.Request.
func NewListFeedTypesParams ¶
func NewListFeedTypesParams() *ListFeedTypesParams
NewListFeedTypesParams creates a new ListFeedTypesParams 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 NewListFeedTypesParamsWithContext ¶
func NewListFeedTypesParamsWithContext(ctx context.Context) *ListFeedTypesParams
NewListFeedTypesParamsWithContext creates a new ListFeedTypesParams object with the ability to set a context for a request.
func NewListFeedTypesParamsWithHTTPClient ¶
func NewListFeedTypesParamsWithHTTPClient(client *http.Client) *ListFeedTypesParams
NewListFeedTypesParamsWithHTTPClient creates a new ListFeedTypesParams object with the ability to set a custom HTTPClient for a request.
func NewListFeedTypesParamsWithTimeout ¶
func NewListFeedTypesParamsWithTimeout(timeout time.Duration) *ListFeedTypesParams
NewListFeedTypesParamsWithTimeout creates a new ListFeedTypesParams object with the ability to set a timeout on a request.
func (*ListFeedTypesParams) SetContext ¶
func (o *ListFeedTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list feed types params
func (*ListFeedTypesParams) SetDefaults ¶
func (o *ListFeedTypesParams) SetDefaults()
SetDefaults hydrates default values in the list feed types params (not the query body).
All values with no default are reset to their zero value.
func (*ListFeedTypesParams) SetHTTPClient ¶
func (o *ListFeedTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list feed types params
func (*ListFeedTypesParams) SetTimeout ¶
func (o *ListFeedTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list feed types params
func (*ListFeedTypesParams) WithContext ¶
func (o *ListFeedTypesParams) WithContext(ctx context.Context) *ListFeedTypesParams
WithContext adds the context to the list feed types params
func (*ListFeedTypesParams) WithDefaults ¶
func (o *ListFeedTypesParams) WithDefaults() *ListFeedTypesParams
WithDefaults hydrates default values in the list feed types params (not the query body).
All values with no default are reset to their zero value.
func (*ListFeedTypesParams) WithHTTPClient ¶
func (o *ListFeedTypesParams) WithHTTPClient(client *http.Client) *ListFeedTypesParams
WithHTTPClient adds the HTTPClient to the list feed types params
func (*ListFeedTypesParams) WithTimeout ¶
func (o *ListFeedTypesParams) WithTimeout(timeout time.Duration) *ListFeedTypesParams
WithTimeout adds the timeout to the list feed types params
func (*ListFeedTypesParams) WriteToRequest ¶
func (o *ListFeedTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFeedTypesReader ¶
type ListFeedTypesReader struct {
// contains filtered or unexported fields
}
ListFeedTypesReader is a Reader for the ListFeedTypes structure.
func (*ListFeedTypesReader) ReadResponse ¶
func (o *ListFeedTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFeedTypesTooManyRequests ¶
type ListFeedTypesTooManyRequests 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
}
ListFeedTypesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewListFeedTypesTooManyRequests ¶
func NewListFeedTypesTooManyRequests() *ListFeedTypesTooManyRequests
NewListFeedTypesTooManyRequests creates a ListFeedTypesTooManyRequests with default headers values
func (*ListFeedTypesTooManyRequests) Code ¶
func (o *ListFeedTypesTooManyRequests) Code() int
Code gets the status code for the list feed types too many requests response
func (*ListFeedTypesTooManyRequests) Error ¶
func (o *ListFeedTypesTooManyRequests) Error() string
func (*ListFeedTypesTooManyRequests) GetPayload ¶
func (o *ListFeedTypesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ListFeedTypesTooManyRequests) IsClientError ¶
func (o *ListFeedTypesTooManyRequests) IsClientError() bool
IsClientError returns true when this list feed types too many requests response has a 4xx status code
func (*ListFeedTypesTooManyRequests) IsCode ¶
func (o *ListFeedTypesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list feed types too many requests response a status code equal to that given
func (*ListFeedTypesTooManyRequests) IsRedirect ¶
func (o *ListFeedTypesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list feed types too many requests response has a 3xx status code
func (*ListFeedTypesTooManyRequests) IsServerError ¶
func (o *ListFeedTypesTooManyRequests) IsServerError() bool
IsServerError returns true when this list feed types too many requests response has a 5xx status code
func (*ListFeedTypesTooManyRequests) IsSuccess ¶
func (o *ListFeedTypesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list feed types too many requests response has a 2xx status code
func (*ListFeedTypesTooManyRequests) String ¶
func (o *ListFeedTypesTooManyRequests) String() string
type QueryFeedArchivesBadRequest ¶
type QueryFeedArchivesBadRequest 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
}
QueryFeedArchivesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryFeedArchivesBadRequest ¶
func NewQueryFeedArchivesBadRequest() *QueryFeedArchivesBadRequest
NewQueryFeedArchivesBadRequest creates a QueryFeedArchivesBadRequest with default headers values
func (*QueryFeedArchivesBadRequest) Code ¶
func (o *QueryFeedArchivesBadRequest) Code() int
Code gets the status code for the query feed archives bad request response
func (*QueryFeedArchivesBadRequest) Error ¶
func (o *QueryFeedArchivesBadRequest) Error() string
func (*QueryFeedArchivesBadRequest) IsClientError ¶
func (o *QueryFeedArchivesBadRequest) IsClientError() bool
IsClientError returns true when this query feed archives bad request response has a 4xx status code
func (*QueryFeedArchivesBadRequest) IsCode ¶
func (o *QueryFeedArchivesBadRequest) IsCode(code int) bool
IsCode returns true when this query feed archives bad request response a status code equal to that given
func (*QueryFeedArchivesBadRequest) IsRedirect ¶
func (o *QueryFeedArchivesBadRequest) IsRedirect() bool
IsRedirect returns true when this query feed archives bad request response has a 3xx status code
func (*QueryFeedArchivesBadRequest) IsServerError ¶
func (o *QueryFeedArchivesBadRequest) IsServerError() bool
IsServerError returns true when this query feed archives bad request response has a 5xx status code
func (*QueryFeedArchivesBadRequest) IsSuccess ¶
func (o *QueryFeedArchivesBadRequest) IsSuccess() bool
IsSuccess returns true when this query feed archives bad request response has a 2xx status code
func (*QueryFeedArchivesBadRequest) String ¶
func (o *QueryFeedArchivesBadRequest) String() string
type QueryFeedArchivesForbidden ¶
type QueryFeedArchivesForbidden 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.MsaReplyMetaOnly
}
QueryFeedArchivesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryFeedArchivesForbidden ¶
func NewQueryFeedArchivesForbidden() *QueryFeedArchivesForbidden
NewQueryFeedArchivesForbidden creates a QueryFeedArchivesForbidden with default headers values
func (*QueryFeedArchivesForbidden) Code ¶
func (o *QueryFeedArchivesForbidden) Code() int
Code gets the status code for the query feed archives forbidden response
func (*QueryFeedArchivesForbidden) Error ¶
func (o *QueryFeedArchivesForbidden) Error() string
func (*QueryFeedArchivesForbidden) GetPayload ¶
func (o *QueryFeedArchivesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryFeedArchivesForbidden) IsClientError ¶
func (o *QueryFeedArchivesForbidden) IsClientError() bool
IsClientError returns true when this query feed archives forbidden response has a 4xx status code
func (*QueryFeedArchivesForbidden) IsCode ¶
func (o *QueryFeedArchivesForbidden) IsCode(code int) bool
IsCode returns true when this query feed archives forbidden response a status code equal to that given
func (*QueryFeedArchivesForbidden) IsRedirect ¶
func (o *QueryFeedArchivesForbidden) IsRedirect() bool
IsRedirect returns true when this query feed archives forbidden response has a 3xx status code
func (*QueryFeedArchivesForbidden) IsServerError ¶
func (o *QueryFeedArchivesForbidden) IsServerError() bool
IsServerError returns true when this query feed archives forbidden response has a 5xx status code
func (*QueryFeedArchivesForbidden) IsSuccess ¶
func (o *QueryFeedArchivesForbidden) IsSuccess() bool
IsSuccess returns true when this query feed archives forbidden response has a 2xx status code
func (*QueryFeedArchivesForbidden) String ¶
func (o *QueryFeedArchivesForbidden) String() string
type QueryFeedArchivesInternalServerError ¶
type QueryFeedArchivesInternalServerError 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
}
QueryFeedArchivesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryFeedArchivesInternalServerError ¶
func NewQueryFeedArchivesInternalServerError() *QueryFeedArchivesInternalServerError
NewQueryFeedArchivesInternalServerError creates a QueryFeedArchivesInternalServerError with default headers values
func (*QueryFeedArchivesInternalServerError) Code ¶
func (o *QueryFeedArchivesInternalServerError) Code() int
Code gets the status code for the query feed archives internal server error response
func (*QueryFeedArchivesInternalServerError) Error ¶
func (o *QueryFeedArchivesInternalServerError) Error() string
func (*QueryFeedArchivesInternalServerError) IsClientError ¶
func (o *QueryFeedArchivesInternalServerError) IsClientError() bool
IsClientError returns true when this query feed archives internal server error response has a 4xx status code
func (*QueryFeedArchivesInternalServerError) IsCode ¶
func (o *QueryFeedArchivesInternalServerError) IsCode(code int) bool
IsCode returns true when this query feed archives internal server error response a status code equal to that given
func (*QueryFeedArchivesInternalServerError) IsRedirect ¶
func (o *QueryFeedArchivesInternalServerError) IsRedirect() bool
IsRedirect returns true when this query feed archives internal server error response has a 3xx status code
func (*QueryFeedArchivesInternalServerError) IsServerError ¶
func (o *QueryFeedArchivesInternalServerError) IsServerError() bool
IsServerError returns true when this query feed archives internal server error response has a 5xx status code
func (*QueryFeedArchivesInternalServerError) IsSuccess ¶
func (o *QueryFeedArchivesInternalServerError) IsSuccess() bool
IsSuccess returns true when this query feed archives internal server error response has a 2xx status code
func (*QueryFeedArchivesInternalServerError) String ¶
func (o *QueryFeedArchivesInternalServerError) String() string
type QueryFeedArchivesOK ¶
type QueryFeedArchivesOK 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.RestapiIndicatorFeedQueryResponse
}
QueryFeedArchivesOK describes a response with status code 200, with default header values.
OK
func NewQueryFeedArchivesOK ¶
func NewQueryFeedArchivesOK() *QueryFeedArchivesOK
NewQueryFeedArchivesOK creates a QueryFeedArchivesOK with default headers values
func (*QueryFeedArchivesOK) Code ¶
func (o *QueryFeedArchivesOK) Code() int
Code gets the status code for the query feed archives o k response
func (*QueryFeedArchivesOK) Error ¶
func (o *QueryFeedArchivesOK) Error() string
func (*QueryFeedArchivesOK) GetPayload ¶
func (o *QueryFeedArchivesOK) GetPayload() *models.RestapiIndicatorFeedQueryResponse
func (*QueryFeedArchivesOK) IsClientError ¶
func (o *QueryFeedArchivesOK) IsClientError() bool
IsClientError returns true when this query feed archives o k response has a 4xx status code
func (*QueryFeedArchivesOK) IsCode ¶
func (o *QueryFeedArchivesOK) IsCode(code int) bool
IsCode returns true when this query feed archives o k response a status code equal to that given
func (*QueryFeedArchivesOK) IsRedirect ¶
func (o *QueryFeedArchivesOK) IsRedirect() bool
IsRedirect returns true when this query feed archives o k response has a 3xx status code
func (*QueryFeedArchivesOK) IsServerError ¶
func (o *QueryFeedArchivesOK) IsServerError() bool
IsServerError returns true when this query feed archives o k response has a 5xx status code
func (*QueryFeedArchivesOK) IsSuccess ¶
func (o *QueryFeedArchivesOK) IsSuccess() bool
IsSuccess returns true when this query feed archives o k response has a 2xx status code
func (*QueryFeedArchivesOK) String ¶
func (o *QueryFeedArchivesOK) String() string
type QueryFeedArchivesParams ¶
type QueryFeedArchivesParams struct {
/* FeedInterval.
Feed interval must be one of:
- dump: Complete historical data snapshot
- daily: Daily aggregated updates
- hourly: Hourly incremental updates
- minutely: Minute-by-minute updates
- any: Automatically combines the appropriate intervals to provide complete, up-to-date data with minimal overlap
Defaults to 'any' if not specified.
*/
FeedInterval *string
/* FeedName.
Feed Name
*/
FeedName string
/* Since.
Since is a valid timestamp in RFC3399 format. Restrictions: minutely: now()-2h, hourly: now()-2d, daily: now()-5d; dump: now()-7d
*/
Since *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
QueryFeedArchivesParams contains all the parameters to send to the API endpoint
for the query feed archives operation. Typically these are written to a http.Request.
func NewQueryFeedArchivesParams ¶
func NewQueryFeedArchivesParams() *QueryFeedArchivesParams
NewQueryFeedArchivesParams creates a new QueryFeedArchivesParams 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 NewQueryFeedArchivesParamsWithContext ¶
func NewQueryFeedArchivesParamsWithContext(ctx context.Context) *QueryFeedArchivesParams
NewQueryFeedArchivesParamsWithContext creates a new QueryFeedArchivesParams object with the ability to set a context for a request.
func NewQueryFeedArchivesParamsWithHTTPClient ¶
func NewQueryFeedArchivesParamsWithHTTPClient(client *http.Client) *QueryFeedArchivesParams
NewQueryFeedArchivesParamsWithHTTPClient creates a new QueryFeedArchivesParams object with the ability to set a custom HTTPClient for a request.
func NewQueryFeedArchivesParamsWithTimeout ¶
func NewQueryFeedArchivesParamsWithTimeout(timeout time.Duration) *QueryFeedArchivesParams
NewQueryFeedArchivesParamsWithTimeout creates a new QueryFeedArchivesParams object with the ability to set a timeout on a request.
func (*QueryFeedArchivesParams) SetContext ¶
func (o *QueryFeedArchivesParams) SetContext(ctx context.Context)
SetContext adds the context to the query feed archives params
func (*QueryFeedArchivesParams) SetDefaults ¶
func (o *QueryFeedArchivesParams) SetDefaults()
SetDefaults hydrates default values in the query feed archives params (not the query body).
All values with no default are reset to their zero value.
func (*QueryFeedArchivesParams) SetFeedInterval ¶
func (o *QueryFeedArchivesParams) SetFeedInterval(feedInterval *string)
SetFeedInterval adds the feedInterval to the query feed archives params
func (*QueryFeedArchivesParams) SetFeedName ¶
func (o *QueryFeedArchivesParams) SetFeedName(feedName string)
SetFeedName adds the feedName to the query feed archives params
func (*QueryFeedArchivesParams) SetHTTPClient ¶
func (o *QueryFeedArchivesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query feed archives params
func (*QueryFeedArchivesParams) SetSince ¶
func (o *QueryFeedArchivesParams) SetSince(since *string)
SetSince adds the since to the query feed archives params
func (*QueryFeedArchivesParams) SetTimeout ¶
func (o *QueryFeedArchivesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query feed archives params
func (*QueryFeedArchivesParams) WithContext ¶
func (o *QueryFeedArchivesParams) WithContext(ctx context.Context) *QueryFeedArchivesParams
WithContext adds the context to the query feed archives params
func (*QueryFeedArchivesParams) WithDefaults ¶
func (o *QueryFeedArchivesParams) WithDefaults() *QueryFeedArchivesParams
WithDefaults hydrates default values in the query feed archives params (not the query body).
All values with no default are reset to their zero value.
func (*QueryFeedArchivesParams) WithFeedInterval ¶
func (o *QueryFeedArchivesParams) WithFeedInterval(feedInterval *string) *QueryFeedArchivesParams
WithFeedInterval adds the feedInterval to the query feed archives params
func (*QueryFeedArchivesParams) WithFeedName ¶
func (o *QueryFeedArchivesParams) WithFeedName(feedName string) *QueryFeedArchivesParams
WithFeedName adds the feedName to the query feed archives params
func (*QueryFeedArchivesParams) WithHTTPClient ¶
func (o *QueryFeedArchivesParams) WithHTTPClient(client *http.Client) *QueryFeedArchivesParams
WithHTTPClient adds the HTTPClient to the query feed archives params
func (*QueryFeedArchivesParams) WithSince ¶
func (o *QueryFeedArchivesParams) WithSince(since *string) *QueryFeedArchivesParams
WithSince adds the since to the query feed archives params
func (*QueryFeedArchivesParams) WithTimeout ¶
func (o *QueryFeedArchivesParams) WithTimeout(timeout time.Duration) *QueryFeedArchivesParams
WithTimeout adds the timeout to the query feed archives params
func (*QueryFeedArchivesParams) WriteToRequest ¶
func (o *QueryFeedArchivesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryFeedArchivesReader ¶
type QueryFeedArchivesReader struct {
// contains filtered or unexported fields
}
QueryFeedArchivesReader is a Reader for the QueryFeedArchives structure.
func (*QueryFeedArchivesReader) ReadResponse ¶
func (o *QueryFeedArchivesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryFeedArchivesTooManyRequests ¶
type QueryFeedArchivesTooManyRequests 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
}
QueryFeedArchivesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryFeedArchivesTooManyRequests ¶
func NewQueryFeedArchivesTooManyRequests() *QueryFeedArchivesTooManyRequests
NewQueryFeedArchivesTooManyRequests creates a QueryFeedArchivesTooManyRequests with default headers values
func (*QueryFeedArchivesTooManyRequests) Code ¶
func (o *QueryFeedArchivesTooManyRequests) Code() int
Code gets the status code for the query feed archives too many requests response
func (*QueryFeedArchivesTooManyRequests) Error ¶
func (o *QueryFeedArchivesTooManyRequests) Error() string
func (*QueryFeedArchivesTooManyRequests) GetPayload ¶
func (o *QueryFeedArchivesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryFeedArchivesTooManyRequests) IsClientError ¶
func (o *QueryFeedArchivesTooManyRequests) IsClientError() bool
IsClientError returns true when this query feed archives too many requests response has a 4xx status code
func (*QueryFeedArchivesTooManyRequests) IsCode ¶
func (o *QueryFeedArchivesTooManyRequests) IsCode(code int) bool
IsCode returns true when this query feed archives too many requests response a status code equal to that given
func (*QueryFeedArchivesTooManyRequests) IsRedirect ¶
func (o *QueryFeedArchivesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query feed archives too many requests response has a 3xx status code
func (*QueryFeedArchivesTooManyRequests) IsServerError ¶
func (o *QueryFeedArchivesTooManyRequests) IsServerError() bool
IsServerError returns true when this query feed archives too many requests response has a 5xx status code
func (*QueryFeedArchivesTooManyRequests) IsSuccess ¶
func (o *QueryFeedArchivesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query feed archives too many requests response has a 2xx status code
func (*QueryFeedArchivesTooManyRequests) String ¶
func (o *QueryFeedArchivesTooManyRequests) String() string