render_task

package
v0.0.0-...-09f9b81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 11 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 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

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

type CreateDashboardRenderTaskBadRequest struct {
	Payload *models.Error
}
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 (*CreateDashboardRenderTaskBadRequest) GetPayload

type CreateDashboardRenderTaskConflict

type CreateDashboardRenderTaskConflict struct {
	Payload *models.Error
}
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 (*CreateDashboardRenderTaskConflict) GetPayload

type CreateDashboardRenderTaskNotFound

type CreateDashboardRenderTaskNotFound struct {
	Payload *models.Error
}
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 (*CreateDashboardRenderTaskNotFound) GetPayload

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

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

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

WithBody adds the body to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WithContext

WithContext adds the context to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WithDashboardID

WithDashboardID adds the dashboardID to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WithDefaults

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

WithFields adds the fields to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WithHeight

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

WithTimeout adds the timeout to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WithWidth

WithWidth adds the width to the create dashboard render task params

func (*CreateDashboardRenderTaskParams) WriteToRequest

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

type CreateDashboardRenderTaskTooManyRequests struct {
	Payload *models.Error
}
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 (*CreateDashboardRenderTaskTooManyRequests) GetPayload

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

type CreateLookRenderTaskBadRequest

type CreateLookRenderTaskBadRequest struct {
	Payload *models.Error
}
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 (*CreateLookRenderTaskBadRequest) GetPayload

func (o *CreateLookRenderTaskBadRequest) GetPayload() *models.Error

type CreateLookRenderTaskConflict

type CreateLookRenderTaskConflict struct {
	Payload *models.Error
}
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 (*CreateLookRenderTaskConflict) GetPayload

func (o *CreateLookRenderTaskConflict) GetPayload() *models.Error

type CreateLookRenderTaskNotFound

type CreateLookRenderTaskNotFound struct {
	Payload *models.Error
}
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 (*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

WithContext adds the context to the create look render task params

func (*CreateLookRenderTaskParams) WithDefaults

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

WithFields adds the fields to the create look render task params

func (*CreateLookRenderTaskParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create look render task params

func (*CreateLookRenderTaskParams) WithHeight

WithHeight adds the height to the create look render task params

func (*CreateLookRenderTaskParams) WithLookID

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

WithTimeout adds the timeout to the create look render task params

func (*CreateLookRenderTaskParams) WithWidth

WithWidth adds the width to the create look render task params

func (*CreateLookRenderTaskParams) WriteToRequest

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

type CreateLookRenderTaskTooManyRequests struct {
	Payload *models.Error
}
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 (*CreateLookRenderTaskTooManyRequests) GetPayload

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

type CreateLookmlDashboardRenderTaskBadRequest

type CreateLookmlDashboardRenderTaskBadRequest struct {
	Payload *models.Error
}
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 (*CreateLookmlDashboardRenderTaskBadRequest) GetPayload

type CreateLookmlDashboardRenderTaskConflict

type CreateLookmlDashboardRenderTaskConflict struct {
	Payload *models.Error
}
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 (*CreateLookmlDashboardRenderTaskConflict) GetPayload

type CreateLookmlDashboardRenderTaskNotFound

type CreateLookmlDashboardRenderTaskNotFound struct {
	Payload *models.Error
}
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 (*CreateLookmlDashboardRenderTaskNotFound) GetPayload

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

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

SetBody adds the body to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) SetContext

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

WithBody adds the body to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithContext

WithContext adds the context to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithDashboardID

WithDashboardID adds the dashboardID to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithDefaults

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

WithFields adds the fields to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithHeight

WithHeight adds the height to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithPdfLandscape

WithPdfLandscape adds the pdfLandscape to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithPdfPaperSize

WithPdfPaperSize adds the pdfPaperSize to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithResultFormat

WithResultFormat adds the resultFormat to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithTimeout

WithTimeout adds the timeout to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WithWidth

WithWidth adds the width to the create lookml dashboard render task params

func (*CreateLookmlDashboardRenderTaskParams) WriteToRequest

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

type CreateLookmlDashboardRenderTaskTooManyRequests struct {
	Payload *models.Error
}
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 (*CreateLookmlDashboardRenderTaskTooManyRequests) GetPayload

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

type CreateQueryRenderTaskBadRequest

type CreateQueryRenderTaskBadRequest struct {
	Payload *models.Error
}
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 (*CreateQueryRenderTaskBadRequest) GetPayload

func (o *CreateQueryRenderTaskBadRequest) GetPayload() *models.Error

type CreateQueryRenderTaskConflict

type CreateQueryRenderTaskConflict struct {
	Payload *models.Error
}
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 (*CreateQueryRenderTaskConflict) GetPayload

func (o *CreateQueryRenderTaskConflict) GetPayload() *models.Error

type CreateQueryRenderTaskNotFound

type CreateQueryRenderTaskNotFound struct {
	Payload *models.Error
}
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 (*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

WithContext adds the context to the create query render task params

func (*CreateQueryRenderTaskParams) WithDefaults

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

WithFields adds the fields to the create query render task params

func (*CreateQueryRenderTaskParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create query render task params

func (*CreateQueryRenderTaskParams) WithHeight

WithHeight adds the height to the create query render task params

func (*CreateQueryRenderTaskParams) WithQueryID

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

WithTimeout adds the timeout to the create query render task params

func (*CreateQueryRenderTaskParams) WithWidth

WithWidth adds the width to the create query render task params

func (*CreateQueryRenderTaskParams) WriteToRequest

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

type CreateQueryRenderTaskTooManyRequests struct {
	Payload *models.Error
}
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 (*CreateQueryRenderTaskTooManyRequests) GetPayload

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

type RenderTaskBadRequest

type RenderTaskBadRequest struct {
	Payload *models.Error
}
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

type RenderTaskNotFound struct {
	Payload *models.Error
}
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

type RenderTaskResultsBadRequest struct {
	Payload *models.Error
}
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 (*RenderTaskResultsBadRequest) GetPayload

func (o *RenderTaskResultsBadRequest) GetPayload() *models.Error

type RenderTaskResultsNotFound

type RenderTaskResultsNotFound struct {
	Payload *models.Error
}
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

WithContext adds the context to the render task results params

func (*RenderTaskResultsParams) WithDefaults

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

WithTimeout adds the timeout to the render task results params

func (*RenderTaskResultsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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