report_task

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 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 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

type GetReportTasksBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type GetReportTasksConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetReportTasksConnectionBadRequest) GetPayload

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 (*GetReportTasksConnectionInternalServerError) GetPayload

type GetReportTasksConnectionNotFound

type GetReportTasksConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetReportTasksConnectionNotFound) GetPayload

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 (*GetReportTasksConnectionOK) GetPayload

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

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

WithContext adds the context to the get report tasks connection params

func (*GetReportTasksConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get report tasks connection params

func (*GetReportTasksConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get report tasks connection params

func (*GetReportTasksConnectionParams) WithTimeout

WithTimeout adds the timeout to the get report tasks connection params

func (*GetReportTasksConnectionParams) WriteToRequest

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

type GetReportTasksInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetReportTasksInternalServerError) GetPayload

type GetReportTasksNotFound

type GetReportTasksNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

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

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.

Jump to

Keyboard shortcuts

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