Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ExportCSVBadRequest
- type ExportCSVInternalServerError
- type ExportCSVNotFound
- type ExportCSVOK
- type ExportCSVParams
- func (o *ExportCSVParams) SetContentLanguage(contentLanguage *string)
- func (o *ExportCSVParams) SetContext(ctx context.Context)
- func (o *ExportCSVParams) SetDefaults()
- func (o *ExportCSVParams) SetHTTPClient(client *http.Client)
- func (o *ExportCSVParams) SetRequestBody(requestBody *models.TableReporterParams)
- func (o *ExportCSVParams) SetTimeout(timeout time.Duration)
- func (o *ExportCSVParams) WithContentLanguage(contentLanguage *string) *ExportCSVParams
- func (o *ExportCSVParams) WithContext(ctx context.Context) *ExportCSVParams
- func (o *ExportCSVParams) WithDefaults() *ExportCSVParams
- func (o *ExportCSVParams) WithHTTPClient(client *http.Client) *ExportCSVParams
- func (o *ExportCSVParams) WithRequestBody(requestBody *models.TableReporterParams) *ExportCSVParams
- func (o *ExportCSVParams) WithTimeout(timeout time.Duration) *ExportCSVParams
- func (o *ExportCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportCSVReader
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 table reporter API
func (*Client) ExportCSV ¶
func (a *Client) ExportCSV(params *ExportCSVParams, opts ...ClientOption) (*ExportCSVOK, error)
ExportCSV export c s v 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 { ExportCSV(params *ExportCSVParams, opts ...ClientOption) (*ExportCSVOK, 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 table reporter API client.
type ExportCSVBadRequest ¶
ExportCSVBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExportCSVBadRequest ¶
func NewExportCSVBadRequest() *ExportCSVBadRequest
NewExportCSVBadRequest creates a ExportCSVBadRequest with default headers values
func (*ExportCSVBadRequest) Error ¶
func (o *ExportCSVBadRequest) Error() string
func (*ExportCSVBadRequest) GetPayload ¶
func (o *ExportCSVBadRequest) GetPayload() *models.ErrorBody
type ExportCSVInternalServerError ¶
ExportCSVInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExportCSVInternalServerError ¶
func NewExportCSVInternalServerError() *ExportCSVInternalServerError
NewExportCSVInternalServerError creates a ExportCSVInternalServerError with default headers values
func (*ExportCSVInternalServerError) Error ¶
func (o *ExportCSVInternalServerError) Error() string
func (*ExportCSVInternalServerError) GetPayload ¶
func (o *ExportCSVInternalServerError) GetPayload() *models.ErrorBody
type ExportCSVNotFound ¶
ExportCSVNotFound describes a response with status code 404, with default header values.
Not found
func NewExportCSVNotFound ¶
func NewExportCSVNotFound() *ExportCSVNotFound
NewExportCSVNotFound creates a ExportCSVNotFound with default headers values
func (*ExportCSVNotFound) Error ¶
func (o *ExportCSVNotFound) Error() string
func (*ExportCSVNotFound) GetPayload ¶
func (o *ExportCSVNotFound) GetPayload() *models.ErrorBody
type ExportCSVOK ¶
ExportCSVOK describes a response with status code 200, with default header values.
ExportCSVOK export c s v o k
func NewExportCSVOK ¶
func NewExportCSVOK() *ExportCSVOK
NewExportCSVOK creates a ExportCSVOK with default headers values
func (*ExportCSVOK) Error ¶
func (o *ExportCSVOK) Error() string
func (*ExportCSVOK) GetPayload ¶
func (o *ExportCSVOK) GetPayload() strfmt.Base64
type ExportCSVParams ¶
type ExportCSVParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.TableReporterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportCSVParams contains all the parameters to send to the API endpoint
for the export c s v operation. Typically these are written to a http.Request.
func NewExportCSVParams ¶
func NewExportCSVParams() *ExportCSVParams
NewExportCSVParams creates a new ExportCSVParams 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 NewExportCSVParamsWithContext ¶
func NewExportCSVParamsWithContext(ctx context.Context) *ExportCSVParams
NewExportCSVParamsWithContext creates a new ExportCSVParams object with the ability to set a context for a request.
func NewExportCSVParamsWithHTTPClient ¶
func NewExportCSVParamsWithHTTPClient(client *http.Client) *ExportCSVParams
NewExportCSVParamsWithHTTPClient creates a new ExportCSVParams object with the ability to set a custom HTTPClient for a request.
func NewExportCSVParamsWithTimeout ¶
func NewExportCSVParamsWithTimeout(timeout time.Duration) *ExportCSVParams
NewExportCSVParamsWithTimeout creates a new ExportCSVParams object with the ability to set a timeout on a request.
func (*ExportCSVParams) SetContentLanguage ¶
func (o *ExportCSVParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the export c s v params
func (*ExportCSVParams) SetContext ¶
func (o *ExportCSVParams) SetContext(ctx context.Context)
SetContext adds the context to the export c s v params
func (*ExportCSVParams) SetDefaults ¶
func (o *ExportCSVParams) SetDefaults()
SetDefaults hydrates default values in the export c s v params (not the query body).
All values with no default are reset to their zero value.
func (*ExportCSVParams) SetHTTPClient ¶
func (o *ExportCSVParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export c s v params
func (*ExportCSVParams) SetRequestBody ¶
func (o *ExportCSVParams) SetRequestBody(requestBody *models.TableReporterParams)
SetRequestBody adds the requestBody to the export c s v params
func (*ExportCSVParams) SetTimeout ¶
func (o *ExportCSVParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export c s v params
func (*ExportCSVParams) WithContentLanguage ¶
func (o *ExportCSVParams) WithContentLanguage(contentLanguage *string) *ExportCSVParams
WithContentLanguage adds the contentLanguage to the export c s v params
func (*ExportCSVParams) WithContext ¶
func (o *ExportCSVParams) WithContext(ctx context.Context) *ExportCSVParams
WithContext adds the context to the export c s v params
func (*ExportCSVParams) WithDefaults ¶
func (o *ExportCSVParams) WithDefaults() *ExportCSVParams
WithDefaults hydrates default values in the export c s v params (not the query body).
All values with no default are reset to their zero value.
func (*ExportCSVParams) WithHTTPClient ¶
func (o *ExportCSVParams) WithHTTPClient(client *http.Client) *ExportCSVParams
WithHTTPClient adds the HTTPClient to the export c s v params
func (*ExportCSVParams) WithRequestBody ¶
func (o *ExportCSVParams) WithRequestBody(requestBody *models.TableReporterParams) *ExportCSVParams
WithRequestBody adds the requestBody to the export c s v params
func (*ExportCSVParams) WithTimeout ¶
func (o *ExportCSVParams) WithTimeout(timeout time.Duration) *ExportCSVParams
WithTimeout adds the timeout to the export c s v params
func (*ExportCSVParams) WriteToRequest ¶
func (o *ExportCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportCSVReader ¶
type ExportCSVReader struct {
// contains filtered or unexported fields
}
ExportCSVReader is a Reader for the ExportCSV structure.
func (*ExportCSVReader) ReadResponse ¶
func (o *ExportCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.