Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCosts(params *GetCostsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCostsOK, error)
- func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportOK, error)
- func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCostsOK
- func (o *GetCostsOK) Code() int
- func (o *GetCostsOK) Error() string
- func (o *GetCostsOK) GetPayload() *models.Costs
- func (o *GetCostsOK) IsClientError() bool
- func (o *GetCostsOK) IsCode(code int) bool
- func (o *GetCostsOK) IsRedirect() bool
- func (o *GetCostsOK) IsServerError() bool
- func (o *GetCostsOK) IsSuccess() bool
- func (o *GetCostsOK) String() string
- type GetCostsParams
- func (o *GetCostsParams) SetContext(ctx context.Context)
- func (o *GetCostsParams) SetDefaults()
- func (o *GetCostsParams) SetEndDate(endDate *string)
- func (o *GetCostsParams) SetGrouping(grouping *string)
- func (o *GetCostsParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsParams) SetLimit(limit *int32)
- func (o *GetCostsParams) SetPage(page *int32)
- func (o *GetCostsParams) SetReportID(reportID string)
- func (o *GetCostsParams) SetStartDate(startDate *string)
- func (o *GetCostsParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsParams) WithContext(ctx context.Context) *GetCostsParams
- func (o *GetCostsParams) WithDefaults() *GetCostsParams
- func (o *GetCostsParams) WithEndDate(endDate *string) *GetCostsParams
- func (o *GetCostsParams) WithGrouping(grouping *string) *GetCostsParams
- func (o *GetCostsParams) WithHTTPClient(client *http.Client) *GetCostsParams
- func (o *GetCostsParams) WithLimit(limit *int32) *GetCostsParams
- func (o *GetCostsParams) WithPage(page *int32) *GetCostsParams
- func (o *GetCostsParams) WithReportID(reportID string) *GetCostsParams
- func (o *GetCostsParams) WithStartDate(startDate *string) *GetCostsParams
- func (o *GetCostsParams) WithTimeout(timeout time.Duration) *GetCostsParams
- func (o *GetCostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsReader
- type GetReportOK
- func (o *GetReportOK) Code() int
- func (o *GetReportOK) Error() string
- func (o *GetReportOK) GetPayload() *models.Report
- func (o *GetReportOK) IsClientError() bool
- func (o *GetReportOK) IsCode(code int) bool
- func (o *GetReportOK) IsRedirect() bool
- func (o *GetReportOK) IsServerError() bool
- func (o *GetReportOK) IsSuccess() bool
- func (o *GetReportOK) String() string
- type GetReportParams
- func (o *GetReportParams) SetContext(ctx context.Context)
- func (o *GetReportParams) SetDefaults()
- func (o *GetReportParams) SetHTTPClient(client *http.Client)
- func (o *GetReportParams) SetReportID(reportID string)
- func (o *GetReportParams) SetTimeout(timeout time.Duration)
- func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
- func (o *GetReportParams) WithDefaults() *GetReportParams
- func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
- func (o *GetReportParams) WithReportID(reportID string) *GetReportParams
- func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
- func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportReader
- type GetReportsOK
- func (o *GetReportsOK) Code() int
- func (o *GetReportsOK) Error() string
- func (o *GetReportsOK) GetPayload() *models.Reports
- func (o *GetReportsOK) IsClientError() bool
- func (o *GetReportsOK) IsCode(code int) bool
- func (o *GetReportsOK) IsRedirect() bool
- func (o *GetReportsOK) IsServerError() bool
- func (o *GetReportsOK) IsSuccess() bool
- func (o *GetReportsOK) String() string
- type GetReportsParams
- func (o *GetReportsParams) SetContext(ctx context.Context)
- func (o *GetReportsParams) SetDefaults()
- func (o *GetReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetReportsParams) SetLimit(limit *int32)
- func (o *GetReportsParams) SetPage(page *int32)
- func (o *GetReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
- func (o *GetReportsParams) WithDefaults() *GetReportsParams
- func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
- func (o *GetReportsParams) WithLimit(limit *int32) *GetReportsParams
- func (o *GetReportsParams) WithPage(page *int32) *GetReportsParams
- func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
- func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportsReader
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 costs API
func (*Client) GetCosts ¶
func (a *Client) GetCosts(params *GetCostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOK, error)
GetCosts Return available Costs for the specified Cost Report and optional time period. If no time period is specified it will return all available costs for the report.
func (*Client) GetReport ¶
func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportOK, error)
GetReport Return a Cost Report.
func (*Client) GetReports ¶
func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportsOK, error)
GetReports Return all Cost Reports.
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 { GetCosts(params *GetCostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOK, error) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportOK, error) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportsOK, 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 costs API client.
type GetCostsOK ¶
GetCostsOK describes a response with status code 200, with default header values.
GetCostsOK get costs o k
func NewGetCostsOK ¶
func NewGetCostsOK() *GetCostsOK
NewGetCostsOK creates a GetCostsOK with default headers values
func (*GetCostsOK) Code ¶
func (o *GetCostsOK) Code() int
Code gets the status code for the get costs o k response
func (*GetCostsOK) Error ¶
func (o *GetCostsOK) Error() string
func (*GetCostsOK) GetPayload ¶
func (o *GetCostsOK) GetPayload() *models.Costs
func (*GetCostsOK) IsClientError ¶
func (o *GetCostsOK) IsClientError() bool
IsClientError returns true when this get costs o k response has a 4xx status code
func (*GetCostsOK) IsCode ¶
func (o *GetCostsOK) IsCode(code int) bool
IsCode returns true when this get costs o k response a status code equal to that given
func (*GetCostsOK) IsRedirect ¶
func (o *GetCostsOK) IsRedirect() bool
IsRedirect returns true when this get costs o k response has a 3xx status code
func (*GetCostsOK) IsServerError ¶
func (o *GetCostsOK) IsServerError() bool
IsServerError returns true when this get costs o k response has a 5xx status code
func (*GetCostsOK) IsSuccess ¶
func (o *GetCostsOK) IsSuccess() bool
IsSuccess returns true when this get costs o k response has a 2xx status code
func (*GetCostsOK) String ¶
func (o *GetCostsOK) String() string
type GetCostsParams ¶
type GetCostsParams struct { /* EndDate. Query costs by the last date you would like to filter to. ISO 8601 Formatted - 2021-07-15 or 2021-07-15T19:20:48+00:00. */ EndDate *string /* Grouping. Group the results by specific field(s). Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_sub_category, provider, service, tag:<tag_value>, region, folder_id, resource_id. If providing multiple groupings, be sure to use the following syntax: grouping[]=provider&grouping[]=service&grouping[]=account_id */ Grouping *string /* Limit. The amount of results to return. The maximum is 1000 Format: int32 Default: 1000 */ Limit *int32 /* Page. The page of results to return. Format: int32 Default: 1 */ Page *int32 // ReportID. ReportID string /* StartDate. Query costs by the first date you would like to filter from. ISO 8601 Formatted - 2021-07-15 or 2021-07-15T19:20:48+00:00. */ StartDate *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCostsParams contains all the parameters to send to the API endpoint
for the get costs operation. Typically these are written to a http.Request.
func NewGetCostsParams ¶
func NewGetCostsParams() *GetCostsParams
NewGetCostsParams creates a new GetCostsParams 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 NewGetCostsParamsWithContext ¶
func NewGetCostsParamsWithContext(ctx context.Context) *GetCostsParams
NewGetCostsParamsWithContext creates a new GetCostsParams object with the ability to set a context for a request.
func NewGetCostsParamsWithHTTPClient ¶
func NewGetCostsParamsWithHTTPClient(client *http.Client) *GetCostsParams
NewGetCostsParamsWithHTTPClient creates a new GetCostsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCostsParamsWithTimeout ¶
func NewGetCostsParamsWithTimeout(timeout time.Duration) *GetCostsParams
NewGetCostsParamsWithTimeout creates a new GetCostsParams object with the ability to set a timeout on a request.
func (*GetCostsParams) SetContext ¶
func (o *GetCostsParams) SetContext(ctx context.Context)
SetContext adds the context to the get costs params
func (*GetCostsParams) SetDefaults ¶
func (o *GetCostsParams) SetDefaults()
SetDefaults hydrates default values in the get costs params (not the query body).
All values with no default are reset to their zero value.
func (*GetCostsParams) SetEndDate ¶
func (o *GetCostsParams) SetEndDate(endDate *string)
SetEndDate adds the endDate to the get costs params
func (*GetCostsParams) SetGrouping ¶
func (o *GetCostsParams) SetGrouping(grouping *string)
SetGrouping adds the grouping to the get costs params
func (*GetCostsParams) SetHTTPClient ¶
func (o *GetCostsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get costs params
func (*GetCostsParams) SetLimit ¶
func (o *GetCostsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get costs params
func (*GetCostsParams) SetPage ¶
func (o *GetCostsParams) SetPage(page *int32)
SetPage adds the page to the get costs params
func (*GetCostsParams) SetReportID ¶
func (o *GetCostsParams) SetReportID(reportID string)
SetReportID adds the reportId to the get costs params
func (*GetCostsParams) SetStartDate ¶
func (o *GetCostsParams) SetStartDate(startDate *string)
SetStartDate adds the startDate to the get costs params
func (*GetCostsParams) SetTimeout ¶
func (o *GetCostsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get costs params
func (*GetCostsParams) WithContext ¶
func (o *GetCostsParams) WithContext(ctx context.Context) *GetCostsParams
WithContext adds the context to the get costs params
func (*GetCostsParams) WithDefaults ¶
func (o *GetCostsParams) WithDefaults() *GetCostsParams
WithDefaults hydrates default values in the get costs params (not the query body).
All values with no default are reset to their zero value.
func (*GetCostsParams) WithEndDate ¶
func (o *GetCostsParams) WithEndDate(endDate *string) *GetCostsParams
WithEndDate adds the endDate to the get costs params
func (*GetCostsParams) WithGrouping ¶
func (o *GetCostsParams) WithGrouping(grouping *string) *GetCostsParams
WithGrouping adds the grouping to the get costs params
func (*GetCostsParams) WithHTTPClient ¶
func (o *GetCostsParams) WithHTTPClient(client *http.Client) *GetCostsParams
WithHTTPClient adds the HTTPClient to the get costs params
func (*GetCostsParams) WithLimit ¶
func (o *GetCostsParams) WithLimit(limit *int32) *GetCostsParams
WithLimit adds the limit to the get costs params
func (*GetCostsParams) WithPage ¶
func (o *GetCostsParams) WithPage(page *int32) *GetCostsParams
WithPage adds the page to the get costs params
func (*GetCostsParams) WithReportID ¶
func (o *GetCostsParams) WithReportID(reportID string) *GetCostsParams
WithReportID adds the reportID to the get costs params
func (*GetCostsParams) WithStartDate ¶
func (o *GetCostsParams) WithStartDate(startDate *string) *GetCostsParams
WithStartDate adds the startDate to the get costs params
func (*GetCostsParams) WithTimeout ¶
func (o *GetCostsParams) WithTimeout(timeout time.Duration) *GetCostsParams
WithTimeout adds the timeout to the get costs params
func (*GetCostsParams) WriteToRequest ¶
func (o *GetCostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCostsReader ¶
type GetCostsReader struct {
// contains filtered or unexported fields
}
GetCostsReader is a Reader for the GetCosts structure.
func (*GetCostsReader) ReadResponse ¶
func (o *GetCostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportOK ¶
GetReportOK describes a response with status code 200, with default header values.
GetReportOK get report o k
func NewGetReportOK ¶
func NewGetReportOK() *GetReportOK
NewGetReportOK creates a GetReportOK with default headers values
func (*GetReportOK) Code ¶
func (o *GetReportOK) Code() int
Code gets the status code for the get report o k response
func (*GetReportOK) Error ¶
func (o *GetReportOK) Error() string
func (*GetReportOK) GetPayload ¶
func (o *GetReportOK) GetPayload() *models.Report
func (*GetReportOK) IsClientError ¶
func (o *GetReportOK) IsClientError() bool
IsClientError returns true when this get report o k response has a 4xx status code
func (*GetReportOK) IsCode ¶
func (o *GetReportOK) IsCode(code int) bool
IsCode returns true when this get report o k response a status code equal to that given
func (*GetReportOK) IsRedirect ¶
func (o *GetReportOK) IsRedirect() bool
IsRedirect returns true when this get report o k response has a 3xx status code
func (*GetReportOK) IsServerError ¶
func (o *GetReportOK) IsServerError() bool
IsServerError returns true when this get report o k response has a 5xx status code
func (*GetReportOK) IsSuccess ¶
func (o *GetReportOK) IsSuccess() bool
IsSuccess returns true when this get report o k response has a 2xx status code
func (*GetReportOK) String ¶
func (o *GetReportOK) String() string
type GetReportParams ¶
type GetReportParams struct { // ReportID. ReportID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportParams contains all the parameters to send to the API endpoint
for the get report operation. Typically these are written to a http.Request.
func NewGetReportParams ¶
func NewGetReportParams() *GetReportParams
NewGetReportParams creates a new GetReportParams 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 NewGetReportParamsWithContext ¶
func NewGetReportParamsWithContext(ctx context.Context) *GetReportParams
NewGetReportParamsWithContext creates a new GetReportParams object with the ability to set a context for a request.
func NewGetReportParamsWithHTTPClient ¶
func NewGetReportParamsWithHTTPClient(client *http.Client) *GetReportParams
NewGetReportParamsWithHTTPClient creates a new GetReportParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportParamsWithTimeout ¶
func NewGetReportParamsWithTimeout(timeout time.Duration) *GetReportParams
NewGetReportParamsWithTimeout creates a new GetReportParams object with the ability to set a timeout on a request.
func (*GetReportParams) SetContext ¶
func (o *GetReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get report params
func (*GetReportParams) SetDefaults ¶
func (o *GetReportParams) SetDefaults()
SetDefaults hydrates default values in the get report params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportParams) SetHTTPClient ¶
func (o *GetReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) SetReportID ¶
func (o *GetReportParams) SetReportID(reportID string)
SetReportID adds the reportId to the get report params
func (*GetReportParams) SetTimeout ¶
func (o *GetReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report params
func (*GetReportParams) WithContext ¶
func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
WithContext adds the context to the get report params
func (*GetReportParams) WithDefaults ¶
func (o *GetReportParams) WithDefaults() *GetReportParams
WithDefaults hydrates default values in the get report params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportParams) WithHTTPClient ¶
func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
WithHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) WithReportID ¶
func (o *GetReportParams) WithReportID(reportID string) *GetReportParams
WithReportID adds the reportID to the get report params
func (*GetReportParams) WithTimeout ¶
func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
WithTimeout adds the timeout to the get report params
func (*GetReportParams) WriteToRequest ¶
func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportReader ¶
type GetReportReader struct {
// contains filtered or unexported fields
}
GetReportReader is a Reader for the GetReport structure.
func (*GetReportReader) ReadResponse ¶
func (o *GetReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportsOK ¶
GetReportsOK describes a response with status code 200, with default header values.
GetReportsOK get reports o k
func NewGetReportsOK ¶
func NewGetReportsOK() *GetReportsOK
NewGetReportsOK creates a GetReportsOK with default headers values
func (*GetReportsOK) Code ¶
func (o *GetReportsOK) Code() int
Code gets the status code for the get reports o k response
func (*GetReportsOK) Error ¶
func (o *GetReportsOK) Error() string
func (*GetReportsOK) GetPayload ¶
func (o *GetReportsOK) GetPayload() *models.Reports
func (*GetReportsOK) IsClientError ¶
func (o *GetReportsOK) IsClientError() bool
IsClientError returns true when this get reports o k response has a 4xx status code
func (*GetReportsOK) IsCode ¶
func (o *GetReportsOK) IsCode(code int) bool
IsCode returns true when this get reports o k response a status code equal to that given
func (*GetReportsOK) IsRedirect ¶
func (o *GetReportsOK) IsRedirect() bool
IsRedirect returns true when this get reports o k response has a 3xx status code
func (*GetReportsOK) IsServerError ¶
func (o *GetReportsOK) IsServerError() bool
IsServerError returns true when this get reports o k response has a 5xx status code
func (*GetReportsOK) IsSuccess ¶
func (o *GetReportsOK) IsSuccess() bool
IsSuccess returns true when this get reports o k response has a 2xx status code
func (*GetReportsOK) String ¶
func (o *GetReportsOK) String() string
type GetReportsParams ¶
type GetReportsParams struct { /* Limit. The amount of results to return. The maximum is 1000 Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportsParams contains all the parameters to send to the API endpoint
for the get reports operation. Typically these are written to a http.Request.
func NewGetReportsParams ¶
func NewGetReportsParams() *GetReportsParams
NewGetReportsParams creates a new GetReportsParams 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 NewGetReportsParamsWithContext ¶
func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams
NewGetReportsParamsWithContext creates a new GetReportsParams object with the ability to set a context for a request.
func NewGetReportsParamsWithHTTPClient ¶
func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams
NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportsParamsWithTimeout ¶
func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams
NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the ability to set a timeout on a request.
func (*GetReportsParams) SetContext ¶
func (o *GetReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reports params
func (*GetReportsParams) SetDefaults ¶
func (o *GetReportsParams) SetDefaults()
SetDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) SetHTTPClient ¶
func (o *GetReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) SetLimit ¶
func (o *GetReportsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get reports params
func (*GetReportsParams) SetPage ¶
func (o *GetReportsParams) SetPage(page *int32)
SetPage adds the page to the get reports params
func (*GetReportsParams) SetTimeout ¶
func (o *GetReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reports params
func (*GetReportsParams) WithContext ¶
func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
WithContext adds the context to the get reports params
func (*GetReportsParams) WithDefaults ¶
func (o *GetReportsParams) WithDefaults() *GetReportsParams
WithDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) WithHTTPClient ¶
func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
WithHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) WithLimit ¶
func (o *GetReportsParams) WithLimit(limit *int32) *GetReportsParams
WithLimit adds the limit to the get reports params
func (*GetReportsParams) WithPage ¶
func (o *GetReportsParams) WithPage(page *int32) *GetReportsParams
WithPage adds the page to the get reports params
func (*GetReportsParams) WithTimeout ¶
func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
WithTimeout adds the timeout to the get reports params
func (*GetReportsParams) WriteToRequest ¶
func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportsReader ¶
type GetReportsReader struct {
// contains filtered or unexported fields
}
GetReportsReader is a Reader for the GetReports structure.
func (*GetReportsReader) ReadResponse ¶
func (o *GetReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.