scheduled_reports

package
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 scheduled reports API

func (*Client) ScheduledReportsGet

func (a *Client) ScheduledReportsGet(params *ScheduledReportsGetParams, opts ...ClientOption) (*ScheduledReportsGetOK, error)

ScheduledReportsGet retrieves scheduled reports for the provided report i ds

func (*Client) ScheduledReportsLaunch added in v0.2.14

func (a *Client) ScheduledReportsLaunch(params *ScheduledReportsLaunchParams, opts ...ClientOption) (*ScheduledReportsLaunchOK, error)

ScheduledReportsLaunch launches scheduled reports executions for the provided report i ds

func (*Client) ScheduledReportsQuery

func (a *Client) ScheduledReportsQuery(params *ScheduledReportsQueryParams, opts ...ClientOption) (*ScheduledReportsQueryOK, error)

ScheduledReportsQuery finds all report i ds matching the query with filter

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 {
	ScheduledReportsGet(params *ScheduledReportsGetParams, opts ...ClientOption) (*ScheduledReportsGetOK, error)

	ScheduledReportsLaunch(params *ScheduledReportsLaunchParams, opts ...ClientOption) (*ScheduledReportsLaunchOK, error)

	ScheduledReportsQuery(params *ScheduledReportsQueryParams, opts ...ClientOption) (*ScheduledReportsQueryOK, 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 scheduled reports API client.

type ScheduledReportsGetBadRequest

type ScheduledReportsGetBadRequest 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
}
ScheduledReportsGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewScheduledReportsGetBadRequest

func NewScheduledReportsGetBadRequest() *ScheduledReportsGetBadRequest

NewScheduledReportsGetBadRequest creates a ScheduledReportsGetBadRequest with default headers values

func (*ScheduledReportsGetBadRequest) Error

func (*ScheduledReportsGetBadRequest) GetPayload

type ScheduledReportsGetDefault

type ScheduledReportsGetDefault struct {
	Payload *models.APIScheduledReportsResultV1
	// contains filtered or unexported fields
}
ScheduledReportsGetDefault describes a response with status code -1, with default header values.

OK

func NewScheduledReportsGetDefault

func NewScheduledReportsGetDefault(code int) *ScheduledReportsGetDefault

NewScheduledReportsGetDefault creates a ScheduledReportsGetDefault with default headers values

func (*ScheduledReportsGetDefault) Code

func (o *ScheduledReportsGetDefault) Code() int

Code gets the status code for the scheduled reports get default response

func (*ScheduledReportsGetDefault) Error

func (*ScheduledReportsGetDefault) GetPayload

type ScheduledReportsGetForbidden

type ScheduledReportsGetForbidden 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
}
ScheduledReportsGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewScheduledReportsGetForbidden

func NewScheduledReportsGetForbidden() *ScheduledReportsGetForbidden

NewScheduledReportsGetForbidden creates a ScheduledReportsGetForbidden with default headers values

func (*ScheduledReportsGetForbidden) Error

func (*ScheduledReportsGetForbidden) GetPayload

type ScheduledReportsGetOK

type ScheduledReportsGetOK 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.APIScheduledReportsResultV1
}
ScheduledReportsGetOK describes a response with status code 200, with default header values.

OK

func NewScheduledReportsGetOK

func NewScheduledReportsGetOK() *ScheduledReportsGetOK

NewScheduledReportsGetOK creates a ScheduledReportsGetOK with default headers values

func (*ScheduledReportsGetOK) Error

func (o *ScheduledReportsGetOK) Error() string

func (*ScheduledReportsGetOK) GetPayload

type ScheduledReportsGetParams

type ScheduledReportsGetParams struct {

	/* Ids.

	   The scheduled_report id to get details about.
	*/
	Ids []string

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

ScheduledReportsGetParams contains all the parameters to send to the API endpoint

for the scheduled reports get operation.

Typically these are written to a http.Request.

func NewScheduledReportsGetParams

func NewScheduledReportsGetParams() *ScheduledReportsGetParams

NewScheduledReportsGetParams creates a new ScheduledReportsGetParams 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 NewScheduledReportsGetParamsWithContext

func NewScheduledReportsGetParamsWithContext(ctx context.Context) *ScheduledReportsGetParams

NewScheduledReportsGetParamsWithContext creates a new ScheduledReportsGetParams object with the ability to set a context for a request.

func NewScheduledReportsGetParamsWithHTTPClient

func NewScheduledReportsGetParamsWithHTTPClient(client *http.Client) *ScheduledReportsGetParams

NewScheduledReportsGetParamsWithHTTPClient creates a new ScheduledReportsGetParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledReportsGetParamsWithTimeout

func NewScheduledReportsGetParamsWithTimeout(timeout time.Duration) *ScheduledReportsGetParams

NewScheduledReportsGetParamsWithTimeout creates a new ScheduledReportsGetParams object with the ability to set a timeout on a request.

func (*ScheduledReportsGetParams) SetContext

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

SetContext adds the context to the scheduled reports get params

func (*ScheduledReportsGetParams) SetDefaults

func (o *ScheduledReportsGetParams) SetDefaults()

SetDefaults hydrates default values in the scheduled reports get params (not the query body).

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

func (*ScheduledReportsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled reports get params

func (*ScheduledReportsGetParams) SetIds

func (o *ScheduledReportsGetParams) SetIds(ids []string)

SetIds adds the ids to the scheduled reports get params

func (*ScheduledReportsGetParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled reports get params

func (*ScheduledReportsGetParams) WithContext

WithContext adds the context to the scheduled reports get params

func (*ScheduledReportsGetParams) WithDefaults

WithDefaults hydrates default values in the scheduled reports get params (not the query body).

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

func (*ScheduledReportsGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the scheduled reports get params

func (*ScheduledReportsGetParams) WithIds

WithIds adds the ids to the scheduled reports get params

func (*ScheduledReportsGetParams) WithTimeout

WithTimeout adds the timeout to the scheduled reports get params

func (*ScheduledReportsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledReportsGetReader

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

ScheduledReportsGetReader is a Reader for the ScheduledReportsGet structure.

func (*ScheduledReportsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledReportsGetTooManyRequests

type ScheduledReportsGetTooManyRequests 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
}
ScheduledReportsGetTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewScheduledReportsGetTooManyRequests

func NewScheduledReportsGetTooManyRequests() *ScheduledReportsGetTooManyRequests

NewScheduledReportsGetTooManyRequests creates a ScheduledReportsGetTooManyRequests with default headers values

func (*ScheduledReportsGetTooManyRequests) Error

func (*ScheduledReportsGetTooManyRequests) GetPayload

type ScheduledReportsLaunchBadRequest added in v0.2.14

type ScheduledReportsLaunchBadRequest 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
}
ScheduledReportsLaunchBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewScheduledReportsLaunchBadRequest added in v0.2.14

func NewScheduledReportsLaunchBadRequest() *ScheduledReportsLaunchBadRequest

NewScheduledReportsLaunchBadRequest creates a ScheduledReportsLaunchBadRequest with default headers values

func (*ScheduledReportsLaunchBadRequest) Error added in v0.2.14

func (*ScheduledReportsLaunchBadRequest) GetPayload added in v0.2.14

type ScheduledReportsLaunchDefault added in v0.2.14

type ScheduledReportsLaunchDefault struct {
	Payload *models.APIReportExecutionsResponseV1
	// contains filtered or unexported fields
}
ScheduledReportsLaunchDefault describes a response with status code -1, with default header values.

OK

func NewScheduledReportsLaunchDefault added in v0.2.14

func NewScheduledReportsLaunchDefault(code int) *ScheduledReportsLaunchDefault

NewScheduledReportsLaunchDefault creates a ScheduledReportsLaunchDefault with default headers values

func (*ScheduledReportsLaunchDefault) Code added in v0.2.14

Code gets the status code for the scheduled reports launch default response

func (*ScheduledReportsLaunchDefault) Error added in v0.2.14

func (*ScheduledReportsLaunchDefault) GetPayload added in v0.2.14

type ScheduledReportsLaunchForbidden added in v0.2.14

type ScheduledReportsLaunchForbidden 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
}
ScheduledReportsLaunchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewScheduledReportsLaunchForbidden added in v0.2.14

func NewScheduledReportsLaunchForbidden() *ScheduledReportsLaunchForbidden

NewScheduledReportsLaunchForbidden creates a ScheduledReportsLaunchForbidden with default headers values

func (*ScheduledReportsLaunchForbidden) Error added in v0.2.14

func (*ScheduledReportsLaunchForbidden) GetPayload added in v0.2.14

type ScheduledReportsLaunchOK added in v0.2.14

type ScheduledReportsLaunchOK 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.APIReportExecutionsResponseV1
}
ScheduledReportsLaunchOK describes a response with status code 200, with default header values.

OK

func NewScheduledReportsLaunchOK added in v0.2.14

func NewScheduledReportsLaunchOK() *ScheduledReportsLaunchOK

NewScheduledReportsLaunchOK creates a ScheduledReportsLaunchOK with default headers values

func (*ScheduledReportsLaunchOK) Error added in v0.2.14

func (o *ScheduledReportsLaunchOK) Error() string

func (*ScheduledReportsLaunchOK) GetPayload added in v0.2.14

type ScheduledReportsLaunchParams added in v0.2.14

type ScheduledReportsLaunchParams struct {

	// Body.
	Body []*models.APIReportExecutionLaunchRequestV1

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

ScheduledReportsLaunchParams contains all the parameters to send to the API endpoint

for the scheduled reports launch operation.

Typically these are written to a http.Request.

func NewScheduledReportsLaunchParams added in v0.2.14

func NewScheduledReportsLaunchParams() *ScheduledReportsLaunchParams

NewScheduledReportsLaunchParams creates a new ScheduledReportsLaunchParams 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 NewScheduledReportsLaunchParamsWithContext added in v0.2.14

func NewScheduledReportsLaunchParamsWithContext(ctx context.Context) *ScheduledReportsLaunchParams

NewScheduledReportsLaunchParamsWithContext creates a new ScheduledReportsLaunchParams object with the ability to set a context for a request.

func NewScheduledReportsLaunchParamsWithHTTPClient added in v0.2.14

func NewScheduledReportsLaunchParamsWithHTTPClient(client *http.Client) *ScheduledReportsLaunchParams

NewScheduledReportsLaunchParamsWithHTTPClient creates a new ScheduledReportsLaunchParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledReportsLaunchParamsWithTimeout added in v0.2.14

func NewScheduledReportsLaunchParamsWithTimeout(timeout time.Duration) *ScheduledReportsLaunchParams

NewScheduledReportsLaunchParamsWithTimeout creates a new ScheduledReportsLaunchParams object with the ability to set a timeout on a request.

func (*ScheduledReportsLaunchParams) SetBody added in v0.2.14

SetBody adds the body to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) SetContext added in v0.2.14

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

SetContext adds the context to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) SetDefaults added in v0.2.14

func (o *ScheduledReportsLaunchParams) SetDefaults()

SetDefaults hydrates default values in the scheduled reports launch params (not the query body).

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

func (*ScheduledReportsLaunchParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) WithBody added in v0.2.14

WithBody adds the body to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) WithContext added in v0.2.14

WithContext adds the context to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) WithDefaults added in v0.2.14

WithDefaults hydrates default values in the scheduled reports launch params (not the query body).

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

func (*ScheduledReportsLaunchParams) WithHTTPClient added in v0.2.14

WithHTTPClient adds the HTTPClient to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) WithTimeout added in v0.2.14

WithTimeout adds the timeout to the scheduled reports launch params

func (*ScheduledReportsLaunchParams) WriteToRequest added in v0.2.14

WriteToRequest writes these params to a swagger request

type ScheduledReportsLaunchReader added in v0.2.14

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

ScheduledReportsLaunchReader is a Reader for the ScheduledReportsLaunch structure.

func (*ScheduledReportsLaunchReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

type ScheduledReportsLaunchTooManyRequests added in v0.2.14

type ScheduledReportsLaunchTooManyRequests 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
}
ScheduledReportsLaunchTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewScheduledReportsLaunchTooManyRequests added in v0.2.14

func NewScheduledReportsLaunchTooManyRequests() *ScheduledReportsLaunchTooManyRequests

NewScheduledReportsLaunchTooManyRequests creates a ScheduledReportsLaunchTooManyRequests with default headers values

func (*ScheduledReportsLaunchTooManyRequests) Error added in v0.2.14

func (*ScheduledReportsLaunchTooManyRequests) GetPayload added in v0.2.14

type ScheduledReportsQueryBadRequest

type ScheduledReportsQueryBadRequest 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
}
ScheduledReportsQueryBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewScheduledReportsQueryBadRequest

func NewScheduledReportsQueryBadRequest() *ScheduledReportsQueryBadRequest

NewScheduledReportsQueryBadRequest creates a ScheduledReportsQueryBadRequest with default headers values

func (*ScheduledReportsQueryBadRequest) Error

func (*ScheduledReportsQueryBadRequest) GetPayload

type ScheduledReportsQueryDefault

type ScheduledReportsQueryDefault struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}
ScheduledReportsQueryDefault describes a response with status code -1, with default header values.

OK

func NewScheduledReportsQueryDefault

func NewScheduledReportsQueryDefault(code int) *ScheduledReportsQueryDefault

NewScheduledReportsQueryDefault creates a ScheduledReportsQueryDefault with default headers values

func (*ScheduledReportsQueryDefault) Code

Code gets the status code for the scheduled reports query default response

func (*ScheduledReportsQueryDefault) Error

func (*ScheduledReportsQueryDefault) GetPayload

type ScheduledReportsQueryForbidden

type ScheduledReportsQueryForbidden 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
}
ScheduledReportsQueryForbidden describes a response with status code 403, with default header values.

Forbidden

func NewScheduledReportsQueryForbidden

func NewScheduledReportsQueryForbidden() *ScheduledReportsQueryForbidden

NewScheduledReportsQueryForbidden creates a ScheduledReportsQueryForbidden with default headers values

func (*ScheduledReportsQueryForbidden) Error

func (*ScheduledReportsQueryForbidden) GetPayload

type ScheduledReportsQueryOK

type ScheduledReportsQueryOK 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.MsaQueryResponse
}
ScheduledReportsQueryOK describes a response with status code 200, with default header values.

OK

func NewScheduledReportsQueryOK

func NewScheduledReportsQueryOK() *ScheduledReportsQueryOK

NewScheduledReportsQueryOK creates a ScheduledReportsQueryOK with default headers values

func (*ScheduledReportsQueryOK) Error

func (o *ScheduledReportsQueryOK) Error() string

func (*ScheduledReportsQueryOK) GetPayload

type ScheduledReportsQueryParams

type ScheduledReportsQueryParams struct {

	/* Filter.

	   FQL query specifying the filter parameters. Filter term criteria: type, trigger_reference, recipients, user_uuid, cid, trigger_params.metadata. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
	*/
	Filter *string

	/* Limit.

	   Number of ids to return.
	*/
	Limit *int64

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Q.

	   Match query criteria, which includes all the filter string fields
	*/
	Q *string

	/* Sort.

	   Possible order by fields: created_on, last_updated_on, last_execution_on, next_execution_on
	*/
	Sort *string

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

ScheduledReportsQueryParams contains all the parameters to send to the API endpoint

for the scheduled reports query operation.

Typically these are written to a http.Request.

func NewScheduledReportsQueryParams

func NewScheduledReportsQueryParams() *ScheduledReportsQueryParams

NewScheduledReportsQueryParams creates a new ScheduledReportsQueryParams 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 NewScheduledReportsQueryParamsWithContext

func NewScheduledReportsQueryParamsWithContext(ctx context.Context) *ScheduledReportsQueryParams

NewScheduledReportsQueryParamsWithContext creates a new ScheduledReportsQueryParams object with the ability to set a context for a request.

func NewScheduledReportsQueryParamsWithHTTPClient

func NewScheduledReportsQueryParamsWithHTTPClient(client *http.Client) *ScheduledReportsQueryParams

NewScheduledReportsQueryParamsWithHTTPClient creates a new ScheduledReportsQueryParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledReportsQueryParamsWithTimeout

func NewScheduledReportsQueryParamsWithTimeout(timeout time.Duration) *ScheduledReportsQueryParams

NewScheduledReportsQueryParamsWithTimeout creates a new ScheduledReportsQueryParams object with the ability to set a timeout on a request.

func (*ScheduledReportsQueryParams) SetContext

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

SetContext adds the context to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetDefaults

func (o *ScheduledReportsQueryParams) SetDefaults()

SetDefaults hydrates default values in the scheduled reports query params (not the query body).

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

func (*ScheduledReportsQueryParams) SetFilter

func (o *ScheduledReportsQueryParams) SetFilter(filter *string)

SetFilter adds the filter to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetLimit

func (o *ScheduledReportsQueryParams) SetLimit(limit *int64)

SetLimit adds the limit to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetOffset

func (o *ScheduledReportsQueryParams) SetOffset(offset *string)

SetOffset adds the offset to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetQ

func (o *ScheduledReportsQueryParams) SetQ(q *string)

SetQ adds the q to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetSort

func (o *ScheduledReportsQueryParams) SetSort(sort *string)

SetSort adds the sort to the scheduled reports query params

func (*ScheduledReportsQueryParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithContext

WithContext adds the context to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithDefaults

WithDefaults hydrates default values in the scheduled reports query params (not the query body).

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

func (*ScheduledReportsQueryParams) WithFilter

WithFilter adds the filter to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithLimit

WithLimit adds the limit to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithOffset

WithOffset adds the offset to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithQ

WithQ adds the q to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithSort

WithSort adds the sort to the scheduled reports query params

func (*ScheduledReportsQueryParams) WithTimeout

WithTimeout adds the timeout to the scheduled reports query params

func (*ScheduledReportsQueryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledReportsQueryReader

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

ScheduledReportsQueryReader is a Reader for the ScheduledReportsQuery structure.

func (*ScheduledReportsQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledReportsQueryTooManyRequests

type ScheduledReportsQueryTooManyRequests 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
}
ScheduledReportsQueryTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewScheduledReportsQueryTooManyRequests

func NewScheduledReportsQueryTooManyRequests() *ScheduledReportsQueryTooManyRequests

NewScheduledReportsQueryTooManyRequests creates a ScheduledReportsQueryTooManyRequests with default headers values

func (*ScheduledReportsQueryTooManyRequests) Error

func (*ScheduledReportsQueryTooManyRequests) GetPayload

Jump to

Keyboard shortcuts

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