Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDashboardRenderTask(params *CreateDashboardRenderTaskParams, opts ...ClientOption) (*CreateDashboardRenderTaskOK, error)
- func (a *Client) CreateLookRenderTask(params *CreateLookRenderTaskParams, opts ...ClientOption) (*CreateLookRenderTaskOK, error)
- func (a *Client) CreateLookmlDashboardRenderTask(params *CreateLookmlDashboardRenderTaskParams, opts ...ClientOption) (*CreateLookmlDashboardRenderTaskOK, error)
- func (a *Client) CreateQueryRenderTask(params *CreateQueryRenderTaskParams, opts ...ClientOption) (*CreateQueryRenderTaskOK, error)
- func (a *Client) RenderTask(params *RenderTaskParams, opts ...ClientOption) (*RenderTaskOK, error)
- func (a *Client) RenderTaskResults(params *RenderTaskResultsParams, opts ...ClientOption) (*RenderTaskResultsOK, *RenderTaskResultsAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDashboardRenderTaskBadRequest
- type CreateDashboardRenderTaskConflict
- type CreateDashboardRenderTaskNotFound
- type CreateDashboardRenderTaskOK
- type CreateDashboardRenderTaskParams
- func NewCreateDashboardRenderTaskParams() *CreateDashboardRenderTaskParams
- func NewCreateDashboardRenderTaskParamsWithContext(ctx context.Context) *CreateDashboardRenderTaskParams
- func NewCreateDashboardRenderTaskParamsWithHTTPClient(client *http.Client) *CreateDashboardRenderTaskParams
- func NewCreateDashboardRenderTaskParamsWithTimeout(timeout time.Duration) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) SetBody(body *models.CreateDashboardRenderTask)
- func (o *CreateDashboardRenderTaskParams) SetContext(ctx context.Context)
- func (o *CreateDashboardRenderTaskParams) SetDashboardID(dashboardID int64)
- func (o *CreateDashboardRenderTaskParams) SetDefaults()
- func (o *CreateDashboardRenderTaskParams) SetFields(fields *string)
- func (o *CreateDashboardRenderTaskParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardRenderTaskParams) SetHeight(height int64)
- func (o *CreateDashboardRenderTaskParams) SetPdfLandscape(pdfLandscape *bool)
- func (o *CreateDashboardRenderTaskParams) SetPdfPaperSize(pdfPaperSize *string)
- func (o *CreateDashboardRenderTaskParams) SetResultFormat(resultFormat string)
- func (o *CreateDashboardRenderTaskParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardRenderTaskParams) SetWidth(width int64)
- func (o *CreateDashboardRenderTaskParams) WithBody(body *models.CreateDashboardRenderTask) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithContext(ctx context.Context) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithDashboardID(dashboardID int64) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithDefaults() *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithFields(fields *string) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithHTTPClient(client *http.Client) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithHeight(height int64) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithPdfLandscape(pdfLandscape *bool) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithPdfPaperSize(pdfPaperSize *string) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithResultFormat(resultFormat string) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithTimeout(timeout time.Duration) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WithWidth(width int64) *CreateDashboardRenderTaskParams
- func (o *CreateDashboardRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDashboardRenderTaskReader
- type CreateDashboardRenderTaskTooManyRequests
- type CreateDashboardRenderTaskUnprocessableEntity
- type CreateLookRenderTaskBadRequest
- type CreateLookRenderTaskConflict
- type CreateLookRenderTaskNotFound
- type CreateLookRenderTaskOK
- type CreateLookRenderTaskParams
- func NewCreateLookRenderTaskParams() *CreateLookRenderTaskParams
- func NewCreateLookRenderTaskParamsWithContext(ctx context.Context) *CreateLookRenderTaskParams
- func NewCreateLookRenderTaskParamsWithHTTPClient(client *http.Client) *CreateLookRenderTaskParams
- func NewCreateLookRenderTaskParamsWithTimeout(timeout time.Duration) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) SetContext(ctx context.Context)
- func (o *CreateLookRenderTaskParams) SetDefaults()
- func (o *CreateLookRenderTaskParams) SetFields(fields *string)
- func (o *CreateLookRenderTaskParams) SetHTTPClient(client *http.Client)
- func (o *CreateLookRenderTaskParams) SetHeight(height int64)
- func (o *CreateLookRenderTaskParams) SetLookID(lookID int64)
- func (o *CreateLookRenderTaskParams) SetResultFormat(resultFormat string)
- func (o *CreateLookRenderTaskParams) SetTimeout(timeout time.Duration)
- func (o *CreateLookRenderTaskParams) SetWidth(width int64)
- func (o *CreateLookRenderTaskParams) WithContext(ctx context.Context) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithDefaults() *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithFields(fields *string) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithHTTPClient(client *http.Client) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithHeight(height int64) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithLookID(lookID int64) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithResultFormat(resultFormat string) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithTimeout(timeout time.Duration) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WithWidth(width int64) *CreateLookRenderTaskParams
- func (o *CreateLookRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLookRenderTaskReader
- type CreateLookRenderTaskTooManyRequests
- type CreateLookRenderTaskUnprocessableEntity
- type CreateLookmlDashboardRenderTaskBadRequest
- type CreateLookmlDashboardRenderTaskConflict
- type CreateLookmlDashboardRenderTaskNotFound
- type CreateLookmlDashboardRenderTaskOK
- type CreateLookmlDashboardRenderTaskParams
- func NewCreateLookmlDashboardRenderTaskParams() *CreateLookmlDashboardRenderTaskParams
- func NewCreateLookmlDashboardRenderTaskParamsWithContext(ctx context.Context) *CreateLookmlDashboardRenderTaskParams
- func NewCreateLookmlDashboardRenderTaskParamsWithHTTPClient(client *http.Client) *CreateLookmlDashboardRenderTaskParams
- func NewCreateLookmlDashboardRenderTaskParamsWithTimeout(timeout time.Duration) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) SetBody(body *models.CreateDashboardRenderTask)
- func (o *CreateLookmlDashboardRenderTaskParams) SetContext(ctx context.Context)
- func (o *CreateLookmlDashboardRenderTaskParams) SetDashboardID(dashboardID string)
- func (o *CreateLookmlDashboardRenderTaskParams) SetDefaults()
- func (o *CreateLookmlDashboardRenderTaskParams) SetFields(fields *string)
- func (o *CreateLookmlDashboardRenderTaskParams) SetHTTPClient(client *http.Client)
- func (o *CreateLookmlDashboardRenderTaskParams) SetHeight(height int64)
- func (o *CreateLookmlDashboardRenderTaskParams) SetPdfLandscape(pdfLandscape *bool)
- func (o *CreateLookmlDashboardRenderTaskParams) SetPdfPaperSize(pdfPaperSize *string)
- func (o *CreateLookmlDashboardRenderTaskParams) SetResultFormat(resultFormat string)
- func (o *CreateLookmlDashboardRenderTaskParams) SetTimeout(timeout time.Duration)
- func (o *CreateLookmlDashboardRenderTaskParams) SetWidth(width int64)
- func (o *CreateLookmlDashboardRenderTaskParams) WithBody(body *models.CreateDashboardRenderTask) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithContext(ctx context.Context) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithDashboardID(dashboardID string) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithDefaults() *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithFields(fields *string) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithHTTPClient(client *http.Client) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithHeight(height int64) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithPdfLandscape(pdfLandscape *bool) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithPdfPaperSize(pdfPaperSize *string) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithResultFormat(resultFormat string) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithTimeout(timeout time.Duration) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WithWidth(width int64) *CreateLookmlDashboardRenderTaskParams
- func (o *CreateLookmlDashboardRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLookmlDashboardRenderTaskReader
- type CreateLookmlDashboardRenderTaskTooManyRequests
- type CreateLookmlDashboardRenderTaskUnprocessableEntity
- type CreateQueryRenderTaskBadRequest
- type CreateQueryRenderTaskConflict
- type CreateQueryRenderTaskNotFound
- type CreateQueryRenderTaskOK
- type CreateQueryRenderTaskParams
- func NewCreateQueryRenderTaskParams() *CreateQueryRenderTaskParams
- func NewCreateQueryRenderTaskParamsWithContext(ctx context.Context) *CreateQueryRenderTaskParams
- func NewCreateQueryRenderTaskParamsWithHTTPClient(client *http.Client) *CreateQueryRenderTaskParams
- func NewCreateQueryRenderTaskParamsWithTimeout(timeout time.Duration) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) SetContext(ctx context.Context)
- func (o *CreateQueryRenderTaskParams) SetDefaults()
- func (o *CreateQueryRenderTaskParams) SetFields(fields *string)
- func (o *CreateQueryRenderTaskParams) SetHTTPClient(client *http.Client)
- func (o *CreateQueryRenderTaskParams) SetHeight(height int64)
- func (o *CreateQueryRenderTaskParams) SetQueryID(queryID int64)
- func (o *CreateQueryRenderTaskParams) SetResultFormat(resultFormat string)
- func (o *CreateQueryRenderTaskParams) SetTimeout(timeout time.Duration)
- func (o *CreateQueryRenderTaskParams) SetWidth(width int64)
- func (o *CreateQueryRenderTaskParams) WithContext(ctx context.Context) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithDefaults() *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithFields(fields *string) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithHTTPClient(client *http.Client) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithHeight(height int64) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithQueryID(queryID int64) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithResultFormat(resultFormat string) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithTimeout(timeout time.Duration) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WithWidth(width int64) *CreateQueryRenderTaskParams
- func (o *CreateQueryRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateQueryRenderTaskReader
- type CreateQueryRenderTaskTooManyRequests
- type CreateQueryRenderTaskUnprocessableEntity
- type RenderTaskBadRequest
- type RenderTaskNotFound
- type RenderTaskOK
- type RenderTaskParams
- func (o *RenderTaskParams) SetContext(ctx context.Context)
- func (o *RenderTaskParams) SetDefaults()
- func (o *RenderTaskParams) SetFields(fields *string)
- func (o *RenderTaskParams) SetHTTPClient(client *http.Client)
- func (o *RenderTaskParams) SetRenderTaskID(renderTaskID string)
- func (o *RenderTaskParams) SetTimeout(timeout time.Duration)
- func (o *RenderTaskParams) WithContext(ctx context.Context) *RenderTaskParams
- func (o *RenderTaskParams) WithDefaults() *RenderTaskParams
- func (o *RenderTaskParams) WithFields(fields *string) *RenderTaskParams
- func (o *RenderTaskParams) WithHTTPClient(client *http.Client) *RenderTaskParams
- func (o *RenderTaskParams) WithRenderTaskID(renderTaskID string) *RenderTaskParams
- func (o *RenderTaskParams) WithTimeout(timeout time.Duration) *RenderTaskParams
- func (o *RenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderTaskReader
- type RenderTaskResultsAccepted
- type RenderTaskResultsBadRequest
- type RenderTaskResultsNotFound
- type RenderTaskResultsOK
- type RenderTaskResultsParams
- func NewRenderTaskResultsParams() *RenderTaskResultsParams
- func NewRenderTaskResultsParamsWithContext(ctx context.Context) *RenderTaskResultsParams
- func NewRenderTaskResultsParamsWithHTTPClient(client *http.Client) *RenderTaskResultsParams
- func NewRenderTaskResultsParamsWithTimeout(timeout time.Duration) *RenderTaskResultsParams
- func (o *RenderTaskResultsParams) SetContext(ctx context.Context)
- func (o *RenderTaskResultsParams) SetDefaults()
- func (o *RenderTaskResultsParams) SetHTTPClient(client *http.Client)
- func (o *RenderTaskResultsParams) SetRenderTaskID(renderTaskID string)
- func (o *RenderTaskResultsParams) SetTimeout(timeout time.Duration)
- func (o *RenderTaskResultsParams) WithContext(ctx context.Context) *RenderTaskResultsParams
- func (o *RenderTaskResultsParams) WithDefaults() *RenderTaskResultsParams
- func (o *RenderTaskResultsParams) WithHTTPClient(client *http.Client) *RenderTaskResultsParams
- func (o *RenderTaskResultsParams) WithRenderTaskID(renderTaskID string) *RenderTaskResultsParams
- func (o *RenderTaskResultsParams) WithTimeout(timeout time.Duration) *RenderTaskResultsParams
- func (o *RenderTaskResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderTaskResultsReader
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 render task API
func (*Client) CreateDashboardRenderTask ¶
func (a *Client) CreateDashboardRenderTask(params *CreateDashboardRenderTaskParams, opts ...ClientOption) (*CreateDashboardRenderTaskOK, error)
CreateDashboardRenderTask creates dashboard render task ### Create a new task to render a dashboard to a document or image.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
func (*Client) CreateLookRenderTask ¶
func (a *Client) CreateLookRenderTask(params *CreateLookRenderTaskParams, opts ...ClientOption) (*CreateLookRenderTaskOK, error)
CreateLookRenderTask creates look render task ### Create a new task to render a look to an image.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
func (*Client) CreateLookmlDashboardRenderTask ¶
func (a *Client) CreateLookmlDashboardRenderTask(params *CreateLookmlDashboardRenderTaskParams, opts ...ClientOption) (*CreateLookmlDashboardRenderTaskOK, error)
CreateLookmlDashboardRenderTask creates lookml dashboard render task ### Create a new task to render a lookml dashboard to a document or image.
DEPRECATED: Use [create_dashboard_render_task()](#!/RenderTask/create_dashboard_render_task) in API 4.0+ ¶
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
func (*Client) CreateQueryRenderTask ¶
func (a *Client) CreateQueryRenderTask(params *CreateQueryRenderTaskParams, opts ...ClientOption) (*CreateQueryRenderTaskOK, error)
CreateQueryRenderTask creates query render task ### Create a new task to render an existing query to an image.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
func (*Client) RenderTask ¶
func (a *Client) RenderTask(params *RenderTaskParams, opts ...ClientOption) (*RenderTaskOK, error)
RenderTask gets render task ### Get information about a render task.
Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
func (*Client) RenderTaskResults ¶
func (a *Client) RenderTaskResults(params *RenderTaskResultsParams, opts ...ClientOption) (*RenderTaskResultsOK, *RenderTaskResultsAccepted, error)
RenderTaskResults renders task results ### Get the document or image produced by a completed render task.
Note that the PDF or image result will be a binary blob in the HTTP response, as indicated by the Content-Type in the response headers. This may require specialized (or at least different) handling than text responses such as JSON. You may need to tell your HTTP client that the response is binary so that it does not attempt to parse the binary data as text.
If the render task exists but has not finished rendering the results, the response HTTP status will be **202 Accepted**, the response body will be empty, and the response will have a Retry-After header indicating that the caller should repeat the request at a later time.
Returns 404 if the render task cannot be found, if the cached result has expired, or if the caller does not have permission to view the results.
For detailed information about the status of the render task, use [Render Task](#!/RenderTask/render_task). Polling loops waiting for completion of a render task would be better served by polling **render_task(id)** until the task status reaches completion (or error) instead of polling **render_task_results(id)** alone.
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 { CreateDashboardRenderTask(params *CreateDashboardRenderTaskParams, opts ...ClientOption) (*CreateDashboardRenderTaskOK, error) CreateLookRenderTask(params *CreateLookRenderTaskParams, opts ...ClientOption) (*CreateLookRenderTaskOK, error) CreateLookmlDashboardRenderTask(params *CreateLookmlDashboardRenderTaskParams, opts ...ClientOption) (*CreateLookmlDashboardRenderTaskOK, error) CreateQueryRenderTask(params *CreateQueryRenderTaskParams, opts ...ClientOption) (*CreateQueryRenderTaskOK, error) RenderTask(params *RenderTaskParams, opts ...ClientOption) (*RenderTaskOK, error) RenderTaskResults(params *RenderTaskResultsParams, opts ...ClientOption) (*RenderTaskResultsOK, *RenderTaskResultsAccepted, 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 render task API client.
type CreateDashboardRenderTaskBadRequest ¶
CreateDashboardRenderTaskBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateDashboardRenderTaskBadRequest ¶
func NewCreateDashboardRenderTaskBadRequest() *CreateDashboardRenderTaskBadRequest
NewCreateDashboardRenderTaskBadRequest creates a CreateDashboardRenderTaskBadRequest with default headers values
func (*CreateDashboardRenderTaskBadRequest) Error ¶
func (o *CreateDashboardRenderTaskBadRequest) Error() string
func (*CreateDashboardRenderTaskBadRequest) GetPayload ¶
func (o *CreateDashboardRenderTaskBadRequest) GetPayload() *models.Error
type CreateDashboardRenderTaskConflict ¶
CreateDashboardRenderTaskConflict describes a response with status code 409, with default header values.
Resource Already Exists
func NewCreateDashboardRenderTaskConflict ¶
func NewCreateDashboardRenderTaskConflict() *CreateDashboardRenderTaskConflict
NewCreateDashboardRenderTaskConflict creates a CreateDashboardRenderTaskConflict with default headers values
func (*CreateDashboardRenderTaskConflict) Error ¶
func (o *CreateDashboardRenderTaskConflict) Error() string
func (*CreateDashboardRenderTaskConflict) GetPayload ¶
func (o *CreateDashboardRenderTaskConflict) GetPayload() *models.Error
type CreateDashboardRenderTaskNotFound ¶
CreateDashboardRenderTaskNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateDashboardRenderTaskNotFound ¶
func NewCreateDashboardRenderTaskNotFound() *CreateDashboardRenderTaskNotFound
NewCreateDashboardRenderTaskNotFound creates a CreateDashboardRenderTaskNotFound with default headers values
func (*CreateDashboardRenderTaskNotFound) Error ¶
func (o *CreateDashboardRenderTaskNotFound) Error() string
func (*CreateDashboardRenderTaskNotFound) GetPayload ¶
func (o *CreateDashboardRenderTaskNotFound) GetPayload() *models.Error
type CreateDashboardRenderTaskOK ¶
type CreateDashboardRenderTaskOK struct {
Payload *models.RenderTask
}
CreateDashboardRenderTaskOK describes a response with status code 200, with default header values.
Render Task
func NewCreateDashboardRenderTaskOK ¶
func NewCreateDashboardRenderTaskOK() *CreateDashboardRenderTaskOK
NewCreateDashboardRenderTaskOK creates a CreateDashboardRenderTaskOK with default headers values
func (*CreateDashboardRenderTaskOK) Error ¶
func (o *CreateDashboardRenderTaskOK) Error() string
func (*CreateDashboardRenderTaskOK) GetPayload ¶
func (o *CreateDashboardRenderTaskOK) GetPayload() *models.RenderTask
type CreateDashboardRenderTaskParams ¶
type CreateDashboardRenderTaskParams struct { /* Body. Dashboard render task parameters */ Body *models.CreateDashboardRenderTask /* DashboardID. Id of dashboard to render Format: int64 */ DashboardID int64 /* Fields. Requested fields. */ Fields *string /* Height. Output height in pixels Format: int64 */ Height int64 /* PdfLandscape. Whether to render pdf in landscape paper orientation */ PdfLandscape *bool /* PdfPaperSize. Paper size for pdf. Value can be one of: ["letter","legal","tabloid","a0","a1","a2","a3","a4","a5"] */ PdfPaperSize *string /* ResultFormat. Output type: pdf, png, or jpg */ ResultFormat string /* Width. Output width in pixels Format: int64 */ Width int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDashboardRenderTaskParams contains all the parameters to send to the API endpoint
for the create dashboard render task operation. Typically these are written to a http.Request.
func NewCreateDashboardRenderTaskParams ¶
func NewCreateDashboardRenderTaskParams() *CreateDashboardRenderTaskParams
NewCreateDashboardRenderTaskParams creates a new CreateDashboardRenderTaskParams 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 NewCreateDashboardRenderTaskParamsWithContext ¶
func NewCreateDashboardRenderTaskParamsWithContext(ctx context.Context) *CreateDashboardRenderTaskParams
NewCreateDashboardRenderTaskParamsWithContext creates a new CreateDashboardRenderTaskParams object with the ability to set a context for a request.
func NewCreateDashboardRenderTaskParamsWithHTTPClient ¶
func NewCreateDashboardRenderTaskParamsWithHTTPClient(client *http.Client) *CreateDashboardRenderTaskParams
NewCreateDashboardRenderTaskParamsWithHTTPClient creates a new CreateDashboardRenderTaskParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDashboardRenderTaskParamsWithTimeout ¶
func NewCreateDashboardRenderTaskParamsWithTimeout(timeout time.Duration) *CreateDashboardRenderTaskParams
NewCreateDashboardRenderTaskParamsWithTimeout creates a new CreateDashboardRenderTaskParams object with the ability to set a timeout on a request.
func (*CreateDashboardRenderTaskParams) SetBody ¶
func (o *CreateDashboardRenderTaskParams) SetBody(body *models.CreateDashboardRenderTask)
SetBody adds the body to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetContext ¶
func (o *CreateDashboardRenderTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetDashboardID ¶
func (o *CreateDashboardRenderTaskParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetDefaults ¶
func (o *CreateDashboardRenderTaskParams) SetDefaults()
SetDefaults hydrates default values in the create dashboard render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardRenderTaskParams) SetFields ¶
func (o *CreateDashboardRenderTaskParams) SetFields(fields *string)
SetFields adds the fields to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetHTTPClient ¶
func (o *CreateDashboardRenderTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetHeight ¶
func (o *CreateDashboardRenderTaskParams) SetHeight(height int64)
SetHeight adds the height to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetPdfLandscape ¶
func (o *CreateDashboardRenderTaskParams) SetPdfLandscape(pdfLandscape *bool)
SetPdfLandscape adds the pdfLandscape to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetPdfPaperSize ¶
func (o *CreateDashboardRenderTaskParams) SetPdfPaperSize(pdfPaperSize *string)
SetPdfPaperSize adds the pdfPaperSize to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetResultFormat ¶
func (o *CreateDashboardRenderTaskParams) SetResultFormat(resultFormat string)
SetResultFormat adds the resultFormat to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetTimeout ¶
func (o *CreateDashboardRenderTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) SetWidth ¶
func (o *CreateDashboardRenderTaskParams) SetWidth(width int64)
SetWidth adds the width to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithBody ¶
func (o *CreateDashboardRenderTaskParams) WithBody(body *models.CreateDashboardRenderTask) *CreateDashboardRenderTaskParams
WithBody adds the body to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithContext ¶
func (o *CreateDashboardRenderTaskParams) WithContext(ctx context.Context) *CreateDashboardRenderTaskParams
WithContext adds the context to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithDashboardID ¶
func (o *CreateDashboardRenderTaskParams) WithDashboardID(dashboardID int64) *CreateDashboardRenderTaskParams
WithDashboardID adds the dashboardID to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithDefaults ¶
func (o *CreateDashboardRenderTaskParams) WithDefaults() *CreateDashboardRenderTaskParams
WithDefaults hydrates default values in the create dashboard render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardRenderTaskParams) WithFields ¶
func (o *CreateDashboardRenderTaskParams) WithFields(fields *string) *CreateDashboardRenderTaskParams
WithFields adds the fields to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithHTTPClient ¶
func (o *CreateDashboardRenderTaskParams) WithHTTPClient(client *http.Client) *CreateDashboardRenderTaskParams
WithHTTPClient adds the HTTPClient to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithHeight ¶
func (o *CreateDashboardRenderTaskParams) WithHeight(height int64) *CreateDashboardRenderTaskParams
WithHeight adds the height to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithPdfLandscape ¶
func (o *CreateDashboardRenderTaskParams) WithPdfLandscape(pdfLandscape *bool) *CreateDashboardRenderTaskParams
WithPdfLandscape adds the pdfLandscape to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithPdfPaperSize ¶
func (o *CreateDashboardRenderTaskParams) WithPdfPaperSize(pdfPaperSize *string) *CreateDashboardRenderTaskParams
WithPdfPaperSize adds the pdfPaperSize to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithResultFormat ¶
func (o *CreateDashboardRenderTaskParams) WithResultFormat(resultFormat string) *CreateDashboardRenderTaskParams
WithResultFormat adds the resultFormat to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithTimeout ¶
func (o *CreateDashboardRenderTaskParams) WithTimeout(timeout time.Duration) *CreateDashboardRenderTaskParams
WithTimeout adds the timeout to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WithWidth ¶
func (o *CreateDashboardRenderTaskParams) WithWidth(width int64) *CreateDashboardRenderTaskParams
WithWidth adds the width to the create dashboard render task params
func (*CreateDashboardRenderTaskParams) WriteToRequest ¶
func (o *CreateDashboardRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDashboardRenderTaskReader ¶
type CreateDashboardRenderTaskReader struct {
// contains filtered or unexported fields
}
CreateDashboardRenderTaskReader is a Reader for the CreateDashboardRenderTask structure.
func (*CreateDashboardRenderTaskReader) ReadResponse ¶
func (o *CreateDashboardRenderTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDashboardRenderTaskTooManyRequests ¶
CreateDashboardRenderTaskTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateDashboardRenderTaskTooManyRequests ¶
func NewCreateDashboardRenderTaskTooManyRequests() *CreateDashboardRenderTaskTooManyRequests
NewCreateDashboardRenderTaskTooManyRequests creates a CreateDashboardRenderTaskTooManyRequests with default headers values
func (*CreateDashboardRenderTaskTooManyRequests) Error ¶
func (o *CreateDashboardRenderTaskTooManyRequests) Error() string
func (*CreateDashboardRenderTaskTooManyRequests) GetPayload ¶
func (o *CreateDashboardRenderTaskTooManyRequests) GetPayload() *models.Error
type CreateDashboardRenderTaskUnprocessableEntity ¶
type CreateDashboardRenderTaskUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateDashboardRenderTaskUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewCreateDashboardRenderTaskUnprocessableEntity ¶
func NewCreateDashboardRenderTaskUnprocessableEntity() *CreateDashboardRenderTaskUnprocessableEntity
NewCreateDashboardRenderTaskUnprocessableEntity creates a CreateDashboardRenderTaskUnprocessableEntity with default headers values
func (*CreateDashboardRenderTaskUnprocessableEntity) Error ¶
func (o *CreateDashboardRenderTaskUnprocessableEntity) Error() string
func (*CreateDashboardRenderTaskUnprocessableEntity) GetPayload ¶
func (o *CreateDashboardRenderTaskUnprocessableEntity) GetPayload() *models.ValidationError
type CreateLookRenderTaskBadRequest ¶
CreateLookRenderTaskBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateLookRenderTaskBadRequest ¶
func NewCreateLookRenderTaskBadRequest() *CreateLookRenderTaskBadRequest
NewCreateLookRenderTaskBadRequest creates a CreateLookRenderTaskBadRequest with default headers values
func (*CreateLookRenderTaskBadRequest) Error ¶
func (o *CreateLookRenderTaskBadRequest) Error() string
func (*CreateLookRenderTaskBadRequest) GetPayload ¶
func (o *CreateLookRenderTaskBadRequest) GetPayload() *models.Error
type CreateLookRenderTaskConflict ¶
CreateLookRenderTaskConflict describes a response with status code 409, with default header values.
Resource Already Exists
func NewCreateLookRenderTaskConflict ¶
func NewCreateLookRenderTaskConflict() *CreateLookRenderTaskConflict
NewCreateLookRenderTaskConflict creates a CreateLookRenderTaskConflict with default headers values
func (*CreateLookRenderTaskConflict) Error ¶
func (o *CreateLookRenderTaskConflict) Error() string
func (*CreateLookRenderTaskConflict) GetPayload ¶
func (o *CreateLookRenderTaskConflict) GetPayload() *models.Error
type CreateLookRenderTaskNotFound ¶
CreateLookRenderTaskNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateLookRenderTaskNotFound ¶
func NewCreateLookRenderTaskNotFound() *CreateLookRenderTaskNotFound
NewCreateLookRenderTaskNotFound creates a CreateLookRenderTaskNotFound with default headers values
func (*CreateLookRenderTaskNotFound) Error ¶
func (o *CreateLookRenderTaskNotFound) Error() string
func (*CreateLookRenderTaskNotFound) GetPayload ¶
func (o *CreateLookRenderTaskNotFound) GetPayload() *models.Error
type CreateLookRenderTaskOK ¶
type CreateLookRenderTaskOK struct {
Payload *models.RenderTask
}
CreateLookRenderTaskOK describes a response with status code 200, with default header values.
Render Task
func NewCreateLookRenderTaskOK ¶
func NewCreateLookRenderTaskOK() *CreateLookRenderTaskOK
NewCreateLookRenderTaskOK creates a CreateLookRenderTaskOK with default headers values
func (*CreateLookRenderTaskOK) Error ¶
func (o *CreateLookRenderTaskOK) Error() string
func (*CreateLookRenderTaskOK) GetPayload ¶
func (o *CreateLookRenderTaskOK) GetPayload() *models.RenderTask
type CreateLookRenderTaskParams ¶
type CreateLookRenderTaskParams struct { /* Fields. Requested fields. */ Fields *string /* Height. Output height in pixels Format: int64 */ Height int64 /* LookID. Id of look to render Format: int64 */ LookID int64 /* ResultFormat. Output type: png, or jpg */ ResultFormat string /* Width. Output width in pixels Format: int64 */ Width int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLookRenderTaskParams contains all the parameters to send to the API endpoint
for the create look render task operation. Typically these are written to a http.Request.
func NewCreateLookRenderTaskParams ¶
func NewCreateLookRenderTaskParams() *CreateLookRenderTaskParams
NewCreateLookRenderTaskParams creates a new CreateLookRenderTaskParams 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 NewCreateLookRenderTaskParamsWithContext ¶
func NewCreateLookRenderTaskParamsWithContext(ctx context.Context) *CreateLookRenderTaskParams
NewCreateLookRenderTaskParamsWithContext creates a new CreateLookRenderTaskParams object with the ability to set a context for a request.
func NewCreateLookRenderTaskParamsWithHTTPClient ¶
func NewCreateLookRenderTaskParamsWithHTTPClient(client *http.Client) *CreateLookRenderTaskParams
NewCreateLookRenderTaskParamsWithHTTPClient creates a new CreateLookRenderTaskParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLookRenderTaskParamsWithTimeout ¶
func NewCreateLookRenderTaskParamsWithTimeout(timeout time.Duration) *CreateLookRenderTaskParams
NewCreateLookRenderTaskParamsWithTimeout creates a new CreateLookRenderTaskParams object with the ability to set a timeout on a request.
func (*CreateLookRenderTaskParams) SetContext ¶
func (o *CreateLookRenderTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the create look render task params
func (*CreateLookRenderTaskParams) SetDefaults ¶
func (o *CreateLookRenderTaskParams) SetDefaults()
SetDefaults hydrates default values in the create look render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLookRenderTaskParams) SetFields ¶
func (o *CreateLookRenderTaskParams) SetFields(fields *string)
SetFields adds the fields to the create look render task params
func (*CreateLookRenderTaskParams) SetHTTPClient ¶
func (o *CreateLookRenderTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create look render task params
func (*CreateLookRenderTaskParams) SetHeight ¶
func (o *CreateLookRenderTaskParams) SetHeight(height int64)
SetHeight adds the height to the create look render task params
func (*CreateLookRenderTaskParams) SetLookID ¶
func (o *CreateLookRenderTaskParams) SetLookID(lookID int64)
SetLookID adds the lookId to the create look render task params
func (*CreateLookRenderTaskParams) SetResultFormat ¶
func (o *CreateLookRenderTaskParams) SetResultFormat(resultFormat string)
SetResultFormat adds the resultFormat to the create look render task params
func (*CreateLookRenderTaskParams) SetTimeout ¶
func (o *CreateLookRenderTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create look render task params
func (*CreateLookRenderTaskParams) SetWidth ¶
func (o *CreateLookRenderTaskParams) SetWidth(width int64)
SetWidth adds the width to the create look render task params
func (*CreateLookRenderTaskParams) WithContext ¶
func (o *CreateLookRenderTaskParams) WithContext(ctx context.Context) *CreateLookRenderTaskParams
WithContext adds the context to the create look render task params
func (*CreateLookRenderTaskParams) WithDefaults ¶
func (o *CreateLookRenderTaskParams) WithDefaults() *CreateLookRenderTaskParams
WithDefaults hydrates default values in the create look render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLookRenderTaskParams) WithFields ¶
func (o *CreateLookRenderTaskParams) WithFields(fields *string) *CreateLookRenderTaskParams
WithFields adds the fields to the create look render task params
func (*CreateLookRenderTaskParams) WithHTTPClient ¶
func (o *CreateLookRenderTaskParams) WithHTTPClient(client *http.Client) *CreateLookRenderTaskParams
WithHTTPClient adds the HTTPClient to the create look render task params
func (*CreateLookRenderTaskParams) WithHeight ¶
func (o *CreateLookRenderTaskParams) WithHeight(height int64) *CreateLookRenderTaskParams
WithHeight adds the height to the create look render task params
func (*CreateLookRenderTaskParams) WithLookID ¶
func (o *CreateLookRenderTaskParams) WithLookID(lookID int64) *CreateLookRenderTaskParams
WithLookID adds the lookID to the create look render task params
func (*CreateLookRenderTaskParams) WithResultFormat ¶
func (o *CreateLookRenderTaskParams) WithResultFormat(resultFormat string) *CreateLookRenderTaskParams
WithResultFormat adds the resultFormat to the create look render task params
func (*CreateLookRenderTaskParams) WithTimeout ¶
func (o *CreateLookRenderTaskParams) WithTimeout(timeout time.Duration) *CreateLookRenderTaskParams
WithTimeout adds the timeout to the create look render task params
func (*CreateLookRenderTaskParams) WithWidth ¶
func (o *CreateLookRenderTaskParams) WithWidth(width int64) *CreateLookRenderTaskParams
WithWidth adds the width to the create look render task params
func (*CreateLookRenderTaskParams) WriteToRequest ¶
func (o *CreateLookRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLookRenderTaskReader ¶
type CreateLookRenderTaskReader struct {
// contains filtered or unexported fields
}
CreateLookRenderTaskReader is a Reader for the CreateLookRenderTask structure.
func (*CreateLookRenderTaskReader) ReadResponse ¶
func (o *CreateLookRenderTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateLookRenderTaskTooManyRequests ¶
CreateLookRenderTaskTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateLookRenderTaskTooManyRequests ¶
func NewCreateLookRenderTaskTooManyRequests() *CreateLookRenderTaskTooManyRequests
NewCreateLookRenderTaskTooManyRequests creates a CreateLookRenderTaskTooManyRequests with default headers values
func (*CreateLookRenderTaskTooManyRequests) Error ¶
func (o *CreateLookRenderTaskTooManyRequests) Error() string
func (*CreateLookRenderTaskTooManyRequests) GetPayload ¶
func (o *CreateLookRenderTaskTooManyRequests) GetPayload() *models.Error
type CreateLookRenderTaskUnprocessableEntity ¶
type CreateLookRenderTaskUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateLookRenderTaskUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewCreateLookRenderTaskUnprocessableEntity ¶
func NewCreateLookRenderTaskUnprocessableEntity() *CreateLookRenderTaskUnprocessableEntity
NewCreateLookRenderTaskUnprocessableEntity creates a CreateLookRenderTaskUnprocessableEntity with default headers values
func (*CreateLookRenderTaskUnprocessableEntity) Error ¶
func (o *CreateLookRenderTaskUnprocessableEntity) Error() string
func (*CreateLookRenderTaskUnprocessableEntity) GetPayload ¶
func (o *CreateLookRenderTaskUnprocessableEntity) GetPayload() *models.ValidationError
type CreateLookmlDashboardRenderTaskBadRequest ¶
CreateLookmlDashboardRenderTaskBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateLookmlDashboardRenderTaskBadRequest ¶
func NewCreateLookmlDashboardRenderTaskBadRequest() *CreateLookmlDashboardRenderTaskBadRequest
NewCreateLookmlDashboardRenderTaskBadRequest creates a CreateLookmlDashboardRenderTaskBadRequest with default headers values
func (*CreateLookmlDashboardRenderTaskBadRequest) Error ¶
func (o *CreateLookmlDashboardRenderTaskBadRequest) Error() string
func (*CreateLookmlDashboardRenderTaskBadRequest) GetPayload ¶
func (o *CreateLookmlDashboardRenderTaskBadRequest) GetPayload() *models.Error
type CreateLookmlDashboardRenderTaskConflict ¶
CreateLookmlDashboardRenderTaskConflict describes a response with status code 409, with default header values.
Resource Already Exists
func NewCreateLookmlDashboardRenderTaskConflict ¶
func NewCreateLookmlDashboardRenderTaskConflict() *CreateLookmlDashboardRenderTaskConflict
NewCreateLookmlDashboardRenderTaskConflict creates a CreateLookmlDashboardRenderTaskConflict with default headers values
func (*CreateLookmlDashboardRenderTaskConflict) Error ¶
func (o *CreateLookmlDashboardRenderTaskConflict) Error() string
func (*CreateLookmlDashboardRenderTaskConflict) GetPayload ¶
func (o *CreateLookmlDashboardRenderTaskConflict) GetPayload() *models.Error
type CreateLookmlDashboardRenderTaskNotFound ¶
CreateLookmlDashboardRenderTaskNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateLookmlDashboardRenderTaskNotFound ¶
func NewCreateLookmlDashboardRenderTaskNotFound() *CreateLookmlDashboardRenderTaskNotFound
NewCreateLookmlDashboardRenderTaskNotFound creates a CreateLookmlDashboardRenderTaskNotFound with default headers values
func (*CreateLookmlDashboardRenderTaskNotFound) Error ¶
func (o *CreateLookmlDashboardRenderTaskNotFound) Error() string
func (*CreateLookmlDashboardRenderTaskNotFound) GetPayload ¶
func (o *CreateLookmlDashboardRenderTaskNotFound) GetPayload() *models.Error
type CreateLookmlDashboardRenderTaskOK ¶
type CreateLookmlDashboardRenderTaskOK struct {
Payload *models.RenderTask
}
CreateLookmlDashboardRenderTaskOK describes a response with status code 200, with default header values.
Render Task
func NewCreateLookmlDashboardRenderTaskOK ¶
func NewCreateLookmlDashboardRenderTaskOK() *CreateLookmlDashboardRenderTaskOK
NewCreateLookmlDashboardRenderTaskOK creates a CreateLookmlDashboardRenderTaskOK with default headers values
func (*CreateLookmlDashboardRenderTaskOK) Error ¶
func (o *CreateLookmlDashboardRenderTaskOK) Error() string
func (*CreateLookmlDashboardRenderTaskOK) GetPayload ¶
func (o *CreateLookmlDashboardRenderTaskOK) GetPayload() *models.RenderTask
type CreateLookmlDashboardRenderTaskParams ¶
type CreateLookmlDashboardRenderTaskParams struct { /* Body. Dashboard render task parameters */ Body *models.CreateDashboardRenderTask /* DashboardID. Id of lookml dashboard to render */ DashboardID string /* Fields. Requested fields. */ Fields *string /* Height. Output height in pixels Format: int64 */ Height int64 /* PdfLandscape. Whether to render pdf in landscape */ PdfLandscape *bool /* PdfPaperSize. Paper size for pdf. Value can be one of: ["letter","legal","tabloid","a0","a1","a2","a3","a4","a5"] */ PdfPaperSize *string /* ResultFormat. Output type: pdf, png, or jpg */ ResultFormat string /* Width. Output width in pixels Format: int64 */ Width int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLookmlDashboardRenderTaskParams contains all the parameters to send to the API endpoint
for the create lookml dashboard render task operation. Typically these are written to a http.Request.
func NewCreateLookmlDashboardRenderTaskParams ¶
func NewCreateLookmlDashboardRenderTaskParams() *CreateLookmlDashboardRenderTaskParams
NewCreateLookmlDashboardRenderTaskParams creates a new CreateLookmlDashboardRenderTaskParams 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 NewCreateLookmlDashboardRenderTaskParamsWithContext ¶
func NewCreateLookmlDashboardRenderTaskParamsWithContext(ctx context.Context) *CreateLookmlDashboardRenderTaskParams
NewCreateLookmlDashboardRenderTaskParamsWithContext creates a new CreateLookmlDashboardRenderTaskParams object with the ability to set a context for a request.
func NewCreateLookmlDashboardRenderTaskParamsWithHTTPClient ¶
func NewCreateLookmlDashboardRenderTaskParamsWithHTTPClient(client *http.Client) *CreateLookmlDashboardRenderTaskParams
NewCreateLookmlDashboardRenderTaskParamsWithHTTPClient creates a new CreateLookmlDashboardRenderTaskParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLookmlDashboardRenderTaskParamsWithTimeout ¶
func NewCreateLookmlDashboardRenderTaskParamsWithTimeout(timeout time.Duration) *CreateLookmlDashboardRenderTaskParams
NewCreateLookmlDashboardRenderTaskParamsWithTimeout creates a new CreateLookmlDashboardRenderTaskParams object with the ability to set a timeout on a request.
func (*CreateLookmlDashboardRenderTaskParams) SetBody ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetBody(body *models.CreateDashboardRenderTask)
SetBody adds the body to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetContext ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetDashboardID ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetDashboardID(dashboardID string)
SetDashboardID adds the dashboardId to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetDefaults ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetDefaults()
SetDefaults hydrates default values in the create lookml dashboard render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLookmlDashboardRenderTaskParams) SetFields ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetFields(fields *string)
SetFields adds the fields to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetHTTPClient ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetHeight ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetHeight(height int64)
SetHeight adds the height to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetPdfLandscape ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetPdfLandscape(pdfLandscape *bool)
SetPdfLandscape adds the pdfLandscape to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetPdfPaperSize ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetPdfPaperSize(pdfPaperSize *string)
SetPdfPaperSize adds the pdfPaperSize to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetResultFormat ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetResultFormat(resultFormat string)
SetResultFormat adds the resultFormat to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetTimeout ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) SetWidth ¶
func (o *CreateLookmlDashboardRenderTaskParams) SetWidth(width int64)
SetWidth adds the width to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithBody ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithBody(body *models.CreateDashboardRenderTask) *CreateLookmlDashboardRenderTaskParams
WithBody adds the body to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithContext ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithContext(ctx context.Context) *CreateLookmlDashboardRenderTaskParams
WithContext adds the context to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithDashboardID ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithDashboardID(dashboardID string) *CreateLookmlDashboardRenderTaskParams
WithDashboardID adds the dashboardID to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithDefaults ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithDefaults() *CreateLookmlDashboardRenderTaskParams
WithDefaults hydrates default values in the create lookml dashboard render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLookmlDashboardRenderTaskParams) WithFields ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithFields(fields *string) *CreateLookmlDashboardRenderTaskParams
WithFields adds the fields to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithHTTPClient ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithHTTPClient(client *http.Client) *CreateLookmlDashboardRenderTaskParams
WithHTTPClient adds the HTTPClient to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithHeight ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithHeight(height int64) *CreateLookmlDashboardRenderTaskParams
WithHeight adds the height to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithPdfLandscape ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithPdfLandscape(pdfLandscape *bool) *CreateLookmlDashboardRenderTaskParams
WithPdfLandscape adds the pdfLandscape to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithPdfPaperSize ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithPdfPaperSize(pdfPaperSize *string) *CreateLookmlDashboardRenderTaskParams
WithPdfPaperSize adds the pdfPaperSize to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithResultFormat ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithResultFormat(resultFormat string) *CreateLookmlDashboardRenderTaskParams
WithResultFormat adds the resultFormat to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithTimeout ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithTimeout(timeout time.Duration) *CreateLookmlDashboardRenderTaskParams
WithTimeout adds the timeout to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WithWidth ¶
func (o *CreateLookmlDashboardRenderTaskParams) WithWidth(width int64) *CreateLookmlDashboardRenderTaskParams
WithWidth adds the width to the create lookml dashboard render task params
func (*CreateLookmlDashboardRenderTaskParams) WriteToRequest ¶
func (o *CreateLookmlDashboardRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLookmlDashboardRenderTaskReader ¶
type CreateLookmlDashboardRenderTaskReader struct {
// contains filtered or unexported fields
}
CreateLookmlDashboardRenderTaskReader is a Reader for the CreateLookmlDashboardRenderTask structure.
func (*CreateLookmlDashboardRenderTaskReader) ReadResponse ¶
func (o *CreateLookmlDashboardRenderTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateLookmlDashboardRenderTaskTooManyRequests ¶
CreateLookmlDashboardRenderTaskTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateLookmlDashboardRenderTaskTooManyRequests ¶
func NewCreateLookmlDashboardRenderTaskTooManyRequests() *CreateLookmlDashboardRenderTaskTooManyRequests
NewCreateLookmlDashboardRenderTaskTooManyRequests creates a CreateLookmlDashboardRenderTaskTooManyRequests with default headers values
func (*CreateLookmlDashboardRenderTaskTooManyRequests) Error ¶
func (o *CreateLookmlDashboardRenderTaskTooManyRequests) Error() string
func (*CreateLookmlDashboardRenderTaskTooManyRequests) GetPayload ¶
func (o *CreateLookmlDashboardRenderTaskTooManyRequests) GetPayload() *models.Error
type CreateLookmlDashboardRenderTaskUnprocessableEntity ¶
type CreateLookmlDashboardRenderTaskUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateLookmlDashboardRenderTaskUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewCreateLookmlDashboardRenderTaskUnprocessableEntity ¶
func NewCreateLookmlDashboardRenderTaskUnprocessableEntity() *CreateLookmlDashboardRenderTaskUnprocessableEntity
NewCreateLookmlDashboardRenderTaskUnprocessableEntity creates a CreateLookmlDashboardRenderTaskUnprocessableEntity with default headers values
func (*CreateLookmlDashboardRenderTaskUnprocessableEntity) Error ¶
func (o *CreateLookmlDashboardRenderTaskUnprocessableEntity) Error() string
func (*CreateLookmlDashboardRenderTaskUnprocessableEntity) GetPayload ¶
func (o *CreateLookmlDashboardRenderTaskUnprocessableEntity) GetPayload() *models.ValidationError
type CreateQueryRenderTaskBadRequest ¶
CreateQueryRenderTaskBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateQueryRenderTaskBadRequest ¶
func NewCreateQueryRenderTaskBadRequest() *CreateQueryRenderTaskBadRequest
NewCreateQueryRenderTaskBadRequest creates a CreateQueryRenderTaskBadRequest with default headers values
func (*CreateQueryRenderTaskBadRequest) Error ¶
func (o *CreateQueryRenderTaskBadRequest) Error() string
func (*CreateQueryRenderTaskBadRequest) GetPayload ¶
func (o *CreateQueryRenderTaskBadRequest) GetPayload() *models.Error
type CreateQueryRenderTaskConflict ¶
CreateQueryRenderTaskConflict describes a response with status code 409, with default header values.
Resource Already Exists
func NewCreateQueryRenderTaskConflict ¶
func NewCreateQueryRenderTaskConflict() *CreateQueryRenderTaskConflict
NewCreateQueryRenderTaskConflict creates a CreateQueryRenderTaskConflict with default headers values
func (*CreateQueryRenderTaskConflict) Error ¶
func (o *CreateQueryRenderTaskConflict) Error() string
func (*CreateQueryRenderTaskConflict) GetPayload ¶
func (o *CreateQueryRenderTaskConflict) GetPayload() *models.Error
type CreateQueryRenderTaskNotFound ¶
CreateQueryRenderTaskNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateQueryRenderTaskNotFound ¶
func NewCreateQueryRenderTaskNotFound() *CreateQueryRenderTaskNotFound
NewCreateQueryRenderTaskNotFound creates a CreateQueryRenderTaskNotFound with default headers values
func (*CreateQueryRenderTaskNotFound) Error ¶
func (o *CreateQueryRenderTaskNotFound) Error() string
func (*CreateQueryRenderTaskNotFound) GetPayload ¶
func (o *CreateQueryRenderTaskNotFound) GetPayload() *models.Error
type CreateQueryRenderTaskOK ¶
type CreateQueryRenderTaskOK struct {
Payload *models.RenderTask
}
CreateQueryRenderTaskOK describes a response with status code 200, with default header values.
Render Task
func NewCreateQueryRenderTaskOK ¶
func NewCreateQueryRenderTaskOK() *CreateQueryRenderTaskOK
NewCreateQueryRenderTaskOK creates a CreateQueryRenderTaskOK with default headers values
func (*CreateQueryRenderTaskOK) Error ¶
func (o *CreateQueryRenderTaskOK) Error() string
func (*CreateQueryRenderTaskOK) GetPayload ¶
func (o *CreateQueryRenderTaskOK) GetPayload() *models.RenderTask
type CreateQueryRenderTaskParams ¶
type CreateQueryRenderTaskParams struct { /* Fields. Requested fields. */ Fields *string /* Height. Output height in pixels Format: int64 */ Height int64 /* QueryID. Id of the query to render Format: int64 */ QueryID int64 /* ResultFormat. Output type: png or jpg */ ResultFormat string /* Width. Output width in pixels Format: int64 */ Width int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateQueryRenderTaskParams contains all the parameters to send to the API endpoint
for the create query render task operation. Typically these are written to a http.Request.
func NewCreateQueryRenderTaskParams ¶
func NewCreateQueryRenderTaskParams() *CreateQueryRenderTaskParams
NewCreateQueryRenderTaskParams creates a new CreateQueryRenderTaskParams 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 NewCreateQueryRenderTaskParamsWithContext ¶
func NewCreateQueryRenderTaskParamsWithContext(ctx context.Context) *CreateQueryRenderTaskParams
NewCreateQueryRenderTaskParamsWithContext creates a new CreateQueryRenderTaskParams object with the ability to set a context for a request.
func NewCreateQueryRenderTaskParamsWithHTTPClient ¶
func NewCreateQueryRenderTaskParamsWithHTTPClient(client *http.Client) *CreateQueryRenderTaskParams
NewCreateQueryRenderTaskParamsWithHTTPClient creates a new CreateQueryRenderTaskParams object with the ability to set a custom HTTPClient for a request.
func NewCreateQueryRenderTaskParamsWithTimeout ¶
func NewCreateQueryRenderTaskParamsWithTimeout(timeout time.Duration) *CreateQueryRenderTaskParams
NewCreateQueryRenderTaskParamsWithTimeout creates a new CreateQueryRenderTaskParams object with the ability to set a timeout on a request.
func (*CreateQueryRenderTaskParams) SetContext ¶
func (o *CreateQueryRenderTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the create query render task params
func (*CreateQueryRenderTaskParams) SetDefaults ¶
func (o *CreateQueryRenderTaskParams) SetDefaults()
SetDefaults hydrates default values in the create query render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateQueryRenderTaskParams) SetFields ¶
func (o *CreateQueryRenderTaskParams) SetFields(fields *string)
SetFields adds the fields to the create query render task params
func (*CreateQueryRenderTaskParams) SetHTTPClient ¶
func (o *CreateQueryRenderTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create query render task params
func (*CreateQueryRenderTaskParams) SetHeight ¶
func (o *CreateQueryRenderTaskParams) SetHeight(height int64)
SetHeight adds the height to the create query render task params
func (*CreateQueryRenderTaskParams) SetQueryID ¶
func (o *CreateQueryRenderTaskParams) SetQueryID(queryID int64)
SetQueryID adds the queryId to the create query render task params
func (*CreateQueryRenderTaskParams) SetResultFormat ¶
func (o *CreateQueryRenderTaskParams) SetResultFormat(resultFormat string)
SetResultFormat adds the resultFormat to the create query render task params
func (*CreateQueryRenderTaskParams) SetTimeout ¶
func (o *CreateQueryRenderTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create query render task params
func (*CreateQueryRenderTaskParams) SetWidth ¶
func (o *CreateQueryRenderTaskParams) SetWidth(width int64)
SetWidth adds the width to the create query render task params
func (*CreateQueryRenderTaskParams) WithContext ¶
func (o *CreateQueryRenderTaskParams) WithContext(ctx context.Context) *CreateQueryRenderTaskParams
WithContext adds the context to the create query render task params
func (*CreateQueryRenderTaskParams) WithDefaults ¶
func (o *CreateQueryRenderTaskParams) WithDefaults() *CreateQueryRenderTaskParams
WithDefaults hydrates default values in the create query render task params (not the query body).
All values with no default are reset to their zero value.
func (*CreateQueryRenderTaskParams) WithFields ¶
func (o *CreateQueryRenderTaskParams) WithFields(fields *string) *CreateQueryRenderTaskParams
WithFields adds the fields to the create query render task params
func (*CreateQueryRenderTaskParams) WithHTTPClient ¶
func (o *CreateQueryRenderTaskParams) WithHTTPClient(client *http.Client) *CreateQueryRenderTaskParams
WithHTTPClient adds the HTTPClient to the create query render task params
func (*CreateQueryRenderTaskParams) WithHeight ¶
func (o *CreateQueryRenderTaskParams) WithHeight(height int64) *CreateQueryRenderTaskParams
WithHeight adds the height to the create query render task params
func (*CreateQueryRenderTaskParams) WithQueryID ¶
func (o *CreateQueryRenderTaskParams) WithQueryID(queryID int64) *CreateQueryRenderTaskParams
WithQueryID adds the queryID to the create query render task params
func (*CreateQueryRenderTaskParams) WithResultFormat ¶
func (o *CreateQueryRenderTaskParams) WithResultFormat(resultFormat string) *CreateQueryRenderTaskParams
WithResultFormat adds the resultFormat to the create query render task params
func (*CreateQueryRenderTaskParams) WithTimeout ¶
func (o *CreateQueryRenderTaskParams) WithTimeout(timeout time.Duration) *CreateQueryRenderTaskParams
WithTimeout adds the timeout to the create query render task params
func (*CreateQueryRenderTaskParams) WithWidth ¶
func (o *CreateQueryRenderTaskParams) WithWidth(width int64) *CreateQueryRenderTaskParams
WithWidth adds the width to the create query render task params
func (*CreateQueryRenderTaskParams) WriteToRequest ¶
func (o *CreateQueryRenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateQueryRenderTaskReader ¶
type CreateQueryRenderTaskReader struct {
// contains filtered or unexported fields
}
CreateQueryRenderTaskReader is a Reader for the CreateQueryRenderTask structure.
func (*CreateQueryRenderTaskReader) ReadResponse ¶
func (o *CreateQueryRenderTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateQueryRenderTaskTooManyRequests ¶
CreateQueryRenderTaskTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateQueryRenderTaskTooManyRequests ¶
func NewCreateQueryRenderTaskTooManyRequests() *CreateQueryRenderTaskTooManyRequests
NewCreateQueryRenderTaskTooManyRequests creates a CreateQueryRenderTaskTooManyRequests with default headers values
func (*CreateQueryRenderTaskTooManyRequests) Error ¶
func (o *CreateQueryRenderTaskTooManyRequests) Error() string
func (*CreateQueryRenderTaskTooManyRequests) GetPayload ¶
func (o *CreateQueryRenderTaskTooManyRequests) GetPayload() *models.Error
type CreateQueryRenderTaskUnprocessableEntity ¶
type CreateQueryRenderTaskUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateQueryRenderTaskUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewCreateQueryRenderTaskUnprocessableEntity ¶
func NewCreateQueryRenderTaskUnprocessableEntity() *CreateQueryRenderTaskUnprocessableEntity
NewCreateQueryRenderTaskUnprocessableEntity creates a CreateQueryRenderTaskUnprocessableEntity with default headers values
func (*CreateQueryRenderTaskUnprocessableEntity) Error ¶
func (o *CreateQueryRenderTaskUnprocessableEntity) Error() string
func (*CreateQueryRenderTaskUnprocessableEntity) GetPayload ¶
func (o *CreateQueryRenderTaskUnprocessableEntity) GetPayload() *models.ValidationError
type RenderTaskBadRequest ¶
RenderTaskBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRenderTaskBadRequest ¶
func NewRenderTaskBadRequest() *RenderTaskBadRequest
NewRenderTaskBadRequest creates a RenderTaskBadRequest with default headers values
func (*RenderTaskBadRequest) Error ¶
func (o *RenderTaskBadRequest) Error() string
func (*RenderTaskBadRequest) GetPayload ¶
func (o *RenderTaskBadRequest) GetPayload() *models.Error
type RenderTaskNotFound ¶
RenderTaskNotFound describes a response with status code 404, with default header values.
Not Found
func NewRenderTaskNotFound ¶
func NewRenderTaskNotFound() *RenderTaskNotFound
NewRenderTaskNotFound creates a RenderTaskNotFound with default headers values
func (*RenderTaskNotFound) Error ¶
func (o *RenderTaskNotFound) Error() string
func (*RenderTaskNotFound) GetPayload ¶
func (o *RenderTaskNotFound) GetPayload() *models.Error
type RenderTaskOK ¶
type RenderTaskOK struct {
Payload *models.RenderTask
}
RenderTaskOK describes a response with status code 200, with default header values.
Render Task
func NewRenderTaskOK ¶
func NewRenderTaskOK() *RenderTaskOK
NewRenderTaskOK creates a RenderTaskOK with default headers values
func (*RenderTaskOK) Error ¶
func (o *RenderTaskOK) Error() string
func (*RenderTaskOK) GetPayload ¶
func (o *RenderTaskOK) GetPayload() *models.RenderTask
type RenderTaskParams ¶
type RenderTaskParams struct { /* Fields. Requested fields. */ Fields *string /* RenderTaskID. Id of render task */ RenderTaskID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RenderTaskParams contains all the parameters to send to the API endpoint
for the render task operation. Typically these are written to a http.Request.
func NewRenderTaskParams ¶
func NewRenderTaskParams() *RenderTaskParams
NewRenderTaskParams creates a new RenderTaskParams 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 NewRenderTaskParamsWithContext ¶
func NewRenderTaskParamsWithContext(ctx context.Context) *RenderTaskParams
NewRenderTaskParamsWithContext creates a new RenderTaskParams object with the ability to set a context for a request.
func NewRenderTaskParamsWithHTTPClient ¶
func NewRenderTaskParamsWithHTTPClient(client *http.Client) *RenderTaskParams
NewRenderTaskParamsWithHTTPClient creates a new RenderTaskParams object with the ability to set a custom HTTPClient for a request.
func NewRenderTaskParamsWithTimeout ¶
func NewRenderTaskParamsWithTimeout(timeout time.Duration) *RenderTaskParams
NewRenderTaskParamsWithTimeout creates a new RenderTaskParams object with the ability to set a timeout on a request.
func (*RenderTaskParams) SetContext ¶
func (o *RenderTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the render task params
func (*RenderTaskParams) SetDefaults ¶
func (o *RenderTaskParams) SetDefaults()
SetDefaults hydrates default values in the render task params (not the query body).
All values with no default are reset to their zero value.
func (*RenderTaskParams) SetFields ¶
func (o *RenderTaskParams) SetFields(fields *string)
SetFields adds the fields to the render task params
func (*RenderTaskParams) SetHTTPClient ¶
func (o *RenderTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render task params
func (*RenderTaskParams) SetRenderTaskID ¶
func (o *RenderTaskParams) SetRenderTaskID(renderTaskID string)
SetRenderTaskID adds the renderTaskId to the render task params
func (*RenderTaskParams) SetTimeout ¶
func (o *RenderTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render task params
func (*RenderTaskParams) WithContext ¶
func (o *RenderTaskParams) WithContext(ctx context.Context) *RenderTaskParams
WithContext adds the context to the render task params
func (*RenderTaskParams) WithDefaults ¶
func (o *RenderTaskParams) WithDefaults() *RenderTaskParams
WithDefaults hydrates default values in the render task params (not the query body).
All values with no default are reset to their zero value.
func (*RenderTaskParams) WithFields ¶
func (o *RenderTaskParams) WithFields(fields *string) *RenderTaskParams
WithFields adds the fields to the render task params
func (*RenderTaskParams) WithHTTPClient ¶
func (o *RenderTaskParams) WithHTTPClient(client *http.Client) *RenderTaskParams
WithHTTPClient adds the HTTPClient to the render task params
func (*RenderTaskParams) WithRenderTaskID ¶
func (o *RenderTaskParams) WithRenderTaskID(renderTaskID string) *RenderTaskParams
WithRenderTaskID adds the renderTaskID to the render task params
func (*RenderTaskParams) WithTimeout ¶
func (o *RenderTaskParams) WithTimeout(timeout time.Duration) *RenderTaskParams
WithTimeout adds the timeout to the render task params
func (*RenderTaskParams) WriteToRequest ¶
func (o *RenderTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RenderTaskReader ¶
type RenderTaskReader struct {
// contains filtered or unexported fields
}
RenderTaskReader is a Reader for the RenderTask structure.
func (*RenderTaskReader) ReadResponse ¶
func (o *RenderTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RenderTaskResultsAccepted ¶
type RenderTaskResultsAccepted struct { }
RenderTaskResultsAccepted describes a response with status code 202, with default header values.
Accepted
func NewRenderTaskResultsAccepted ¶
func NewRenderTaskResultsAccepted() *RenderTaskResultsAccepted
NewRenderTaskResultsAccepted creates a RenderTaskResultsAccepted with default headers values
func (*RenderTaskResultsAccepted) Error ¶
func (o *RenderTaskResultsAccepted) Error() string
type RenderTaskResultsBadRequest ¶
RenderTaskResultsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRenderTaskResultsBadRequest ¶
func NewRenderTaskResultsBadRequest() *RenderTaskResultsBadRequest
NewRenderTaskResultsBadRequest creates a RenderTaskResultsBadRequest with default headers values
func (*RenderTaskResultsBadRequest) Error ¶
func (o *RenderTaskResultsBadRequest) Error() string
func (*RenderTaskResultsBadRequest) GetPayload ¶
func (o *RenderTaskResultsBadRequest) GetPayload() *models.Error
type RenderTaskResultsNotFound ¶
RenderTaskResultsNotFound describes a response with status code 404, with default header values.
Not Found
func NewRenderTaskResultsNotFound ¶
func NewRenderTaskResultsNotFound() *RenderTaskResultsNotFound
NewRenderTaskResultsNotFound creates a RenderTaskResultsNotFound with default headers values
func (*RenderTaskResultsNotFound) Error ¶
func (o *RenderTaskResultsNotFound) Error() string
func (*RenderTaskResultsNotFound) GetPayload ¶
func (o *RenderTaskResultsNotFound) GetPayload() *models.Error
type RenderTaskResultsOK ¶
type RenderTaskResultsOK struct {
Payload string
}
RenderTaskResultsOK describes a response with status code 200, with default header values.
Document or image
func NewRenderTaskResultsOK ¶
func NewRenderTaskResultsOK() *RenderTaskResultsOK
NewRenderTaskResultsOK creates a RenderTaskResultsOK with default headers values
func (*RenderTaskResultsOK) Error ¶
func (o *RenderTaskResultsOK) Error() string
func (*RenderTaskResultsOK) GetPayload ¶
func (o *RenderTaskResultsOK) GetPayload() string
type RenderTaskResultsParams ¶
type RenderTaskResultsParams struct { /* RenderTaskID. Id of render task */ RenderTaskID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RenderTaskResultsParams contains all the parameters to send to the API endpoint
for the render task results operation. Typically these are written to a http.Request.
func NewRenderTaskResultsParams ¶
func NewRenderTaskResultsParams() *RenderTaskResultsParams
NewRenderTaskResultsParams creates a new RenderTaskResultsParams 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 NewRenderTaskResultsParamsWithContext ¶
func NewRenderTaskResultsParamsWithContext(ctx context.Context) *RenderTaskResultsParams
NewRenderTaskResultsParamsWithContext creates a new RenderTaskResultsParams object with the ability to set a context for a request.
func NewRenderTaskResultsParamsWithHTTPClient ¶
func NewRenderTaskResultsParamsWithHTTPClient(client *http.Client) *RenderTaskResultsParams
NewRenderTaskResultsParamsWithHTTPClient creates a new RenderTaskResultsParams object with the ability to set a custom HTTPClient for a request.
func NewRenderTaskResultsParamsWithTimeout ¶
func NewRenderTaskResultsParamsWithTimeout(timeout time.Duration) *RenderTaskResultsParams
NewRenderTaskResultsParamsWithTimeout creates a new RenderTaskResultsParams object with the ability to set a timeout on a request.
func (*RenderTaskResultsParams) SetContext ¶
func (o *RenderTaskResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the render task results params
func (*RenderTaskResultsParams) SetDefaults ¶
func (o *RenderTaskResultsParams) SetDefaults()
SetDefaults hydrates default values in the render task results params (not the query body).
All values with no default are reset to their zero value.
func (*RenderTaskResultsParams) SetHTTPClient ¶
func (o *RenderTaskResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render task results params
func (*RenderTaskResultsParams) SetRenderTaskID ¶
func (o *RenderTaskResultsParams) SetRenderTaskID(renderTaskID string)
SetRenderTaskID adds the renderTaskId to the render task results params
func (*RenderTaskResultsParams) SetTimeout ¶
func (o *RenderTaskResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render task results params
func (*RenderTaskResultsParams) WithContext ¶
func (o *RenderTaskResultsParams) WithContext(ctx context.Context) *RenderTaskResultsParams
WithContext adds the context to the render task results params
func (*RenderTaskResultsParams) WithDefaults ¶
func (o *RenderTaskResultsParams) WithDefaults() *RenderTaskResultsParams
WithDefaults hydrates default values in the render task results params (not the query body).
All values with no default are reset to their zero value.
func (*RenderTaskResultsParams) WithHTTPClient ¶
func (o *RenderTaskResultsParams) WithHTTPClient(client *http.Client) *RenderTaskResultsParams
WithHTTPClient adds the HTTPClient to the render task results params
func (*RenderTaskResultsParams) WithRenderTaskID ¶
func (o *RenderTaskResultsParams) WithRenderTaskID(renderTaskID string) *RenderTaskResultsParams
WithRenderTaskID adds the renderTaskID to the render task results params
func (*RenderTaskResultsParams) WithTimeout ¶
func (o *RenderTaskResultsParams) WithTimeout(timeout time.Duration) *RenderTaskResultsParams
WithTimeout adds the timeout to the render task results params
func (*RenderTaskResultsParams) WriteToRequest ¶
func (o *RenderTaskResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RenderTaskResultsReader ¶
type RenderTaskResultsReader struct {
// contains filtered or unexported fields
}
RenderTaskResultsReader is a Reader for the RenderTaskResults structure.
func (*RenderTaskResultsReader) ReadResponse ¶
func (o *RenderTaskResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_dashboard_render_task_parameters.go
- create_dashboard_render_task_responses.go
- create_look_render_task_parameters.go
- create_look_render_task_responses.go
- create_lookml_dashboard_render_task_parameters.go
- create_lookml_dashboard_render_task_responses.go
- create_query_render_task_parameters.go
- create_query_render_task_responses.go
- render_task_client.go
- render_task_parameters.go
- render_task_responses.go
- render_task_results_parameters.go
- render_task_results_responses.go