look

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 AllLooksBadRequest

type AllLooksBadRequest struct {
	Payload *models.Error
}

AllLooksBadRequest handles this case with default header values.

Bad Request

func NewAllLooksBadRequest

func NewAllLooksBadRequest() *AllLooksBadRequest

NewAllLooksBadRequest creates a AllLooksBadRequest with default headers values

func (*AllLooksBadRequest) Error

func (o *AllLooksBadRequest) Error() string

type AllLooksNotFound

type AllLooksNotFound struct {
	Payload *models.Error
}

AllLooksNotFound handles this case with default header values.

Not Found

func NewAllLooksNotFound

func NewAllLooksNotFound() *AllLooksNotFound

NewAllLooksNotFound creates a AllLooksNotFound with default headers values

func (*AllLooksNotFound) Error

func (o *AllLooksNotFound) Error() string

type AllLooksOK

type AllLooksOK struct {
	Payload []*models.Look
}

AllLooksOK handles this case with default header values.

Look

func NewAllLooksOK

func NewAllLooksOK() *AllLooksOK

NewAllLooksOK creates a AllLooksOK with default headers values

func (*AllLooksOK) Error

func (o *AllLooksOK) Error() string

type AllLooksParams

type AllLooksParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllLooksParams contains all the parameters to send to the API endpoint for the all looks operation typically these are written to a http.Request

func NewAllLooksParams

func NewAllLooksParams() *AllLooksParams

NewAllLooksParams creates a new AllLooksParams object with the default values initialized.

func NewAllLooksParamsWithContext

func NewAllLooksParamsWithContext(ctx context.Context) *AllLooksParams

NewAllLooksParamsWithContext creates a new AllLooksParams object with the default values initialized, and the ability to set a context for a request

func NewAllLooksParamsWithHTTPClient

func NewAllLooksParamsWithHTTPClient(client *http.Client) *AllLooksParams

NewAllLooksParamsWithHTTPClient creates a new AllLooksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllLooksParamsWithTimeout

func NewAllLooksParamsWithTimeout(timeout time.Duration) *AllLooksParams

NewAllLooksParamsWithTimeout creates a new AllLooksParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllLooksParams) SetContext

func (o *AllLooksParams) SetContext(ctx context.Context)

SetContext adds the context to the all looks params

func (*AllLooksParams) SetFields

func (o *AllLooksParams) SetFields(fields *string)

SetFields adds the fields to the all looks params

func (*AllLooksParams) SetHTTPClient

func (o *AllLooksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all looks params

func (*AllLooksParams) SetTimeout

func (o *AllLooksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all looks params

func (*AllLooksParams) WithContext

func (o *AllLooksParams) WithContext(ctx context.Context) *AllLooksParams

WithContext adds the context to the all looks params

func (*AllLooksParams) WithFields

func (o *AllLooksParams) WithFields(fields *string) *AllLooksParams

WithFields adds the fields to the all looks params

func (*AllLooksParams) WithHTTPClient

func (o *AllLooksParams) WithHTTPClient(client *http.Client) *AllLooksParams

WithHTTPClient adds the HTTPClient to the all looks params

func (*AllLooksParams) WithTimeout

func (o *AllLooksParams) WithTimeout(timeout time.Duration) *AllLooksParams

WithTimeout adds the timeout to the all looks params

func (*AllLooksParams) WriteToRequest

func (o *AllLooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllLooksReader

type AllLooksReader struct {
	// contains filtered or unexported fields
}

AllLooksReader is a Reader for the AllLooks structure.

func (*AllLooksReader) ReadResponse

func (o *AllLooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for look API

func New

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

New creates a new look API client.

func (*Client) AllLooks

func (a *Client) AllLooks(params *AllLooksParams) (*AllLooksOK, error)

AllLooks gets all looks

### Get all the looks.

func (*Client) CreateLook

func (a *Client) CreateLook(params *CreateLookParams) (*CreateLookOK, error)

CreateLook creates look

### Create a Look with specified information.

func (*Client) DeleteLook

func (a *Client) DeleteLook(params *DeleteLookParams) (*DeleteLookNoContent, error)

DeleteLook deletes look

### Delete the look with a specific id.

func (*Client) Look

func (a *Client) Look(params *LookParams) (*LookOK, error)

Look gets look

### Get a Look.

Return detailed information about the Look and its associated Query.

func (*Client) RunLook

func (a *Client) RunLook(params *RunLookParams) (*RunLookOK, error)

RunLook runs look

### Run a Look.

Runs a given look's query and returns the results in the requested format.

Supported formats:

| result_format | Description | :-----------: | :--- | | json | Plain json | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | md | Simple markdown | xlsx | MS Excel spreadsheet | sql | Returns the generated SQL rather than running the query | png | A PNG image of the visualization of the query | jpg | A JPG image of the visualization of the query

func (*Client) SearchLooks

func (a *Client) SearchLooks(params *SearchLooksParams) (*SearchLooksOK, error)

SearchLooks searches looks

Search looks.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLook

func (a *Client) UpdateLook(params *UpdateLookParams) (*UpdateLookOK, error)

UpdateLook updates look

### Update the Look with a specific id.

type CreateLookBadRequest

type CreateLookBadRequest struct {
	Payload *models.Error
}

CreateLookBadRequest handles this case with default header values.

Bad Request

func NewCreateLookBadRequest

func NewCreateLookBadRequest() *CreateLookBadRequest

NewCreateLookBadRequest creates a CreateLookBadRequest with default headers values

func (*CreateLookBadRequest) Error

func (o *CreateLookBadRequest) Error() string

type CreateLookConflict

type CreateLookConflict struct {
	Payload *models.Error
}

CreateLookConflict handles this case with default header values.

Resource Already Exists

func NewCreateLookConflict

func NewCreateLookConflict() *CreateLookConflict

NewCreateLookConflict creates a CreateLookConflict with default headers values

func (*CreateLookConflict) Error

func (o *CreateLookConflict) Error() string

type CreateLookNotFound

type CreateLookNotFound struct {
	Payload *models.Error
}

CreateLookNotFound handles this case with default header values.

Not Found

func NewCreateLookNotFound

func NewCreateLookNotFound() *CreateLookNotFound

NewCreateLookNotFound creates a CreateLookNotFound with default headers values

func (*CreateLookNotFound) Error

func (o *CreateLookNotFound) Error() string

type CreateLookOK

type CreateLookOK struct {
	Payload *models.LookWithQuery
}

CreateLookOK handles this case with default header values.

Look

func NewCreateLookOK

func NewCreateLookOK() *CreateLookOK

NewCreateLookOK creates a CreateLookOK with default headers values

func (*CreateLookOK) Error

func (o *CreateLookOK) Error() string

type CreateLookParams

type CreateLookParams struct {

	/*Body
	  Look

	*/
	Body *models.LookWithQuery
	/*Fields
	  Requested fields.

	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateLookParams contains all the parameters to send to the API endpoint for the create look operation typically these are written to a http.Request

func NewCreateLookParams

func NewCreateLookParams() *CreateLookParams

NewCreateLookParams creates a new CreateLookParams object with the default values initialized.

func NewCreateLookParamsWithContext

func NewCreateLookParamsWithContext(ctx context.Context) *CreateLookParams

NewCreateLookParamsWithContext creates a new CreateLookParams object with the default values initialized, and the ability to set a context for a request

func NewCreateLookParamsWithHTTPClient

func NewCreateLookParamsWithHTTPClient(client *http.Client) *CreateLookParams

NewCreateLookParamsWithHTTPClient creates a new CreateLookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateLookParamsWithTimeout

func NewCreateLookParamsWithTimeout(timeout time.Duration) *CreateLookParams

NewCreateLookParamsWithTimeout creates a new CreateLookParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateLookParams) SetBody

func (o *CreateLookParams) SetBody(body *models.LookWithQuery)

SetBody adds the body to the create look params

func (*CreateLookParams) SetContext

func (o *CreateLookParams) SetContext(ctx context.Context)

SetContext adds the context to the create look params

func (*CreateLookParams) SetFields

func (o *CreateLookParams) SetFields(fields *string)

SetFields adds the fields to the create look params

func (*CreateLookParams) SetHTTPClient

func (o *CreateLookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create look params

func (*CreateLookParams) SetTimeout

func (o *CreateLookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create look params

func (*CreateLookParams) WithBody

WithBody adds the body to the create look params

func (*CreateLookParams) WithContext

func (o *CreateLookParams) WithContext(ctx context.Context) *CreateLookParams

WithContext adds the context to the create look params

func (*CreateLookParams) WithFields

func (o *CreateLookParams) WithFields(fields *string) *CreateLookParams

WithFields adds the fields to the create look params

func (*CreateLookParams) WithHTTPClient

func (o *CreateLookParams) WithHTTPClient(client *http.Client) *CreateLookParams

WithHTTPClient adds the HTTPClient to the create look params

func (*CreateLookParams) WithTimeout

func (o *CreateLookParams) WithTimeout(timeout time.Duration) *CreateLookParams

WithTimeout adds the timeout to the create look params

func (*CreateLookParams) WriteToRequest

func (o *CreateLookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateLookReader

type CreateLookReader struct {
	// contains filtered or unexported fields
}

CreateLookReader is a Reader for the CreateLook structure.

func (*CreateLookReader) ReadResponse

func (o *CreateLookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateLookUnprocessableEntity

type CreateLookUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateLookUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateLookUnprocessableEntity

func NewCreateLookUnprocessableEntity() *CreateLookUnprocessableEntity

NewCreateLookUnprocessableEntity creates a CreateLookUnprocessableEntity with default headers values

func (*CreateLookUnprocessableEntity) Error

type DeleteLookBadRequest

type DeleteLookBadRequest struct {
	Payload *models.Error
}

DeleteLookBadRequest handles this case with default header values.

Bad Request

func NewDeleteLookBadRequest

func NewDeleteLookBadRequest() *DeleteLookBadRequest

NewDeleteLookBadRequest creates a DeleteLookBadRequest with default headers values

func (*DeleteLookBadRequest) Error

func (o *DeleteLookBadRequest) Error() string

type DeleteLookNoContent

type DeleteLookNoContent struct {
	Payload string
}

DeleteLookNoContent handles this case with default header values.

Successfully deleted.

func NewDeleteLookNoContent

func NewDeleteLookNoContent() *DeleteLookNoContent

NewDeleteLookNoContent creates a DeleteLookNoContent with default headers values

func (*DeleteLookNoContent) Error

func (o *DeleteLookNoContent) Error() string

type DeleteLookNotFound

type DeleteLookNotFound struct {
	Payload *models.Error
}

DeleteLookNotFound handles this case with default header values.

Not Found

func NewDeleteLookNotFound

func NewDeleteLookNotFound() *DeleteLookNotFound

NewDeleteLookNotFound creates a DeleteLookNotFound with default headers values

func (*DeleteLookNotFound) Error

func (o *DeleteLookNotFound) Error() string

type DeleteLookParams

type DeleteLookParams struct {

	/*LookID
	  Id of look

	*/
	LookID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLookParams contains all the parameters to send to the API endpoint for the delete look operation typically these are written to a http.Request

func NewDeleteLookParams

func NewDeleteLookParams() *DeleteLookParams

NewDeleteLookParams creates a new DeleteLookParams object with the default values initialized.

func NewDeleteLookParamsWithContext

func NewDeleteLookParamsWithContext(ctx context.Context) *DeleteLookParams

NewDeleteLookParamsWithContext creates a new DeleteLookParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteLookParamsWithHTTPClient

func NewDeleteLookParamsWithHTTPClient(client *http.Client) *DeleteLookParams

NewDeleteLookParamsWithHTTPClient creates a new DeleteLookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteLookParamsWithTimeout

func NewDeleteLookParamsWithTimeout(timeout time.Duration) *DeleteLookParams

NewDeleteLookParamsWithTimeout creates a new DeleteLookParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteLookParams) SetContext

func (o *DeleteLookParams) SetContext(ctx context.Context)

SetContext adds the context to the delete look params

func (*DeleteLookParams) SetHTTPClient

func (o *DeleteLookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete look params

func (*DeleteLookParams) SetLookID

func (o *DeleteLookParams) SetLookID(lookID int64)

SetLookID adds the lookId to the delete look params

func (*DeleteLookParams) SetTimeout

func (o *DeleteLookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete look params

func (*DeleteLookParams) WithContext

func (o *DeleteLookParams) WithContext(ctx context.Context) *DeleteLookParams

WithContext adds the context to the delete look params

func (*DeleteLookParams) WithHTTPClient

func (o *DeleteLookParams) WithHTTPClient(client *http.Client) *DeleteLookParams

WithHTTPClient adds the HTTPClient to the delete look params

func (*DeleteLookParams) WithLookID

func (o *DeleteLookParams) WithLookID(lookID int64) *DeleteLookParams

WithLookID adds the lookID to the delete look params

func (*DeleteLookParams) WithTimeout

func (o *DeleteLookParams) WithTimeout(timeout time.Duration) *DeleteLookParams

WithTimeout adds the timeout to the delete look params

func (*DeleteLookParams) WriteToRequest

func (o *DeleteLookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteLookReader

type DeleteLookReader struct {
	// contains filtered or unexported fields
}

DeleteLookReader is a Reader for the DeleteLook structure.

func (*DeleteLookReader) ReadResponse

func (o *DeleteLookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type LookBadRequest

type LookBadRequest struct {
	Payload *models.Error
}

LookBadRequest handles this case with default header values.

Bad Request

func NewLookBadRequest

func NewLookBadRequest() *LookBadRequest

NewLookBadRequest creates a LookBadRequest with default headers values

func (*LookBadRequest) Error

func (o *LookBadRequest) Error() string

type LookNotFound

type LookNotFound struct {
	Payload *models.Error
}

LookNotFound handles this case with default header values.

Not Found

func NewLookNotFound

func NewLookNotFound() *LookNotFound

NewLookNotFound creates a LookNotFound with default headers values

func (*LookNotFound) Error

func (o *LookNotFound) Error() string

type LookOK

type LookOK struct {
	Payload *models.LookWithQuery
}

LookOK handles this case with default header values.

Look

func NewLookOK

func NewLookOK() *LookOK

NewLookOK creates a LookOK with default headers values

func (*LookOK) Error

func (o *LookOK) Error() string

type LookParams

type LookParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*LookID
	  Id of look

	*/
	LookID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

LookParams contains all the parameters to send to the API endpoint for the look operation typically these are written to a http.Request

func NewLookParams

func NewLookParams() *LookParams

NewLookParams creates a new LookParams object with the default values initialized.

func NewLookParamsWithContext

func NewLookParamsWithContext(ctx context.Context) *LookParams

NewLookParamsWithContext creates a new LookParams object with the default values initialized, and the ability to set a context for a request

func NewLookParamsWithHTTPClient

func NewLookParamsWithHTTPClient(client *http.Client) *LookParams

NewLookParamsWithHTTPClient creates a new LookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewLookParamsWithTimeout

func NewLookParamsWithTimeout(timeout time.Duration) *LookParams

NewLookParamsWithTimeout creates a new LookParams object with the default values initialized, and the ability to set a timeout on a request

func (*LookParams) SetContext

func (o *LookParams) SetContext(ctx context.Context)

SetContext adds the context to the look params

func (*LookParams) SetFields

func (o *LookParams) SetFields(fields *string)

SetFields adds the fields to the look params

func (*LookParams) SetHTTPClient

func (o *LookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the look params

func (*LookParams) SetLookID

func (o *LookParams) SetLookID(lookID int64)

SetLookID adds the lookId to the look params

func (*LookParams) SetTimeout

func (o *LookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the look params

func (*LookParams) WithContext

func (o *LookParams) WithContext(ctx context.Context) *LookParams

WithContext adds the context to the look params

func (*LookParams) WithFields

func (o *LookParams) WithFields(fields *string) *LookParams

WithFields adds the fields to the look params

func (*LookParams) WithHTTPClient

func (o *LookParams) WithHTTPClient(client *http.Client) *LookParams

WithHTTPClient adds the HTTPClient to the look params

func (*LookParams) WithLookID

func (o *LookParams) WithLookID(lookID int64) *LookParams

WithLookID adds the lookID to the look params

func (*LookParams) WithTimeout

func (o *LookParams) WithTimeout(timeout time.Duration) *LookParams

WithTimeout adds the timeout to the look params

func (*LookParams) WriteToRequest

func (o *LookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LookReader

type LookReader struct {
	// contains filtered or unexported fields
}

LookReader is a Reader for the Look structure.

func (*LookReader) ReadResponse

func (o *LookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RunLookBadRequest

type RunLookBadRequest struct {
	Payload *models.Error
}

RunLookBadRequest handles this case with default header values.

Bad Request

func NewRunLookBadRequest

func NewRunLookBadRequest() *RunLookBadRequest

NewRunLookBadRequest creates a RunLookBadRequest with default headers values

func (*RunLookBadRequest) Error

func (o *RunLookBadRequest) Error() string

type RunLookNotFound

type RunLookNotFound struct {
	Payload *models.Error
}

RunLookNotFound handles this case with default header values.

Not Found

func NewRunLookNotFound

func NewRunLookNotFound() *RunLookNotFound

NewRunLookNotFound creates a RunLookNotFound with default headers values

func (*RunLookNotFound) Error

func (o *RunLookNotFound) Error() string

type RunLookOK

type RunLookOK struct {
	Payload string
}

RunLookOK handles this case with default header values.

Look

func NewRunLookOK

func NewRunLookOK() *RunLookOK

NewRunLookOK creates a RunLookOK with default headers values

func (*RunLookOK) Error

func (o *RunLookOK) Error() string

type RunLookParams

type RunLookParams struct {

	/*ApplyFormatting
	  Apply model-specified formatting to each result.

	*/
	ApplyFormatting *bool
	/*ApplyVis
	  Apply visualization options to results.

	*/
	ApplyVis *bool
	/*Cache
	  Get results from cache if available.

	*/
	Cache *bool
	/*CacheOnly
	  Retrieve any results from cache even if the results have expired.

	*/
	CacheOnly *bool
	/*ForceProduction
	  Force use of production models even if the user is in development mode.

	*/
	ForceProduction *bool
	/*GenerateDrillLinks
	  Generate drill links (only applicable to 'json_detail' format.

	*/
	GenerateDrillLinks *bool
	/*ImageHeight
	  Render height for image formats.

	*/
	ImageHeight *int64
	/*ImageWidth
	  Render width for image formats.

	*/
	ImageWidth *int64
	/*Limit
	  Row limit (may override the limit in the saved query).

	*/
	Limit *int64
	/*LookID
	  Id of look

	*/
	LookID int64
	/*PathPrefix
	  Prefix to use for drill links (url encoded).

	*/
	PathPrefix *string
	/*RebuildPdts
	  Rebuild PDTS used in query.

	*/
	RebuildPdts *bool
	/*ResultFormat
	  Format of result

	*/
	ResultFormat string
	/*ServerTableCalcs
	  Perform table calculations on query results

	*/
	ServerTableCalcs *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RunLookParams contains all the parameters to send to the API endpoint for the run look operation typically these are written to a http.Request

func NewRunLookParams

func NewRunLookParams() *RunLookParams

NewRunLookParams creates a new RunLookParams object with the default values initialized.

func NewRunLookParamsWithContext

func NewRunLookParamsWithContext(ctx context.Context) *RunLookParams

NewRunLookParamsWithContext creates a new RunLookParams object with the default values initialized, and the ability to set a context for a request

func NewRunLookParamsWithHTTPClient

func NewRunLookParamsWithHTTPClient(client *http.Client) *RunLookParams

NewRunLookParamsWithHTTPClient creates a new RunLookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRunLookParamsWithTimeout

func NewRunLookParamsWithTimeout(timeout time.Duration) *RunLookParams

NewRunLookParamsWithTimeout creates a new RunLookParams object with the default values initialized, and the ability to set a timeout on a request

func (*RunLookParams) SetApplyFormatting

func (o *RunLookParams) SetApplyFormatting(applyFormatting *bool)

SetApplyFormatting adds the applyFormatting to the run look params

func (*RunLookParams) SetApplyVis

func (o *RunLookParams) SetApplyVis(applyVis *bool)

SetApplyVis adds the applyVis to the run look params

func (*RunLookParams) SetCache

func (o *RunLookParams) SetCache(cache *bool)

SetCache adds the cache to the run look params

func (*RunLookParams) SetCacheOnly

func (o *RunLookParams) SetCacheOnly(cacheOnly *bool)

SetCacheOnly adds the cacheOnly to the run look params

func (*RunLookParams) SetContext

func (o *RunLookParams) SetContext(ctx context.Context)

SetContext adds the context to the run look params

func (*RunLookParams) SetForceProduction

func (o *RunLookParams) SetForceProduction(forceProduction *bool)

SetForceProduction adds the forceProduction to the run look params

func (o *RunLookParams) SetGenerateDrillLinks(generateDrillLinks *bool)

SetGenerateDrillLinks adds the generateDrillLinks to the run look params

func (*RunLookParams) SetHTTPClient

func (o *RunLookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the run look params

func (*RunLookParams) SetImageHeight

func (o *RunLookParams) SetImageHeight(imageHeight *int64)

SetImageHeight adds the imageHeight to the run look params

func (*RunLookParams) SetImageWidth

func (o *RunLookParams) SetImageWidth(imageWidth *int64)

SetImageWidth adds the imageWidth to the run look params

func (*RunLookParams) SetLimit

func (o *RunLookParams) SetLimit(limit *int64)

SetLimit adds the limit to the run look params

func (*RunLookParams) SetLookID

func (o *RunLookParams) SetLookID(lookID int64)

SetLookID adds the lookId to the run look params

func (*RunLookParams) SetPathPrefix

func (o *RunLookParams) SetPathPrefix(pathPrefix *string)

SetPathPrefix adds the pathPrefix to the run look params

func (*RunLookParams) SetRebuildPdts

func (o *RunLookParams) SetRebuildPdts(rebuildPdts *bool)

SetRebuildPdts adds the rebuildPdts to the run look params

func (*RunLookParams) SetResultFormat

func (o *RunLookParams) SetResultFormat(resultFormat string)

SetResultFormat adds the resultFormat to the run look params

func (*RunLookParams) SetServerTableCalcs

func (o *RunLookParams) SetServerTableCalcs(serverTableCalcs *bool)

SetServerTableCalcs adds the serverTableCalcs to the run look params

func (*RunLookParams) SetTimeout

func (o *RunLookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the run look params

func (*RunLookParams) WithApplyFormatting

func (o *RunLookParams) WithApplyFormatting(applyFormatting *bool) *RunLookParams

WithApplyFormatting adds the applyFormatting to the run look params

func (*RunLookParams) WithApplyVis

func (o *RunLookParams) WithApplyVis(applyVis *bool) *RunLookParams

WithApplyVis adds the applyVis to the run look params

func (*RunLookParams) WithCache

func (o *RunLookParams) WithCache(cache *bool) *RunLookParams

WithCache adds the cache to the run look params

func (*RunLookParams) WithCacheOnly

func (o *RunLookParams) WithCacheOnly(cacheOnly *bool) *RunLookParams

WithCacheOnly adds the cacheOnly to the run look params

func (*RunLookParams) WithContext

func (o *RunLookParams) WithContext(ctx context.Context) *RunLookParams

WithContext adds the context to the run look params

func (*RunLookParams) WithForceProduction

func (o *RunLookParams) WithForceProduction(forceProduction *bool) *RunLookParams

WithForceProduction adds the forceProduction to the run look params

func (o *RunLookParams) WithGenerateDrillLinks(generateDrillLinks *bool) *RunLookParams

WithGenerateDrillLinks adds the generateDrillLinks to the run look params

func (*RunLookParams) WithHTTPClient

func (o *RunLookParams) WithHTTPClient(client *http.Client) *RunLookParams

WithHTTPClient adds the HTTPClient to the run look params

func (*RunLookParams) WithImageHeight

func (o *RunLookParams) WithImageHeight(imageHeight *int64) *RunLookParams

WithImageHeight adds the imageHeight to the run look params

func (*RunLookParams) WithImageWidth

func (o *RunLookParams) WithImageWidth(imageWidth *int64) *RunLookParams

WithImageWidth adds the imageWidth to the run look params

func (*RunLookParams) WithLimit

func (o *RunLookParams) WithLimit(limit *int64) *RunLookParams

WithLimit adds the limit to the run look params

func (*RunLookParams) WithLookID

func (o *RunLookParams) WithLookID(lookID int64) *RunLookParams

WithLookID adds the lookID to the run look params

func (*RunLookParams) WithPathPrefix

func (o *RunLookParams) WithPathPrefix(pathPrefix *string) *RunLookParams

WithPathPrefix adds the pathPrefix to the run look params

func (*RunLookParams) WithRebuildPdts

func (o *RunLookParams) WithRebuildPdts(rebuildPdts *bool) *RunLookParams

WithRebuildPdts adds the rebuildPdts to the run look params

func (*RunLookParams) WithResultFormat

func (o *RunLookParams) WithResultFormat(resultFormat string) *RunLookParams

WithResultFormat adds the resultFormat to the run look params

func (*RunLookParams) WithServerTableCalcs

func (o *RunLookParams) WithServerTableCalcs(serverTableCalcs *bool) *RunLookParams

WithServerTableCalcs adds the serverTableCalcs to the run look params

func (*RunLookParams) WithTimeout

func (o *RunLookParams) WithTimeout(timeout time.Duration) *RunLookParams

WithTimeout adds the timeout to the run look params

func (*RunLookParams) WriteToRequest

func (o *RunLookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RunLookReader

type RunLookReader struct {
	// contains filtered or unexported fields
}

RunLookReader is a Reader for the RunLook structure.

func (*RunLookReader) ReadResponse

func (o *RunLookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RunLookUnprocessableEntity

type RunLookUnprocessableEntity struct {
	Payload *models.ValidationError
}

RunLookUnprocessableEntity handles this case with default header values.

Validation Error

func NewRunLookUnprocessableEntity

func NewRunLookUnprocessableEntity() *RunLookUnprocessableEntity

NewRunLookUnprocessableEntity creates a RunLookUnprocessableEntity with default headers values

func (*RunLookUnprocessableEntity) Error

type SearchLooksBadRequest

type SearchLooksBadRequest struct {
	Payload *models.Error
}

SearchLooksBadRequest handles this case with default header values.

Bad Request

func NewSearchLooksBadRequest

func NewSearchLooksBadRequest() *SearchLooksBadRequest

NewSearchLooksBadRequest creates a SearchLooksBadRequest with default headers values

func (*SearchLooksBadRequest) Error

func (o *SearchLooksBadRequest) Error() string

type SearchLooksNotFound

type SearchLooksNotFound struct {
	Payload *models.Error
}

SearchLooksNotFound handles this case with default header values.

Not Found

func NewSearchLooksNotFound

func NewSearchLooksNotFound() *SearchLooksNotFound

NewSearchLooksNotFound creates a SearchLooksNotFound with default headers values

func (*SearchLooksNotFound) Error

func (o *SearchLooksNotFound) Error() string

type SearchLooksOK

type SearchLooksOK struct {
	Payload []*models.Look
}

SearchLooksOK handles this case with default header values.

looks

func NewSearchLooksOK

func NewSearchLooksOK() *SearchLooksOK

NewSearchLooksOK creates a SearchLooksOK with default headers values

func (*SearchLooksOK) Error

func (o *SearchLooksOK) Error() string

type SearchLooksParams

type SearchLooksParams struct {

	/*ContentFavoriteID
	  Match content favorite id

	*/
	ContentFavoriteID *int64
	/*Description
	  Match Look description.

	*/
	Description *string
	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*Limit
	  Number of results to return. (used with offset and takes priority over page and per_page)

	*/
	Limit *int64
	/*Offset
	  Number of results to skip before returning any. (used with limit and takes priority over page and per_page)

	*/
	Offset *int64
	/*Page
	  Requested page.

	*/
	Page *int64
	/*PerPage
	  Results per page.

	*/
	PerPage *int64
	/*Sorts
	  Fields to sort by.

	*/
	Sorts *string
	/*SpaceID
	  Filter on a particular space.

	*/
	SpaceID *string
	/*Title
	  Match Look title.

	*/
	Title *string
	/*UserID
	  Filter on dashboards created by a particular user.

	*/
	UserID *string
	/*ViewCount
	  Filter on a particular value of view_count

	*/
	ViewCount *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchLooksParams contains all the parameters to send to the API endpoint for the search looks operation typically these are written to a http.Request

func NewSearchLooksParams

func NewSearchLooksParams() *SearchLooksParams

NewSearchLooksParams creates a new SearchLooksParams object with the default values initialized.

func NewSearchLooksParamsWithContext

func NewSearchLooksParamsWithContext(ctx context.Context) *SearchLooksParams

NewSearchLooksParamsWithContext creates a new SearchLooksParams object with the default values initialized, and the ability to set a context for a request

func NewSearchLooksParamsWithHTTPClient

func NewSearchLooksParamsWithHTTPClient(client *http.Client) *SearchLooksParams

NewSearchLooksParamsWithHTTPClient creates a new SearchLooksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSearchLooksParamsWithTimeout

func NewSearchLooksParamsWithTimeout(timeout time.Duration) *SearchLooksParams

NewSearchLooksParamsWithTimeout creates a new SearchLooksParams object with the default values initialized, and the ability to set a timeout on a request

func (*SearchLooksParams) SetContentFavoriteID

func (o *SearchLooksParams) SetContentFavoriteID(contentFavoriteID *int64)

SetContentFavoriteID adds the contentFavoriteId to the search looks params

func (*SearchLooksParams) SetContext

func (o *SearchLooksParams) SetContext(ctx context.Context)

SetContext adds the context to the search looks params

func (*SearchLooksParams) SetDescription

func (o *SearchLooksParams) SetDescription(description *string)

SetDescription adds the description to the search looks params

func (*SearchLooksParams) SetFields

func (o *SearchLooksParams) SetFields(fields *string)

SetFields adds the fields to the search looks params

func (*SearchLooksParams) SetHTTPClient

func (o *SearchLooksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search looks params

func (*SearchLooksParams) SetLimit

func (o *SearchLooksParams) SetLimit(limit *int64)

SetLimit adds the limit to the search looks params

func (*SearchLooksParams) SetOffset

func (o *SearchLooksParams) SetOffset(offset *int64)

SetOffset adds the offset to the search looks params

func (*SearchLooksParams) SetPage

func (o *SearchLooksParams) SetPage(page *int64)

SetPage adds the page to the search looks params

func (*SearchLooksParams) SetPerPage

func (o *SearchLooksParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the search looks params

func (*SearchLooksParams) SetSorts

func (o *SearchLooksParams) SetSorts(sorts *string)

SetSorts adds the sorts to the search looks params

func (*SearchLooksParams) SetSpaceID

func (o *SearchLooksParams) SetSpaceID(spaceID *string)

SetSpaceID adds the spaceId to the search looks params

func (*SearchLooksParams) SetTimeout

func (o *SearchLooksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search looks params

func (*SearchLooksParams) SetTitle

func (o *SearchLooksParams) SetTitle(title *string)

SetTitle adds the title to the search looks params

func (*SearchLooksParams) SetUserID

func (o *SearchLooksParams) SetUserID(userID *string)

SetUserID adds the userId to the search looks params

func (*SearchLooksParams) SetViewCount

func (o *SearchLooksParams) SetViewCount(viewCount *string)

SetViewCount adds the viewCount to the search looks params

func (*SearchLooksParams) WithContentFavoriteID

func (o *SearchLooksParams) WithContentFavoriteID(contentFavoriteID *int64) *SearchLooksParams

WithContentFavoriteID adds the contentFavoriteID to the search looks params

func (*SearchLooksParams) WithContext

func (o *SearchLooksParams) WithContext(ctx context.Context) *SearchLooksParams

WithContext adds the context to the search looks params

func (*SearchLooksParams) WithDescription

func (o *SearchLooksParams) WithDescription(description *string) *SearchLooksParams

WithDescription adds the description to the search looks params

func (*SearchLooksParams) WithFields

func (o *SearchLooksParams) WithFields(fields *string) *SearchLooksParams

WithFields adds the fields to the search looks params

func (*SearchLooksParams) WithHTTPClient

func (o *SearchLooksParams) WithHTTPClient(client *http.Client) *SearchLooksParams

WithHTTPClient adds the HTTPClient to the search looks params

func (*SearchLooksParams) WithLimit

func (o *SearchLooksParams) WithLimit(limit *int64) *SearchLooksParams

WithLimit adds the limit to the search looks params

func (*SearchLooksParams) WithOffset

func (o *SearchLooksParams) WithOffset(offset *int64) *SearchLooksParams

WithOffset adds the offset to the search looks params

func (*SearchLooksParams) WithPage

func (o *SearchLooksParams) WithPage(page *int64) *SearchLooksParams

WithPage adds the page to the search looks params

func (*SearchLooksParams) WithPerPage

func (o *SearchLooksParams) WithPerPage(perPage *int64) *SearchLooksParams

WithPerPage adds the perPage to the search looks params

func (*SearchLooksParams) WithSorts

func (o *SearchLooksParams) WithSorts(sorts *string) *SearchLooksParams

WithSorts adds the sorts to the search looks params

func (*SearchLooksParams) WithSpaceID

func (o *SearchLooksParams) WithSpaceID(spaceID *string) *SearchLooksParams

WithSpaceID adds the spaceID to the search looks params

func (*SearchLooksParams) WithTimeout

func (o *SearchLooksParams) WithTimeout(timeout time.Duration) *SearchLooksParams

WithTimeout adds the timeout to the search looks params

func (*SearchLooksParams) WithTitle

func (o *SearchLooksParams) WithTitle(title *string) *SearchLooksParams

WithTitle adds the title to the search looks params

func (*SearchLooksParams) WithUserID

func (o *SearchLooksParams) WithUserID(userID *string) *SearchLooksParams

WithUserID adds the userID to the search looks params

func (*SearchLooksParams) WithViewCount

func (o *SearchLooksParams) WithViewCount(viewCount *string) *SearchLooksParams

WithViewCount adds the viewCount to the search looks params

func (*SearchLooksParams) WriteToRequest

func (o *SearchLooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchLooksReader

type SearchLooksReader struct {
	// contains filtered or unexported fields
}

SearchLooksReader is a Reader for the SearchLooks structure.

func (*SearchLooksReader) ReadResponse

func (o *SearchLooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateLookBadRequest

type UpdateLookBadRequest struct {
	Payload *models.Error
}

UpdateLookBadRequest handles this case with default header values.

Bad Request

func NewUpdateLookBadRequest

func NewUpdateLookBadRequest() *UpdateLookBadRequest

NewUpdateLookBadRequest creates a UpdateLookBadRequest with default headers values

func (*UpdateLookBadRequest) Error

func (o *UpdateLookBadRequest) Error() string

type UpdateLookNotFound

type UpdateLookNotFound struct {
	Payload *models.Error
}

UpdateLookNotFound handles this case with default header values.

Not Found

func NewUpdateLookNotFound

func NewUpdateLookNotFound() *UpdateLookNotFound

NewUpdateLookNotFound creates a UpdateLookNotFound with default headers values

func (*UpdateLookNotFound) Error

func (o *UpdateLookNotFound) Error() string

type UpdateLookOK

type UpdateLookOK struct {
	Payload *models.LookWithQuery
}

UpdateLookOK handles this case with default header values.

Look

func NewUpdateLookOK

func NewUpdateLookOK() *UpdateLookOK

NewUpdateLookOK creates a UpdateLookOK with default headers values

func (*UpdateLookOK) Error

func (o *UpdateLookOK) Error() string

type UpdateLookParams

type UpdateLookParams struct {

	/*Body
	  Look

	*/
	Body *models.LookWithQuery
	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*LookID
	  Id of look

	*/
	LookID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateLookParams contains all the parameters to send to the API endpoint for the update look operation typically these are written to a http.Request

func NewUpdateLookParams

func NewUpdateLookParams() *UpdateLookParams

NewUpdateLookParams creates a new UpdateLookParams object with the default values initialized.

func NewUpdateLookParamsWithContext

func NewUpdateLookParamsWithContext(ctx context.Context) *UpdateLookParams

NewUpdateLookParamsWithContext creates a new UpdateLookParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateLookParamsWithHTTPClient

func NewUpdateLookParamsWithHTTPClient(client *http.Client) *UpdateLookParams

NewUpdateLookParamsWithHTTPClient creates a new UpdateLookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateLookParamsWithTimeout

func NewUpdateLookParamsWithTimeout(timeout time.Duration) *UpdateLookParams

NewUpdateLookParamsWithTimeout creates a new UpdateLookParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateLookParams) SetBody

func (o *UpdateLookParams) SetBody(body *models.LookWithQuery)

SetBody adds the body to the update look params

func (*UpdateLookParams) SetContext

func (o *UpdateLookParams) SetContext(ctx context.Context)

SetContext adds the context to the update look params

func (*UpdateLookParams) SetFields

func (o *UpdateLookParams) SetFields(fields *string)

SetFields adds the fields to the update look params

func (*UpdateLookParams) SetHTTPClient

func (o *UpdateLookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update look params

func (*UpdateLookParams) SetLookID

func (o *UpdateLookParams) SetLookID(lookID int64)

SetLookID adds the lookId to the update look params

func (*UpdateLookParams) SetTimeout

func (o *UpdateLookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update look params

func (*UpdateLookParams) WithBody

WithBody adds the body to the update look params

func (*UpdateLookParams) WithContext

func (o *UpdateLookParams) WithContext(ctx context.Context) *UpdateLookParams

WithContext adds the context to the update look params

func (*UpdateLookParams) WithFields

func (o *UpdateLookParams) WithFields(fields *string) *UpdateLookParams

WithFields adds the fields to the update look params

func (*UpdateLookParams) WithHTTPClient

func (o *UpdateLookParams) WithHTTPClient(client *http.Client) *UpdateLookParams

WithHTTPClient adds the HTTPClient to the update look params

func (*UpdateLookParams) WithLookID

func (o *UpdateLookParams) WithLookID(lookID int64) *UpdateLookParams

WithLookID adds the lookID to the update look params

func (*UpdateLookParams) WithTimeout

func (o *UpdateLookParams) WithTimeout(timeout time.Duration) *UpdateLookParams

WithTimeout adds the timeout to the update look params

func (*UpdateLookParams) WriteToRequest

func (o *UpdateLookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateLookReader

type UpdateLookReader struct {
	// contains filtered or unexported fields
}

UpdateLookReader is a Reader for the UpdateLook structure.

func (*UpdateLookReader) ReadResponse

func (o *UpdateLookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateLookUnprocessableEntity

type UpdateLookUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateLookUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateLookUnprocessableEntity

func NewUpdateLookUnprocessableEntity() *UpdateLookUnprocessableEntity

NewUpdateLookUnprocessableEntity creates a UpdateLookUnprocessableEntity with default headers values

func (*UpdateLookUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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