Documentation ¶
Index ¶
- type Client
- func (a *Client) GetReportTasks(params *GetReportTasksParams, opts ...ClientOption) (*GetReportTasksOK, error)
- func (a *Client) GetReportTasksConnection(params *GetReportTasksConnectionParams, opts ...ClientOption) (*GetReportTasksConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetReportTasksBadRequest
- type GetReportTasksConnectionBadRequest
- type GetReportTasksConnectionInternalServerError
- type GetReportTasksConnectionNotFound
- type GetReportTasksConnectionOK
- type GetReportTasksConnectionParams
- func NewGetReportTasksConnectionParams() *GetReportTasksConnectionParams
- func NewGetReportTasksConnectionParamsWithContext(ctx context.Context) *GetReportTasksConnectionParams
- func NewGetReportTasksConnectionParamsWithHTTPClient(client *http.Client) *GetReportTasksConnectionParams
- func NewGetReportTasksConnectionParamsWithTimeout(timeout time.Duration) *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetReportTasksConnectionParams) SetContext(ctx context.Context)
- func (o *GetReportTasksConnectionParams) SetDefaults()
- func (o *GetReportTasksConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetReportTasksConnectionParams) SetRequestBody(requestBody *models.GetReportTasksConnectionRequestBody)
- func (o *GetReportTasksConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetReportTasksConnectionParams) WithContentLanguage(contentLanguage *string) *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) WithContext(ctx context.Context) *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) WithDefaults() *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) WithHTTPClient(client *http.Client) *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) WithRequestBody(requestBody *models.GetReportTasksConnectionRequestBody) *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) WithTimeout(timeout time.Duration) *GetReportTasksConnectionParams
- func (o *GetReportTasksConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportTasksConnectionReader
- type GetReportTasksInternalServerError
- type GetReportTasksNotFound
- type GetReportTasksOK
- type GetReportTasksParams
- func NewGetReportTasksParams() *GetReportTasksParams
- func NewGetReportTasksParamsWithContext(ctx context.Context) *GetReportTasksParams
- func NewGetReportTasksParamsWithHTTPClient(client *http.Client) *GetReportTasksParams
- func NewGetReportTasksParamsWithTimeout(timeout time.Duration) *GetReportTasksParams
- func (o *GetReportTasksParams) SetContentLanguage(contentLanguage *string)
- func (o *GetReportTasksParams) SetContext(ctx context.Context)
- func (o *GetReportTasksParams) SetDefaults()
- func (o *GetReportTasksParams) SetHTTPClient(client *http.Client)
- func (o *GetReportTasksParams) SetRequestBody(requestBody *models.GetReportTasksRequestBody)
- func (o *GetReportTasksParams) SetTimeout(timeout time.Duration)
- func (o *GetReportTasksParams) WithContentLanguage(contentLanguage *string) *GetReportTasksParams
- func (o *GetReportTasksParams) WithContext(ctx context.Context) *GetReportTasksParams
- func (o *GetReportTasksParams) WithDefaults() *GetReportTasksParams
- func (o *GetReportTasksParams) WithHTTPClient(client *http.Client) *GetReportTasksParams
- func (o *GetReportTasksParams) WithRequestBody(requestBody *models.GetReportTasksRequestBody) *GetReportTasksParams
- func (o *GetReportTasksParams) WithTimeout(timeout time.Duration) *GetReportTasksParams
- func (o *GetReportTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportTasksReader
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 report task API
func (*Client) GetReportTasks ¶
func (a *Client) GetReportTasks(params *GetReportTasksParams, opts ...ClientOption) (*GetReportTasksOK, error)
GetReportTasks get report tasks API
func (*Client) GetReportTasksConnection ¶
func (a *Client) GetReportTasksConnection(params *GetReportTasksConnectionParams, opts ...ClientOption) (*GetReportTasksConnectionOK, error)
GetReportTasksConnection get report tasks connection API
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 { GetReportTasks(params *GetReportTasksParams, opts ...ClientOption) (*GetReportTasksOK, error) GetReportTasksConnection(params *GetReportTasksConnectionParams, opts ...ClientOption) (*GetReportTasksConnectionOK, 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 report task API client.
type GetReportTasksBadRequest ¶
GetReportTasksBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetReportTasksBadRequest ¶
func NewGetReportTasksBadRequest() *GetReportTasksBadRequest
NewGetReportTasksBadRequest creates a GetReportTasksBadRequest with default headers values
func (*GetReportTasksBadRequest) Error ¶
func (o *GetReportTasksBadRequest) Error() string
func (*GetReportTasksBadRequest) GetPayload ¶
func (o *GetReportTasksBadRequest) GetPayload() *models.ErrorBody
type GetReportTasksConnectionBadRequest ¶
GetReportTasksConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetReportTasksConnectionBadRequest ¶
func NewGetReportTasksConnectionBadRequest() *GetReportTasksConnectionBadRequest
NewGetReportTasksConnectionBadRequest creates a GetReportTasksConnectionBadRequest with default headers values
func (*GetReportTasksConnectionBadRequest) Error ¶
func (o *GetReportTasksConnectionBadRequest) Error() string
func (*GetReportTasksConnectionBadRequest) GetPayload ¶
func (o *GetReportTasksConnectionBadRequest) GetPayload() *models.ErrorBody
type GetReportTasksConnectionInternalServerError ¶
type GetReportTasksConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetReportTasksConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetReportTasksConnectionInternalServerError ¶
func NewGetReportTasksConnectionInternalServerError() *GetReportTasksConnectionInternalServerError
NewGetReportTasksConnectionInternalServerError creates a GetReportTasksConnectionInternalServerError with default headers values
func (*GetReportTasksConnectionInternalServerError) Error ¶
func (o *GetReportTasksConnectionInternalServerError) Error() string
func (*GetReportTasksConnectionInternalServerError) GetPayload ¶
func (o *GetReportTasksConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetReportTasksConnectionNotFound ¶
GetReportTasksConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetReportTasksConnectionNotFound ¶
func NewGetReportTasksConnectionNotFound() *GetReportTasksConnectionNotFound
NewGetReportTasksConnectionNotFound creates a GetReportTasksConnectionNotFound with default headers values
func (*GetReportTasksConnectionNotFound) Error ¶
func (o *GetReportTasksConnectionNotFound) Error() string
func (*GetReportTasksConnectionNotFound) GetPayload ¶
func (o *GetReportTasksConnectionNotFound) GetPayload() *models.ErrorBody
type GetReportTasksConnectionOK ¶
type GetReportTasksConnectionOK struct { XTowerRequestID string Payload *models.ReportTaskConnection }
GetReportTasksConnectionOK describes a response with status code 200, with default header values.
GetReportTasksConnectionOK get report tasks connection o k
func NewGetReportTasksConnectionOK ¶
func NewGetReportTasksConnectionOK() *GetReportTasksConnectionOK
NewGetReportTasksConnectionOK creates a GetReportTasksConnectionOK with default headers values
func (*GetReportTasksConnectionOK) Error ¶
func (o *GetReportTasksConnectionOK) Error() string
func (*GetReportTasksConnectionOK) GetPayload ¶
func (o *GetReportTasksConnectionOK) GetPayload() *models.ReportTaskConnection
type GetReportTasksConnectionParams ¶
type GetReportTasksConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetReportTasksConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportTasksConnectionParams contains all the parameters to send to the API endpoint
for the get report tasks connection operation. Typically these are written to a http.Request.
func NewGetReportTasksConnectionParams ¶
func NewGetReportTasksConnectionParams() *GetReportTasksConnectionParams
NewGetReportTasksConnectionParams creates a new GetReportTasksConnectionParams 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 NewGetReportTasksConnectionParamsWithContext ¶
func NewGetReportTasksConnectionParamsWithContext(ctx context.Context) *GetReportTasksConnectionParams
NewGetReportTasksConnectionParamsWithContext creates a new GetReportTasksConnectionParams object with the ability to set a context for a request.
func NewGetReportTasksConnectionParamsWithHTTPClient ¶
func NewGetReportTasksConnectionParamsWithHTTPClient(client *http.Client) *GetReportTasksConnectionParams
NewGetReportTasksConnectionParamsWithHTTPClient creates a new GetReportTasksConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportTasksConnectionParamsWithTimeout ¶
func NewGetReportTasksConnectionParamsWithTimeout(timeout time.Duration) *GetReportTasksConnectionParams
NewGetReportTasksConnectionParamsWithTimeout creates a new GetReportTasksConnectionParams object with the ability to set a timeout on a request.
func (*GetReportTasksConnectionParams) SetContentLanguage ¶
func (o *GetReportTasksConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get report tasks connection params
func (*GetReportTasksConnectionParams) SetContext ¶
func (o *GetReportTasksConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get report tasks connection params
func (*GetReportTasksConnectionParams) SetDefaults ¶
func (o *GetReportTasksConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get report tasks connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportTasksConnectionParams) SetHTTPClient ¶
func (o *GetReportTasksConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report tasks connection params
func (*GetReportTasksConnectionParams) SetRequestBody ¶
func (o *GetReportTasksConnectionParams) SetRequestBody(requestBody *models.GetReportTasksConnectionRequestBody)
SetRequestBody adds the requestBody to the get report tasks connection params
func (*GetReportTasksConnectionParams) SetTimeout ¶
func (o *GetReportTasksConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report tasks connection params
func (*GetReportTasksConnectionParams) WithContentLanguage ¶
func (o *GetReportTasksConnectionParams) WithContentLanguage(contentLanguage *string) *GetReportTasksConnectionParams
WithContentLanguage adds the contentLanguage to the get report tasks connection params
func (*GetReportTasksConnectionParams) WithContext ¶
func (o *GetReportTasksConnectionParams) WithContext(ctx context.Context) *GetReportTasksConnectionParams
WithContext adds the context to the get report tasks connection params
func (*GetReportTasksConnectionParams) WithDefaults ¶
func (o *GetReportTasksConnectionParams) WithDefaults() *GetReportTasksConnectionParams
WithDefaults hydrates default values in the get report tasks connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportTasksConnectionParams) WithHTTPClient ¶
func (o *GetReportTasksConnectionParams) WithHTTPClient(client *http.Client) *GetReportTasksConnectionParams
WithHTTPClient adds the HTTPClient to the get report tasks connection params
func (*GetReportTasksConnectionParams) WithRequestBody ¶
func (o *GetReportTasksConnectionParams) WithRequestBody(requestBody *models.GetReportTasksConnectionRequestBody) *GetReportTasksConnectionParams
WithRequestBody adds the requestBody to the get report tasks connection params
func (*GetReportTasksConnectionParams) WithTimeout ¶
func (o *GetReportTasksConnectionParams) WithTimeout(timeout time.Duration) *GetReportTasksConnectionParams
WithTimeout adds the timeout to the get report tasks connection params
func (*GetReportTasksConnectionParams) WriteToRequest ¶
func (o *GetReportTasksConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportTasksConnectionReader ¶
type GetReportTasksConnectionReader struct {
// contains filtered or unexported fields
}
GetReportTasksConnectionReader is a Reader for the GetReportTasksConnection structure.
func (*GetReportTasksConnectionReader) ReadResponse ¶
func (o *GetReportTasksConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportTasksInternalServerError ¶
GetReportTasksInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetReportTasksInternalServerError ¶
func NewGetReportTasksInternalServerError() *GetReportTasksInternalServerError
NewGetReportTasksInternalServerError creates a GetReportTasksInternalServerError with default headers values
func (*GetReportTasksInternalServerError) Error ¶
func (o *GetReportTasksInternalServerError) Error() string
func (*GetReportTasksInternalServerError) GetPayload ¶
func (o *GetReportTasksInternalServerError) GetPayload() *models.ErrorBody
type GetReportTasksNotFound ¶
GetReportTasksNotFound describes a response with status code 404, with default header values.
Not found
func NewGetReportTasksNotFound ¶
func NewGetReportTasksNotFound() *GetReportTasksNotFound
NewGetReportTasksNotFound creates a GetReportTasksNotFound with default headers values
func (*GetReportTasksNotFound) Error ¶
func (o *GetReportTasksNotFound) Error() string
func (*GetReportTasksNotFound) GetPayload ¶
func (o *GetReportTasksNotFound) GetPayload() *models.ErrorBody
type GetReportTasksOK ¶
type GetReportTasksOK struct { XTowerRequestID string Payload []*models.ReportTask }
GetReportTasksOK describes a response with status code 200, with default header values.
GetReportTasksOK get report tasks o k
func NewGetReportTasksOK ¶
func NewGetReportTasksOK() *GetReportTasksOK
NewGetReportTasksOK creates a GetReportTasksOK with default headers values
func (*GetReportTasksOK) Error ¶
func (o *GetReportTasksOK) Error() string
func (*GetReportTasksOK) GetPayload ¶
func (o *GetReportTasksOK) GetPayload() []*models.ReportTask
type GetReportTasksParams ¶
type GetReportTasksParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetReportTasksRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportTasksParams contains all the parameters to send to the API endpoint
for the get report tasks operation. Typically these are written to a http.Request.
func NewGetReportTasksParams ¶
func NewGetReportTasksParams() *GetReportTasksParams
NewGetReportTasksParams creates a new GetReportTasksParams 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 NewGetReportTasksParamsWithContext ¶
func NewGetReportTasksParamsWithContext(ctx context.Context) *GetReportTasksParams
NewGetReportTasksParamsWithContext creates a new GetReportTasksParams object with the ability to set a context for a request.
func NewGetReportTasksParamsWithHTTPClient ¶
func NewGetReportTasksParamsWithHTTPClient(client *http.Client) *GetReportTasksParams
NewGetReportTasksParamsWithHTTPClient creates a new GetReportTasksParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportTasksParamsWithTimeout ¶
func NewGetReportTasksParamsWithTimeout(timeout time.Duration) *GetReportTasksParams
NewGetReportTasksParamsWithTimeout creates a new GetReportTasksParams object with the ability to set a timeout on a request.
func (*GetReportTasksParams) SetContentLanguage ¶
func (o *GetReportTasksParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get report tasks params
func (*GetReportTasksParams) SetContext ¶
func (o *GetReportTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the get report tasks params
func (*GetReportTasksParams) SetDefaults ¶
func (o *GetReportTasksParams) SetDefaults()
SetDefaults hydrates default values in the get report tasks params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportTasksParams) SetHTTPClient ¶
func (o *GetReportTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report tasks params
func (*GetReportTasksParams) SetRequestBody ¶
func (o *GetReportTasksParams) SetRequestBody(requestBody *models.GetReportTasksRequestBody)
SetRequestBody adds the requestBody to the get report tasks params
func (*GetReportTasksParams) SetTimeout ¶
func (o *GetReportTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report tasks params
func (*GetReportTasksParams) WithContentLanguage ¶
func (o *GetReportTasksParams) WithContentLanguage(contentLanguage *string) *GetReportTasksParams
WithContentLanguage adds the contentLanguage to the get report tasks params
func (*GetReportTasksParams) WithContext ¶
func (o *GetReportTasksParams) WithContext(ctx context.Context) *GetReportTasksParams
WithContext adds the context to the get report tasks params
func (*GetReportTasksParams) WithDefaults ¶
func (o *GetReportTasksParams) WithDefaults() *GetReportTasksParams
WithDefaults hydrates default values in the get report tasks params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportTasksParams) WithHTTPClient ¶
func (o *GetReportTasksParams) WithHTTPClient(client *http.Client) *GetReportTasksParams
WithHTTPClient adds the HTTPClient to the get report tasks params
func (*GetReportTasksParams) WithRequestBody ¶
func (o *GetReportTasksParams) WithRequestBody(requestBody *models.GetReportTasksRequestBody) *GetReportTasksParams
WithRequestBody adds the requestBody to the get report tasks params
func (*GetReportTasksParams) WithTimeout ¶
func (o *GetReportTasksParams) WithTimeout(timeout time.Duration) *GetReportTasksParams
WithTimeout adds the timeout to the get report tasks params
func (*GetReportTasksParams) WriteToRequest ¶
func (o *GetReportTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportTasksReader ¶
type GetReportTasksReader struct {
// contains filtered or unexported fields
}
GetReportTasksReader is a Reader for the GetReportTasks structure.
func (*GetReportTasksReader) ReadResponse ¶
func (o *GetReportTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.