render_task

package
v0.0.0-...-162d0cd Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new render task API client.

func (*Client) CreateDashboardRenderTask

func (a *Client) CreateDashboardRenderTask(params *CreateDashboardRenderTaskParams) (*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) (*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) (*CreateLookmlDashboardRenderTaskOK, error)

CreateLookmlDashboardRenderTask creates lookml dashboard render task

### Create a new task to render a lookml 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) CreateQueryRenderTask

func (a *Client) CreateQueryRenderTask(params *CreateQueryRenderTaskParams) (*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) (*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) (*RenderTaskResultsOK, error)

RenderTaskResults renders task results

### Get the document or image produced by a completed render task.

Returns `102 Processing` if the render task has not completed.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateDashboardRenderTaskBadRequest

type CreateDashboardRenderTaskBadRequest struct {
	Payload *models.Error
}

CreateDashboardRenderTaskBadRequest handles this case with default header values.

Bad Request

func NewCreateDashboardRenderTaskBadRequest

func NewCreateDashboardRenderTaskBadRequest() *CreateDashboardRenderTaskBadRequest

NewCreateDashboardRenderTaskBadRequest creates a CreateDashboardRenderTaskBadRequest with default headers values

func (*CreateDashboardRenderTaskBadRequest) Error

type CreateDashboardRenderTaskConflict

type CreateDashboardRenderTaskConflict struct {
	Payload *models.Error
}

CreateDashboardRenderTaskConflict handles this case with default header values.

Resource Already Exists

func NewCreateDashboardRenderTaskConflict

func NewCreateDashboardRenderTaskConflict() *CreateDashboardRenderTaskConflict

NewCreateDashboardRenderTaskConflict creates a CreateDashboardRenderTaskConflict with default headers values

func (*CreateDashboardRenderTaskConflict) Error

type CreateDashboardRenderTaskNotFound

type CreateDashboardRenderTaskNotFound struct {
	Payload *models.Error
}

CreateDashboardRenderTaskNotFound handles this case with default header values.

Not Found

func NewCreateDashboardRenderTaskNotFound

func NewCreateDashboardRenderTaskNotFound() *CreateDashboardRenderTaskNotFound

NewCreateDashboardRenderTaskNotFound creates a CreateDashboardRenderTaskNotFound with default headers values

func (*CreateDashboardRenderTaskNotFound) Error

type CreateDashboardRenderTaskOK

type CreateDashboardRenderTaskOK struct {
	Payload *models.RenderTask
}

CreateDashboardRenderTaskOK handles this case with default header values.

Render Task

func NewCreateDashboardRenderTaskOK

func NewCreateDashboardRenderTaskOK() *CreateDashboardRenderTaskOK

NewCreateDashboardRenderTaskOK creates a CreateDashboardRenderTaskOK with default headers values

func (*CreateDashboardRenderTaskOK) Error

type CreateDashboardRenderTaskParams

type CreateDashboardRenderTaskParams struct {

	/*Body
	  Dashboard render task parameters

	*/
	Body *models.CreateDashboardRenderTask
	/*DashboardID
	  Id of dashboard to render

	*/
	DashboardID int64
	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*Height
	  Output height in pixels

	*/
	Height int64
	/*PdfLandscape
	  Whether to render pdf in landscape

	*/
	PdfLandscape *bool
	/*PdfPaperSize
	  Paper size for pdf

	*/
	PdfPaperSize *string
	/*ResultFormat
	  Output type: pdf, png, or jpg

	*/
	ResultFormat string
	/*Width
	  Output width in pixels

	*/
	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 values initialized.

func NewCreateDashboardRenderTaskParamsWithContext

func NewCreateDashboardRenderTaskParamsWithContext(ctx context.Context) *CreateDashboardRenderTaskParams

NewCreateDashboardRenderTaskParamsWithContext creates a new CreateDashboardRenderTaskParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateDashboardRenderTaskUnprocessableEntity

type CreateDashboardRenderTaskUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateDashboardRenderTaskUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateDashboardRenderTaskUnprocessableEntity

func NewCreateDashboardRenderTaskUnprocessableEntity() *CreateDashboardRenderTaskUnprocessableEntity

NewCreateDashboardRenderTaskUnprocessableEntity creates a CreateDashboardRenderTaskUnprocessableEntity with default headers values

func (*CreateDashboardRenderTaskUnprocessableEntity) Error

type CreateLookRenderTaskBadRequest

type CreateLookRenderTaskBadRequest struct {
	Payload *models.Error
}

CreateLookRenderTaskBadRequest handles this case with default header values.

Bad Request

func NewCreateLookRenderTaskBadRequest

func NewCreateLookRenderTaskBadRequest() *CreateLookRenderTaskBadRequest

NewCreateLookRenderTaskBadRequest creates a CreateLookRenderTaskBadRequest with default headers values

func (*CreateLookRenderTaskBadRequest) Error

type CreateLookRenderTaskConflict

type CreateLookRenderTaskConflict struct {
	Payload *models.Error
}

CreateLookRenderTaskConflict handles this case with default header values.

Resource Already Exists

func NewCreateLookRenderTaskConflict

func NewCreateLookRenderTaskConflict() *CreateLookRenderTaskConflict

NewCreateLookRenderTaskConflict creates a CreateLookRenderTaskConflict with default headers values

func (*CreateLookRenderTaskConflict) Error

type CreateLookRenderTaskNotFound

type CreateLookRenderTaskNotFound struct {
	Payload *models.Error
}

CreateLookRenderTaskNotFound handles this case with default header values.

Not Found

func NewCreateLookRenderTaskNotFound

func NewCreateLookRenderTaskNotFound() *CreateLookRenderTaskNotFound

NewCreateLookRenderTaskNotFound creates a CreateLookRenderTaskNotFound with default headers values

func (*CreateLookRenderTaskNotFound) Error

type CreateLookRenderTaskOK

type CreateLookRenderTaskOK struct {
	Payload *models.RenderTask
}

CreateLookRenderTaskOK handles this case 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

type CreateLookRenderTaskParams

type CreateLookRenderTaskParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*Height
	  Output height in pixels

	*/
	Height int64
	/*LookID
	  Id of look to render

	*/
	LookID int64
	/*ResultFormat
	  Output type: png, or jpg

	*/
	ResultFormat string
	/*Width
	  Output width in pixels

	*/
	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 values initialized.

func NewCreateLookRenderTaskParamsWithContext

func NewCreateLookRenderTaskParamsWithContext(ctx context.Context) *CreateLookRenderTaskParams

NewCreateLookRenderTaskParamsWithContext creates a new CreateLookRenderTaskParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateLookRenderTaskUnprocessableEntity

type CreateLookRenderTaskUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateLookRenderTaskUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateLookRenderTaskUnprocessableEntity

func NewCreateLookRenderTaskUnprocessableEntity() *CreateLookRenderTaskUnprocessableEntity

NewCreateLookRenderTaskUnprocessableEntity creates a CreateLookRenderTaskUnprocessableEntity with default headers values

func (*CreateLookRenderTaskUnprocessableEntity) Error

type CreateLookmlDashboardRenderTaskBadRequest

type CreateLookmlDashboardRenderTaskBadRequest struct {
	Payload *models.Error
}

CreateLookmlDashboardRenderTaskBadRequest handles this case with default header values.

Bad Request

func NewCreateLookmlDashboardRenderTaskBadRequest

func NewCreateLookmlDashboardRenderTaskBadRequest() *CreateLookmlDashboardRenderTaskBadRequest

NewCreateLookmlDashboardRenderTaskBadRequest creates a CreateLookmlDashboardRenderTaskBadRequest with default headers values

func (*CreateLookmlDashboardRenderTaskBadRequest) Error

type CreateLookmlDashboardRenderTaskConflict

type CreateLookmlDashboardRenderTaskConflict struct {
	Payload *models.Error
}

CreateLookmlDashboardRenderTaskConflict handles this case with default header values.

Resource Already Exists

func NewCreateLookmlDashboardRenderTaskConflict

func NewCreateLookmlDashboardRenderTaskConflict() *CreateLookmlDashboardRenderTaskConflict

NewCreateLookmlDashboardRenderTaskConflict creates a CreateLookmlDashboardRenderTaskConflict with default headers values

func (*CreateLookmlDashboardRenderTaskConflict) Error

type CreateLookmlDashboardRenderTaskNotFound

type CreateLookmlDashboardRenderTaskNotFound struct {
	Payload *models.Error
}

CreateLookmlDashboardRenderTaskNotFound handles this case with default header values.

Not Found

func NewCreateLookmlDashboardRenderTaskNotFound

func NewCreateLookmlDashboardRenderTaskNotFound() *CreateLookmlDashboardRenderTaskNotFound

NewCreateLookmlDashboardRenderTaskNotFound creates a CreateLookmlDashboardRenderTaskNotFound with default headers values

func (*CreateLookmlDashboardRenderTaskNotFound) Error

type CreateLookmlDashboardRenderTaskOK

type CreateLookmlDashboardRenderTaskOK struct {
	Payload *models.RenderTask
}

CreateLookmlDashboardRenderTaskOK handles this case with default header values.

Render Task

func NewCreateLookmlDashboardRenderTaskOK

func NewCreateLookmlDashboardRenderTaskOK() *CreateLookmlDashboardRenderTaskOK

NewCreateLookmlDashboardRenderTaskOK creates a CreateLookmlDashboardRenderTaskOK with default headers values

func (*CreateLookmlDashboardRenderTaskOK) Error

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

	*/
	Height int64
	/*PdfLandscape
	  Whether to render pdf in landscape

	*/
	PdfLandscape *bool
	/*PdfPaperSize
	  Paper size for pdf

	*/
	PdfPaperSize *string
	/*ResultFormat
	  Output type: pdf, png, or jpg

	*/
	ResultFormat string
	/*Width
	  Output width in pixels

	*/
	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 values initialized.

func NewCreateLookmlDashboardRenderTaskParamsWithContext

func NewCreateLookmlDashboardRenderTaskParamsWithContext(ctx context.Context) *CreateLookmlDashboardRenderTaskParams

NewCreateLookmlDashboardRenderTaskParamsWithContext creates a new CreateLookmlDashboardRenderTaskParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateLookmlDashboardRenderTaskUnprocessableEntity

type CreateLookmlDashboardRenderTaskUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateLookmlDashboardRenderTaskUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateLookmlDashboardRenderTaskUnprocessableEntity

func NewCreateLookmlDashboardRenderTaskUnprocessableEntity() *CreateLookmlDashboardRenderTaskUnprocessableEntity

NewCreateLookmlDashboardRenderTaskUnprocessableEntity creates a CreateLookmlDashboardRenderTaskUnprocessableEntity with default headers values

func (*CreateLookmlDashboardRenderTaskUnprocessableEntity) Error

type CreateQueryRenderTaskBadRequest

type CreateQueryRenderTaskBadRequest struct {
	Payload *models.Error
}

CreateQueryRenderTaskBadRequest handles this case with default header values.

Bad Request

func NewCreateQueryRenderTaskBadRequest

func NewCreateQueryRenderTaskBadRequest() *CreateQueryRenderTaskBadRequest

NewCreateQueryRenderTaskBadRequest creates a CreateQueryRenderTaskBadRequest with default headers values

func (*CreateQueryRenderTaskBadRequest) Error

type CreateQueryRenderTaskConflict

type CreateQueryRenderTaskConflict struct {
	Payload *models.Error
}

CreateQueryRenderTaskConflict handles this case with default header values.

Resource Already Exists

func NewCreateQueryRenderTaskConflict

func NewCreateQueryRenderTaskConflict() *CreateQueryRenderTaskConflict

NewCreateQueryRenderTaskConflict creates a CreateQueryRenderTaskConflict with default headers values

func (*CreateQueryRenderTaskConflict) Error

type CreateQueryRenderTaskNotFound

type CreateQueryRenderTaskNotFound struct {
	Payload *models.Error
}

CreateQueryRenderTaskNotFound handles this case with default header values.

Not Found

func NewCreateQueryRenderTaskNotFound

func NewCreateQueryRenderTaskNotFound() *CreateQueryRenderTaskNotFound

NewCreateQueryRenderTaskNotFound creates a CreateQueryRenderTaskNotFound with default headers values

func (*CreateQueryRenderTaskNotFound) Error

type CreateQueryRenderTaskOK

type CreateQueryRenderTaskOK struct {
	Payload *models.RenderTask
}

CreateQueryRenderTaskOK handles this case 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

type CreateQueryRenderTaskParams

type CreateQueryRenderTaskParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*Height
	  Output height in pixels

	*/
	Height int64
	/*QueryID
	  Id of the query to render

	*/
	QueryID int64
	/*ResultFormat
	  Output type: png or jpg

	*/
	ResultFormat string
	/*Width
	  Output width in pixels

	*/
	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 values initialized.

func NewCreateQueryRenderTaskParamsWithContext

func NewCreateQueryRenderTaskParamsWithContext(ctx context.Context) *CreateQueryRenderTaskParams

NewCreateQueryRenderTaskParamsWithContext creates a new CreateQueryRenderTaskParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateQueryRenderTaskUnprocessableEntity

type CreateQueryRenderTaskUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateQueryRenderTaskUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateQueryRenderTaskUnprocessableEntity

func NewCreateQueryRenderTaskUnprocessableEntity() *CreateQueryRenderTaskUnprocessableEntity

NewCreateQueryRenderTaskUnprocessableEntity creates a CreateQueryRenderTaskUnprocessableEntity with default headers values

func (*CreateQueryRenderTaskUnprocessableEntity) Error

type RenderTaskNotFound

type RenderTaskNotFound struct {
	Payload *models.Error
}

RenderTaskNotFound handles this case 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

type RenderTaskOK

type RenderTaskOK struct {
	Payload *models.RenderTask
}

RenderTaskOK handles this case 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

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 values initialized.

func NewRenderTaskParamsWithContext

func NewRenderTaskParamsWithContext(ctx context.Context) *RenderTaskParams

NewRenderTaskParamsWithContext creates a new RenderTaskParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 RenderTaskResultsNotFound

type RenderTaskResultsNotFound struct {
	Payload *models.Error
}

RenderTaskResultsNotFound handles this case 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

type RenderTaskResultsOK

type RenderTaskResultsOK struct {
	Payload string
}

RenderTaskResultsOK handles this case 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

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 values initialized.

func NewRenderTaskResultsParamsWithContext

func NewRenderTaskResultsParamsWithContext(ctx context.Context) *RenderTaskResultsParams

NewRenderTaskResultsParamsWithContext creates a new RenderTaskResultsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 RenderTaskResultsProcessing

type RenderTaskResultsProcessing struct {
}

RenderTaskResultsProcessing handles this case with default header values.

Processing

func NewRenderTaskResultsProcessing

func NewRenderTaskResultsProcessing() *RenderTaskResultsProcessing

NewRenderTaskResultsProcessing creates a RenderTaskResultsProcessing with default headers values

func (*RenderTaskResultsProcessing) Error

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