lookml_model

package
v0.0.0-...-9dad3f6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllLookmlModelsBadRequest

type AllLookmlModelsBadRequest struct {
	Payload *models.Error
}

AllLookmlModelsBadRequest handles this case with default header values.

Bad Request

func NewAllLookmlModelsBadRequest

func NewAllLookmlModelsBadRequest() *AllLookmlModelsBadRequest

NewAllLookmlModelsBadRequest creates a AllLookmlModelsBadRequest with default headers values

func (*AllLookmlModelsBadRequest) Error

func (o *AllLookmlModelsBadRequest) Error() string

func (*AllLookmlModelsBadRequest) GetPayload

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

type AllLookmlModelsNotFound

type AllLookmlModelsNotFound struct {
	Payload *models.Error
}

AllLookmlModelsNotFound handles this case with default header values.

Not Found

func NewAllLookmlModelsNotFound

func NewAllLookmlModelsNotFound() *AllLookmlModelsNotFound

NewAllLookmlModelsNotFound creates a AllLookmlModelsNotFound with default headers values

func (*AllLookmlModelsNotFound) Error

func (o *AllLookmlModelsNotFound) Error() string

func (*AllLookmlModelsNotFound) GetPayload

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

type AllLookmlModelsOK

type AllLookmlModelsOK struct {
	Payload []*models.LookmlModel
}

AllLookmlModelsOK handles this case with default header values.

LookML Model

func NewAllLookmlModelsOK

func NewAllLookmlModelsOK() *AllLookmlModelsOK

NewAllLookmlModelsOK creates a AllLookmlModelsOK with default headers values

func (*AllLookmlModelsOK) Error

func (o *AllLookmlModelsOK) Error() string

func (*AllLookmlModelsOK) GetPayload

func (o *AllLookmlModelsOK) GetPayload() []*models.LookmlModel

type AllLookmlModelsParams

type AllLookmlModelsParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string

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

AllLookmlModelsParams contains all the parameters to send to the API endpoint for the all lookml models operation typically these are written to a http.Request

func NewAllLookmlModelsParams

func NewAllLookmlModelsParams() *AllLookmlModelsParams

NewAllLookmlModelsParams creates a new AllLookmlModelsParams object with the default values initialized.

func NewAllLookmlModelsParamsWithContext

func NewAllLookmlModelsParamsWithContext(ctx context.Context) *AllLookmlModelsParams

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

func NewAllLookmlModelsParamsWithHTTPClient

func NewAllLookmlModelsParamsWithHTTPClient(client *http.Client) *AllLookmlModelsParams

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

func NewAllLookmlModelsParamsWithTimeout

func NewAllLookmlModelsParamsWithTimeout(timeout time.Duration) *AllLookmlModelsParams

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

func (*AllLookmlModelsParams) SetContext

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

SetContext adds the context to the all lookml models params

func (*AllLookmlModelsParams) SetFields

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

SetFields adds the fields to the all lookml models params

func (*AllLookmlModelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all lookml models params

func (*AllLookmlModelsParams) SetTimeout

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

SetTimeout adds the timeout to the all lookml models params

func (*AllLookmlModelsParams) WithContext

WithContext adds the context to the all lookml models params

func (*AllLookmlModelsParams) WithFields

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

WithFields adds the fields to the all lookml models params

func (*AllLookmlModelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all lookml models params

func (*AllLookmlModelsParams) WithTimeout

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

WithTimeout adds the timeout to the all lookml models params

func (*AllLookmlModelsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllLookmlModelsReader

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

AllLookmlModelsReader is a Reader for the AllLookmlModels structure.

func (*AllLookmlModelsReader) ReadResponse

func (o *AllLookmlModelsReader) 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 lookml model API

func New

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

New creates a new lookml model API client.

func (*Client) AllLookmlModels

func (a *Client) AllLookmlModels(params *AllLookmlModelsParams) (*AllLookmlModelsOK, error)

AllLookmlModels gets all look m l models

### Get information about all lookml models.

func (*Client) CreateLookmlModel

func (a *Client) CreateLookmlModel(params *CreateLookmlModelParams) (*CreateLookmlModelOK, error)

CreateLookmlModel creates look m l model

### Create a lookml model using the specified configuration.

func (*Client) DeleteLookmlModel

func (a *Client) DeleteLookmlModel(params *DeleteLookmlModelParams) (*DeleteLookmlModelNoContent, error)

DeleteLookmlModel deletes look m l model

### Delete a lookml model.

func (*Client) LookmlModel

func (a *Client) LookmlModel(params *LookmlModelParams) (*LookmlModelOK, error)

LookmlModel gets look m l model

### Get information about a lookml model.

func (*Client) LookmlModelExplore

func (a *Client) LookmlModelExplore(params *LookmlModelExploreParams) (*LookmlModelExploreOK, error)

LookmlModelExplore gets look m l model explore

### Get information about a lookml model explore.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLookmlModel

func (a *Client) UpdateLookmlModel(params *UpdateLookmlModelParams) (*UpdateLookmlModelOK, error)

UpdateLookmlModel updates look m l model

### Update a lookml model using the specified configuration.

type CreateLookmlModelBadRequest

type CreateLookmlModelBadRequest struct {
	Payload *models.Error
}

CreateLookmlModelBadRequest handles this case with default header values.

Bad Request

func NewCreateLookmlModelBadRequest

func NewCreateLookmlModelBadRequest() *CreateLookmlModelBadRequest

NewCreateLookmlModelBadRequest creates a CreateLookmlModelBadRequest with default headers values

func (*CreateLookmlModelBadRequest) Error

func (*CreateLookmlModelBadRequest) GetPayload

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

type CreateLookmlModelConflict

type CreateLookmlModelConflict struct {
	Payload *models.Error
}

CreateLookmlModelConflict handles this case with default header values.

Resource Already Exists

func NewCreateLookmlModelConflict

func NewCreateLookmlModelConflict() *CreateLookmlModelConflict

NewCreateLookmlModelConflict creates a CreateLookmlModelConflict with default headers values

func (*CreateLookmlModelConflict) Error

func (o *CreateLookmlModelConflict) Error() string

func (*CreateLookmlModelConflict) GetPayload

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

type CreateLookmlModelNotFound

type CreateLookmlModelNotFound struct {
	Payload *models.Error
}

CreateLookmlModelNotFound handles this case with default header values.

Not Found

func NewCreateLookmlModelNotFound

func NewCreateLookmlModelNotFound() *CreateLookmlModelNotFound

NewCreateLookmlModelNotFound creates a CreateLookmlModelNotFound with default headers values

func (*CreateLookmlModelNotFound) Error

func (o *CreateLookmlModelNotFound) Error() string

func (*CreateLookmlModelNotFound) GetPayload

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

type CreateLookmlModelOK

type CreateLookmlModelOK struct {
	Payload *models.LookmlModel
}

CreateLookmlModelOK handles this case with default header values.

LookML Model

func NewCreateLookmlModelOK

func NewCreateLookmlModelOK() *CreateLookmlModelOK

NewCreateLookmlModelOK creates a CreateLookmlModelOK with default headers values

func (*CreateLookmlModelOK) Error

func (o *CreateLookmlModelOK) Error() string

func (*CreateLookmlModelOK) GetPayload

func (o *CreateLookmlModelOK) GetPayload() *models.LookmlModel

type CreateLookmlModelParams

type CreateLookmlModelParams struct {

	/*Body
	  LookML Model

	*/
	Body *models.LookmlModel

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

CreateLookmlModelParams contains all the parameters to send to the API endpoint for the create lookml model operation typically these are written to a http.Request

func NewCreateLookmlModelParams

func NewCreateLookmlModelParams() *CreateLookmlModelParams

NewCreateLookmlModelParams creates a new CreateLookmlModelParams object with the default values initialized.

func NewCreateLookmlModelParamsWithContext

func NewCreateLookmlModelParamsWithContext(ctx context.Context) *CreateLookmlModelParams

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

func NewCreateLookmlModelParamsWithHTTPClient

func NewCreateLookmlModelParamsWithHTTPClient(client *http.Client) *CreateLookmlModelParams

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

func NewCreateLookmlModelParamsWithTimeout

func NewCreateLookmlModelParamsWithTimeout(timeout time.Duration) *CreateLookmlModelParams

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

func (*CreateLookmlModelParams) SetBody

func (o *CreateLookmlModelParams) SetBody(body *models.LookmlModel)

SetBody adds the body to the create lookml model params

func (*CreateLookmlModelParams) SetContext

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

SetContext adds the context to the create lookml model params

func (*CreateLookmlModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create lookml model params

func (*CreateLookmlModelParams) SetTimeout

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

SetTimeout adds the timeout to the create lookml model params

func (*CreateLookmlModelParams) WithBody

WithBody adds the body to the create lookml model params

func (*CreateLookmlModelParams) WithContext

WithContext adds the context to the create lookml model params

func (*CreateLookmlModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create lookml model params

func (*CreateLookmlModelParams) WithTimeout

WithTimeout adds the timeout to the create lookml model params

func (*CreateLookmlModelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLookmlModelReader

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

CreateLookmlModelReader is a Reader for the CreateLookmlModel structure.

func (*CreateLookmlModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateLookmlModelUnprocessableEntity

type CreateLookmlModelUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateLookmlModelUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateLookmlModelUnprocessableEntity

func NewCreateLookmlModelUnprocessableEntity() *CreateLookmlModelUnprocessableEntity

NewCreateLookmlModelUnprocessableEntity creates a CreateLookmlModelUnprocessableEntity with default headers values

func (*CreateLookmlModelUnprocessableEntity) Error

func (*CreateLookmlModelUnprocessableEntity) GetPayload

type DeleteLookmlModelBadRequest

type DeleteLookmlModelBadRequest struct {
	Payload *models.Error
}

DeleteLookmlModelBadRequest handles this case with default header values.

Bad Request

func NewDeleteLookmlModelBadRequest

func NewDeleteLookmlModelBadRequest() *DeleteLookmlModelBadRequest

NewDeleteLookmlModelBadRequest creates a DeleteLookmlModelBadRequest with default headers values

func (*DeleteLookmlModelBadRequest) Error

func (*DeleteLookmlModelBadRequest) GetPayload

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

type DeleteLookmlModelNoContent

type DeleteLookmlModelNoContent struct {
	Payload string
}

DeleteLookmlModelNoContent handles this case with default header values.

Successfully deleted.

func NewDeleteLookmlModelNoContent

func NewDeleteLookmlModelNoContent() *DeleteLookmlModelNoContent

NewDeleteLookmlModelNoContent creates a DeleteLookmlModelNoContent with default headers values

func (*DeleteLookmlModelNoContent) Error

func (*DeleteLookmlModelNoContent) GetPayload

func (o *DeleteLookmlModelNoContent) GetPayload() string

type DeleteLookmlModelNotFound

type DeleteLookmlModelNotFound struct {
	Payload *models.Error
}

DeleteLookmlModelNotFound handles this case with default header values.

Not Found

func NewDeleteLookmlModelNotFound

func NewDeleteLookmlModelNotFound() *DeleteLookmlModelNotFound

NewDeleteLookmlModelNotFound creates a DeleteLookmlModelNotFound with default headers values

func (*DeleteLookmlModelNotFound) Error

func (o *DeleteLookmlModelNotFound) Error() string

func (*DeleteLookmlModelNotFound) GetPayload

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

type DeleteLookmlModelParams

type DeleteLookmlModelParams struct {

	/*LookmlModelName
	  Name of lookml model.

	*/
	LookmlModelName string

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

DeleteLookmlModelParams contains all the parameters to send to the API endpoint for the delete lookml model operation typically these are written to a http.Request

func NewDeleteLookmlModelParams

func NewDeleteLookmlModelParams() *DeleteLookmlModelParams

NewDeleteLookmlModelParams creates a new DeleteLookmlModelParams object with the default values initialized.

func NewDeleteLookmlModelParamsWithContext

func NewDeleteLookmlModelParamsWithContext(ctx context.Context) *DeleteLookmlModelParams

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

func NewDeleteLookmlModelParamsWithHTTPClient

func NewDeleteLookmlModelParamsWithHTTPClient(client *http.Client) *DeleteLookmlModelParams

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

func NewDeleteLookmlModelParamsWithTimeout

func NewDeleteLookmlModelParamsWithTimeout(timeout time.Duration) *DeleteLookmlModelParams

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

func (*DeleteLookmlModelParams) SetContext

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

SetContext adds the context to the delete lookml model params

func (*DeleteLookmlModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete lookml model params

func (*DeleteLookmlModelParams) SetLookmlModelName

func (o *DeleteLookmlModelParams) SetLookmlModelName(lookmlModelName string)

SetLookmlModelName adds the lookmlModelName to the delete lookml model params

func (*DeleteLookmlModelParams) SetTimeout

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

SetTimeout adds the timeout to the delete lookml model params

func (*DeleteLookmlModelParams) WithContext

WithContext adds the context to the delete lookml model params

func (*DeleteLookmlModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete lookml model params

func (*DeleteLookmlModelParams) WithLookmlModelName

func (o *DeleteLookmlModelParams) WithLookmlModelName(lookmlModelName string) *DeleteLookmlModelParams

WithLookmlModelName adds the lookmlModelName to the delete lookml model params

func (*DeleteLookmlModelParams) WithTimeout

WithTimeout adds the timeout to the delete lookml model params

func (*DeleteLookmlModelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLookmlModelReader

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

DeleteLookmlModelReader is a Reader for the DeleteLookmlModel structure.

func (*DeleteLookmlModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LookmlModelBadRequest

type LookmlModelBadRequest struct {
	Payload *models.Error
}

LookmlModelBadRequest handles this case with default header values.

Bad Request

func NewLookmlModelBadRequest

func NewLookmlModelBadRequest() *LookmlModelBadRequest

NewLookmlModelBadRequest creates a LookmlModelBadRequest with default headers values

func (*LookmlModelBadRequest) Error

func (o *LookmlModelBadRequest) Error() string

func (*LookmlModelBadRequest) GetPayload

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

type LookmlModelExploreBadRequest

type LookmlModelExploreBadRequest struct {
	Payload *models.Error
}

LookmlModelExploreBadRequest handles this case with default header values.

Bad Request

func NewLookmlModelExploreBadRequest

func NewLookmlModelExploreBadRequest() *LookmlModelExploreBadRequest

NewLookmlModelExploreBadRequest creates a LookmlModelExploreBadRequest with default headers values

func (*LookmlModelExploreBadRequest) Error

func (*LookmlModelExploreBadRequest) GetPayload

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

type LookmlModelExploreNotFound

type LookmlModelExploreNotFound struct {
	Payload *models.Error
}

LookmlModelExploreNotFound handles this case with default header values.

Not Found

func NewLookmlModelExploreNotFound

func NewLookmlModelExploreNotFound() *LookmlModelExploreNotFound

NewLookmlModelExploreNotFound creates a LookmlModelExploreNotFound with default headers values

func (*LookmlModelExploreNotFound) Error

func (*LookmlModelExploreNotFound) GetPayload

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

type LookmlModelExploreOK

type LookmlModelExploreOK struct {
	Payload *models.LookmlModelExplore
}

LookmlModelExploreOK handles this case with default header values.

LookML Model Explore

func NewLookmlModelExploreOK

func NewLookmlModelExploreOK() *LookmlModelExploreOK

NewLookmlModelExploreOK creates a LookmlModelExploreOK with default headers values

func (*LookmlModelExploreOK) Error

func (o *LookmlModelExploreOK) Error() string

func (*LookmlModelExploreOK) GetPayload

type LookmlModelExploreParams

type LookmlModelExploreParams struct {

	/*ExploreName
	  Name of explore.

	*/
	ExploreName string
	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*LookmlModelName
	  Name of lookml model.

	*/
	LookmlModelName string

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

LookmlModelExploreParams contains all the parameters to send to the API endpoint for the lookml model explore operation typically these are written to a http.Request

func NewLookmlModelExploreParams

func NewLookmlModelExploreParams() *LookmlModelExploreParams

NewLookmlModelExploreParams creates a new LookmlModelExploreParams object with the default values initialized.

func NewLookmlModelExploreParamsWithContext

func NewLookmlModelExploreParamsWithContext(ctx context.Context) *LookmlModelExploreParams

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

func NewLookmlModelExploreParamsWithHTTPClient

func NewLookmlModelExploreParamsWithHTTPClient(client *http.Client) *LookmlModelExploreParams

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

func NewLookmlModelExploreParamsWithTimeout

func NewLookmlModelExploreParamsWithTimeout(timeout time.Duration) *LookmlModelExploreParams

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

func (*LookmlModelExploreParams) SetContext

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

SetContext adds the context to the lookml model explore params

func (*LookmlModelExploreParams) SetExploreName

func (o *LookmlModelExploreParams) SetExploreName(exploreName string)

SetExploreName adds the exploreName to the lookml model explore params

func (*LookmlModelExploreParams) SetFields

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

SetFields adds the fields to the lookml model explore params

func (*LookmlModelExploreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lookml model explore params

func (*LookmlModelExploreParams) SetLookmlModelName

func (o *LookmlModelExploreParams) SetLookmlModelName(lookmlModelName string)

SetLookmlModelName adds the lookmlModelName to the lookml model explore params

func (*LookmlModelExploreParams) SetTimeout

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

SetTimeout adds the timeout to the lookml model explore params

func (*LookmlModelExploreParams) WithContext

WithContext adds the context to the lookml model explore params

func (*LookmlModelExploreParams) WithExploreName

func (o *LookmlModelExploreParams) WithExploreName(exploreName string) *LookmlModelExploreParams

WithExploreName adds the exploreName to the lookml model explore params

func (*LookmlModelExploreParams) WithFields

WithFields adds the fields to the lookml model explore params

func (*LookmlModelExploreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lookml model explore params

func (*LookmlModelExploreParams) WithLookmlModelName

func (o *LookmlModelExploreParams) WithLookmlModelName(lookmlModelName string) *LookmlModelExploreParams

WithLookmlModelName adds the lookmlModelName to the lookml model explore params

func (*LookmlModelExploreParams) WithTimeout

WithTimeout adds the timeout to the lookml model explore params

func (*LookmlModelExploreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LookmlModelExploreReader

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

LookmlModelExploreReader is a Reader for the LookmlModelExplore structure.

func (*LookmlModelExploreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LookmlModelNotFound

type LookmlModelNotFound struct {
	Payload *models.Error
}

LookmlModelNotFound handles this case with default header values.

Not Found

func NewLookmlModelNotFound

func NewLookmlModelNotFound() *LookmlModelNotFound

NewLookmlModelNotFound creates a LookmlModelNotFound with default headers values

func (*LookmlModelNotFound) Error

func (o *LookmlModelNotFound) Error() string

func (*LookmlModelNotFound) GetPayload

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

type LookmlModelOK

type LookmlModelOK struct {
	Payload *models.LookmlModel
}

LookmlModelOK handles this case with default header values.

LookML Model

func NewLookmlModelOK

func NewLookmlModelOK() *LookmlModelOK

NewLookmlModelOK creates a LookmlModelOK with default headers values

func (*LookmlModelOK) Error

func (o *LookmlModelOK) Error() string

func (*LookmlModelOK) GetPayload

func (o *LookmlModelOK) GetPayload() *models.LookmlModel

type LookmlModelParams

type LookmlModelParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*LookmlModelName
	  Name of lookml model.

	*/
	LookmlModelName string

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

LookmlModelParams contains all the parameters to send to the API endpoint for the lookml model operation typically these are written to a http.Request

func NewLookmlModelParams

func NewLookmlModelParams() *LookmlModelParams

NewLookmlModelParams creates a new LookmlModelParams object with the default values initialized.

func NewLookmlModelParamsWithContext

func NewLookmlModelParamsWithContext(ctx context.Context) *LookmlModelParams

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

func NewLookmlModelParamsWithHTTPClient

func NewLookmlModelParamsWithHTTPClient(client *http.Client) *LookmlModelParams

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

func NewLookmlModelParamsWithTimeout

func NewLookmlModelParamsWithTimeout(timeout time.Duration) *LookmlModelParams

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

func (*LookmlModelParams) SetContext

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

SetContext adds the context to the lookml model params

func (*LookmlModelParams) SetFields

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

SetFields adds the fields to the lookml model params

func (*LookmlModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lookml model params

func (*LookmlModelParams) SetLookmlModelName

func (o *LookmlModelParams) SetLookmlModelName(lookmlModelName string)

SetLookmlModelName adds the lookmlModelName to the lookml model params

func (*LookmlModelParams) SetTimeout

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

SetTimeout adds the timeout to the lookml model params

func (*LookmlModelParams) WithContext

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

WithContext adds the context to the lookml model params

func (*LookmlModelParams) WithFields

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

WithFields adds the fields to the lookml model params

func (*LookmlModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lookml model params

func (*LookmlModelParams) WithLookmlModelName

func (o *LookmlModelParams) WithLookmlModelName(lookmlModelName string) *LookmlModelParams

WithLookmlModelName adds the lookmlModelName to the lookml model params

func (*LookmlModelParams) WithTimeout

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

WithTimeout adds the timeout to the lookml model params

func (*LookmlModelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LookmlModelReader

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

LookmlModelReader is a Reader for the LookmlModel structure.

func (*LookmlModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLookmlModelBadRequest

type UpdateLookmlModelBadRequest struct {
	Payload *models.Error
}

UpdateLookmlModelBadRequest handles this case with default header values.

Bad Request

func NewUpdateLookmlModelBadRequest

func NewUpdateLookmlModelBadRequest() *UpdateLookmlModelBadRequest

NewUpdateLookmlModelBadRequest creates a UpdateLookmlModelBadRequest with default headers values

func (*UpdateLookmlModelBadRequest) Error

func (*UpdateLookmlModelBadRequest) GetPayload

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

type UpdateLookmlModelNotFound

type UpdateLookmlModelNotFound struct {
	Payload *models.Error
}

UpdateLookmlModelNotFound handles this case with default header values.

Not Found

func NewUpdateLookmlModelNotFound

func NewUpdateLookmlModelNotFound() *UpdateLookmlModelNotFound

NewUpdateLookmlModelNotFound creates a UpdateLookmlModelNotFound with default headers values

func (*UpdateLookmlModelNotFound) Error

func (o *UpdateLookmlModelNotFound) Error() string

func (*UpdateLookmlModelNotFound) GetPayload

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

type UpdateLookmlModelOK

type UpdateLookmlModelOK struct {
	Payload *models.LookmlModel
}

UpdateLookmlModelOK handles this case with default header values.

LookML Model

func NewUpdateLookmlModelOK

func NewUpdateLookmlModelOK() *UpdateLookmlModelOK

NewUpdateLookmlModelOK creates a UpdateLookmlModelOK with default headers values

func (*UpdateLookmlModelOK) Error

func (o *UpdateLookmlModelOK) Error() string

func (*UpdateLookmlModelOK) GetPayload

func (o *UpdateLookmlModelOK) GetPayload() *models.LookmlModel

type UpdateLookmlModelParams

type UpdateLookmlModelParams struct {

	/*Body
	  LookML Model

	*/
	Body *models.LookmlModel
	/*LookmlModelName
	  Name of lookml model.

	*/
	LookmlModelName string

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

UpdateLookmlModelParams contains all the parameters to send to the API endpoint for the update lookml model operation typically these are written to a http.Request

func NewUpdateLookmlModelParams

func NewUpdateLookmlModelParams() *UpdateLookmlModelParams

NewUpdateLookmlModelParams creates a new UpdateLookmlModelParams object with the default values initialized.

func NewUpdateLookmlModelParamsWithContext

func NewUpdateLookmlModelParamsWithContext(ctx context.Context) *UpdateLookmlModelParams

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

func NewUpdateLookmlModelParamsWithHTTPClient

func NewUpdateLookmlModelParamsWithHTTPClient(client *http.Client) *UpdateLookmlModelParams

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

func NewUpdateLookmlModelParamsWithTimeout

func NewUpdateLookmlModelParamsWithTimeout(timeout time.Duration) *UpdateLookmlModelParams

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

func (*UpdateLookmlModelParams) SetBody

func (o *UpdateLookmlModelParams) SetBody(body *models.LookmlModel)

SetBody adds the body to the update lookml model params

func (*UpdateLookmlModelParams) SetContext

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

SetContext adds the context to the update lookml model params

func (*UpdateLookmlModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update lookml model params

func (*UpdateLookmlModelParams) SetLookmlModelName

func (o *UpdateLookmlModelParams) SetLookmlModelName(lookmlModelName string)

SetLookmlModelName adds the lookmlModelName to the update lookml model params

func (*UpdateLookmlModelParams) SetTimeout

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

SetTimeout adds the timeout to the update lookml model params

func (*UpdateLookmlModelParams) WithBody

WithBody adds the body to the update lookml model params

func (*UpdateLookmlModelParams) WithContext

WithContext adds the context to the update lookml model params

func (*UpdateLookmlModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update lookml model params

func (*UpdateLookmlModelParams) WithLookmlModelName

func (o *UpdateLookmlModelParams) WithLookmlModelName(lookmlModelName string) *UpdateLookmlModelParams

WithLookmlModelName adds the lookmlModelName to the update lookml model params

func (*UpdateLookmlModelParams) WithTimeout

WithTimeout adds the timeout to the update lookml model params

func (*UpdateLookmlModelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLookmlModelReader

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

UpdateLookmlModelReader is a Reader for the UpdateLookmlModel structure.

func (*UpdateLookmlModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLookmlModelUnprocessableEntity

type UpdateLookmlModelUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateLookmlModelUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateLookmlModelUnprocessableEntity

func NewUpdateLookmlModelUnprocessableEntity() *UpdateLookmlModelUnprocessableEntity

NewUpdateLookmlModelUnprocessableEntity creates a UpdateLookmlModelUnprocessableEntity with default headers values

func (*UpdateLookmlModelUnprocessableEntity) Error

func (*UpdateLookmlModelUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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