models

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

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APISession

type APISession struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// The id of the actual user in the case when this session represents one user sudo'ing as another
	// Read Only: true
	SudoUserID int64 `json:"sudo_user_id,omitempty"`

	// The id of active workspace for this session
	WorkspaceID string `json:"workspace_id,omitempty"`
}

APISession Api session

swagger:model ApiSession

func (*APISession) ContextValidate

func (m *APISession) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api session based on the context it is used

func (*APISession) MarshalBinary

func (m *APISession) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APISession) UnmarshalBinary

func (m *APISession) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APISession) Validate

func (m *APISession) Validate(formats strfmt.Registry) error

Validate validates this Api session

type APIVersion

type APIVersion struct {

	// API server base url
	// Read Only: true
	APIServerURL string `json:"api_server_url,omitempty"`

	// Current version for this Looker instance
	// Read Only: true
	CurrentVersion *APIVersionElement `json:"current_version,omitempty"`

	// Current Looker release version number
	// Read Only: true
	LookerReleaseVersion string `json:"looker_release_version,omitempty"`

	// Array of versions supported by this Looker instance
	// Read Only: true
	SupportedVersions []*APIVersionElement `json:"supported_versions"`
}

APIVersion Api version

swagger:model ApiVersion

func (*APIVersion) ContextValidate

func (m *APIVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api version based on the context it is used

func (*APIVersion) MarshalBinary

func (m *APIVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIVersion) UnmarshalBinary

func (m *APIVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIVersion) Validate

func (m *APIVersion) Validate(formats strfmt.Registry) error

Validate validates this Api version

type APIVersionElement

type APIVersionElement struct {

	// Full version number including minor version
	// Read Only: true
	FullVersion string `json:"full_version,omitempty"`

	// Status of this version
	// Read Only: true
	Status string `json:"status,omitempty"`

	// Url for swagger.json for this version
	// Read Only: true
	// Format: uri
	SwaggerURL strfmt.URI `json:"swagger_url,omitempty"`

	// Version number as it appears in '/api/xxx/' urls
	// Read Only: true
	Version string `json:"version,omitempty"`
}

APIVersionElement Api version element

swagger:model ApiVersionElement

func (*APIVersionElement) ContextValidate

func (m *APIVersionElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api version element based on the context it is used

func (*APIVersionElement) MarshalBinary

func (m *APIVersionElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIVersionElement) UnmarshalBinary

func (m *APIVersionElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIVersionElement) Validate

func (m *APIVersionElement) Validate(formats strfmt.Registry) error

Validate validates this Api version element

type AccessFilter

type AccessFilter struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Field to which this filter applies
	Field string `json:"field,omitempty"`

	// ID of this AccessFilter
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Model to which this filter applies
	Model string `json:"model,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Value for this filter
	Value string `json:"value,omitempty"`
}

AccessFilter access filter swagger:model AccessFilter

func (*AccessFilter) MarshalBinary

func (m *AccessFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessFilter) UnmarshalBinary

func (m *AccessFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessFilter) Validate

func (m *AccessFilter) Validate(formats strfmt.Registry) error

Validate validates this access filter

type AccessToken

type AccessToken struct {

	// Access Token used for API calls
	// Read Only: true
	AccessToken string `json:"access_token,omitempty"`

	// Number of seconds before the token expires
	// Read Only: true
	ExpiresIn int64 `json:"expires_in,omitempty"`

	// Type of Token
	// Read Only: true
	TokenType string `json:"token_type,omitempty"`
}

AccessToken access token

swagger:model AccessToken

func (*AccessToken) ContextValidate

func (m *AccessToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this access token based on the context it is used

func (*AccessToken) MarshalBinary

func (m *AccessToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessToken) UnmarshalBinary

func (m *AccessToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessToken) Validate

func (m *AccessToken) Validate(formats strfmt.Registry) error

Validate validates this access token

type BackupConfiguration

type BackupConfiguration struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Name of bucket for custom-s3 backups
	CustomS3Bucket string `json:"custom_s3_bucket,omitempty"`

	// Name of region where the bucket is located
	CustomS3BucketRegion string `json:"custom_s3_bucket_region,omitempty"`

	// (Write-Only) AWS S3 key used for custom-s3 backups
	CustomS3Key string `json:"custom_s3_key,omitempty"`

	// (Write-Only) AWS S3 secret used for custom-s3 backups
	CustomS3Secret string `json:"custom_s3_secret,omitempty"`

	// Type of backup: looker-s3 or custom-s3
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

BackupConfiguration backup configuration

swagger:model BackupConfiguration

func (*BackupConfiguration) ContextValidate

func (m *BackupConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this backup configuration based on the context it is used

func (*BackupConfiguration) MarshalBinary

func (m *BackupConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupConfiguration) UnmarshalBinary

func (m *BackupConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupConfiguration) Validate

func (m *BackupConfiguration) Validate(formats strfmt.Registry) error

Validate validates this backup configuration

type ColorCollection

type ColorCollection struct {

	// Array of categorical palette definitions
	CategoricalPalettes []*DiscretePalette `json:"categoricalPalettes"`

	// Array of diverging palette definitions
	DivergingPalettes []*ContinuousPalette `json:"divergingPalettes"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Label of color collection
	Label string `json:"label,omitempty"`

	// Array of discrete palette definitions
	SequentialPalettes []*ContinuousPalette `json:"sequentialPalettes"`
}

ColorCollection color collection

swagger:model ColorCollection

func (*ColorCollection) ContextValidate

func (m *ColorCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this color collection based on the context it is used

func (*ColorCollection) MarshalBinary

func (m *ColorCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ColorCollection) UnmarshalBinary

func (m *ColorCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ColorCollection) Validate

func (m *ColorCollection) Validate(formats strfmt.Registry) error

Validate validates this color collection

type ColorStop

type ColorStop struct {

	// CSS color string
	Color string `json:"color,omitempty"`

	// Offset in continuous palette (0 to 100)
	Offset int64 `json:"offset,omitempty"`
}

ColorStop color stop

swagger:model ColorStop

func (*ColorStop) ContextValidate

func (m *ColorStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this color stop based on context it is used

func (*ColorStop) MarshalBinary

func (m *ColorStop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ColorStop) UnmarshalBinary

func (m *ColorStop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ColorStop) Validate

func (m *ColorStop) Validate(formats strfmt.Registry) error

Validate validates this color stop

type ContentFavorite

type ContentFavorite struct {

	// Content Metadata Id associated with this ContentFavorite
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Associated Dashboard
	// Read Only: true
	Dashboard *DashboardBase `json:"dashboard,omitempty"`

	// Id of a dashboard
	// Read Only: true
	DashboardID int64 `json:"dashboard_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Associated Look
	// Read Only: true
	Look *LookBasic `json:"look,omitempty"`

	// Id of a look
	// Read Only: true
	LookID int64 `json:"look_id,omitempty"`

	// User Id which owns this ContentFavorite
	UserID int64 `json:"user_id,omitempty"`
}

ContentFavorite content favorite

swagger:model ContentFavorite

func (*ContentFavorite) ContextValidate

func (m *ContentFavorite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content favorite based on the context it is used

func (*ContentFavorite) MarshalBinary

func (m *ContentFavorite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentFavorite) UnmarshalBinary

func (m *ContentFavorite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentFavorite) Validate

func (m *ContentFavorite) Validate(formats strfmt.Registry) error

Validate validates this content favorite

type ContentMeta

type ContentMeta struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content Type ("dashboard", "look", or "space")
	// Read Only: true
	ContentType string `json:"content_type,omitempty"`

	// Id of associated dashboard when content_type is "dashboard"
	// Read Only: true
	DashboardID string `json:"dashboard_id,omitempty"`

	// Id of associated folder when content_type is "space"
	// Read Only: true
	FolderID string `json:"folder_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Id of Inherited Content
	// Read Only: true
	InheritingID int64 `json:"inheriting_id,omitempty"`

	// Whether content inherits its access levels from parent
	Inherits bool `json:"inherits,omitempty"`

	// Id of associated look when content_type is "look"
	// Read Only: true
	LookID int64 `json:"look_id,omitempty"`

	// Name or title of underlying content
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Id of Parent Content
	// Read Only: true
	ParentID int64 `json:"parent_id,omitempty"`

	// Content Slug
	// Read Only: true
	Slug string `json:"slug,omitempty"`

	// Id of associated space when content_type is "space"
	// Read Only: true
	SpaceID string `json:"space_id,omitempty"`
}

ContentMeta content meta

swagger:model ContentMeta

func (*ContentMeta) ContextValidate

func (m *ContentMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content meta based on the context it is used

func (*ContentMeta) MarshalBinary

func (m *ContentMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentMeta) UnmarshalBinary

func (m *ContentMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentMeta) Validate

func (m *ContentMeta) Validate(formats strfmt.Registry) error

Validate validates this content meta

type ContentMetaGroupUser

type ContentMetaGroupUser struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of associated Content Metadata
	// Read Only: true
	ContentMetadataID string `json:"content_metadata_id,omitempty"`

	// ID of associated group
	// Read Only: true
	GroupID int64 `json:"group_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Type of permission: "view" or "edit" Valid values are: "view", "edit".
	// Read Only: true
	PermissionType string `json:"permission_type,omitempty"`

	// ID of associated user
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`
}

ContentMetaGroupUser content meta group user

swagger:model ContentMetaGroupUser

func (*ContentMetaGroupUser) ContextValidate

func (m *ContentMetaGroupUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content meta group user based on the context it is used

func (*ContentMetaGroupUser) MarshalBinary

func (m *ContentMetaGroupUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentMetaGroupUser) UnmarshalBinary

func (m *ContentMetaGroupUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentMetaGroupUser) Validate

func (m *ContentMetaGroupUser) Validate(formats strfmt.Registry) error

Validate validates this content meta group user

type ContentValidation

type ContentValidation struct {

	// Duration of content validation in seconds
	// Read Only: true
	ComputationTime float32 `json:"computation_time,omitempty"`

	// A list of content errors
	// Read Only: true
	ContentWithErrors []*ContentValidatorError `json:"content_with_errors"`

	// The number of alerts validated
	// Read Only: true
	TotalAlertsValidated int64 `json:"total_alerts_validated,omitempty"`

	// The number of dashboard elements validated
	// Read Only: true
	TotalDashboardElementsValidated int64 `json:"total_dashboard_elements_validated,omitempty"`

	// The number of dashboard filters validated
	// Read Only: true
	TotalDashboardFiltersValidated int64 `json:"total_dashboard_filters_validated,omitempty"`

	// The number of explores used across all content validated
	// Read Only: true
	TotalExploresValidated int64 `json:"total_explores_validated,omitempty"`

	// The number of looks validated
	// Read Only: true
	TotalLooksValidated int64 `json:"total_looks_validated,omitempty"`

	// The number of scheduled plans validated
	// Read Only: true
	TotalScheduledPlansValidated int64 `json:"total_scheduled_plans_validated,omitempty"`
}

ContentValidation content validation

swagger:model ContentValidation

func (*ContentValidation) ContextValidate

func (m *ContentValidation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation based on the context it is used

func (*ContentValidation) MarshalBinary

func (m *ContentValidation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidation) UnmarshalBinary

func (m *ContentValidation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidation) Validate

func (m *ContentValidation) Validate(formats strfmt.Registry) error

Validate validates this content validation

type ContentValidationAlert

type ContentValidationAlert struct {

	// An optional, user-defined title for the alert
	CustomTitle string `json:"custom_title,omitempty"`

	// ID of the alert
	ID int64 `json:"id,omitempty"`

	// ID of the LookML dashboard associated with the alert
	LookmlDashboardID string `json:"lookml_dashboard_id,omitempty"`

	// ID of the LookML dashboard element associated with the alert
	LookmlLinkID string `json:"lookml_link_id,omitempty"`
}

ContentValidationAlert content validation alert

swagger:model ContentValidationAlert

func (*ContentValidationAlert) ContextValidate

func (m *ContentValidationAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this content validation alert based on context it is used

func (*ContentValidationAlert) MarshalBinary

func (m *ContentValidationAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationAlert) UnmarshalBinary

func (m *ContentValidationAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationAlert) Validate

func (m *ContentValidationAlert) Validate(formats strfmt.Registry) error

Validate validates this content validation alert

type ContentValidationDashboard

type ContentValidationDashboard struct {

	// Description
	Description string `json:"description,omitempty"`

	// Folder
	// Read Only: true
	Folder *ContentValidationFolder `json:"folder,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Space
	// Read Only: true
	Space *ContentValidationSpace `json:"space,omitempty"`

	// Dashboard Title
	Title string `json:"title,omitempty"`
}

ContentValidationDashboard content validation dashboard

swagger:model ContentValidationDashboard

func (*ContentValidationDashboard) ContextValidate

func (m *ContentValidationDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation dashboard based on the context it is used

func (*ContentValidationDashboard) MarshalBinary

func (m *ContentValidationDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationDashboard) UnmarshalBinary

func (m *ContentValidationDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationDashboard) Validate

func (m *ContentValidationDashboard) Validate(formats strfmt.Registry) error

Validate validates this content validation dashboard

type ContentValidationDashboardElement

type ContentValidationDashboardElement struct {

	// Text tile body text
	BodyText string `json:"body_text,omitempty"`

	// Id of Dashboard
	DashboardID string `json:"dashboard_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Id Of Look
	LookID string `json:"look_id,omitempty"`

	// Note Display
	NoteDisplay string `json:"note_display,omitempty"`

	// Note State
	NoteState string `json:"note_state,omitempty"`

	// Note Text
	NoteText string `json:"note_text,omitempty"`

	// Note Text as Html
	// Read Only: true
	NoteTextAsHTML string `json:"note_text_as_html,omitempty"`

	// Id Of Query
	QueryID int64 `json:"query_id,omitempty"`

	// Text tile subtitle text
	SubtitleText string `json:"subtitle_text,omitempty"`

	// Title of dashboard element
	Title string `json:"title,omitempty"`

	// Whether title is hidden
	TitleHidden bool `json:"title_hidden,omitempty"`

	// Text tile title
	TitleText string `json:"title_text,omitempty"`

	// Type
	Type string `json:"type,omitempty"`
}

ContentValidationDashboardElement content validation dashboard element

swagger:model ContentValidationDashboardElement

func (*ContentValidationDashboardElement) ContextValidate

func (m *ContentValidationDashboardElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation dashboard element based on the context it is used

func (*ContentValidationDashboardElement) MarshalBinary

func (m *ContentValidationDashboardElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationDashboardElement) UnmarshalBinary

func (m *ContentValidationDashboardElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationDashboardElement) Validate

Validate validates this content validation dashboard element

type ContentValidationDashboardFilter

type ContentValidationDashboardFilter struct {

	// Id of Dashboard
	// Read Only: true
	DashboardID string `json:"dashboard_id,omitempty"`

	// Default value of filter
	DefaultValue string `json:"default_value,omitempty"`

	// Dimension of filter (required if type = field)
	Dimension string `json:"dimension,omitempty"`

	// Explore of filter (required if type = field)
	Explore string `json:"explore,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Model of filter (required if type = field)
	Model string `json:"model,omitempty"`

	// Name of filter
	Name string `json:"name,omitempty"`

	// Title of filter
	Title string `json:"title,omitempty"`

	// Type of filter: one of date, number, string, or field
	Type string `json:"type,omitempty"`
}

ContentValidationDashboardFilter content validation dashboard filter

swagger:model ContentValidationDashboardFilter

func (*ContentValidationDashboardFilter) ContextValidate

func (m *ContentValidationDashboardFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation dashboard filter based on the context it is used

func (*ContentValidationDashboardFilter) MarshalBinary

func (m *ContentValidationDashboardFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationDashboardFilter) UnmarshalBinary

func (m *ContentValidationDashboardFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationDashboardFilter) Validate

Validate validates this content validation dashboard filter

type ContentValidationError

type ContentValidationError struct {

	// Name of the explore involved in the error
	// Read Only: true
	ExploreName string `json:"explore_name,omitempty"`

	// Name of the field involved in the error
	// Read Only: true
	FieldName string `json:"field_name,omitempty"`

	// Error message
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Name of the model involved in the error
	// Read Only: true
	ModelName string `json:"model_name,omitempty"`

	// Whether this validation error is removable
	// Read Only: true
	Removable *bool `json:"removable,omitempty"`
}

ContentValidationError content validation error

swagger:model ContentValidationError

func (*ContentValidationError) ContextValidate

func (m *ContentValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation error based on the context it is used

func (*ContentValidationError) MarshalBinary

func (m *ContentValidationError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationError) UnmarshalBinary

func (m *ContentValidationError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationError) Validate

func (m *ContentValidationError) Validate(formats strfmt.Registry) error

Validate validates this content validation error

type ContentValidationFolder

type ContentValidationFolder struct {

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Unique Name
	// Required: true
	Name *string `json:"name"`
}

ContentValidationFolder content validation folder

swagger:model ContentValidationFolder

func (*ContentValidationFolder) ContextValidate

func (m *ContentValidationFolder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation folder based on the context it is used

func (*ContentValidationFolder) MarshalBinary

func (m *ContentValidationFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationFolder) UnmarshalBinary

func (m *ContentValidationFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationFolder) Validate

func (m *ContentValidationFolder) Validate(formats strfmt.Registry) error

Validate validates this content validation folder

type ContentValidationLook

type ContentValidationLook struct {

	// Folder of this Look
	// Read Only: true
	Folder *ContentValidationFolder `json:"folder,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Space of this Look
	// Read Only: true
	Space *ContentValidationSpace `json:"space,omitempty"`

	// Look Title
	Title string `json:"title,omitempty"`
}

ContentValidationLook content validation look

swagger:model ContentValidationLook

func (*ContentValidationLook) ContextValidate

func (m *ContentValidationLook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation look based on the context it is used

func (*ContentValidationLook) MarshalBinary

func (m *ContentValidationLook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationLook) UnmarshalBinary

func (m *ContentValidationLook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationLook) Validate

func (m *ContentValidationLook) Validate(formats strfmt.Registry) error

Validate validates this content validation look

type ContentValidationLookMLDashboard

type ContentValidationLookMLDashboard struct {

	// ID of the LookML Dashboard
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Space
	// Read Only: true
	Space *SpaceBase `json:"space,omitempty"`

	// ID of Space
	// Read Only: true
	SpaceID string `json:"space_id,omitempty"`

	// Title of the LookML Dashboard
	// Read Only: true
	Title string `json:"title,omitempty"`
}

ContentValidationLookMLDashboard content validation look m l dashboard

swagger:model ContentValidationLookMLDashboard

func (*ContentValidationLookMLDashboard) ContextValidate

func (m *ContentValidationLookMLDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation look m l dashboard based on the context it is used

func (*ContentValidationLookMLDashboard) MarshalBinary

func (m *ContentValidationLookMLDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationLookMLDashboard) UnmarshalBinary

func (m *ContentValidationLookMLDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationLookMLDashboard) Validate

Validate validates this content validation look m l dashboard

type ContentValidationLookMLDashboardElement

type ContentValidationLookMLDashboardElement struct {

	// Link ID of the LookML Dashboard Element
	// Read Only: true
	LookmlLinkID string `json:"lookml_link_id,omitempty"`

	// Title of the LookML Dashboard Element
	// Read Only: true
	Title string `json:"title,omitempty"`
}

ContentValidationLookMLDashboardElement content validation look m l dashboard element

swagger:model ContentValidationLookMLDashboardElement

func (*ContentValidationLookMLDashboardElement) ContextValidate

ContextValidate validate this content validation look m l dashboard element based on the context it is used

func (*ContentValidationLookMLDashboardElement) MarshalBinary

func (m *ContentValidationLookMLDashboardElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationLookMLDashboardElement) UnmarshalBinary

func (m *ContentValidationLookMLDashboardElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationLookMLDashboardElement) Validate

Validate validates this content validation look m l dashboard element

type ContentValidationScheduledPlan

type ContentValidationScheduledPlan struct {

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Id of a look
	LookID int64 `json:"look_id,omitempty"`

	// Name of this scheduled plan
	Name string `json:"name,omitempty"`
}

ContentValidationScheduledPlan content validation scheduled plan

swagger:model ContentValidationScheduledPlan

func (*ContentValidationScheduledPlan) ContextValidate

func (m *ContentValidationScheduledPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation scheduled plan based on the context it is used

func (*ContentValidationScheduledPlan) MarshalBinary

func (m *ContentValidationScheduledPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationScheduledPlan) UnmarshalBinary

func (m *ContentValidationScheduledPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationScheduledPlan) Validate

func (m *ContentValidationScheduledPlan) Validate(formats strfmt.Registry) error

Validate validates this content validation scheduled plan

type ContentValidationSpace

type ContentValidationSpace struct {

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Unique Name
	// Required: true
	Name *string `json:"name"`
}

ContentValidationSpace content validation space

swagger:model ContentValidationSpace

func (*ContentValidationSpace) ContextValidate

func (m *ContentValidationSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validation space based on the context it is used

func (*ContentValidationSpace) MarshalBinary

func (m *ContentValidationSpace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidationSpace) UnmarshalBinary

func (m *ContentValidationSpace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidationSpace) Validate

func (m *ContentValidationSpace) Validate(formats strfmt.Registry) error

Validate validates this content validation space

type ContentValidatorError

type ContentValidatorError struct {

	// alert
	// Read Only: true
	Alert *ContentValidationAlert `json:"alert,omitempty"`

	// dashboard
	// Read Only: true
	Dashboard *ContentValidationDashboard `json:"dashboard,omitempty"`

	// dashboard element
	// Read Only: true
	DashboardElement *ContentValidationDashboardElement `json:"dashboard_element,omitempty"`

	// dashboard filter
	// Read Only: true
	DashboardFilter *ContentValidationDashboardFilter `json:"dashboard_filter,omitempty"`

	// A list of errors found for this piece of content
	// Read Only: true
	Errors []*ContentValidationError `json:"errors"`

	// An id unique to this piece of content for this validation run
	// Read Only: true
	ID string `json:"id,omitempty"`

	// look
	// Read Only: true
	Look *ContentValidationLook `json:"look,omitempty"`

	// lookml dashboard
	// Read Only: true
	LookmlDashboard *ContentValidationLookMLDashboard `json:"lookml_dashboard,omitempty"`

	// lookml dashboard element
	// Read Only: true
	LookmlDashboardElement *ContentValidationLookMLDashboardElement `json:"lookml_dashboard_element,omitempty"`

	// scheduled plan
	// Read Only: true
	ScheduledPlan *ContentValidationScheduledPlan `json:"scheduled_plan,omitempty"`
}

ContentValidatorError content validator error

swagger:model ContentValidatorError

func (*ContentValidatorError) ContextValidate

func (m *ContentValidatorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content validator error based on the context it is used

func (*ContentValidatorError) MarshalBinary

func (m *ContentValidatorError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentValidatorError) UnmarshalBinary

func (m *ContentValidatorError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentValidatorError) Validate

func (m *ContentValidatorError) Validate(formats strfmt.Registry) error

Validate validates this content validator error

type ContentView

type ContentView struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content metadata id of the Look or Dashboard
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Id of the viewed Dashboard
	// Read Only: true
	DashboardID int64 `json:"dashboard_id,omitempty"`

	// Number of times piece of content was favorited
	// Read Only: true
	FavoriteCount int64 `json:"favorite_count,omitempty"`

	// Id of group content was viewed by
	// Read Only: true
	GroupID int64 `json:"group_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Date the piece of content was last viewed
	// Read Only: true
	LastViewedAt string `json:"last_viewed_at,omitempty"`

	// Id of viewed Look
	// Read Only: true
	LookID int64 `json:"look_id,omitempty"`

	// Week start date for the view and favorite count during that given week
	// Read Only: true
	StartOfWeekDate string `json:"start_of_week_date,omitempty"`

	// Id of user content was viewed by
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`

	// Number of times piece of content was viewed
	// Read Only: true
	ViewCount int64 `json:"view_count,omitempty"`
}

ContentView content view

swagger:model ContentView

func (*ContentView) ContextValidate

func (m *ContentView) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content view based on the context it is used

func (*ContentView) MarshalBinary

func (m *ContentView) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentView) UnmarshalBinary

func (m *ContentView) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentView) Validate

func (m *ContentView) Validate(formats strfmt.Registry) error

Validate validates this content view

type ContinuousPalette

type ContinuousPalette struct {

	// Unique identity string
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Label for palette
	Label string `json:"label,omitempty"`

	// Array of ColorStops in the palette
	Stops []*ColorStop `json:"stops"`

	// Type of palette
	Type string `json:"type,omitempty"`
}

ContinuousPalette continuous palette

swagger:model ContinuousPalette

func (*ContinuousPalette) ContextValidate

func (m *ContinuousPalette) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this continuous palette based on the context it is used

func (*ContinuousPalette) MarshalBinary

func (m *ContinuousPalette) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContinuousPalette) UnmarshalBinary

func (m *ContinuousPalette) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContinuousPalette) Validate

func (m *ContinuousPalette) Validate(formats strfmt.Registry) error

Validate validates this continuous palette

type CreateDashboardFilter

type CreateDashboardFilter struct {

	// Whether the filter allows multiple filter values (deprecated in the latest version of dashboards)
	AllowMultipleValues bool `json:"allow_multiple_values,omitempty"`

	// Id of Dashboard
	// Required: true
	DashboardID *string `json:"dashboard_id"`

	// Default value of filter
	DefaultValue string `json:"default_value,omitempty"`

	// Dimension of filter (required if type = field)
	Dimension string `json:"dimension,omitempty"`

	// Explore of filter (required if type = field)
	Explore string `json:"explore,omitempty"`

	// Field information
	// Read Only: true
	Field map[string]string `json:"field,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Array of listeners for faceted filters
	ListensToFilters []string `json:"listens_to_filters"`

	// Model of filter (required if type = field)
	Model string `json:"model,omitempty"`

	// Name of filter
	// Required: true
	Name *string `json:"name"`

	// Whether the filter requires a value to run the dashboard
	Required bool `json:"required,omitempty"`

	// Display order of this filter relative to other filters
	Row int64 `json:"row,omitempty"`

	// Title of filter
	// Required: true
	Title *string `json:"title"`

	// Type of filter: one of date, number, string, or field
	// Required: true
	Type *string `json:"type"`

	// The visual configuration for this filter. Used to set up how the UI for this filter should appear.
	UIConfig map[string]string `json:"ui_config,omitempty"`
}

CreateDashboardFilter create dashboard filter

swagger:model CreateDashboardFilter

func (*CreateDashboardFilter) ContextValidate

func (m *CreateDashboardFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create dashboard filter based on the context it is used

func (*CreateDashboardFilter) MarshalBinary

func (m *CreateDashboardFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDashboardFilter) UnmarshalBinary

func (m *CreateDashboardFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDashboardFilter) Validate

func (m *CreateDashboardFilter) Validate(formats strfmt.Registry) error

Validate validates this create dashboard filter

type CreateDashboardRenderTask

type CreateDashboardRenderTask struct {

	// Filter values to apply to the dashboard queries, in URL query format
	DashboardFilters string `json:"dashboard_filters,omitempty"`

	// Dashboard layout style: single_column or tiled
	DashboardStyle string `json:"dashboard_style,omitempty"`
}

CreateDashboardRenderTask create dashboard render task

swagger:model CreateDashboardRenderTask

func (*CreateDashboardRenderTask) ContextValidate

func (m *CreateDashboardRenderTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create dashboard render task based on context it is used

func (*CreateDashboardRenderTask) MarshalBinary

func (m *CreateDashboardRenderTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDashboardRenderTask) UnmarshalBinary

func (m *CreateDashboardRenderTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDashboardRenderTask) Validate

func (m *CreateDashboardRenderTask) Validate(formats strfmt.Registry) error

Validate validates this create dashboard render task

type CreateFolder

type CreateFolder struct {

	// Unique Name
	// Required: true
	Name *string `json:"name"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	// Required: true
	ParentID *string `json:"parent_id"`
}

CreateFolder create folder

swagger:model CreateFolder

func (*CreateFolder) ContextValidate

func (m *CreateFolder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create folder based on context it is used

func (*CreateFolder) MarshalBinary

func (m *CreateFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateFolder) UnmarshalBinary

func (m *CreateFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateFolder) Validate

func (m *CreateFolder) Validate(formats strfmt.Registry) error

Validate validates this create folder

type CreateQueryTask

type CreateQueryTask struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of dashboard associated with query.
	DashboardID string `json:"dashboard_id,omitempty"`

	// Create the task but defer execution
	Deferred bool `json:"deferred,omitempty"`

	// Id of look associated with query.
	LookID int64 `json:"look_id,omitempty"`

	// Id of query to run
	// Required: true
	QueryID *int64 `json:"query_id"`

	// Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "csv", "html", "md", "txt", "xlsx", "gsxml".
	// Required: true
	ResultFormat *string `json:"result_format"`

	// Source of query task
	Source string `json:"source,omitempty"`
}

CreateQueryTask create query task

swagger:model CreateQueryTask

func (*CreateQueryTask) ContextValidate

func (m *CreateQueryTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create query task based on the context it is used

func (*CreateQueryTask) MarshalBinary

func (m *CreateQueryTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateQueryTask) UnmarshalBinary

func (m *CreateQueryTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateQueryTask) Validate

func (m *CreateQueryTask) Validate(formats strfmt.Registry) error

Validate validates this create query task

type CreateSpace

type CreateSpace struct {

	// Unique Name
	// Required: true
	Name *string `json:"name"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	// Required: true
	ParentID *string `json:"parent_id"`
}

CreateSpace create space

swagger:model CreateSpace

func (*CreateSpace) ContextValidate

func (m *CreateSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create space based on context it is used

func (*CreateSpace) MarshalBinary

func (m *CreateSpace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSpace) UnmarshalBinary

func (m *CreateSpace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSpace) Validate

func (m *CreateSpace) Validate(formats strfmt.Registry) error

Validate validates this create space

type CredentialsAPI

type CredentialsAPI struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// API key token
	// Read Only: true
	Token string `json:"token,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsAPI credentials Api swagger:model CredentialsApi

func (*CredentialsAPI) MarshalBinary

func (m *CredentialsAPI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsAPI) UnmarshalBinary

func (m *CredentialsAPI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsAPI) Validate

func (m *CredentialsAPI) Validate(formats strfmt.Registry) error

Validate validates this credentials Api

type CredentialsApi3

type CredentialsApi3 struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// API key client_id
	// Read Only: true
	ClientID string `json:"client_id,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsApi3 credentials api3

swagger:model CredentialsApi3

func (*CredentialsApi3) ContextValidate

func (m *CredentialsApi3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials api3 based on the context it is used

func (*CredentialsApi3) MarshalBinary

func (m *CredentialsApi3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsApi3) UnmarshalBinary

func (m *CredentialsApi3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsApi3) Validate

func (m *CredentialsApi3) Validate(formats strfmt.Registry) error

Validate validates this credentials api3

type CredentialsEmail

type CredentialsEmail struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// EMail address used for user login
	Email string `json:"email,omitempty"`

	// Force the user to change their password upon their next login
	ForcedPasswordResetAtNextLogin bool `json:"forced_password_reset_at_next_login,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// Url with one-time use secret token that the user can use to reset password
	// Read Only: true
	PasswordResetURL string `json:"password_reset_url,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Link to get this user
	// Read Only: true
	// Format: uri
	UserURL strfmt.URI `json:"user_url,omitempty"`
}

CredentialsEmail credentials email

swagger:model CredentialsEmail

func (*CredentialsEmail) ContextValidate

func (m *CredentialsEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials email based on the context it is used

func (*CredentialsEmail) MarshalBinary

func (m *CredentialsEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsEmail) UnmarshalBinary

func (m *CredentialsEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsEmail) Validate

func (m *CredentialsEmail) Validate(formats strfmt.Registry) error

Validate validates this credentials email

type CredentialsEmbed

type CredentialsEmbed struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Embedder's id for a group to which this user was added during the most recent login
	// Read Only: true
	ExternalGroupID string `json:"external_group_id,omitempty"`

	// Embedder's unique id for the user
	// Read Only: true
	ExternalUserID string `json:"external_user_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsEmbed credentials embed

swagger:model CredentialsEmbed

func (*CredentialsEmbed) ContextValidate

func (m *CredentialsEmbed) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials embed based on the context it is used

func (*CredentialsEmbed) MarshalBinary

func (m *CredentialsEmbed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsEmbed) UnmarshalBinary

func (m *CredentialsEmbed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsEmbed) Validate

func (m *CredentialsEmbed) Validate(formats strfmt.Registry) error

Validate validates this credentials embed

type CredentialsGoogle

type CredentialsGoogle struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Google domain
	// Read Only: true
	Domain string `json:"domain,omitempty"`

	// EMail address
	// Read Only: true
	Email string `json:"email,omitempty"`

	// Google's Unique ID for this user
	// Read Only: true
	GoogleUserID string `json:"google_user_id,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsGoogle credentials google

swagger:model CredentialsGoogle

func (*CredentialsGoogle) ContextValidate

func (m *CredentialsGoogle) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials google based on the context it is used

func (*CredentialsGoogle) MarshalBinary

func (m *CredentialsGoogle) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsGoogle) UnmarshalBinary

func (m *CredentialsGoogle) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsGoogle) Validate

func (m *CredentialsGoogle) Validate(formats strfmt.Registry) error

Validate validates this credentials google

type CredentialsLDAP

type CredentialsLDAP struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// EMail address
	// Read Only: true
	Email string `json:"email,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// LDAP Distinguished name for this user (as-of the last login)
	// Read Only: true
	LdapDn string `json:"ldap_dn,omitempty"`

	// LDAP Unique ID for this user
	// Read Only: true
	LdapID string `json:"ldap_id,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsLDAP credentials l d a p

swagger:model CredentialsLDAP

func (*CredentialsLDAP) ContextValidate

func (m *CredentialsLDAP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials l d a p based on the context it is used

func (*CredentialsLDAP) MarshalBinary

func (m *CredentialsLDAP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsLDAP) UnmarshalBinary

func (m *CredentialsLDAP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsLDAP) Validate

func (m *CredentialsLDAP) Validate(formats strfmt.Registry) error

Validate validates this credentials l d a p

type CredentialsLookerOpenid

type CredentialsLookerOpenid struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// EMail address used for user login
	// Read Only: true
	Email string `json:"email,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// IP address of client for most recent login using credential
	// Read Only: true
	LoggedInIP string `json:"logged_in_ip,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Link to get this user
	// Read Only: true
	// Format: uri
	UserURL strfmt.URI `json:"user_url,omitempty"`
}

CredentialsLookerOpenid credentials looker openid

swagger:model CredentialsLookerOpenid

func (*CredentialsLookerOpenid) ContextValidate

func (m *CredentialsLookerOpenid) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials looker openid based on the context it is used

func (*CredentialsLookerOpenid) MarshalBinary

func (m *CredentialsLookerOpenid) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsLookerOpenid) UnmarshalBinary

func (m *CredentialsLookerOpenid) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsLookerOpenid) Validate

func (m *CredentialsLookerOpenid) Validate(formats strfmt.Registry) error

Validate validates this credentials looker openid

type CredentialsOIDC

type CredentialsOIDC struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// EMail address
	// Read Only: true
	Email string `json:"email,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// OIDC OP's Unique ID for this user
	// Read Only: true
	OidcUserID string `json:"oidc_user_id,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsOIDC credentials o ID c

swagger:model CredentialsOIDC

func (*CredentialsOIDC) ContextValidate

func (m *CredentialsOIDC) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials o ID c based on the context it is used

func (*CredentialsOIDC) MarshalBinary

func (m *CredentialsOIDC) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsOIDC) UnmarshalBinary

func (m *CredentialsOIDC) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsOIDC) Validate

func (m *CredentialsOIDC) Validate(formats strfmt.Registry) error

Validate validates this credentials o ID c

type CredentialsSaml

type CredentialsSaml struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// EMail address
	// Read Only: true
	Email string `json:"email,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Timestamp for most recent login using credential
	// Read Only: true
	LoggedInAt string `json:"logged_in_at,omitempty"`

	// Saml IdP's Unique ID for this user
	// Read Only: true
	SamlUserID string `json:"saml_user_id,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

CredentialsSaml credentials saml

swagger:model CredentialsSaml

func (*CredentialsSaml) ContextValidate

func (m *CredentialsSaml) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials saml based on the context it is used

func (*CredentialsSaml) MarshalBinary

func (m *CredentialsSaml) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsSaml) UnmarshalBinary

func (m *CredentialsSaml) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsSaml) Validate

func (m *CredentialsSaml) Validate(formats strfmt.Registry) error

Validate validates this credentials saml

type CredentialsTotp

type CredentialsTotp struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for the creation of this credential
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Has this credential been disabled?
	// Read Only: true
	IsDisabled *bool `json:"is_disabled,omitempty"`

	// Short name for the type of this kind of credential
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// User has verified
	// Read Only: true
	Verified *bool `json:"verified,omitempty"`
}

CredentialsTotp credentials totp

swagger:model CredentialsTotp

func (*CredentialsTotp) ContextValidate

func (m *CredentialsTotp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this credentials totp based on the context it is used

func (*CredentialsTotp) MarshalBinary

func (m *CredentialsTotp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CredentialsTotp) UnmarshalBinary

func (m *CredentialsTotp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CredentialsTotp) Validate

func (m *CredentialsTotp) Validate(formats strfmt.Registry) error

Validate validates this credentials totp

type CustomWelcomeEmail

type CustomWelcomeEmail struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// The HTML to use as custom content for welcome emails. Script elements and other potentially dangerous markup will be removed.
	Content string `json:"content,omitempty"`

	// If true, custom email content will replace the default body of welcome emails
	Enabled bool `json:"enabled,omitempty"`

	// The text to appear in the header line of the email body.
	Header string `json:"header,omitempty"`

	// The text to appear in the email subject line.
	Subject string `json:"subject,omitempty"`
}

CustomWelcomeEmail custom welcome email

swagger:model CustomWelcomeEmail

func (*CustomWelcomeEmail) ContextValidate

func (m *CustomWelcomeEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom welcome email based on the context it is used

func (*CustomWelcomeEmail) MarshalBinary

func (m *CustomWelcomeEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomWelcomeEmail) UnmarshalBinary

func (m *CustomWelcomeEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomWelcomeEmail) Validate

func (m *CustomWelcomeEmail) Validate(formats strfmt.Registry) error

Validate validates this custom welcome email

type DBConnection

type DBConnection struct {

	// SQL statements (semicolon separated) to issue after connecting to the database. Requires `custom_after_connect_statements` license feature
	AfterConnectStatements string `json:"after_connect_statements,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect).
	Certificate string `json:"certificate,omitempty"`

	// Creation date for this connection
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Database name
	Database string `json:"database,omitempty"`

	// Time zone of database
	DbTimezone string `json:"db_timezone,omitempty"`

	// (Read-only) SQL Dialect details
	// Read Only: true
	Dialect *Dialect `json:"dialect,omitempty"`

	// (Read/Write) SQL Dialect name
	DialectName string `json:"dialect_name,omitempty"`

	// Is this an example connection?
	// Read Only: true
	Example *bool `json:"example,omitempty"`

	// (Write-Only) Certificate keyfile type - .json or .p12
	FileType string `json:"file_type,omitempty"`

	// Host name/address of server
	Host string `json:"host,omitempty"`

	// Additional params to add to JDBC connection string
	JdbcAdditionalParams string `json:"jdbc_additional_params,omitempty"`

	// Unix timestamp at start of last completed PDT reap process
	// Read Only: true
	LastReapAt int64 `json:"last_reap_at,omitempty"`

	// Unix timestamp at start of last completed PDT trigger check process
	// Read Only: true
	LastRegenAt int64 `json:"last_regen_at,omitempty"`

	// Cron string specifying when maintenance such as PDT trigger checks and drops should be performed
	MaintenanceCron string `json:"maintenance_cron,omitempty"`

	// Is this connection created and managed by Looker
	// Read Only: true
	Managed *bool `json:"managed,omitempty"`

	// Maximum size of query in GBs (BigQuery only, can be a user_attribute name)
	MaxBillingGigabytes string `json:"max_billing_gigabytes,omitempty"`

	// Maximum number of concurrent connection to use
	MaxConnections int64 `json:"max_connections,omitempty"`

	// Name of the connection. Also used as the unique identifier
	Name string `json:"name,omitempty"`

	// (Write-Only) Password for server authentication
	Password string `json:"password,omitempty"`

	// db_connection_override for this connection in the `pdt` maintenance context
	PdtContextOverride *DBConnectionOverride `json:"pdt_context_override,omitempty"`

	// True if PDTs are enabled on this connection
	// Read Only: true
	PdtsEnabled *bool `json:"pdts_enabled,omitempty"`

	// Connection Pool Timeout, in seconds
	PoolTimeout int64 `json:"pool_timeout,omitempty"`

	// Port number on server
	Port string `json:"port,omitempty"`

	// Timezone to use in queries
	QueryTimezone string `json:"query_timezone,omitempty"`

	// Scheme name
	Schema string `json:"schema,omitempty"`

	// SQL Runner snippets for this connection
	// Read Only: true
	Snippets []*Snippet `json:"snippets"`

	// Precache tables in the SQL Runner
	SQLRunnerPrecacheTables bool `json:"sql_runner_precache_tables,omitempty"`

	// Use SSL/TLS when connecting to server
	Ssl bool `json:"ssl,omitempty"`

	// Name of temporary database (if used)
	TmpDbName string `json:"tmp_db_name,omitempty"`

	// Fields whose values map to user attribute names
	UserAttributeFields []string `json:"user_attribute_fields"`

	// (Limited access feature) Are per user db credentials enabled. Enabling will remove previously set username and password
	UserDbCredentials bool `json:"user_db_credentials,omitempty"`

	// Id of user who last modified this connection configuration
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`

	// Username for server authentication
	Username string `json:"username,omitempty"`

	// Whether the connection uses OAuth for authentication.
	// Read Only: true
	UsesOauth *bool `json:"uses_oauth,omitempty"`

	// Verify the SSL
	VerifySsl bool `json:"verify_ssl,omitempty"`
}

DBConnection d b connection

swagger:model DBConnection

func (*DBConnection) ContextValidate

func (m *DBConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d b connection based on the context it is used

func (*DBConnection) MarshalBinary

func (m *DBConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DBConnection) UnmarshalBinary

func (m *DBConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DBConnection) Validate

func (m *DBConnection) Validate(formats strfmt.Registry) error

Validate validates this d b connection

type DBConnectionBase

type DBConnectionBase struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// (Read-only) SQL Dialect details
	// Read Only: true
	Dialect *Dialect `json:"dialect,omitempty"`

	// Name of the connection. Also used as the unique identifier
	// Read Only: true
	Name string `json:"name,omitempty"`

	// True if PDTs are enabled on this connection
	// Read Only: true
	PdtsEnabled *bool `json:"pdts_enabled,omitempty"`

	// SQL Runner snippets for this connection
	// Read Only: true
	Snippets []*Snippet `json:"snippets"`
}

DBConnectionBase d b connection base

swagger:model DBConnectionBase

func (*DBConnectionBase) ContextValidate

func (m *DBConnectionBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d b connection base based on the context it is used

func (*DBConnectionBase) MarshalBinary

func (m *DBConnectionBase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DBConnectionBase) UnmarshalBinary

func (m *DBConnectionBase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DBConnectionBase) Validate

func (m *DBConnectionBase) Validate(formats strfmt.Registry) error

Validate validates this d b connection base

type DBConnectionOverride

type DBConnectionOverride struct {

	// SQL statements (semicolon separated) to issue after connecting to the database. Requires `custom_after_connect_statements` license feature
	AfterConnectStatements string `json:"after_connect_statements,omitempty"`

	// (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect).
	Certificate string `json:"certificate,omitempty"`

	// Context in which to override (`pdt` is the only allowed value)
	Context string `json:"context,omitempty"`

	// Database name
	Database string `json:"database,omitempty"`

	// (Write-Only) Certificate keyfile type - .json or .p12
	FileType string `json:"file_type,omitempty"`

	// Whether or not the password is overridden in this context
	// Read Only: true
	HasPassword *bool `json:"has_password,omitempty"`

	// Host name/address of server
	Host string `json:"host,omitempty"`

	// Additional params to add to JDBC connection string
	JdbcAdditionalParams string `json:"jdbc_additional_params,omitempty"`

	// (Write-Only) Password for server authentication
	Password string `json:"password,omitempty"`

	// Port number on server
	Port string `json:"port,omitempty"`

	// Scheme name
	Schema string `json:"schema,omitempty"`

	// Username for server authentication
	Username string `json:"username,omitempty"`
}

DBConnectionOverride d b connection override

swagger:model DBConnectionOverride

func (*DBConnectionOverride) ContextValidate

func (m *DBConnectionOverride) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d b connection override based on the context it is used

func (*DBConnectionOverride) MarshalBinary

func (m *DBConnectionOverride) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DBConnectionOverride) UnmarshalBinary

func (m *DBConnectionOverride) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DBConnectionOverride) Validate

func (m *DBConnectionOverride) Validate(formats strfmt.Registry) error

Validate validates this d b connection override

type DBConnectionTestResult

type DBConnectionTestResult struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// JDBC connection string. (only populated in the 'connect' test)
	// Read Only: true
	ConnectionString string `json:"connection_string,omitempty"`

	// Result message of test
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Name of test
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Result code of test
	// Read Only: true
	Status string `json:"status,omitempty"`
}

DBConnectionTestResult d b connection test result

swagger:model DBConnectionTestResult

func (*DBConnectionTestResult) ContextValidate

func (m *DBConnectionTestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d b connection test result based on the context it is used

func (*DBConnectionTestResult) MarshalBinary

func (m *DBConnectionTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DBConnectionTestResult) UnmarshalBinary

func (m *DBConnectionTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DBConnectionTestResult) Validate

func (m *DBConnectionTestResult) Validate(formats strfmt.Registry) error

Validate validates this d b connection test result

type Dashboard

type Dashboard struct {

	// Dashboard visual settings only applicable to dashboards-next (beta)
	Appearance *DashboardAppearance `json:"appearance,omitempty"`

	// Background color
	BackgroundColor string `json:"background_color,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content Favorite Id
	// Read Only: true
	ContentFavoriteID int64 `json:"content_favorite_id,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time that the Dashboard was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Enables crossfiltering in dashboards - only available in dashboards-next (beta)
	CrossfilterEnabled bool `json:"crossfilter_enabled,omitempty"`

	// Elements
	// Read Only: true
	DashboardElements []*DashboardElement `json:"dashboard_elements"`

	// Filters
	// Read Only: true
	DashboardFilters []*DashboardFilter `json:"dashboard_filters"`

	// Layouts
	// Read Only: true
	DashboardLayouts []*DashboardLayout `json:"dashboard_layouts"`

	// Whether or not a dashboard is 'soft' deleted.
	Deleted bool `json:"deleted,omitempty"`

	// Time that the Dashboard was 'soft' deleted.
	// Read Only: true
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deleted_at,omitempty"`

	// Id of User that 'soft' deleted the dashboard.
	// Read Only: true
	DeleterID int64 `json:"deleter_id,omitempty"`

	// Description
	Description string `json:"description,omitempty"`

	// Relative path of URI of LookML file to edit the dashboard (LookML dashboard only).
	// Read Only: true
	// Format: uri
	EditURI strfmt.URI `json:"edit_uri,omitempty"`

	// Number of times favorited
	// Read Only: true
	FavoriteCount int64 `json:"favorite_count,omitempty"`

	// Folder
	// Read Only: true
	Folder *FolderBase `json:"folder,omitempty"`

	// Id of folder
	FolderID string `json:"folder_id,omitempty"`

	// Is Hidden
	Hidden bool `json:"hidden,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Time the dashboard was last accessed
	// Read Only: true
	// Format: date-time
	LastAccessedAt strfmt.DateTime `json:"last_accessed_at,omitempty"`

	// Time last viewed in the Looker web UI
	// Read Only: true
	// Format: date-time
	LastViewedAt strfmt.DateTime `json:"last_viewed_at,omitempty"`

	// configuration option that governs how dashboard loading will happen.
	LoadConfiguration string `json:"load_configuration,omitempty"`

	// Links this dashboard to a particular LookML dashboard such that calling a **sync** operation on that LookML dashboard will update this dashboard to match.
	LookmlLinkID string `json:"lookml_link_id,omitempty"`

	// Model
	// Read Only: true
	Model *LookModel `json:"model,omitempty"`

	// The preferred route for viewing this dashboard (ie: dashboards or dashboards-next)
	PreferredViewer string `json:"preferred_viewer,omitempty"`

	// Timezone in which the Dashboard will run by default.
	QueryTimezone string `json:"query_timezone,omitempty"`

	// Is Read-only
	// Read Only: true
	Readonly *bool `json:"readonly,omitempty"`

	// Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds.
	RefreshInterval string `json:"refresh_interval,omitempty"`

	// Refresh Interval in milliseconds
	// Read Only: true
	RefreshIntervalToi int64 `json:"refresh_interval_to_i,omitempty"`

	// Show filters bar.  **Security Note:** This property only affects the *cosmetic* appearance of the dashboard, not a user's ability to access data. Hiding the filters bar does **NOT** prevent users from changing filters by other means. For information on how to set up secure data access control policies, see [Control User Access to Data](https://looker.com/docs/r/api/control-access)
	ShowFiltersBar bool `json:"show_filters_bar,omitempty"`

	// Show title
	ShowTitle bool `json:"show_title,omitempty"`

	// Content Metadata Slug
	Slug string `json:"slug,omitempty"`

	// Space
	// Read Only: true
	Space *SpaceBase `json:"space,omitempty"`

	// Id of Space
	SpaceID string `json:"space_id,omitempty"`

	// Color of text on text tiles
	TextTileTextColor string `json:"text_tile_text_color,omitempty"`

	// Tile background color
	TileBackgroundColor string `json:"tile_background_color,omitempty"`

	// Tile text color
	TileTextColor string `json:"tile_text_color,omitempty"`

	// Dashboard Title
	Title string `json:"title,omitempty"`

	// Title color
	TitleColor string `json:"title_color,omitempty"`

	// Id of User
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`

	// Number of times viewed in the Looker web UI
	// Read Only: true
	ViewCount int64 `json:"view_count,omitempty"`
}

Dashboard dashboard

swagger:model Dashboard

func (*Dashboard) ContextValidate

func (m *Dashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard based on the context it is used

func (*Dashboard) MarshalBinary

func (m *Dashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dashboard) UnmarshalBinary

func (m *Dashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dashboard) Validate

func (m *Dashboard) Validate(formats strfmt.Registry) error

Validate validates this dashboard

type DashboardAggregateTableLookml

type DashboardAggregateTableLookml struct {

	// Aggregate Table LookML
	// Read Only: true
	AggregateTableLookml string `json:"aggregate_table_lookml,omitempty"`

	// Dashboard Id
	// Read Only: true
	DashboardID string `json:"dashboard_id,omitempty"`
}

DashboardAggregateTableLookml dashboard aggregate table lookml

swagger:model DashboardAggregateTableLookml

func (*DashboardAggregateTableLookml) ContextValidate

func (m *DashboardAggregateTableLookml) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard aggregate table lookml based on the context it is used

func (*DashboardAggregateTableLookml) MarshalBinary

func (m *DashboardAggregateTableLookml) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardAggregateTableLookml) UnmarshalBinary

func (m *DashboardAggregateTableLookml) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardAggregateTableLookml) Validate

func (m *DashboardAggregateTableLookml) Validate(formats strfmt.Registry) error

Validate validates this dashboard aggregate table lookml

type DashboardAppearance

type DashboardAppearance struct {

	// Key color
	KeyColor string `json:"key_color,omitempty"`

	// Background color for the dashboard
	PageBackgroundColor string `json:"page_background_color,omitempty"`

	// Page margin (side) width
	PageSideMargins int64 `json:"page_side_margins,omitempty"`

	// Background color for tiles
	TileBackgroundColor string `json:"tile_background_color,omitempty"`

	// Tile shadow on/off
	TileShadow bool `json:"tile_shadow,omitempty"`

	// Space between tiles
	TileSpaceBetween int64 `json:"tile_space_between,omitempty"`

	// Title alignment on dashboard tiles
	TileTitleAlignment string `json:"tile_title_alignment,omitempty"`
}

DashboardAppearance dashboard appearance

swagger:model DashboardAppearance

func (*DashboardAppearance) ContextValidate

func (m *DashboardAppearance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dashboard appearance based on context it is used

func (*DashboardAppearance) MarshalBinary

func (m *DashboardAppearance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardAppearance) UnmarshalBinary

func (m *DashboardAppearance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardAppearance) Validate

func (m *DashboardAppearance) Validate(formats strfmt.Registry) error

Validate validates this dashboard appearance

type DashboardBase

type DashboardBase struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content Favorite Id
	// Read Only: true
	ContentFavoriteID int64 `json:"content_favorite_id,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Folder
	// Read Only: true
	Folder *FolderBase `json:"folder,omitempty"`

	// Is Hidden
	// Read Only: true
	Hidden *bool `json:"hidden,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Model
	// Read Only: true
	Model *LookModel `json:"model,omitempty"`

	// Timezone in which the Dashboard will run by default.
	// Read Only: true
	QueryTimezone string `json:"query_timezone,omitempty"`

	// Is Read-only
	// Read Only: true
	Readonly *bool `json:"readonly,omitempty"`

	// Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds.
	// Read Only: true
	RefreshInterval string `json:"refresh_interval,omitempty"`

	// Refresh Interval in milliseconds
	// Read Only: true
	RefreshIntervalToi int64 `json:"refresh_interval_to_i,omitempty"`

	// Space
	// Read Only: true
	Space *SpaceBase `json:"space,omitempty"`

	// Dashboard Title
	// Read Only: true
	Title string `json:"title,omitempty"`

	// Id of User
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`
}

DashboardBase dashboard base

swagger:model DashboardBase

func (*DashboardBase) ContextValidate

func (m *DashboardBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard base based on the context it is used

func (*DashboardBase) MarshalBinary

func (m *DashboardBase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardBase) UnmarshalBinary

func (m *DashboardBase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardBase) Validate

func (m *DashboardBase) Validate(formats strfmt.Registry) error

Validate validates this dashboard base

type DashboardElement

type DashboardElement struct {

	// Count of Alerts associated to a dashboard element
	// Read Only: true
	AlertCount int64 `json:"alert_count,omitempty"`

	// Text tile body text
	BodyText string `json:"body_text,omitempty"`

	// Text tile body text as Html
	// Read Only: true
	BodyTextAsHTML string `json:"body_text_as_html,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of Dashboard
	DashboardID string `json:"dashboard_id,omitempty"`

	// Relative path of URI of LookML file to edit the dashboard element (LookML dashboard only).
	// Read Only: true
	// Format: uri
	EditURI strfmt.URI `json:"edit_uri,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Look
	// Read Only: true
	Look *LookWithQuery `json:"look,omitempty"`

	// Id Of Look
	LookID string `json:"look_id,omitempty"`

	// LookML link ID
	// Read Only: true
	LookmlLinkID string `json:"lookml_link_id,omitempty"`

	// ID of merge result
	MergeResultID string `json:"merge_result_id,omitempty"`

	// Note Display
	NoteDisplay string `json:"note_display,omitempty"`

	// Note State
	NoteState string `json:"note_state,omitempty"`

	// Note Text
	NoteText string `json:"note_text,omitempty"`

	// Note Text as Html
	// Read Only: true
	NoteTextAsHTML string `json:"note_text_as_html,omitempty"`

	// Query
	// Read Only: true
	Query *Query `json:"query,omitempty"`

	// Id Of Query
	QueryID int64 `json:"query_id,omitempty"`

	// Refresh Interval
	RefreshInterval string `json:"refresh_interval,omitempty"`

	// Refresh Interval as integer
	// Read Only: true
	RefreshIntervalToi int64 `json:"refresh_interval_to_i,omitempty"`

	// Data about the result maker.
	ResultMaker *ResultMakerWithIDVisConfigAndDynamicFields `json:"result_maker,omitempty"`

	// ID of the ResultMakerLookup entry.
	ResultMakerID int64 `json:"result_maker_id,omitempty"`

	// Text tile subtitle text
	SubtitleText string `json:"subtitle_text,omitempty"`

	// Text tile subtitle text as Html
	// Read Only: true
	SubtitleTextAsHTML string `json:"subtitle_text_as_html,omitempty"`

	// Title of dashboard element
	Title string `json:"title,omitempty"`

	// Whether title is hidden
	TitleHidden bool `json:"title_hidden,omitempty"`

	// Text tile title
	TitleText string `json:"title_text,omitempty"`

	// Text tile title text as Html
	// Read Only: true
	TitleTextAsHTML string `json:"title_text_as_html,omitempty"`

	// Type
	Type string `json:"type,omitempty"`
}

DashboardElement dashboard element

swagger:model DashboardElement

func (*DashboardElement) ContextValidate

func (m *DashboardElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard element based on the context it is used

func (*DashboardElement) MarshalBinary

func (m *DashboardElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardElement) UnmarshalBinary

func (m *DashboardElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardElement) Validate

func (m *DashboardElement) Validate(formats strfmt.Registry) error

Validate validates this dashboard element

type DashboardFilter

type DashboardFilter struct {

	// Whether the filter allows multiple filter values (deprecated in the latest version of dashboards)
	AllowMultipleValues bool `json:"allow_multiple_values,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of Dashboard
	// Read Only: true
	DashboardID string `json:"dashboard_id,omitempty"`

	// Default value of filter
	DefaultValue string `json:"default_value,omitempty"`

	// Dimension of filter (required if type = field)
	Dimension string `json:"dimension,omitempty"`

	// Explore of filter (required if type = field)
	Explore string `json:"explore,omitempty"`

	// Field information
	// Read Only: true
	Field map[string]string `json:"field,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Array of listeners for faceted filters
	ListensToFilters []string `json:"listens_to_filters"`

	// Model of filter (required if type = field)
	Model string `json:"model,omitempty"`

	// Name of filter
	Name string `json:"name,omitempty"`

	// Whether the filter requires a value to run the dashboard
	Required bool `json:"required,omitempty"`

	// Display order of this filter relative to other filters
	Row int64 `json:"row,omitempty"`

	// Title of filter
	Title string `json:"title,omitempty"`

	// Type of filter: one of date, number, string, or field
	Type string `json:"type,omitempty"`

	// The visual configuration for this filter. Used to set up how the UI for this filter should appear.
	UIConfig map[string]string `json:"ui_config,omitempty"`
}

DashboardFilter dashboard filter

swagger:model DashboardFilter

func (*DashboardFilter) ContextValidate

func (m *DashboardFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard filter based on the context it is used

func (*DashboardFilter) MarshalBinary

func (m *DashboardFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardFilter) UnmarshalBinary

func (m *DashboardFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardFilter) Validate

func (m *DashboardFilter) Validate(formats strfmt.Registry) error

Validate validates this dashboard filter

type DashboardLayout

type DashboardLayout struct {

	// Is Active
	Active bool `json:"active,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Column Width
	ColumnWidth int64 `json:"column_width,omitempty"`

	// Id of Dashboard
	DashboardID string `json:"dashboard_id,omitempty"`

	// Components
	// Read Only: true
	DashboardLayoutComponents []*DashboardLayoutComponent `json:"dashboard_layout_components"`

	// Title extracted from the dashboard this layout represents.
	// Read Only: true
	DashboardTitle string `json:"dashboard_title,omitempty"`

	// Whether or not the dashboard layout is deleted.
	// Read Only: true
	Deleted *bool `json:"deleted,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Type
	Type string `json:"type,omitempty"`

	// Width
	Width int64 `json:"width,omitempty"`
}

DashboardLayout dashboard layout

swagger:model DashboardLayout

func (*DashboardLayout) ContextValidate

func (m *DashboardLayout) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard layout based on the context it is used

func (*DashboardLayout) MarshalBinary

func (m *DashboardLayout) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardLayout) UnmarshalBinary

func (m *DashboardLayout) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardLayout) Validate

func (m *DashboardLayout) Validate(formats strfmt.Registry) error

Validate validates this dashboard layout

type DashboardLayoutComponent

type DashboardLayoutComponent struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Column
	Column int64 `json:"column,omitempty"`

	// Id Of Dashboard Element
	DashboardElementID string `json:"dashboard_element_id,omitempty"`

	// Id of Dashboard Layout
	DashboardLayoutID string `json:"dashboard_layout_id,omitempty"`

	// Whether or not the dashboard layout component is deleted
	// Read Only: true
	Deleted *bool `json:"deleted,omitempty"`

	// Dashboard element title, extracted from the Dashboard Element.
	// Read Only: true
	ElementTitle string `json:"element_title,omitempty"`

	// Whether or not the dashboard element title is displayed.
	// Read Only: true
	ElementTitleHidden *bool `json:"element_title_hidden,omitempty"`

	// Height
	Height int64 `json:"height,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Row
	Row int64 `json:"row,omitempty"`

	// Visualization type, extracted from a query's vis_config
	// Read Only: true
	VisType string `json:"vis_type,omitempty"`

	// Width
	Width int64 `json:"width,omitempty"`
}

DashboardLayoutComponent dashboard layout component

swagger:model DashboardLayoutComponent

func (*DashboardLayoutComponent) ContextValidate

func (m *DashboardLayoutComponent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard layout component based on the context it is used

func (*DashboardLayoutComponent) MarshalBinary

func (m *DashboardLayoutComponent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardLayoutComponent) UnmarshalBinary

func (m *DashboardLayoutComponent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardLayoutComponent) Validate

func (m *DashboardLayoutComponent) Validate(formats strfmt.Registry) error

Validate validates this dashboard layout component

type DashboardLookml

type DashboardLookml struct {

	// Id of Dashboard
	// Read Only: true
	DashboardID string `json:"dashboard_id,omitempty"`

	// lookml of UDD
	// Read Only: true
	Lookml string `json:"lookml,omitempty"`
}

DashboardLookml dashboard lookml

swagger:model DashboardLookml

func (*DashboardLookml) ContextValidate

func (m *DashboardLookml) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard lookml based on the context it is used

func (*DashboardLookml) MarshalBinary

func (m *DashboardLookml) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardLookml) UnmarshalBinary

func (m *DashboardLookml) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardLookml) Validate

func (m *DashboardLookml) Validate(formats strfmt.Registry) error

Validate validates this dashboard lookml

type DataActionForm

type DataActionForm struct {

	// Array of form fields.
	// Read Only: true
	Fields []*DataActionFormField `json:"fields"`

	// User state
	// Read Only: true
	State *DataActionUserState `json:"state,omitempty"`
}

DataActionForm data action form

swagger:model DataActionForm

func (*DataActionForm) ContextValidate

func (m *DataActionForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data action form based on the context it is used

func (*DataActionForm) MarshalBinary

func (m *DataActionForm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataActionForm) UnmarshalBinary

func (m *DataActionForm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataActionForm) Validate

func (m *DataActionForm) Validate(formats strfmt.Registry) error

Validate validates this data action form

type DataActionFormField

type DataActionFormField struct {

	// Default value of the field.
	// Read Only: true
	Default string `json:"default,omitempty"`

	// Description of field
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Whether or not a field supports interactive forms.
	// Read Only: true
	Interactive *bool `json:"interactive,omitempty"`

	// Human-readable label
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// The URL for an oauth link, if type is 'oauth_link'.
	// Read Only: true
	OauthURL string `json:"oauth_url,omitempty"`

	// If the form type is 'select', a list of options to be selected from.
	// Read Only: true
	Options []*DataActionFormSelectOption `json:"options"`

	// Whether or not the field is required. This is a user-interface hint. A user interface displaying this form should not submit it without a value for this field. The action server must also perform this validation.
	// Read Only: true
	Required *bool `json:"required,omitempty"`

	// Type of field.
	// Read Only: true
	Type string `json:"type,omitempty"`
}

DataActionFormField data action form field

swagger:model DataActionFormField

func (*DataActionFormField) ContextValidate

func (m *DataActionFormField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data action form field based on the context it is used

func (*DataActionFormField) MarshalBinary

func (m *DataActionFormField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataActionFormField) UnmarshalBinary

func (m *DataActionFormField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataActionFormField) Validate

func (m *DataActionFormField) Validate(formats strfmt.Registry) error

Validate validates this data action form field

type DataActionFormSelectOption

type DataActionFormSelectOption struct {

	// Human-readable label
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`
}

DataActionFormSelectOption data action form select option

swagger:model DataActionFormSelectOption

func (*DataActionFormSelectOption) ContextValidate

func (m *DataActionFormSelectOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data action form select option based on the context it is used

func (*DataActionFormSelectOption) MarshalBinary

func (m *DataActionFormSelectOption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataActionFormSelectOption) UnmarshalBinary

func (m *DataActionFormSelectOption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataActionFormSelectOption) Validate

func (m *DataActionFormSelectOption) Validate(formats strfmt.Registry) error

Validate validates this data action form select option

type DataActionRequest

type DataActionRequest struct {

	// The JSON describing the data action. This JSON should be considered opaque and should be passed through unmodified from the query result it came from.
	Action map[string]string `json:"action,omitempty"`

	// User input for any form values the data action might use.
	FormValues map[string]string `json:"form_values,omitempty"`
}

DataActionRequest data action request

swagger:model DataActionRequest

func (*DataActionRequest) ContextValidate

func (m *DataActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this data action request based on context it is used

func (*DataActionRequest) MarshalBinary

func (m *DataActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataActionRequest) UnmarshalBinary

func (m *DataActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataActionRequest) Validate

func (m *DataActionRequest) Validate(formats strfmt.Registry) error

Validate validates this data action request

type DataActionResponse

type DataActionResponse struct {

	// Optional message returned by the data action server describing the state of the action that took place. This can be used to implement custom failure messages. If a failure is related to a particular form field, the server should send back a validation error instead. The Looker web UI does not currently display any message if the action indicates 'success', but may do so in the future.
	// Read Only: true
	Message string `json:"message,omitempty"`

	// When true, indicates that the client should refresh (rerun) the source query because the data may have been changed by the action.
	// Read Only: true
	RefreshQuery *bool `json:"refresh_query,omitempty"`

	// Whether the data action was successful.
	// Read Only: true
	Success *bool `json:"success,omitempty"`

	// Validation errors returned by the data action server.
	// Read Only: true
	ValidationErrors *ValidationError `json:"validation_errors,omitempty"`

	// ID of the webhook event that sent this data action. In some error conditions, this may be null.
	// Read Only: true
	WebhookID string `json:"webhook_id,omitempty"`
}

DataActionResponse data action response

swagger:model DataActionResponse

func (*DataActionResponse) ContextValidate

func (m *DataActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data action response based on the context it is used

func (*DataActionResponse) MarshalBinary

func (m *DataActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataActionResponse) UnmarshalBinary

func (m *DataActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataActionResponse) Validate

func (m *DataActionResponse) Validate(formats strfmt.Registry) error

Validate validates this data action response

type DataActionUserState

type DataActionUserState struct {

	// User state data
	// Read Only: true
	Data string `json:"data,omitempty"`

	// Time in seconds until the state needs to be refreshed
	// Read Only: true
	RefreshTime int64 `json:"refresh_time,omitempty"`
}

DataActionUserState data action user state

swagger:model DataActionUserState

func (*DataActionUserState) ContextValidate

func (m *DataActionUserState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data action user state based on the context it is used

func (*DataActionUserState) MarshalBinary

func (m *DataActionUserState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataActionUserState) UnmarshalBinary

func (m *DataActionUserState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataActionUserState) Validate

func (m *DataActionUserState) Validate(formats strfmt.Registry) error

Validate validates this data action user state

type Datagroup

type Datagroup struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// UNIX timestamp at which this entry was created.
	// Read Only: true
	CreatedAt int64 `json:"created_at,omitempty"`

	// Unique ID of the datagroup
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Name of the model containing the datagroup. Unique when combined with name.
	// Read Only: true
	ModelName string `json:"model_name,omitempty"`

	// Name of the datagroup. Unique when combined with model_name.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// UNIX timestamp before which cache entries are considered stale. Cannot be in the future.
	StaleBefore int64 `json:"stale_before,omitempty"`

	// UNIX timestamp at which this entry trigger was last checked.
	// Read Only: true
	TriggerCheckAt int64 `json:"trigger_check_at,omitempty"`

	// The message returned with the error of the last trigger check.
	// Read Only: true
	TriggerError string `json:"trigger_error,omitempty"`

	// The value of the trigger when last checked.
	// Read Only: true
	TriggerValue string `json:"trigger_value,omitempty"`

	// UNIX timestamp at which this entry became triggered. Cannot be in the future.
	TriggeredAt int64 `json:"triggered_at,omitempty"`
}

Datagroup datagroup

swagger:model Datagroup

func (*Datagroup) ContextValidate

func (m *Datagroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datagroup based on the context it is used

func (*Datagroup) MarshalBinary

func (m *Datagroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Datagroup) UnmarshalBinary

func (m *Datagroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Datagroup) Validate

func (m *Datagroup) Validate(formats strfmt.Registry) error

Validate validates this datagroup

type DelegateOauthTest

type DelegateOauthTest struct {

	// Installation ID
	// Read Only: true
	InstallationID int64 `json:"installation_id,omitempty"`

	// The ID of the installation target. For Slack, this would be workspace id.
	// Read Only: true
	InstallationTargetID string `json:"installation_target_id,omitempty"`

	// Delegate Oauth Connection Name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Whether or not the test was successful
	// Read Only: true
	Success *bool `json:"success,omitempty"`
}

DelegateOauthTest delegate oauth test

swagger:model DelegateOauthTest

func (*DelegateOauthTest) ContextValidate

func (m *DelegateOauthTest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delegate oauth test based on the context it is used

func (*DelegateOauthTest) MarshalBinary

func (m *DelegateOauthTest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DelegateOauthTest) UnmarshalBinary

func (m *DelegateOauthTest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DelegateOauthTest) Validate

func (m *DelegateOauthTest) Validate(formats strfmt.Registry) error

Validate validates this delegate oauth test

type DependencyGraph

type DependencyGraph struct {

	// The graph structure in the dot language that can be rendered into an image.
	// Read Only: true
	GraphText string `json:"graph_text,omitempty"`
}

DependencyGraph dependency graph

swagger:model DependencyGraph

func (*DependencyGraph) ContextValidate

func (m *DependencyGraph) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dependency graph based on the context it is used

func (*DependencyGraph) MarshalBinary

func (m *DependencyGraph) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DependencyGraph) UnmarshalBinary

func (m *DependencyGraph) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DependencyGraph) Validate

func (m *DependencyGraph) Validate(formats strfmt.Registry) error

Validate validates this dependency graph

type Dialect

type Dialect struct {

	// Should SQL Runner snippets automatically be run
	// Read Only: true
	AutomaticallyRunSQLRunnerSnippets *bool `json:"automatically_run_sql_runner_snippets,omitempty"`

	// Array of names of the tests that can be run on a connection using this dialect
	// Read Only: true
	ConnectionTests []string `json:"connection_tests"`

	// Does the database have client SSL support settable through the JDBC string explicitly?
	// Read Only: true
	HasSslSupport *bool `json:"has_ssl_support,omitempty"`

	// The human-readable label of the connection
	// Read Only: true
	Label string `json:"label,omitempty"`

	// The name of the dialect
	// Read Only: true
	Name string `json:"name,omitempty"`

	// PDT distkey column
	// Read Only: true
	PersistentTableDistkey string `json:"persistent_table_distkey,omitempty"`

	// PDT index columns
	// Read Only: true
	PersistentTableIndexes string `json:"persistent_table_indexes,omitempty"`

	// PDT sortkey columns
	// Read Only: true
	PersistentTableSortkeys string `json:"persistent_table_sortkeys,omitempty"`

	// Whether the dialect supports query cost estimates
	// Read Only: true
	SupportsCostEstimate *bool `json:"supports_cost_estimate,omitempty"`

	// Is supported with the inducer (i.e. generate from sql)
	// Read Only: true
	SupportsInducer *bool `json:"supports_inducer,omitempty"`

	// Can multiple databases be accessed from a connection using this dialect
	// Read Only: true
	SupportsMultipleDatabases *bool `json:"supports_multiple_databases,omitempty"`

	// Whether the dialect supports allowing Looker to build persistent derived tables
	// Read Only: true
	SupportsPersistentDerivedTables *bool `json:"supports_persistent_derived_tables,omitempty"`

	// Suports streaming results
	// Read Only: true
	SupportsStreaming *bool `json:"supports_streaming,omitempty"`
}

Dialect dialect

swagger:model Dialect

func (*Dialect) ContextValidate

func (m *Dialect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dialect based on the context it is used

func (*Dialect) MarshalBinary

func (m *Dialect) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dialect) UnmarshalBinary

func (m *Dialect) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dialect) Validate

func (m *Dialect) Validate(formats strfmt.Registry) error

Validate validates this dialect

type DialectInfo

type DialectInfo struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Default number max connections
	// Read Only: true
	DefaultMaxConnections string `json:"default_max_connections,omitempty"`

	// Default port number
	// Read Only: true
	DefaultPort string `json:"default_port,omitempty"`

	// Is the supporting driver installed
	// Read Only: true
	Installed *bool `json:"installed,omitempty"`

	// The human-readable label of the connection
	// Read Only: true
	Label string `json:"label,omitempty"`

	// What the dialect calls the equivalent of a normal SQL table
	// Read Only: true
	LabelForDatabaseEquivalent string `json:"label_for_database_equivalent,omitempty"`

	// The name of the dialect
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Option support details
	// Read Only: true
	SupportedOptions *DialectInfoOptions `json:"supported_options,omitempty"`
}

DialectInfo dialect info

swagger:model DialectInfo

func (*DialectInfo) ContextValidate

func (m *DialectInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dialect info based on the context it is used

func (*DialectInfo) MarshalBinary

func (m *DialectInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DialectInfo) UnmarshalBinary

func (m *DialectInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DialectInfo) Validate

func (m *DialectInfo) Validate(formats strfmt.Registry) error

Validate validates this dialect info

type DialectInfoOptions

type DialectInfoOptions struct {

	// Has additional params support
	// Read Only: true
	AdditionalParams *bool `json:"additional_params,omitempty"`

	// Has auth support
	// Read Only: true
	Auth *bool `json:"auth,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Has host support
	// Read Only: true
	Host *bool `json:"host,omitempty"`

	// Has support for a service account
	// Read Only: true
	OauthCredentials *bool `json:"oauth_credentials,omitempty"`

	// Has project name support
	// Read Only: true
	ProjectName *bool `json:"project_name,omitempty"`

	// Has schema support
	// Read Only: true
	Schema *bool `json:"schema,omitempty"`

	// Has SSL support
	// Read Only: true
	Ssl *bool `json:"ssl,omitempty"`

	// Has timezone support
	// Read Only: true
	Timezone *bool `json:"timezone,omitempty"`

	// Has tmp table support
	// Read Only: true
	TmpTable *bool `json:"tmp_table,omitempty"`

	// Username is required
	// Read Only: true
	UsernameRequired *bool `json:"username_required,omitempty"`
}

DialectInfoOptions dialect info options

swagger:model DialectInfoOptions

func (*DialectInfoOptions) ContextValidate

func (m *DialectInfoOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dialect info options based on the context it is used

func (*DialectInfoOptions) MarshalBinary

func (m *DialectInfoOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DialectInfoOptions) UnmarshalBinary

func (m *DialectInfoOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DialectInfoOptions) Validate

func (m *DialectInfoOptions) Validate(formats strfmt.Registry) error

Validate validates this dialect info options

type DigestEmailSend

type DigestEmailSend struct {

	// True if content was successfully generated and delivered
	ConfigurationDelivered bool `json:"configuration_delivered,omitempty"`
}

DigestEmailSend digest email send

swagger:model DigestEmailSend

func (*DigestEmailSend) ContextValidate

func (m *DigestEmailSend) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this digest email send based on context it is used

func (*DigestEmailSend) MarshalBinary

func (m *DigestEmailSend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DigestEmailSend) UnmarshalBinary

func (m *DigestEmailSend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DigestEmailSend) Validate

func (m *DigestEmailSend) Validate(formats strfmt.Registry) error

Validate validates this digest email send

type DigestEmails

type DigestEmails struct {

	// Whether or not digest emails are enabled
	IsEnabled bool `json:"is_enabled,omitempty"`
}

DigestEmails digest emails

swagger:model DigestEmails

func (*DigestEmails) ContextValidate

func (m *DigestEmails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this digest emails based on context it is used

func (*DigestEmails) MarshalBinary

func (m *DigestEmails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DigestEmails) UnmarshalBinary

func (m *DigestEmails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DigestEmails) Validate

func (m *DigestEmails) Validate(formats strfmt.Registry) error

Validate validates this digest emails

type DiscretePalette

type DiscretePalette struct {

	// Array of colors in the palette
	Colors []string `json:"colors"`

	// Unique identity string
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Label for palette
	Label string `json:"label,omitempty"`

	// Type of palette
	Type string `json:"type,omitempty"`
}

DiscretePalette discrete palette

swagger:model DiscretePalette

func (*DiscretePalette) ContextValidate

func (m *DiscretePalette) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this discrete palette based on the context it is used

func (*DiscretePalette) MarshalBinary

func (m *DiscretePalette) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiscretePalette) UnmarshalBinary

func (m *DiscretePalette) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiscretePalette) Validate

func (m *DiscretePalette) Validate(formats strfmt.Registry) error

Validate validates this discrete palette

type EmbedSsoParams

type EmbedSsoParams struct {

	// A unique value identifying an embed-exclusive group. Multiple embed users using the same `external_group_id` value will be able to share Looker content with each other. Content and embed users associated with the `external_group_id` will not be accessible to normal Looker users or embed users not associated with this `external_group_id`.
	ExternalGroupID string `json:"external_group_id,omitempty"`

	// A value from an external system that uniquely identifies the embed user. Since the user_ids of Looker embed users may change with every embed session, external_user_id provides a way to assign a known, stable user identifier across multiple embed sessions.
	ExternalUserID string `json:"external_user_id,omitempty"`

	// First name of the embed user. Defaults to 'Embed' if not specified
	FirstName string `json:"first_name,omitempty"`

	// When true, the embed session will purge any residual Looker login state (such as in browser cookies) before creating a new login state with the given embed user info. Defaults to true.
	ForceLogoutLogin bool `json:"force_logout_login,omitempty"`

	// List of Looker group ids in which to enroll the embed user
	GroupIds []int64 `json:"group_ids"`

	// Last name of the embed user. Defaults to 'User' if not specified
	LastName string `json:"last_name,omitempty"`

	// List of model names that the embed user may access
	Models []string `json:"models"`

	// List of Looker permission names to grant to the embed user. Requested permissions will be filtered to permissions allowed for embed sessions.
	Permissions []string `json:"permissions"`

	// Id of the embed secret to use to sign this SSO url. If specified, the value must be an id of a valid (active) secret defined in the Looker instance. If not specified, the URL will be signed with the newest active embed secret defined in the Looker instance.
	SecretID int64 `json:"secret_id,omitempty"`

	// Number of seconds the SSO embed session will be valid after the embed session is started. Defaults to 300 seconds. Maximum session length accepted is 2592000 seconds (30 days).
	SessionLength int64 `json:"session_length,omitempty"`

	// The complete URL of the Looker UI page to display in the embed context. For example, to display the dashboard with id 34, `target_url` would look like: `https://mycompany.looker.com:9999/dashboards/34`. `target_uri` MUST contain a scheme (HTTPS), domain name, and URL path. Port must be included if it is required to reach the Looker server from browser clients. If the Looker instance is behind a load balancer or other proxy, `target_uri` must be the public-facing domain name and port required to reach the Looker instance, not the actual internal network machine name of the Looker instance.
	// Required: true
	// Format: uri
	TargetURL *strfmt.URI `json:"target_url"`

	// A dictionary of name-value pairs associating a Looker user attribute name with a value.
	UserAttributes map[string]string `json:"user_attributes,omitempty"`

	// Sets the user timezone for the embed user session, if the User Specific Timezones setting is enabled in the Looker admin settings. A value of `null` forces the embed user to use the Looker Application Default Timezone. You MUST omit this property from the request if the User Specific Timezones setting is disabled. Timezone values are validated against the IANA Timezone standard and can be seen in the Application Time Zone dropdown list on the Looker General Settings admin page.
	UserTimezone string `json:"user_timezone,omitempty"`
}

EmbedSsoParams embed sso params

swagger:model EmbedSsoParams

func (*EmbedSsoParams) ContextValidate

func (m *EmbedSsoParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this embed sso params based on context it is used

func (*EmbedSsoParams) MarshalBinary

func (m *EmbedSsoParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmbedSsoParams) UnmarshalBinary

func (m *EmbedSsoParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmbedSsoParams) Validate

func (m *EmbedSsoParams) Validate(formats strfmt.Registry) error

Validate validates this embed sso params

type EmbedURLResponse

type EmbedURLResponse struct {

	// The embed URL. Any modification to this string will make the URL unusable.
	// Read Only: true
	URL string `json:"url,omitempty"`
}

EmbedURLResponse embed Url response

swagger:model EmbedUrlResponse

func (*EmbedURLResponse) ContextValidate

func (m *EmbedURLResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this embed Url response based on the context it is used

func (*EmbedURLResponse) MarshalBinary

func (m *EmbedURLResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmbedURLResponse) UnmarshalBinary

func (m *EmbedURLResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmbedURLResponse) Validate

func (m *EmbedURLResponse) Validate(formats strfmt.Registry) error

Validate validates this embed Url response

type Error

type Error struct {

	// Documentation link
	// Required: true
	// Read Only: true
	// Format: uri
	DocumentationURL strfmt.URI `json:"documentation_url"`

	// Error details
	// Required: true
	// Read Only: true
	Message string `json:"message"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error based on the context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Folder

type Folder struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Children Count
	// Read Only: true
	ChildCount int64 `json:"child_count,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time the space was created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// User Id of Creator
	// Read Only: true
	CreatorID int64 `json:"creator_id,omitempty"`

	// Dashboards
	// Read Only: true
	Dashboards []*DashboardBase `json:"dashboards"`

	// Embedder's Id if this folder was autogenerated as an embedding shared folder via 'external_group_id' in an SSO embed login
	// Read Only: true
	ExternalID string `json:"external_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Folder is an embed folder
	// Read Only: true
	IsEmbed *bool `json:"is_embed,omitempty"`

	// Folder is the root embed shared folder
	// Read Only: true
	IsEmbedSharedRoot *bool `json:"is_embed_shared_root,omitempty"`

	// Folder is the root embed users folder
	// Read Only: true
	IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"`

	// Folder is a user's personal folder
	// Read Only: true
	IsPersonal *bool `json:"is_personal,omitempty"`

	// Folder is descendant of a user's personal folder
	// Read Only: true
	IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"`

	// Folder is the root shared folder
	// Read Only: true
	IsSharedRoot *bool `json:"is_shared_root,omitempty"`

	// Folder is the root user folder
	// Read Only: true
	IsUsersRoot *bool `json:"is_users_root,omitempty"`

	// Looks
	// Read Only: true
	Looks []*LookWithDashboards `json:"looks"`

	// Unique Name
	// Required: true
	Name *string `json:"name"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	ParentID string `json:"parent_id,omitempty"`
}

Folder folder

swagger:model Folder

func (*Folder) ContextValidate

func (m *Folder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this folder based on the context it is used

func (*Folder) MarshalBinary

func (m *Folder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Folder) UnmarshalBinary

func (m *Folder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Folder) Validate

func (m *Folder) Validate(formats strfmt.Registry) error

Validate validates this folder

type FolderBase

type FolderBase struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Children Count
	// Read Only: true
	ChildCount int64 `json:"child_count,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time the folder was created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// User Id of Creator
	// Read Only: true
	CreatorID int64 `json:"creator_id,omitempty"`

	// Embedder's Id if this folder was autogenerated as an embedding shared folder via 'external_group_id' in an SSO embed login
	// Read Only: true
	ExternalID string `json:"external_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Folder is an embed folder
	// Read Only: true
	IsEmbed *bool `json:"is_embed,omitempty"`

	// Folder is the root embed shared folder
	// Read Only: true
	IsEmbedSharedRoot *bool `json:"is_embed_shared_root,omitempty"`

	// Folder is the root embed users folder
	// Read Only: true
	IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"`

	// Folder is a user's personal folder
	// Read Only: true
	IsPersonal *bool `json:"is_personal,omitempty"`

	// Folder is descendant of a user's personal folder
	// Read Only: true
	IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"`

	// Folder is the root shared folder
	// Read Only: true
	IsSharedRoot *bool `json:"is_shared_root,omitempty"`

	// Folder is the root user folder
	// Read Only: true
	IsUsersRoot *bool `json:"is_users_root,omitempty"`

	// Unique Name
	// Required: true
	Name *string `json:"name"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	ParentID string `json:"parent_id,omitempty"`
}

FolderBase folder base

swagger:model FolderBase

func (*FolderBase) ContextValidate

func (m *FolderBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this folder base based on the context it is used

func (*FolderBase) MarshalBinary

func (m *FolderBase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FolderBase) UnmarshalBinary

func (m *FolderBase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FolderBase) Validate

func (m *FolderBase) Validate(formats strfmt.Registry) error

Validate validates this folder base

type GitBranch

type GitBranch struct {

	// Number of commits the local branch is ahead of the remote
	// Read Only: true
	AheadCount int64 `json:"ahead_count,omitempty"`

	// Number of commits the local branch is behind the remote
	// Read Only: true
	BehindCount int64 `json:"behind_count,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// UNIX timestamp at which this branch was last committed.
	// Read Only: true
	CommitAt int64 `json:"commit_at,omitempty"`

	// Name of error
	// Read Only: true
	Error string `json:"error,omitempty"`

	// Whether or not a local ref exists for the branch
	// Read Only: true
	IsLocal *bool `json:"is_local,omitempty"`

	// Whether or not this is the production branch
	// Read Only: true
	IsProduction *bool `json:"is_production,omitempty"`

	// Whether or not a remote ref exists for the branch
	// Read Only: true
	IsRemote *bool `json:"is_remote,omitempty"`

	// Message describing an error if present
	// Read Only: true
	Message string `json:"message,omitempty"`

	// The short name on the local. Updating `name` results in `git checkout <new_name>`
	Name string `json:"name,omitempty"`

	// Name of the owner of a personal branch
	// Read Only: true
	OwnerName string `json:"owner_name,omitempty"`

	// Whether or not this branch is a personal branch - readonly for all developers except the owner
	// Read Only: true
	Personal *bool `json:"personal,omitempty"`

	// Whether or not this branch is readonly
	// Read Only: true
	Readonly *bool `json:"readonly,omitempty"`

	// The resolved ref of this branch. Updating `ref` results in `git reset --hard <new_ref>“.
	Ref string `json:"ref,omitempty"`

	// The name of the remote
	// Read Only: true
	Remote string `json:"remote,omitempty"`

	// The short name on the remote
	// Read Only: true
	RemoteName string `json:"remote_name,omitempty"`

	// The resolved ref of this branch remote.
	// Read Only: true
	RemoteRef string `json:"remote_ref,omitempty"`
}

GitBranch git branch

swagger:model GitBranch

func (*GitBranch) ContextValidate

func (m *GitBranch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git branch based on the context it is used

func (*GitBranch) MarshalBinary

func (m *GitBranch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitBranch) UnmarshalBinary

func (m *GitBranch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitBranch) Validate

func (m *GitBranch) Validate(formats strfmt.Registry) error

Validate validates this git branch

type GitConnectionTest

type GitConnectionTest struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Human readable string describing the test
	// Read Only: true
	Description string `json:"description,omitempty"`

	// A short string, uniquely naming this test
	// Read Only: true
	ID string `json:"id,omitempty"`
}

GitConnectionTest git connection test

swagger:model GitConnectionTest

func (*GitConnectionTest) ContextValidate

func (m *GitConnectionTest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git connection test based on the context it is used

func (*GitConnectionTest) MarshalBinary

func (m *GitConnectionTest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitConnectionTest) UnmarshalBinary

func (m *GitConnectionTest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitConnectionTest) Validate

func (m *GitConnectionTest) Validate(formats strfmt.Registry) error

Validate validates this git connection test

type GitConnectionTestResult

type GitConnectionTestResult struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// A short string, uniquely naming this test
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Additional data from the test
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Either 'pass' or 'fail'
	// Read Only: true
	Status string `json:"status,omitempty"`
}

GitConnectionTestResult git connection test result

swagger:model GitConnectionTestResult

func (*GitConnectionTestResult) ContextValidate

func (m *GitConnectionTestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git connection test result based on the context it is used

func (*GitConnectionTestResult) MarshalBinary

func (m *GitConnectionTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitConnectionTestResult) UnmarshalBinary

func (m *GitConnectionTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitConnectionTestResult) Validate

func (m *GitConnectionTestResult) Validate(formats strfmt.Registry) error

Validate validates this git connection test result

type GitStatus

type GitStatus struct {

	// Git action: add, delete, etc
	// Read Only: true
	Action string `json:"action,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// When true, changes to the local file conflict with the remote repository
	// Read Only: true
	Conflict *bool `json:"conflict,omitempty"`

	// When true, the file can be reverted to an earlier state
	// Read Only: true
	Revertable *bool `json:"revertable,omitempty"`

	// Git description of the action
	// Read Only: true
	Text string `json:"text,omitempty"`
}

GitStatus git status

swagger:model GitStatus

func (*GitStatus) ContextValidate

func (m *GitStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git status based on the context it is used

func (*GitStatus) MarshalBinary

func (m *GitStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitStatus) UnmarshalBinary

func (m *GitStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitStatus) Validate

func (m *GitStatus) Validate(formats strfmt.Registry) error

Validate validates this git status

type Group

type Group struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Group can be used in content access controls
	CanAddToContentMetadata bool `json:"can_add_to_content_metadata,omitempty"`

	// Currently logged in user is group member
	// Read Only: true
	ContainsCurrentUser *bool `json:"contains_current_user,omitempty"`

	// External Id group if embed group
	// Read Only: true
	ExternalGroupID string `json:"external_group_id,omitempty"`

	// Group membership controlled outside of Looker
	// Read Only: true
	ExternallyManaged *bool `json:"externally_managed,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// New users are added to this group by default
	// Read Only: true
	IncludeByDefault *bool `json:"include_by_default,omitempty"`

	// Name of group
	Name string `json:"name,omitempty"`

	// Number of users included in this group
	// Read Only: true
	UserCount int64 `json:"user_count,omitempty"`
}

Group group

swagger:model Group

func (*Group) ContextValidate

func (m *Group) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this group based on the context it is used

func (*Group) MarshalBinary

func (m *Group) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

func (m *Group) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Group) Validate

func (m *Group) Validate(formats strfmt.Registry) error

Validate validates this group

type GroupIDForGroupInclusion

type GroupIDForGroupInclusion struct {

	// Id of group
	// Read Only: true
	GroupID int64 `json:"group_id,omitempty"`
}

GroupIDForGroupInclusion group Id for group inclusion

swagger:model GroupIdForGroupInclusion

func (*GroupIDForGroupInclusion) ContextValidate

func (m *GroupIDForGroupInclusion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this group Id for group inclusion based on the context it is used

func (*GroupIDForGroupInclusion) MarshalBinary

func (m *GroupIDForGroupInclusion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupIDForGroupInclusion) UnmarshalBinary

func (m *GroupIDForGroupInclusion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupIDForGroupInclusion) Validate

func (m *GroupIDForGroupInclusion) Validate(formats strfmt.Registry) error

Validate validates this group Id for group inclusion

type GroupIDForGroupUserInclusion

type GroupIDForGroupUserInclusion struct {

	// Id of user
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`
}

GroupIDForGroupUserInclusion group Id for group user inclusion

swagger:model GroupIdForGroupUserInclusion

func (*GroupIDForGroupUserInclusion) ContextValidate

func (m *GroupIDForGroupUserInclusion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this group Id for group user inclusion based on the context it is used

func (*GroupIDForGroupUserInclusion) MarshalBinary

func (m *GroupIDForGroupUserInclusion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupIDForGroupUserInclusion) UnmarshalBinary

func (m *GroupIDForGroupUserInclusion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupIDForGroupUserInclusion) Validate

func (m *GroupIDForGroupUserInclusion) Validate(formats strfmt.Registry) error

Validate validates this group Id for group user inclusion

type Homepage

type Homepage struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of associated content_metadata record
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Date of homepage creation
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Date of homepage deletion
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deleted_at,omitempty"`

	// Description of the homepage
	Description string `json:"description,omitempty"`

	// Sections of the homepage
	// Read Only: true
	HomepageSections []*HomepageSection `json:"homepage_sections"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Whether the homepage is the primary homepage or not
	// Read Only: true
	PrimaryHomepage *bool `json:"primary_homepage,omitempty"`

	// ids of the homepage sections in the order they should be displayed
	SectionOrder []int64 `json:"section_order"`

	// Title of the homepage
	Title string `json:"title,omitempty"`

	// Date of last homepage update
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// User id of homepage creator
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`
}

Homepage homepage

swagger:model Homepage

func (*Homepage) ContextValidate

func (m *Homepage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this homepage based on the context it is used

func (*Homepage) MarshalBinary

func (m *Homepage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Homepage) UnmarshalBinary

func (m *Homepage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Homepage) Validate

func (m *Homepage) Validate(formats strfmt.Registry) error

Validate validates this homepage

type HomepageItem

type HomepageItem struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Name of user who created the content this item is based on
	// Read Only: true
	ContentCreatedBy string `json:"content_created_by,omitempty"`

	// Content favorite id associated with the item this content is based on
	// Read Only: true
	ContentFavoriteID int64 `json:"content_favorite_id,omitempty"`

	// Content metadata id associated with the item this content is based on
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Last time the content that this item is based on was updated
	// Read Only: true
	ContentUpdatedAt string `json:"content_updated_at,omitempty"`

	// Custom description entered by the user, if present
	CustomDescription string `json:"custom_description,omitempty"`

	// (Write-Only) base64 encoded image data
	CustomImageDataBase64 string `json:"custom_image_data_base64,omitempty"`

	// Custom image_url entered by the user, if present
	// Read Only: true
	CustomImageURL string `json:"custom_image_url,omitempty"`

	// Custom title entered by the user, if present
	CustomTitle string `json:"custom_title,omitempty"`

	// Custom url entered by the user, if present
	CustomURL string `json:"custom_url,omitempty"`

	// Dashboard to base this item on
	DashboardID int64 `json:"dashboard_id,omitempty"`

	// The actual description for display
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Number of times content has been favorited, if present
	// Read Only: true
	FavoriteCount int64 `json:"favorite_count,omitempty"`

	// Associated Homepage Section
	HomepageSectionID string `json:"homepage_section_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// The actual image_url for display
	// Read Only: true
	ImageURL string `json:"image_url,omitempty"`

	// The container folder name of the content
	// Read Only: true
	Location string `json:"location,omitempty"`

	// Look to base this item on
	LookID int64 `json:"look_id,omitempty"`

	// LookML Dashboard to base this item on
	LookmlDashboardID string `json:"lookml_dashboard_id,omitempty"`

	// An arbitrary integer representing the sort order within the section
	Order int64 `json:"order,omitempty"`

	// Number of seconds it took to fetch the section this item is in
	// Read Only: true
	SectionFetchTime float32 `json:"section_fetch_time,omitempty"`

	// The actual title for display
	// Read Only: true
	Title string `json:"title,omitempty"`

	// The actual url for display
	// Read Only: true
	URL string `json:"url,omitempty"`

	// Whether the custom description should be used instead of the content description, if the item is associated with content
	UseCustomDescription bool `json:"use_custom_description,omitempty"`

	// Whether the custom image should be used instead of the content image, if the item is associated with content
	UseCustomImage bool `json:"use_custom_image,omitempty"`

	// Whether the custom title should be used instead of the content title, if the item is associated with content
	UseCustomTitle bool `json:"use_custom_title,omitempty"`

	// Whether the custom url should be used instead of the content url, if the item is associated with content
	UseCustomURL bool `json:"use_custom_url,omitempty"`

	// Number of times content has been viewed, if present
	// Read Only: true
	ViewCount int64 `json:"view_count,omitempty"`
}

HomepageItem homepage item

swagger:model HomepageItem

func (*HomepageItem) ContextValidate

func (m *HomepageItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this homepage item based on the context it is used

func (*HomepageItem) MarshalBinary

func (m *HomepageItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HomepageItem) UnmarshalBinary

func (m *HomepageItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HomepageItem) Validate

func (m *HomepageItem) Validate(formats strfmt.Registry) error

Validate validates this homepage item

type HomepageSection

type HomepageSection struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Time at which this section was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Time at which this section was deleted.
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deleted_at,omitempty"`

	// Description of the content found in this section.
	Description string `json:"description,omitempty"`

	// A URL pointing to a page showing further information about the content in the section.
	// Read Only: true
	DetailURL string `json:"detail_url,omitempty"`

	// Id reference to parent homepage
	HomepageID int64 `json:"homepage_id,omitempty"`

	// Items in the homepage section
	// Read Only: true
	HomepageItems []*HomepageItem `json:"homepage_items"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Is this a header section (has no items)
	// Read Only: true
	IsHeader *bool `json:"is_header,omitempty"`

	// ids of the homepage items in the order they should be displayed
	ItemOrder []int64 `json:"item_order"`

	// Name of row
	Title string `json:"title,omitempty"`

	// Time at which this section was last updated.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HomepageSection homepage section

swagger:model HomepageSection

func (*HomepageSection) ContextValidate

func (m *HomepageSection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this homepage section based on the context it is used

func (*HomepageSection) MarshalBinary

func (m *HomepageSection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HomepageSection) UnmarshalBinary

func (m *HomepageSection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HomepageSection) Validate

func (m *HomepageSection) Validate(formats strfmt.Registry) error

Validate validates this homepage section

type ImportedProject

type ImportedProject struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Flag signifying if a dependency is remote or local
	// Read Only: true
	IsRemote *bool `json:"is_remote,omitempty"`

	// Dependency name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Ref for a remote dependency
	// Read Only: true
	Ref string `json:"ref,omitempty"`

	// Url for a remote dependency
	// Read Only: true
	URL string `json:"url,omitempty"`
}

ImportedProject imported project

swagger:model ImportedProject

func (*ImportedProject) ContextValidate

func (m *ImportedProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this imported project based on the context it is used

func (*ImportedProject) MarshalBinary

func (m *ImportedProject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportedProject) UnmarshalBinary

func (m *ImportedProject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportedProject) Validate

func (m *ImportedProject) Validate(formats strfmt.Registry) error

Validate validates this imported project

type Integration

type Integration struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Whether the integration uses delegate oauth, which allows federation between an integration installation scope specific entity (like org, group, and team, etc.) and Looker.
	// Read Only: true
	DelegateOauth *bool `json:"delegate_oauth,omitempty"`

	// Description of the integration.
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Whether the integration is available to users.
	Enabled bool `json:"enabled,omitempty"`

	// URL to an icon for the integration.
	// Read Only: true
	IconURL string `json:"icon_url,omitempty"`

	// ID of the integration.
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Whether the integration is available to users.
	InstalledDelegateOauthTargets []int64 `json:"installed_delegate_oauth_targets"`

	// ID of the integration hub.
	// Read Only: true
	IntegrationHubID int64 `json:"integration_hub_id,omitempty"`

	// Label for the integration.
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Array of params for the integration.
	Params []*IntegrationParam `json:"params"`

	// A list of descriptions of required fields that this integration is compatible with. If there are multiple entries in this list, the integration requires more than one field. If unspecified, no fields will be required.
	// Read Only: true
	RequiredFields []*IntegrationRequiredField `json:"required_fields"`

	// A list of action types the integration supports. Valid values are: "cell", "query", "dashboard".
	// Read Only: true
	SupportedActionTypes []string `json:"supported_action_types"`

	// A list of all the download mechanisms the integration supports. The order of values is not significant: Looker will select the most appropriate supported download mechanism for a given query. The integration must ensure it can handle any of the mechanisms it claims to support. If unspecified, this defaults to all download setting values. Valid values are: "push", "url".
	// Read Only: true
	SupportedDownloadSettings []string `json:"supported_download_settings"`

	// A list of data formats the integration supports. If unspecified, the default is all data formats. Valid values are: "txt", "csv", "inline_json", "json", "json_label", "json_detail", "json_detail_lite_stream", "xlsx", "html", "wysiwyg_pdf", "assembled_pdf", "wysiwyg_png", "csv_zip".
	// Read Only: true
	SupportedFormats []string `json:"supported_formats"`

	// A list of formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "formatted", "unformatted".
	// Read Only: true
	SupportedFormattings []string `json:"supported_formattings"`

	// A list of visualization formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "apply", "noapply".
	// Read Only: true
	SupportedVisualizationFormattings []string `json:"supported_visualization_formattings"`

	// Whether the integration uses oauth.
	// Read Only: true
	UsesOauth *bool `json:"uses_oauth,omitempty"`
}

Integration integration

swagger:model Integration

func (*Integration) ContextValidate

func (m *Integration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration based on the context it is used

func (*Integration) MarshalBinary

func (m *Integration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Integration) UnmarshalBinary

func (m *Integration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Integration) Validate

func (m *Integration) Validate(formats strfmt.Registry) error

Validate validates this integration

type IntegrationHub

type IntegrationHub struct {

	// (Write-Only) An authorization key that will be sent to the integration hub on every request.
	AuthorizationToken string `json:"authorization_token,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// An error message, present if the integration hub metadata could not be fetched. If this is present, the integration hub is unusable.
	// Read Only: true
	FetchErrorMessage string `json:"fetch_error_message,omitempty"`

	// Whether the authorization_token is set for the hub.
	// Read Only: true
	HasAuthorizationToken *bool `json:"has_authorization_token,omitempty"`

	// ID of the hub.
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Label of the hub.
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Whether the legal terms for the integration hub are required before use.
	// Read Only: true
	LegalAgreementRequired *bool `json:"legal_agreement_required,omitempty"`

	// Whether the legal agreement message has been signed by the user. This only matters if legal_agreement_required is true.
	// Read Only: true
	LegalAgreementSigned *bool `json:"legal_agreement_signed,omitempty"`

	// The legal agreement text for this integration hub.
	// Read Only: true
	LegalAgreementText string `json:"legal_agreement_text,omitempty"`

	// Whether this hub is a first-party integration hub operated by Looker.
	// Read Only: true
	Official *bool `json:"official,omitempty"`

	// URL of the hub.
	URL string `json:"url,omitempty"`
}

IntegrationHub integration hub

swagger:model IntegrationHub

func (*IntegrationHub) ContextValidate

func (m *IntegrationHub) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration hub based on the context it is used

func (*IntegrationHub) MarshalBinary

func (m *IntegrationHub) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationHub) UnmarshalBinary

func (m *IntegrationHub) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationHub) Validate

func (m *IntegrationHub) Validate(formats strfmt.Registry) error

Validate validates this integration hub

type IntegrationParam

type IntegrationParam struct {

	// When present, the param represents the oauth url the user will be taken to.
	// Read Only: true
	DelegateOauthURL string `json:"delegate_oauth_url,omitempty"`

	// Short description of the parameter.
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Whether the parameter has a value set.
	// Read Only: true
	HasValue *bool `json:"has_value,omitempty"`

	// Label of the parameter.
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name of the parameter.
	Name string `json:"name,omitempty"`

	// When true, this parameter must be assigned to a user attribute in the admin panel (instead of a constant value), and that value may be updated by the user as part of the integration flow.
	// Read Only: true
	PerUser *bool `json:"per_user,omitempty"`

	// Whether the parameter is required to be set to use the destination. If unspecified, this defaults to false.
	// Read Only: true
	Required *bool `json:"required,omitempty"`

	// Whether the parameter contains sensitive data like API credentials. If unspecified, this defaults to true.
	// Read Only: true
	Sensitive *bool `json:"sensitive,omitempty"`

	// When present, the param's value comes from this user attribute instead of the 'value' parameter. Set to null to use the 'value'.
	UserAttributeName string `json:"user_attribute_name,omitempty"`

	// The current value of the parameter. Always null if the value is sensitive. When writing, null values will be ignored. Set the value to an empty string to clear it.
	Value string `json:"value,omitempty"`
}

IntegrationParam integration param

swagger:model IntegrationParam

func (*IntegrationParam) ContextValidate

func (m *IntegrationParam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration param based on the context it is used

func (*IntegrationParam) MarshalBinary

func (m *IntegrationParam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationParam) UnmarshalBinary

func (m *IntegrationParam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationParam) Validate

func (m *IntegrationParam) Validate(formats strfmt.Registry) error

Validate validates this integration param

type IntegrationRequiredField

type IntegrationRequiredField struct {

	// If present, supercedes 'tag' and matches a field that has all of the provided tags.
	// Read Only: true
	AllTags []string `json:"all_tags"`

	// If present, supercedes 'tag' and matches a field that has any of the provided tags.
	// Read Only: true
	AnyTag []string `json:"any_tag"`

	// Matches a field that has this tag.
	// Read Only: true
	Tag string `json:"tag,omitempty"`
}

IntegrationRequiredField integration required field

swagger:model IntegrationRequiredField

func (*IntegrationRequiredField) ContextValidate

func (m *IntegrationRequiredField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration required field based on the context it is used

func (*IntegrationRequiredField) MarshalBinary

func (m *IntegrationRequiredField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationRequiredField) UnmarshalBinary

func (m *IntegrationRequiredField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationRequiredField) Validate

func (m *IntegrationRequiredField) Validate(formats strfmt.Registry) error

Validate validates this integration required field

type IntegrationTestResult

type IntegrationTestResult struct {

	// An array of connection test result for delegate oauth actions.
	// Read Only: true
	DelegateOauthResult []*DelegateOauthTest `json:"delegate_oauth_result"`

	// A message representing the results of the test.
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Whether or not the test was successful
	// Read Only: true
	Success *bool `json:"success,omitempty"`
}

IntegrationTestResult integration test result

swagger:model IntegrationTestResult

func (*IntegrationTestResult) ContextValidate

func (m *IntegrationTestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration test result based on the context it is used

func (*IntegrationTestResult) MarshalBinary

func (m *IntegrationTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationTestResult) UnmarshalBinary

func (m *IntegrationTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationTestResult) Validate

func (m *IntegrationTestResult) Validate(formats strfmt.Registry) error

Validate validates this integration test result

type InternalHelpResources

type InternalHelpResources struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// If true and internal help resources content is not blank then the link for internal help resources will be shown in the help menu and the content displayed within Looker
	Enabled bool `json:"enabled,omitempty"`
}

InternalHelpResources internal help resources

swagger:model InternalHelpResources

func (*InternalHelpResources) ContextValidate

func (m *InternalHelpResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this internal help resources based on the context it is used

func (*InternalHelpResources) MarshalBinary

func (m *InternalHelpResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InternalHelpResources) UnmarshalBinary

func (m *InternalHelpResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InternalHelpResources) Validate

func (m *InternalHelpResources) Validate(formats strfmt.Registry) error

Validate validates this internal help resources

type InternalHelpResourcesContent

type InternalHelpResourcesContent struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content to be displayed in the internal help resources page/modal
	MarkdownContent string `json:"markdown_content,omitempty"`

	// Text to display in the help menu item which will display the internal help resources
	OrganizationName string `json:"organization_name,omitempty"`
}

InternalHelpResourcesContent internal help resources content

swagger:model InternalHelpResourcesContent

func (*InternalHelpResourcesContent) ContextValidate

func (m *InternalHelpResourcesContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this internal help resources content based on the context it is used

func (*InternalHelpResourcesContent) MarshalBinary

func (m *InternalHelpResourcesContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InternalHelpResourcesContent) UnmarshalBinary

func (m *InternalHelpResourcesContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InternalHelpResourcesContent) Validate

func (m *InternalHelpResourcesContent) Validate(formats strfmt.Registry) error

Validate validates this internal help resources content

type LDAPConfig

type LDAPConfig struct {

	// Allows roles to be directly assigned to LDAP auth'd users.
	AllowDirectRoles bool `json:"allow_direct_roles,omitempty"`

	// Allow LDAP auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login.
	AllowNormalGroupMembership bool `json:"allow_normal_group_membership,omitempty"`

	// LDAP auth'd users will be able to inherit roles from non-reflected Looker groups.
	AllowRolesFromNormalGroups bool `json:"allow_roles_from_normal_groups,omitempty"`

	// Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled.
	AlternateEmailLoginAllowed bool `json:"alternate_email_login_allowed,omitempty"`

	// (Write-Only)  Password for the LDAP account used to access the LDAP server
	AuthPassword string `json:"auth_password,omitempty"`

	// Users will not be allowed to login at all unless a role for them is found in LDAP if set to true
	AuthRequiresRole bool `json:"auth_requires_role,omitempty"`

	// Distinguished name of LDAP account used to access the LDAP server
	AuthUsername string `json:"auth_username,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// LDAP server hostname
	ConnectionHost string `json:"connection_host,omitempty"`

	// LDAP host port
	ConnectionPort string `json:"connection_port,omitempty"`

	// Use Transport Layer Security
	ConnectionTLS bool `json:"connection_tls,omitempty"`

	// Do not verify peer when using TLS
	ConnectionTLSNoVerify bool `json:"connection_tls_no_verify,omitempty"`

	// (Write-Only)  Array of ids of groups that will be applied to new users the first time they login via LDAP
	DefaultNewUserGroupIds []int64 `json:"default_new_user_group_ids"`

	// (Read-only) Groups that will be applied to new users the first time they login via LDAP
	// Read Only: true
	DefaultNewUserGroups []*Group `json:"default_new_user_groups"`

	// (Write-Only)  Array of ids of roles that will be applied to new users the first time they login via LDAP
	DefaultNewUserRoleIds []int64 `json:"default_new_user_role_ids"`

	// (Read-only) Roles that will be applied to new users the first time they login via LDAP
	// Read Only: true
	DefaultNewUserRoles []*Role `json:"default_new_user_roles"`

	// Enable/Disable LDAP authentication for the server
	Enabled bool `json:"enabled,omitempty"`

	// Don't attempt to do LDAP search result paging (RFC 2696) even if the LDAP server claims to support it.
	ForceNoPage bool `json:"force_no_page,omitempty"`

	// (Read-only) Array of mappings between LDAP Groups and Looker Roles
	// Read Only: true
	Groups []*LDAPGroupRead `json:"groups"`

	// Base dn for finding groups in LDAP searches
	GroupsBaseDn string `json:"groups_base_dn,omitempty"`

	// Identifier for a strategy for how Looker will search for groups in the LDAP server
	GroupsFinderType string `json:"groups_finder_type,omitempty"`

	// LDAP Group attribute that signifies the members of the groups. Most commonly 'member'
	GroupsMemberAttribute string `json:"groups_member_attribute,omitempty"`

	// Optional comma-separated list of supported LDAP objectclass for groups when doing groups searches
	GroupsObjectclasses string `json:"groups_objectclasses,omitempty"`

	// LDAP Group attribute that signifies the user in a group. Most commonly 'dn'
	GroupsUserAttribute string `json:"groups_user_attribute,omitempty"`

	// (Read/Write) Array of mappings between LDAP Groups and arrays of Looker Role ids
	GroupsWithRoleIds []*LDAPGroupWrite `json:"groups_with_role_ids"`

	// (Read-only) Has the password been set for the LDAP account used to access the LDAP server
	// Read Only: true
	HasAuthPassword *bool `json:"has_auth_password,omitempty"`

	// Merge first-time ldap login to existing user account by email addresses. When a user logs in for the first time via ldap this option will connect this user into their existing account by finding the account with a matching email address. Otherwise a new user account will be created for the user.
	MergeNewUsersByEmail bool `json:"merge_new_users_by_email,omitempty"`

	// When this config was last modified
	// Read Only: true
	ModifiedAt string `json:"modified_at,omitempty"`

	// User id of user who last modified this config
	// Read Only: true
	ModifiedBy string `json:"modified_by,omitempty"`

	// Set user roles in Looker based on groups from LDAP
	SetRolesFromGroups bool `json:"set_roles_from_groups,omitempty"`

	// (Write-Only)  Test LDAP user password. For ldap tests only.
	TestLdapPassword string `json:"test_ldap_password,omitempty"`

	// (Write-Only)  Test LDAP user login id. For ldap tests only.
	TestLdapUser string `json:"test_ldap_user,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Name of user record attributes used to indicate email address field
	UserAttributeMapEmail string `json:"user_attribute_map_email,omitempty"`

	// Name of user record attributes used to indicate first name
	UserAttributeMapFirstName string `json:"user_attribute_map_first_name,omitempty"`

	// Name of user record attributes used to indicate last name
	UserAttributeMapLastName string `json:"user_attribute_map_last_name,omitempty"`

	// Name of user record attributes used to indicate unique record id
	UserAttributeMapLdapID string `json:"user_attribute_map_ldap_id,omitempty"`

	// (Read-only) Array of mappings between LDAP User Attributes and Looker User Attributes
	// Read Only: true
	UserAttributes []*LDAPUserAttributeRead `json:"user_attributes"`

	// (Read/Write) Array of mappings between LDAP User Attributes and arrays of Looker User Attribute ids
	UserAttributesWithIds []*LDAPUserAttributeWrite `json:"user_attributes_with_ids"`

	// Distinguished name of LDAP node used as the base for user searches
	UserBindBaseDn string `json:"user_bind_base_dn,omitempty"`

	// (Optional) Custom RFC-2254 filter clause for use in finding user during login. Combined via 'and' with the other generated filter clauses.
	UserCustomFilter string `json:"user_custom_filter,omitempty"`

	// Name(s) of user record attributes used for matching user login id (comma separated list)
	UserIDAttributeNames string `json:"user_id_attribute_names,omitempty"`

	// (Optional) Name of user record objectclass used for finding user during login id
	UserObjectclass string `json:"user_objectclass,omitempty"`
}

LDAPConfig l d a p config

swagger:model LDAPConfig

func (*LDAPConfig) ContextValidate

func (m *LDAPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p config based on the context it is used

func (*LDAPConfig) MarshalBinary

func (m *LDAPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPConfig) UnmarshalBinary

func (m *LDAPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPConfig) Validate

func (m *LDAPConfig) Validate(formats strfmt.Registry) error

Validate validates this l d a p config

type LDAPConfigTestIssue

type LDAPConfigTestIssue struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Message describing the issue
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Severity of the issue. Error or Warning
	// Read Only: true
	Severity string `json:"severity,omitempty"`
}

LDAPConfigTestIssue l d a p config test issue

swagger:model LDAPConfigTestIssue

func (*LDAPConfigTestIssue) ContextValidate

func (m *LDAPConfigTestIssue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p config test issue based on the context it is used

func (*LDAPConfigTestIssue) MarshalBinary

func (m *LDAPConfigTestIssue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPConfigTestIssue) UnmarshalBinary

func (m *LDAPConfigTestIssue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPConfigTestIssue) Validate

func (m *LDAPConfigTestIssue) Validate(formats strfmt.Registry) error

Validate validates this l d a p config test issue

type LDAPConfigTestResult

type LDAPConfigTestResult struct {

	// Additional details for error cases
	// Read Only: true
	Details string `json:"details,omitempty"`

	// Array of issues/considerations about the result
	// Read Only: true
	Issues []*LDAPConfigTestIssue `json:"issues"`

	// Short human readable test about the result
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Test status code: always 'success' or 'error'
	// Read Only: true
	Status string `json:"status,omitempty"`

	// A more detailed trace of incremental results during auth tests
	// Read Only: true
	Trace string `json:"trace,omitempty"`

	// Link to ldap config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// User details from LDAP server for auth tests
	// Read Only: true
	User *LDAPUser `json:"user,omitempty"`
}

LDAPConfigTestResult l d a p config test result

swagger:model LDAPConfigTestResult

func (*LDAPConfigTestResult) ContextValidate

func (m *LDAPConfigTestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p config test result based on the context it is used

func (*LDAPConfigTestResult) MarshalBinary

func (m *LDAPConfigTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPConfigTestResult) UnmarshalBinary

func (m *LDAPConfigTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPConfigTestResult) Validate

func (m *LDAPConfigTestResult) Validate(formats strfmt.Registry) error

Validate validates this l d a p config test result

type LDAPGroupRead

type LDAPGroupRead struct {

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Unique Id of group in Looker
	// Read Only: true
	LookerGroupID int64 `json:"looker_group_id,omitempty"`

	// Name of group in Looker
	// Read Only: true
	LookerGroupName string `json:"looker_group_name,omitempty"`

	// Name of group in LDAP
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Looker Roles
	// Read Only: true
	Roles []*Role `json:"roles"`

	// Link to ldap config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

LDAPGroupRead l d a p group read

swagger:model LDAPGroupRead

func (*LDAPGroupRead) ContextValidate

func (m *LDAPGroupRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p group read based on the context it is used

func (*LDAPGroupRead) MarshalBinary

func (m *LDAPGroupRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPGroupRead) UnmarshalBinary

func (m *LDAPGroupRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPGroupRead) Validate

func (m *LDAPGroupRead) Validate(formats strfmt.Registry) error

Validate validates this l d a p group read

type LDAPGroupWrite

type LDAPGroupWrite struct {

	// Unique Id
	ID int64 `json:"id,omitempty"`

	// Unique Id of group in Looker
	// Read Only: true
	LookerGroupID int64 `json:"looker_group_id,omitempty"`

	// Name of group in Looker
	LookerGroupName string `json:"looker_group_name,omitempty"`

	// Name of group in LDAP
	Name string `json:"name,omitempty"`

	// Looker Role Ids
	RoleIds []int64 `json:"role_ids"`

	// Link to ldap config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

LDAPGroupWrite l d a p group write

swagger:model LDAPGroupWrite

func (*LDAPGroupWrite) ContextValidate

func (m *LDAPGroupWrite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p group write based on the context it is used

func (*LDAPGroupWrite) MarshalBinary

func (m *LDAPGroupWrite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPGroupWrite) UnmarshalBinary

func (m *LDAPGroupWrite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPGroupWrite) Validate

func (m *LDAPGroupWrite) Validate(formats strfmt.Registry) error

Validate validates this l d a p group write

type LDAPUser

type LDAPUser struct {

	// Array of user's email addresses and aliases for use in migration
	// Read Only: true
	AllEmails []string `json:"all_emails"`

	// Dictionary of user's attributes (name/value)
	// Read Only: true
	Attributes map[string]string `json:"attributes,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Primary email address
	// Read Only: true
	Email string `json:"email,omitempty"`

	// First name
	// Read Only: true
	FirstName string `json:"first_name,omitempty"`

	// Array of user's groups (group names only)
	// Read Only: true
	Groups []string `json:"groups"`

	// Last Name
	// Read Only: true
	LastName string `json:"last_name,omitempty"`

	// LDAP's distinguished name for the user record
	// Read Only: true
	LdapDn string `json:"ldap_dn,omitempty"`

	// LDAP's Unique ID for the user
	// Read Only: true
	LdapID string `json:"ldap_id,omitempty"`

	// Array of user's roles (role names only)
	// Read Only: true
	Roles []string `json:"roles"`

	// Link to ldap config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

LDAPUser l d a p user

swagger:model LDAPUser

func (*LDAPUser) ContextValidate

func (m *LDAPUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p user based on the context it is used

func (*LDAPUser) MarshalBinary

func (m *LDAPUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPUser) UnmarshalBinary

func (m *LDAPUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPUser) Validate

func (m *LDAPUser) Validate(formats strfmt.Registry) error

Validate validates this l d a p user

type LDAPUserAttributeRead

type LDAPUserAttributeRead struct {

	// Name of User Attribute in LDAP
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Required to be in LDAP assertion for login to be allowed to succeed
	// Read Only: true
	Required *bool `json:"required,omitempty"`

	// Link to ldap config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Looker User Attributes
	// Read Only: true
	UserAttributes []*UserAttribute `json:"user_attributes"`
}

LDAPUserAttributeRead l d a p user attribute read

swagger:model LDAPUserAttributeRead

func (*LDAPUserAttributeRead) ContextValidate

func (m *LDAPUserAttributeRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p user attribute read based on the context it is used

func (*LDAPUserAttributeRead) MarshalBinary

func (m *LDAPUserAttributeRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPUserAttributeRead) UnmarshalBinary

func (m *LDAPUserAttributeRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPUserAttributeRead) Validate

func (m *LDAPUserAttributeRead) Validate(formats strfmt.Registry) error

Validate validates this l d a p user attribute read

type LDAPUserAttributeWrite

type LDAPUserAttributeWrite struct {

	// Name of User Attribute in LDAP
	Name string `json:"name,omitempty"`

	// Required to be in LDAP assertion for login to be allowed to succeed
	Required bool `json:"required,omitempty"`

	// Link to ldap config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Looker User Attribute Ids
	UserAttributeIds []int64 `json:"user_attribute_ids"`
}

LDAPUserAttributeWrite l d a p user attribute write

swagger:model LDAPUserAttributeWrite

func (*LDAPUserAttributeWrite) ContextValidate

func (m *LDAPUserAttributeWrite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l d a p user attribute write based on the context it is used

func (*LDAPUserAttributeWrite) MarshalBinary

func (m *LDAPUserAttributeWrite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LDAPUserAttributeWrite) UnmarshalBinary

func (m *LDAPUserAttributeWrite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LDAPUserAttributeWrite) Validate

func (m *LDAPUserAttributeWrite) Validate(formats strfmt.Registry) error

Validate validates this l d a p user attribute write

type LegacyFeature

type LegacyFeature struct {

	// Approximate date that this feature will be automatically disabled.
	// Read Only: true
	// Format: date-time
	ApproximateDisableDate strfmt.DateTime `json:"approximate_disable_date,omitempty"`

	// Approximate date that this feature will be removed.
	// Read Only: true
	// Format: date-time
	ApproximateEndOfLifeDate strfmt.DateTime `json:"approximate_end_of_life_date,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Looker version where this feature will be automatically disabled
	// Read Only: true
	DisableOnUpgradeToVersion string `json:"disable_on_upgrade_to_version,omitempty"`

	// Looker version where this feature became a legacy feature
	// Read Only: true
	DisallowedAsOfVersion string `json:"disallowed_as_of_version,omitempty"`

	// URL for documentation about this feature
	// Read Only: true
	DocumentationURL string `json:"documentation_url,omitempty"`

	// Whether this feature is currently enabled
	// Read Only: true
	Enabled *bool `json:"enabled,omitempty"`

	// Whether this feature has been enabled by a user
	EnabledLocally bool `json:"enabled_locally,omitempty"`

	// Future Looker version where this feature will be removed
	// Read Only: true
	EndOfLifeVersion string `json:"end_of_life_version,omitempty"`

	// Whether this legacy feature may have been automatically disabled when upgrading to the current version.
	// Read Only: true
	HasDisabledOnUpgrade *bool `json:"has_disabled_on_upgrade,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`
}

LegacyFeature legacy feature

swagger:model LegacyFeature

func (*LegacyFeature) ContextValidate

func (m *LegacyFeature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this legacy feature based on the context it is used

func (*LegacyFeature) MarshalBinary

func (m *LegacyFeature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LegacyFeature) UnmarshalBinary

func (m *LegacyFeature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LegacyFeature) Validate

func (m *LegacyFeature) Validate(formats strfmt.Registry) error

Validate validates this legacy feature

type Locale

type Locale struct {

	// Code for Locale
	// Read Only: true
	Code string `json:"code,omitempty"`

	// Name of Locale in English
	// Read Only: true
	EnglishName string `json:"english_name,omitempty"`

	// Name of Locale in its own language
	// Read Only: true
	NativeName string `json:"native_name,omitempty"`
}

Locale locale

swagger:model Locale

func (*Locale) ContextValidate

func (m *Locale) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this locale based on the context it is used

func (*Locale) MarshalBinary

func (m *Locale) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Locale) UnmarshalBinary

func (m *Locale) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Locale) Validate

func (m *Locale) Validate(formats strfmt.Registry) error

Validate validates this locale

type LocalizationSettings

type LocalizationSettings struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Default locale for localization
	// Read Only: true
	DefaultLocale string `json:"default_locale,omitempty"`

	// Localization level - strict or permissive
	// Read Only: true
	LocalizationLevel string `json:"localization_level,omitempty"`
}

LocalizationSettings localization settings

swagger:model LocalizationSettings

func (*LocalizationSettings) ContextValidate

func (m *LocalizationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this localization settings based on the context it is used

func (*LocalizationSettings) MarshalBinary

func (m *LocalizationSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocalizationSettings) UnmarshalBinary

func (m *LocalizationSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocalizationSettings) Validate

func (m *LocalizationSettings) Validate(formats strfmt.Registry) error

Validate validates this localization settings

type Look

type Look struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content Favorite Id
	// Read Only: true
	ContentFavoriteID int64 `json:"content_favorite_id,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time that the Look was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Whether or not a look is 'soft' deleted.
	Deleted bool `json:"deleted,omitempty"`

	// Time that the Look was deleted.
	// Read Only: true
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deleted_at,omitempty"`

	// Id of User that deleted the look.
	// Read Only: true
	DeleterID int64 `json:"deleter_id,omitempty"`

	// Description
	Description string `json:"description,omitempty"`

	// Embed Url
	// Read Only: true
	EmbedURL string `json:"embed_url,omitempty"`

	// Excel File Url
	// Read Only: true
	ExcelFileURL string `json:"excel_file_url,omitempty"`

	// Number of times favorited
	// Read Only: true
	FavoriteCount int64 `json:"favorite_count,omitempty"`

	// Folder of this Look
	// Read Only: true
	Folder *FolderBase `json:"folder,omitempty"`

	// Folder Id
	FolderID string `json:"folder_id,omitempty"`

	// Google Spreadsheet Formula
	// Read Only: true
	GoogleSpreadsheetFormula string `json:"google_spreadsheet_formula,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Image Embed Url
	// Read Only: true
	ImageEmbedURL string `json:"image_embed_url,omitempty"`

	// auto-run query when Look viewed
	IsRunOnLoad bool `json:"is_run_on_load,omitempty"`

	// Time that the Look was last accessed by any user
	// Read Only: true
	// Format: date-time
	LastAccessedAt strfmt.DateTime `json:"last_accessed_at,omitempty"`

	// Id of User that last updated the look.
	// Read Only: true
	LastUpdaterID int64 `json:"last_updater_id,omitempty"`

	// Time last viewed in the Looker web UI
	// Read Only: true
	// Format: date-time
	LastViewedAt strfmt.DateTime `json:"last_viewed_at,omitempty"`

	// Model
	// Read Only: true
	Model *LookModel `json:"model,omitempty"`

	// Is Public
	Public bool `json:"public,omitempty"`

	// Public Slug
	// Read Only: true
	PublicSlug string `json:"public_slug,omitempty"`

	// Public Url
	// Read Only: true
	PublicURL string `json:"public_url,omitempty"`

	// Query Id
	QueryID int64 `json:"query_id,omitempty"`

	// Short Url
	// Read Only: true
	ShortURL string `json:"short_url,omitempty"`

	// Space of this Look
	// Read Only: true
	Space *SpaceBase `json:"space,omitempty"`

	// Space Id
	SpaceID string `json:"space_id,omitempty"`

	// Look Title
	Title string `json:"title,omitempty"`

	// Time that the Look was updated.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// (DEPRECATED) User
	// Read Only: true
	User *UserIDOnly `json:"user,omitempty"`

	// User Id
	UserID int64 `json:"user_id,omitempty"`

	// Number of times viewed in the Looker web UI
	// Read Only: true
	ViewCount int64 `json:"view_count,omitempty"`
}

Look look

swagger:model Look

func (*Look) ContextValidate

func (m *Look) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this look based on the context it is used

func (*Look) MarshalBinary

func (m *Look) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Look) UnmarshalBinary

func (m *Look) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Look) Validate

func (m *Look) Validate(formats strfmt.Registry) error

Validate validates this look

type LookBasic

type LookBasic struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Look Title
	// Read Only: true
	Title string `json:"title,omitempty"`
}

LookBasic look basic

swagger:model LookBasic

func (*LookBasic) ContextValidate

func (m *LookBasic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this look basic based on the context it is used

func (*LookBasic) MarshalBinary

func (m *LookBasic) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookBasic) UnmarshalBinary

func (m *LookBasic) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookBasic) Validate

func (m *LookBasic) Validate(formats strfmt.Registry) error

Validate validates this look basic

type LookModel

type LookModel struct {

	// Model Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Model Label
	// Read Only: true
	Label string `json:"label,omitempty"`
}

LookModel look model

swagger:model LookModel

func (*LookModel) ContextValidate

func (m *LookModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this look model based on the context it is used

func (*LookModel) MarshalBinary

func (m *LookModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookModel) UnmarshalBinary

func (m *LookModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookModel) Validate

func (m *LookModel) Validate(formats strfmt.Registry) error

Validate validates this look model

type LookWithDashboards

type LookWithDashboards struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content Favorite Id
	// Read Only: true
	ContentFavoriteID int64 `json:"content_favorite_id,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time that the Look was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Dashboards
	// Read Only: true
	Dashboards []*DashboardBase `json:"dashboards"`

	// Whether or not a look is 'soft' deleted.
	Deleted bool `json:"deleted,omitempty"`

	// Time that the Look was deleted.
	// Read Only: true
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deleted_at,omitempty"`

	// Id of User that deleted the look.
	// Read Only: true
	DeleterID int64 `json:"deleter_id,omitempty"`

	// Description
	Description string `json:"description,omitempty"`

	// Embed Url
	// Read Only: true
	EmbedURL string `json:"embed_url,omitempty"`

	// Excel File Url
	// Read Only: true
	ExcelFileURL string `json:"excel_file_url,omitempty"`

	// Number of times favorited
	// Read Only: true
	FavoriteCount int64 `json:"favorite_count,omitempty"`

	// Folder of this Look
	// Read Only: true
	Folder *FolderBase `json:"folder,omitempty"`

	// Folder Id
	FolderID string `json:"folder_id,omitempty"`

	// Google Spreadsheet Formula
	// Read Only: true
	GoogleSpreadsheetFormula string `json:"google_spreadsheet_formula,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Image Embed Url
	// Read Only: true
	ImageEmbedURL string `json:"image_embed_url,omitempty"`

	// auto-run query when Look viewed
	IsRunOnLoad bool `json:"is_run_on_load,omitempty"`

	// Time that the Look was last accessed by any user
	// Read Only: true
	// Format: date-time
	LastAccessedAt strfmt.DateTime `json:"last_accessed_at,omitempty"`

	// Id of User that last updated the look.
	// Read Only: true
	LastUpdaterID int64 `json:"last_updater_id,omitempty"`

	// Time last viewed in the Looker web UI
	// Read Only: true
	// Format: date-time
	LastViewedAt strfmt.DateTime `json:"last_viewed_at,omitempty"`

	// Model
	// Read Only: true
	Model *LookModel `json:"model,omitempty"`

	// Is Public
	Public bool `json:"public,omitempty"`

	// Public Slug
	// Read Only: true
	PublicSlug string `json:"public_slug,omitempty"`

	// Public Url
	// Read Only: true
	PublicURL string `json:"public_url,omitempty"`

	// Query Id
	QueryID int64 `json:"query_id,omitempty"`

	// Short Url
	// Read Only: true
	ShortURL string `json:"short_url,omitempty"`

	// Space of this Look
	// Read Only: true
	Space *SpaceBase `json:"space,omitempty"`

	// Space Id
	SpaceID string `json:"space_id,omitempty"`

	// Look Title
	Title string `json:"title,omitempty"`

	// Time that the Look was updated.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// (DEPRECATED) User
	// Read Only: true
	User *UserIDOnly `json:"user,omitempty"`

	// User Id
	UserID int64 `json:"user_id,omitempty"`

	// Number of times viewed in the Looker web UI
	// Read Only: true
	ViewCount int64 `json:"view_count,omitempty"`
}

LookWithDashboards look with dashboards

swagger:model LookWithDashboards

func (*LookWithDashboards) ContextValidate

func (m *LookWithDashboards) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this look with dashboards based on the context it is used

func (*LookWithDashboards) MarshalBinary

func (m *LookWithDashboards) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookWithDashboards) UnmarshalBinary

func (m *LookWithDashboards) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookWithDashboards) Validate

func (m *LookWithDashboards) Validate(formats strfmt.Registry) error

Validate validates this look with dashboards

type LookWithQuery

type LookWithQuery struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Content Favorite Id
	// Read Only: true
	ContentFavoriteID int64 `json:"content_favorite_id,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time that the Look was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Whether or not a look is 'soft' deleted.
	Deleted bool `json:"deleted,omitempty"`

	// Time that the Look was deleted.
	// Read Only: true
	// Format: date-time
	DeletedAt strfmt.DateTime `json:"deleted_at,omitempty"`

	// Id of User that deleted the look.
	// Read Only: true
	DeleterID int64 `json:"deleter_id,omitempty"`

	// Description
	Description string `json:"description,omitempty"`

	// Embed Url
	// Read Only: true
	EmbedURL string `json:"embed_url,omitempty"`

	// Excel File Url
	// Read Only: true
	ExcelFileURL string `json:"excel_file_url,omitempty"`

	// Number of times favorited
	// Read Only: true
	FavoriteCount int64 `json:"favorite_count,omitempty"`

	// Folder of this Look
	// Read Only: true
	Folder *FolderBase `json:"folder,omitempty"`

	// Folder Id
	FolderID string `json:"folder_id,omitempty"`

	// Google Spreadsheet Formula
	// Read Only: true
	GoogleSpreadsheetFormula string `json:"google_spreadsheet_formula,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Image Embed Url
	// Read Only: true
	ImageEmbedURL string `json:"image_embed_url,omitempty"`

	// auto-run query when Look viewed
	IsRunOnLoad bool `json:"is_run_on_load,omitempty"`

	// Time that the Look was last accessed by any user
	// Read Only: true
	// Format: date-time
	LastAccessedAt strfmt.DateTime `json:"last_accessed_at,omitempty"`

	// Id of User that last updated the look.
	// Read Only: true
	LastUpdaterID int64 `json:"last_updater_id,omitempty"`

	// Time last viewed in the Looker web UI
	// Read Only: true
	// Format: date-time
	LastViewedAt strfmt.DateTime `json:"last_viewed_at,omitempty"`

	// Model
	// Read Only: true
	Model *LookModel `json:"model,omitempty"`

	// Is Public
	Public bool `json:"public,omitempty"`

	// Public Slug
	// Read Only: true
	PublicSlug string `json:"public_slug,omitempty"`

	// Public Url
	// Read Only: true
	PublicURL string `json:"public_url,omitempty"`

	// Query
	// Read Only: true
	Query *Query `json:"query,omitempty"`

	// Query Id
	QueryID int64 `json:"query_id,omitempty"`

	// Short Url
	// Read Only: true
	ShortURL string `json:"short_url,omitempty"`

	// Space of this Look
	// Read Only: true
	Space *SpaceBase `json:"space,omitempty"`

	// Space Id
	SpaceID string `json:"space_id,omitempty"`

	// Look Title
	Title string `json:"title,omitempty"`

	// Time that the Look was updated.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Url
	// Read Only: true
	URL string `json:"url,omitempty"`

	// (DEPRECATED) User
	// Read Only: true
	User *UserIDOnly `json:"user,omitempty"`

	// User Id
	UserID int64 `json:"user_id,omitempty"`

	// Number of times viewed in the Looker web UI
	// Read Only: true
	ViewCount int64 `json:"view_count,omitempty"`
}

LookWithQuery look with query

swagger:model LookWithQuery

func (*LookWithQuery) ContextValidate

func (m *LookWithQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this look with query based on the context it is used

func (*LookWithQuery) MarshalBinary

func (m *LookWithQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookWithQuery) UnmarshalBinary

func (m *LookWithQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookWithQuery) Validate

func (m *LookWithQuery) Validate(formats strfmt.Registry) error

Validate validates this look with query

type LookmlModel

type LookmlModel struct {

	// Array of names of connections this model is allowed to use
	AllowedDbConnectionNames []string `json:"allowed_db_connection_names"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Array of explores (if has_content)
	// Read Only: true
	Explores []*LookmlModelNavExplore `json:"explores"`

	// Does this model declaration have have lookml content?
	// Read Only: true
	HasContent *bool `json:"has_content,omitempty"`

	// UI-friendly name for this model
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name of the model. Also used as the unique identifier
	Name string `json:"name,omitempty"`

	// Name of project containing the model
	ProjectName string `json:"project_name,omitempty"`

	// Is this model allowed to use all current and future connections
	UnlimitedDbConnections bool `json:"unlimited_db_connections,omitempty"`
}

LookmlModel lookml model

swagger:model LookmlModel

func (*LookmlModel) ContextValidate

func (m *LookmlModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model based on the context it is used

func (*LookmlModel) MarshalBinary

func (m *LookmlModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModel) UnmarshalBinary

func (m *LookmlModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModel) Validate

func (m *LookmlModel) Validate(formats strfmt.Registry) error

Validate validates this lookml model

type LookmlModelExplore

type LookmlModelExplore struct {

	// (DEPRECATED) Array of access filter field names
	// Read Only: true
	AccessFilterFields []string `json:"access_filter_fields"`

	// Access filters
	// Read Only: true
	AccessFilters []*LookmlModelExploreAccessFilter `json:"access_filters"`

	// Aliases
	// Read Only: true
	Aliases []*LookmlModelExploreAlias `json:"aliases"`

	// Always filter
	// Read Only: true
	AlwaysFilter []*LookmlModelExploreAlwaysFilter `json:"always_filter"`

	// Can Explain
	// Read Only: true
	CanExplain *bool `json:"can_explain,omitempty"`

	// Can pivot in the DB
	// Read Only: true
	CanPivotInDb *bool `json:"can_pivot_in_db,omitempty"`

	// Can Save
	// Read Only: true
	CanSave *bool `json:"can_save,omitempty"`

	// Can use subtotals
	// Read Only: true
	CanSubtotal *bool `json:"can_subtotal,omitempty"`

	// Can Total
	// Read Only: true
	CanTotal *bool `json:"can_total,omitempty"`

	// Conditionally filter
	// Read Only: true
	ConditionallyFilter []*LookmlModelExploreConditionallyFilter `json:"conditionally_filter"`

	// Connection name
	// Read Only: true
	ConnectionName string `json:"connection_name,omitempty"`

	// Description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Errors
	// Read Only: true
	Errors []*LookmlModelExploreError `json:"errors"`

	// Fields
	// Read Only: true
	Fields *LookmlModelExploreFieldset `json:"fields,omitempty"`

	// List of model source files
	// Read Only: true
	Files []string `json:"files"`

	// Label used to group explores in the navigation menus
	// Read Only: true
	GroupLabel string `json:"group_label,omitempty"`

	// Has timezone support
	// Read Only: true
	HasTimezoneSupport *bool `json:"has_timezone_support,omitempty"`

	// Is hidden
	// Read Only: true
	Hidden *bool `json:"hidden,omitempty"`

	// Fully qualified explore name (model name plus explore name)
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Array of index fields
	// Read Only: true
	IndexFields []string `json:"index_fields"`

	// Views joined into this explore
	// Read Only: true
	Joins []*LookmlModelExploreJoins `json:"joins"`

	// Label
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name of model
	// Read Only: true
	ModelName string `json:"model_name,omitempty"`

	// Explore name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// How nulls are sorted, possible values are "low", "high", "first" and "last"
	// Read Only: true
	NullSortTreatment string `json:"null_sort_treatment,omitempty"`

	// Name of project
	// Read Only: true
	ProjectName string `json:"project_name,omitempty"`

	// Scopes
	// Read Only: true
	Scopes []string `json:"scopes"`

	// Sets
	// Read Only: true
	Sets []*LookmlModelExploreSet `json:"sets"`

	// Primary source_file file
	// Read Only: true
	SourceFile string `json:"source_file,omitempty"`

	// A sql_table_name expression that defines what sql table the view/explore maps onto. Example: "prod_orders2 AS orders" in a view named orders.
	// Read Only: true
	SQLTableName string `json:"sql_table_name,omitempty"`

	// An array of items describing which custom measure types are supported for creating a custom measure 'based_on' each possible dimension type.
	// Read Only: true
	SupportedMeasureTypes []*LookmlModelExploreSupportedMeasureType `json:"supported_measure_types"`

	// Cost estimates supported
	// Read Only: true
	SupportsCostEstimate *bool `json:"supports_cost_estimate,omitempty"`

	// An array of arbitrary string tags provided in the model for this explore.
	// Read Only: true
	Tags []string `json:"tags"`

	// Name of view
	// Read Only: true
	ViewName string `json:"view_name,omitempty"`
}

LookmlModelExplore lookml model explore

swagger:model LookmlModelExplore

func (*LookmlModelExplore) ContextValidate

func (m *LookmlModelExplore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore based on the context it is used

func (*LookmlModelExplore) MarshalBinary

func (m *LookmlModelExplore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExplore) UnmarshalBinary

func (m *LookmlModelExplore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExplore) Validate

func (m *LookmlModelExplore) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore

type LookmlModelExploreAccessFilter

type LookmlModelExploreAccessFilter struct {

	// Field to be filtered
	// Read Only: true
	Field string `json:"field,omitempty"`

	// User attribute name
	// Read Only: true
	UserAttribute string `json:"user_attribute,omitempty"`
}

LookmlModelExploreAccessFilter lookml model explore access filter

swagger:model LookmlModelExploreAccessFilter

func (*LookmlModelExploreAccessFilter) ContextValidate

func (m *LookmlModelExploreAccessFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore access filter based on the context it is used

func (*LookmlModelExploreAccessFilter) MarshalBinary

func (m *LookmlModelExploreAccessFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreAccessFilter) UnmarshalBinary

func (m *LookmlModelExploreAccessFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreAccessFilter) Validate

func (m *LookmlModelExploreAccessFilter) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore access filter

type LookmlModelExploreAlias

type LookmlModelExploreAlias struct {

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

LookmlModelExploreAlias lookml model explore alias

swagger:model LookmlModelExploreAlias

func (*LookmlModelExploreAlias) ContextValidate

func (m *LookmlModelExploreAlias) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore alias based on the context it is used

func (*LookmlModelExploreAlias) MarshalBinary

func (m *LookmlModelExploreAlias) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreAlias) UnmarshalBinary

func (m *LookmlModelExploreAlias) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreAlias) Validate

func (m *LookmlModelExploreAlias) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore alias

type LookmlModelExploreAlwaysFilter

type LookmlModelExploreAlwaysFilter struct {

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

LookmlModelExploreAlwaysFilter lookml model explore always filter

swagger:model LookmlModelExploreAlwaysFilter

func (*LookmlModelExploreAlwaysFilter) ContextValidate

func (m *LookmlModelExploreAlwaysFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore always filter based on the context it is used

func (*LookmlModelExploreAlwaysFilter) MarshalBinary

func (m *LookmlModelExploreAlwaysFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreAlwaysFilter) UnmarshalBinary

func (m *LookmlModelExploreAlwaysFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreAlwaysFilter) Validate

func (m *LookmlModelExploreAlwaysFilter) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore always filter

type LookmlModelExploreConditionallyFilter

type LookmlModelExploreConditionallyFilter struct {

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

LookmlModelExploreConditionallyFilter lookml model explore conditionally filter

swagger:model LookmlModelExploreConditionallyFilter

func (*LookmlModelExploreConditionallyFilter) ContextValidate

func (m *LookmlModelExploreConditionallyFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore conditionally filter based on the context it is used

func (*LookmlModelExploreConditionallyFilter) MarshalBinary

func (m *LookmlModelExploreConditionallyFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreConditionallyFilter) UnmarshalBinary

func (m *LookmlModelExploreConditionallyFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreConditionallyFilter) Validate

Validate validates this lookml model explore conditionally filter

type LookmlModelExploreError

type LookmlModelExploreError struct {

	// Details
	// Read Only: true
	Details string `json:"details,omitempty"`

	// Error source location
	// Read Only: true
	ErrorPos string `json:"error_pos,omitempty"`

	// Is this a field error
	// Read Only: true
	FieldError *bool `json:"field_error,omitempty"`

	// Error Message
	// Read Only: true
	Message string `json:"message,omitempty"`
}

LookmlModelExploreError lookml model explore error

swagger:model LookmlModelExploreError

func (*LookmlModelExploreError) ContextValidate

func (m *LookmlModelExploreError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore error based on the context it is used

func (*LookmlModelExploreError) MarshalBinary

func (m *LookmlModelExploreError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreError) UnmarshalBinary

func (m *LookmlModelExploreError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreError) Validate

func (m *LookmlModelExploreError) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore error

type LookmlModelExploreField

type LookmlModelExploreField struct {

	// The appropriate horizontal text alignment the values of this field should be displayed in. Valid values are: "left", "right".
	// Read Only: true
	Align string `json:"align,omitempty"`

	// Whether it's possible to filter on this field.
	// Read Only: true
	CanFilter *bool `json:"can_filter,omitempty"`

	// Whether this field can be time filtered.
	// Read Only: true
	CanTimeFilter *bool `json:"can_time_filter,omitempty"`

	// Field category Valid values are: "parameter", "filter", "measure", "dimension".
	// Read Only: true
	Category string `json:"category,omitempty"`

	// The default value that this field uses when filtering. Null if there is no default value.
	// Read Only: true
	DefaultFilterValue string `json:"default_filter_value,omitempty"`

	// Description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Dimension group if this field is part of a dimension group. If not, this will be null.
	// Read Only: true
	DimensionGroup string `json:"dimension_group,omitempty"`

	// Whether this field was specified in "dynamic_fields" and is not part of the model.
	// Read Only: true
	Dynamic *bool `json:"dynamic,omitempty"`

	// An array enumerating all the possible values that this field can contain. When null, there is no limit to the set of possible values this field can contain.
	// Read Only: true
	Enumerations []*LookmlModelExploreFieldEnumeration `json:"enumerations"`

	// An error message indicating a problem with the definition of this field. If there are no errors, this will be null.
	// Read Only: true
	Error string `json:"error,omitempty"`

	// A label creating a grouping of fields. All fields with this label should be presented together when displayed in a UI.
	// Read Only: true
	FieldGroupLabel string `json:"field_group_label,omitempty"`

	// When presented in a field group via field_group_label, a shorter name of the field to be displayed in that context.
	// Read Only: true
	FieldGroupVariant string `json:"field_group_variant,omitempty"`

	// The style of dimension fill that is possible for this field. Null if no dimension fill is possible. Valid values are: "enumeration", "range".
	// Read Only: true
	FillStyle string `json:"fill_style,omitempty"`

	// Array of filter conditions defined for the measure in LookML.
	// Read Only: true
	Filters []*LookmlModelExploreFieldMeasureFilters `json:"filters"`

	// An offset (in months) from the calendar start month to the fiscal start month defined in the LookML model this field belongs to.
	// Read Only: true
	FiscalMonthOffset int64 `json:"fiscal_month_offset,omitempty"`

	// Whether this field has a set of allowed_values specified in LookML.
	// Read Only: true
	HasAllowedValues *bool `json:"has_allowed_values,omitempty"`

	// Whether this field should be hidden from the user interface.
	// Read Only: true
	Hidden *bool `json:"hidden,omitempty"`

	// Whether this field is a filter.
	// Read Only: true
	IsFilter *bool `json:"is_filter,omitempty"`

	// Whether this field represents a fiscal time value.
	// Read Only: true
	IsFiscal *bool `json:"is_fiscal,omitempty"`

	// Whether this field is of a type that represents a numeric value.
	// Read Only: true
	IsNumeric *bool `json:"is_numeric,omitempty"`

	// Whether this field is of a type that represents a time value.
	// Read Only: true
	IsTimeframe *bool `json:"is_timeframe,omitempty"`

	// Fully-qualified human-readable label of the field.
	// Read Only: true
	Label string `json:"label,omitempty"`

	// The name of the parameter that will provide a parameterized label for this field, if available in the current context.
	// Read Only: true
	LabelFromParameter string `json:"label_from_parameter,omitempty"`

	// The human-readable label of the field, without the view label.
	// Read Only: true
	LabelShort string `json:"label_short,omitempty"`

	// A URL linking to the definition of this field in the LookML IDE.
	// Read Only: true
	LookmlLink string `json:"lookml_link,omitempty"`

	// If applicable, a map layer this field is associated with.
	// Read Only: true
	MapLayer *LookmlModelExploreFieldMapLayer `json:"map_layer,omitempty"`

	// Whether this field is a measure.
	// Read Only: true
	Measure *bool `json:"measure,omitempty"`

	// Fully-qualified name of the field.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Whether this field is a parameter.
	// Read Only: true
	Parameter *bool `json:"parameter,omitempty"`

	// Whether this field can be removed from a query.
	// Read Only: true
	Permanent *bool `json:"permanent,omitempty"`

	// Whether or not the field represents a primary key.
	// Read Only: true
	PrimaryKey *bool `json:"primary_key,omitempty"`

	// The name of the project this field is defined in.
	// Read Only: true
	ProjectName string `json:"project_name,omitempty"`

	// When true, it's not possible to re-sort this field's values without re-running the SQL query, due to database logic that affects the sort.
	// Read Only: true
	RequiresRefreshOnSort *bool `json:"requires_refresh_on_sort,omitempty"`

	// The LookML scope this field belongs to. The scope is typically the field's view.
	// Read Only: true
	Scope string `json:"scope,omitempty"`

	// Whether this field can be sorted.
	// Read Only: true
	Sortable *bool `json:"sortable,omitempty"`

	// The path portion of source_file_path.
	// Read Only: true
	SourceFile string `json:"source_file,omitempty"`

	// The fully-qualified path of the project file this field is defined in.
	// Read Only: true
	SourceFilePath string `json:"source_file_path,omitempty"`

	// SQL expression as defined in the LookML model. The SQL syntax shown here is a representation intended for auditability, and is not neccessarily an exact match for what will ultimately be run in the database. It may contain special LookML syntax or annotations that are not valid SQL. This will be null if the current user does not have the see_lookml permission for the field's model.
	// Read Only: true
	SQL string `json:"sql,omitempty"`

	// An array of conditions and values that make up a SQL Case expression, as defined in the LookML model. The SQL syntax shown here is a representation intended for auditability, and is not neccessarily an exact match for what will ultimately be run in the database. It may contain special LookML syntax or annotations that are not valid SQL. This will be null if the current user does not have the see_lookml permission for the field's model.
	// Read Only: true
	SQLCase []*LookmlModelExploreFieldSQLCase `json:"sql_case"`

	// If yes, the field will not be localized with the user attribute number_format. Defaults to no
	// Read Only: true
	StrictValueFormat *bool `json:"strict_value_format,omitempty"`

	// The name of the dimension to base suggest queries from.
	// Read Only: true
	SuggestDimension string `json:"suggest_dimension,omitempty"`

	// The name of the explore to base suggest queries from.
	// Read Only: true
	SuggestExplore string `json:"suggest_explore,omitempty"`

	// Whether or not suggestions are possible for this field.
	// Read Only: true
	Suggestable *bool `json:"suggestable,omitempty"`

	// If available, a list of suggestions for this field. For most fields, a suggest query is a more appropriate way to get an up-to-date list of suggestions. Or use enumerations to list all the possible values.
	// Read Only: true
	Suggestions []string `json:"suggestions"`

	// An array of arbitrary string tags provided in the model for this field.
	// Read Only: true
	Tags []string `json:"tags"`

	// Details on the time interval this field represents, if it is_timeframe.
	// Read Only: true
	TimeInterval *LookmlModelExploreFieldTimeInterval `json:"time_interval,omitempty"`

	// The LookML type of the field.
	// Read Only: true
	Type string `json:"type,omitempty"`

	// An array of user attribute types that are allowed to be used in filters on this field. Valid values are: "advanced_filter_string", "advanced_filter_number", "advanced_filter_datetime", "string", "number", "datetime", "relative_url", "yesno", "zipcode".
	// Read Only: true
	UserAttributeFilterTypes []string `json:"user_attribute_filter_types"`

	// If specified, the LookML value format string for formatting values of this field.
	// Read Only: true
	ValueFormat string `json:"value_format,omitempty"`

	// The name of the view this field belongs to.
	// Read Only: true
	View string `json:"view,omitempty"`

	// The human-readable label of the view the field belongs to.
	// Read Only: true
	ViewLabel string `json:"view_label,omitempty"`

	// The name of the starting day of the week. Valid values are: "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday".
	// Read Only: true
	WeekStartDay string `json:"week_start_day,omitempty"`
}

LookmlModelExploreField lookml model explore field

swagger:model LookmlModelExploreField

func (*LookmlModelExploreField) ContextValidate

func (m *LookmlModelExploreField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore field based on the context it is used

func (*LookmlModelExploreField) MarshalBinary

func (m *LookmlModelExploreField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreField) UnmarshalBinary

func (m *LookmlModelExploreField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreField) Validate

func (m *LookmlModelExploreField) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore field

type LookmlModelExploreFieldEnumeration

type LookmlModelExploreFieldEnumeration struct {

	// Label
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

LookmlModelExploreFieldEnumeration lookml model explore field enumeration

swagger:model LookmlModelExploreFieldEnumeration

func (*LookmlModelExploreFieldEnumeration) ContextValidate

func (m *LookmlModelExploreFieldEnumeration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore field enumeration based on the context it is used

func (*LookmlModelExploreFieldEnumeration) MarshalBinary

func (m *LookmlModelExploreFieldEnumeration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreFieldEnumeration) UnmarshalBinary

func (m *LookmlModelExploreFieldEnumeration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreFieldEnumeration) Validate

Validate validates this lookml model explore field enumeration

type LookmlModelExploreFieldMapLayer

type LookmlModelExploreFieldMapLayer struct {

	// Specifies the URL to a JSON file that defines the geographic extents of each region available in the map layer. This data is used to automatically center the map on the available data for visualization purposes. The JSON file must be a JSON object where the keys are the mapping value of the feature (as specified by property_key) and the values are arrays of four numbers representing the west longitude, south latitude, east longitude, and north latitude extents of the region. The object must include a key for every possible value of property_key.
	// Read Only: true
	ExtentsJSONURL string `json:"extents_json_url,omitempty"`

	// Specifies the name of the TopoJSON object that the map layer references. If not specified, use the first object..
	// Read Only: true
	FeatureKey string `json:"feature_key,omitempty"`

	// Specifies the data format of the region information. Valid values are: "topojson", "vector_tile_region".
	// Read Only: true
	Format string `json:"format,omitempty"`

	// The minimum zoom level that the map layer may be displayed at, for visualizations that support zooming.
	// Read Only: true
	MaxZoomLevel int64 `json:"max_zoom_level,omitempty"`

	// The maximum zoom level that the map layer may be displayed at, for visualizations that support zooming.
	// Read Only: true
	MinZoomLevel int64 `json:"min_zoom_level,omitempty"`

	// Name of the map layer, as defined in LookML.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// The preferred geographic projection of the map layer when displayed in a visualization that supports multiple geographic projections.
	// Read Only: true
	Projection string `json:"projection,omitempty"`

	// Selects which property from the TopoJSON data to plot against. TopoJSON supports arbitrary metadata for each region. When null, the first matching property should be used.
	// Read Only: true
	PropertyKey string `json:"property_key,omitempty"`

	// Which property from the TopoJSON data to use to label the region. When null, property_key should be used.
	// Read Only: true
	PropertyLabelKey string `json:"property_label_key,omitempty"`

	// URL to the map layer resource.
	// Read Only: true
	URL string `json:"url,omitempty"`
}

LookmlModelExploreFieldMapLayer lookml model explore field map layer

swagger:model LookmlModelExploreFieldMapLayer

func (*LookmlModelExploreFieldMapLayer) ContextValidate

func (m *LookmlModelExploreFieldMapLayer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore field map layer based on the context it is used

func (*LookmlModelExploreFieldMapLayer) MarshalBinary

func (m *LookmlModelExploreFieldMapLayer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreFieldMapLayer) UnmarshalBinary

func (m *LookmlModelExploreFieldMapLayer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreFieldMapLayer) Validate

Validate validates this lookml model explore field map layer

type LookmlModelExploreFieldMeasureFilters

type LookmlModelExploreFieldMeasureFilters struct {

	// Filter condition value
	// Read Only: true
	Condition string `json:"condition,omitempty"`

	// Filter field name
	// Read Only: true
	Field string `json:"field,omitempty"`
}

LookmlModelExploreFieldMeasureFilters lookml model explore field measure filters

swagger:model LookmlModelExploreFieldMeasureFilters

func (*LookmlModelExploreFieldMeasureFilters) ContextValidate

func (m *LookmlModelExploreFieldMeasureFilters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore field measure filters based on the context it is used

func (*LookmlModelExploreFieldMeasureFilters) MarshalBinary

func (m *LookmlModelExploreFieldMeasureFilters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreFieldMeasureFilters) UnmarshalBinary

func (m *LookmlModelExploreFieldMeasureFilters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreFieldMeasureFilters) Validate

Validate validates this lookml model explore field measure filters

type LookmlModelExploreFieldSQLCase

type LookmlModelExploreFieldSQLCase struct {

	// SQL Case condition expression
	// Read Only: true
	Condition string `json:"condition,omitempty"`

	// SQL Case label value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

LookmlModelExploreFieldSQLCase lookml model explore field Sql case

swagger:model LookmlModelExploreFieldSqlCase

func (*LookmlModelExploreFieldSQLCase) ContextValidate

func (m *LookmlModelExploreFieldSQLCase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore field Sql case based on the context it is used

func (*LookmlModelExploreFieldSQLCase) MarshalBinary

func (m *LookmlModelExploreFieldSQLCase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreFieldSQLCase) UnmarshalBinary

func (m *LookmlModelExploreFieldSQLCase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreFieldSQLCase) Validate

func (m *LookmlModelExploreFieldSQLCase) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore field Sql case

type LookmlModelExploreFieldTimeInterval

type LookmlModelExploreFieldTimeInterval struct {

	// The number of intervals this field represents a grouping of.
	// Read Only: true
	Count int64 `json:"count,omitempty"`

	// The type of time interval this field represents a grouping of. Valid values are: "day", "hour", "minute", "second", "millisecond", "microsecond", "week", "month", "quarter", "year".
	// Read Only: true
	Name string `json:"name,omitempty"`
}

LookmlModelExploreFieldTimeInterval lookml model explore field time interval

swagger:model LookmlModelExploreFieldTimeInterval

func (*LookmlModelExploreFieldTimeInterval) ContextValidate

func (m *LookmlModelExploreFieldTimeInterval) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore field time interval based on the context it is used

func (*LookmlModelExploreFieldTimeInterval) MarshalBinary

func (m *LookmlModelExploreFieldTimeInterval) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreFieldTimeInterval) UnmarshalBinary

func (m *LookmlModelExploreFieldTimeInterval) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreFieldTimeInterval) Validate

Validate validates this lookml model explore field time interval

type LookmlModelExploreFieldset

type LookmlModelExploreFieldset struct {

	// Array of dimensions
	// Read Only: true
	Dimensions []*LookmlModelExploreField `json:"dimensions"`

	// Array of filters
	// Read Only: true
	Filters []*LookmlModelExploreField `json:"filters"`

	// Array of measures
	// Read Only: true
	Measures []*LookmlModelExploreField `json:"measures"`

	// Array of parameters
	// Read Only: true
	Parameters []*LookmlModelExploreField `json:"parameters"`
}

LookmlModelExploreFieldset lookml model explore fieldset

swagger:model LookmlModelExploreFieldset

func (*LookmlModelExploreFieldset) ContextValidate

func (m *LookmlModelExploreFieldset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore fieldset based on the context it is used

func (*LookmlModelExploreFieldset) MarshalBinary

func (m *LookmlModelExploreFieldset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreFieldset) UnmarshalBinary

func (m *LookmlModelExploreFieldset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreFieldset) Validate

func (m *LookmlModelExploreFieldset) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore fieldset

type LookmlModelExploreJoins

type LookmlModelExploreJoins struct {

	// Fields referenced by the join
	// Read Only: true
	DependentFields []string `json:"dependent_fields"`

	// Fields of the joined view to pull into this explore
	// Read Only: true
	Fields []string `json:"fields"`

	// Name of the dimension in this explore whose value is in the primary key of the joined view
	// Read Only: true
	ForeignKey string `json:"foreign_key,omitempty"`

	// Name of view to join
	// Read Only: true
	From string `json:"from,omitempty"`

	// Name of this join (and name of the view to join)
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Specifies whether all queries must use an outer join
	// Read Only: true
	OuterOnly *bool `json:"outer_only,omitempty"`

	// many_to_one, one_to_one, one_to_many, many_to_many
	// Read Only: true
	Relationship string `json:"relationship,omitempty"`

	// Names of joins that must always be included in SQL queries
	// Read Only: true
	RequiredJoins []string `json:"required_joins"`

	// SQL expression that produces a foreign key
	// Read Only: true
	SQLForeignKey string `json:"sql_foreign_key,omitempty"`

	// SQL ON expression describing the join condition
	// Read Only: true
	SQLOn string `json:"sql_on,omitempty"`

	// SQL table name to join
	// Read Only: true
	SQLTableName string `json:"sql_table_name,omitempty"`

	// The join type: left_outer, full_outer, inner, or cross
	// Read Only: true
	Type string `json:"type,omitempty"`

	// Label to display in UI selectors
	// Read Only: true
	ViewLabel string `json:"view_label,omitempty"`
}

LookmlModelExploreJoins lookml model explore joins

swagger:model LookmlModelExploreJoins

func (*LookmlModelExploreJoins) ContextValidate

func (m *LookmlModelExploreJoins) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore joins based on the context it is used

func (*LookmlModelExploreJoins) MarshalBinary

func (m *LookmlModelExploreJoins) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreJoins) UnmarshalBinary

func (m *LookmlModelExploreJoins) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreJoins) Validate

func (m *LookmlModelExploreJoins) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore joins

type LookmlModelExploreSet

type LookmlModelExploreSet struct {

	// Name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Value set
	// Read Only: true
	Value []string `json:"value"`
}

LookmlModelExploreSet lookml model explore set

swagger:model LookmlModelExploreSet

func (*LookmlModelExploreSet) ContextValidate

func (m *LookmlModelExploreSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model explore set based on the context it is used

func (*LookmlModelExploreSet) MarshalBinary

func (m *LookmlModelExploreSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreSet) UnmarshalBinary

func (m *LookmlModelExploreSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreSet) Validate

func (m *LookmlModelExploreSet) Validate(formats strfmt.Registry) error

Validate validates this lookml model explore set

type LookmlModelExploreSupportedMeasureType

type LookmlModelExploreSupportedMeasureType struct {

	// dimension type
	// Read Only: true
	DimensionType string `json:"dimension_type,omitempty"`

	// measure types
	// Read Only: true
	MeasureTypes []string `json:"measure_types"`
}

LookmlModelExploreSupportedMeasureType lookml model explore supported measure type

swagger:model LookmlModelExploreSupportedMeasureType

func (*LookmlModelExploreSupportedMeasureType) ContextValidate

ContextValidate validate this lookml model explore supported measure type based on the context it is used

func (*LookmlModelExploreSupportedMeasureType) MarshalBinary

func (m *LookmlModelExploreSupportedMeasureType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelExploreSupportedMeasureType) UnmarshalBinary

func (m *LookmlModelExploreSupportedMeasureType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelExploreSupportedMeasureType) Validate

Validate validates this lookml model explore supported measure type

type LookmlModelNavExplore

type LookmlModelNavExplore struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Description for the explore
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Label used to group explores in the navigation menus
	// Read Only: true
	GroupLabel string `json:"group_label,omitempty"`

	// Is this explore marked as hidden
	// Read Only: true
	Hidden *bool `json:"hidden,omitempty"`

	// Label for the explore
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name of the explore
	// Read Only: true
	Name string `json:"name,omitempty"`
}

LookmlModelNavExplore lookml model nav explore

swagger:model LookmlModelNavExplore

func (*LookmlModelNavExplore) ContextValidate

func (m *LookmlModelNavExplore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml model nav explore based on the context it is used

func (*LookmlModelNavExplore) MarshalBinary

func (m *LookmlModelNavExplore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlModelNavExplore) UnmarshalBinary

func (m *LookmlModelNavExplore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlModelNavExplore) Validate

func (m *LookmlModelNavExplore) Validate(formats strfmt.Registry) error

Validate validates this lookml model nav explore

type LookmlTest

type LookmlTest struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Name of the explore this test runs a query against
	// Read Only: true
	ExploreName string `json:"explore_name,omitempty"`

	// Name of the LookML file containing this test.
	// Read Only: true
	File string `json:"file,omitempty"`

	// Line number of this test in LookML.
	// Read Only: true
	Line int64 `json:"line,omitempty"`

	// Name of model containing this test.
	// Read Only: true
	ModelName string `json:"model_name,omitempty"`

	// Name of this test.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// The url parameters that can be used to reproduce this test's query on an explore.
	// Read Only: true
	QueryURLParams string `json:"query_url_params,omitempty"`
}

LookmlTest lookml test

swagger:model LookmlTest

func (*LookmlTest) ContextValidate

func (m *LookmlTest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml test based on the context it is used

func (*LookmlTest) MarshalBinary

func (m *LookmlTest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlTest) UnmarshalBinary

func (m *LookmlTest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlTest) Validate

func (m *LookmlTest) Validate(formats strfmt.Registry) error

Validate validates this lookml test

type LookmlTestResult

type LookmlTestResult struct {

	// Number of assertions in this test
	// Read Only: true
	AssertionsCount int64 `json:"assertions_count,omitempty"`

	// Number of assertions passed in this test
	// Read Only: true
	AssertionsFailed int64 `json:"assertions_failed,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// A list of any errors encountered by the test.
	// Read Only: true
	Errors []*ProjectError `json:"errors"`

	// Name of model containing this test.
	// Read Only: true
	ModelName string `json:"model_name,omitempty"`

	// True if this test passsed without errors.
	// Read Only: true
	Success *bool `json:"success,omitempty"`

	// Name of this test.
	// Read Only: true
	TestName string `json:"test_name,omitempty"`

	// A list of any warnings encountered by the test.
	// Read Only: true
	Warnings []*ProjectError `json:"warnings"`
}

LookmlTestResult lookml test result

swagger:model LookmlTestResult

func (*LookmlTestResult) ContextValidate

func (m *LookmlTestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lookml test result based on the context it is used

func (*LookmlTestResult) MarshalBinary

func (m *LookmlTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LookmlTestResult) UnmarshalBinary

func (m *LookmlTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LookmlTestResult) Validate

func (m *LookmlTestResult) Validate(formats strfmt.Registry) error

Validate validates this lookml test result

type Manifest

type Manifest struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Imports for a project
	// Read Only: true
	Imports []*ImportedProject `json:"imports"`

	// Localization settings for a project
	// Read Only: true
	LocalizationSettings *LocalizationSettings `json:"localization_settings,omitempty"`

	// Manifest project name
	// Read Only: true
	Name string `json:"name,omitempty"`
}

Manifest manifest

swagger:model Manifest

func (*Manifest) ContextValidate

func (m *Manifest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this manifest based on the context it is used

func (*Manifest) MarshalBinary

func (m *Manifest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Manifest) UnmarshalBinary

func (m *Manifest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Manifest) Validate

func (m *Manifest) Validate(formats strfmt.Registry) error

Validate validates this manifest

type MergeFields

type MergeFields struct {

	// Field name to map onto in the merged results
	FieldName string `json:"field_name,omitempty"`

	// Field name from the source query
	SourceFieldName string `json:"source_field_name,omitempty"`
}

MergeFields merge fields

swagger:model MergeFields

func (*MergeFields) ContextValidate

func (m *MergeFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this merge fields based on context it is used

func (*MergeFields) MarshalBinary

func (m *MergeFields) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MergeFields) UnmarshalBinary

func (m *MergeFields) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MergeFields) Validate

func (m *MergeFields) Validate(formats strfmt.Registry) error

Validate validates this merge fields

type MergeQuery

type MergeQuery struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Column Limit
	ColumnLimit string `json:"column_limit,omitempty"`

	// Dynamic Fields
	DynamicFields string `json:"dynamic_fields,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Pivots
	Pivots []string `json:"pivots"`

	// Unique to get results
	// Read Only: true
	ResultMakerID int64 `json:"result_maker_id,omitempty"`

	// Sorts
	Sorts []string `json:"sorts"`

	// Source Queries defining the results to be merged.
	SourceQueries []*MergeQuerySourceQuery `json:"source_queries"`

	// Total
	Total bool `json:"total,omitempty"`

	// Visualization Config
	VisConfig map[string]string `json:"vis_config,omitempty"`
}

MergeQuery merge query

swagger:model MergeQuery

func (*MergeQuery) ContextValidate

func (m *MergeQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this merge query based on the context it is used

func (*MergeQuery) MarshalBinary

func (m *MergeQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MergeQuery) UnmarshalBinary

func (m *MergeQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MergeQuery) Validate

func (m *MergeQuery) Validate(formats strfmt.Registry) error

Validate validates this merge query

type MergeQuerySourceQuery

type MergeQuerySourceQuery struct {

	// An array defining which fields of the source query are mapped onto fields of the merge query
	MergeFields []*MergeFields `json:"merge_fields"`

	// Display name
	Name string `json:"name,omitempty"`

	// Id of the query to merge
	QueryID int64 `json:"query_id,omitempty"`
}

MergeQuerySourceQuery merge query source query

swagger:model MergeQuerySourceQuery

func (*MergeQuerySourceQuery) ContextValidate

func (m *MergeQuerySourceQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this merge query source query based on the context it is used

func (*MergeQuerySourceQuery) MarshalBinary

func (m *MergeQuerySourceQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MergeQuerySourceQuery) UnmarshalBinary

func (m *MergeQuerySourceQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MergeQuerySourceQuery) Validate

func (m *MergeQuerySourceQuery) Validate(formats strfmt.Registry) error

Validate validates this merge query source query

type ModelSet

type ModelSet struct {

	// all access
	// Read Only: true
	AllAccess *bool `json:"all_access,omitempty"`

	// built in
	// Read Only: true
	BuiltIn *bool `json:"built_in,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// models
	Models []string `json:"models"`

	// Name of ModelSet
	Name string `json:"name,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

ModelSet model set

swagger:model ModelSet

func (*ModelSet) ContextValidate

func (m *ModelSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this model set based on the context it is used

func (*ModelSet) MarshalBinary

func (m *ModelSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelSet) UnmarshalBinary

func (m *ModelSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelSet) Validate

func (m *ModelSet) Validate(formats strfmt.Registry) error

Validate validates this model set

type ModelsNotValidated

type ModelsNotValidated struct {

	// Model name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Project file
	// Read Only: true
	ProjectFileID string `json:"project_file_id,omitempty"`
}

ModelsNotValidated models not validated

swagger:model ModelsNotValidated

func (*ModelsNotValidated) ContextValidate

func (m *ModelsNotValidated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models not validated based on the context it is used

func (*ModelsNotValidated) MarshalBinary

func (m *ModelsNotValidated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsNotValidated) UnmarshalBinary

func (m *ModelsNotValidated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsNotValidated) Validate

func (m *ModelsNotValidated) Validate(formats strfmt.Registry) error

Validate validates this models not validated

type OIDCConfig

type OIDCConfig struct {

	// Allows roles to be directly assigned to OIDC auth'd users.
	AllowDirectRoles bool `json:"allow_direct_roles,omitempty"`

	// Allow OIDC auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login.
	AllowNormalGroupMembership bool `json:"allow_normal_group_membership,omitempty"`

	// OIDC auth'd users will inherit roles from non-reflected Looker groups.
	AllowRolesFromNormalGroups bool `json:"allow_roles_from_normal_groups,omitempty"`

	// Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled.
	AlternateEmailLoginAllowed bool `json:"alternate_email_login_allowed,omitempty"`

	// OpenID Provider Audience
	Audience string `json:"audience,omitempty"`

	// Users will not be allowed to login at all unless a role for them is found in OIDC if set to true
	AuthRequiresRole bool `json:"auth_requires_role,omitempty"`

	// OpenID Provider Authorization Url
	// Format: uri
	AuthorizationEndpoint strfmt.URI `json:"authorization_endpoint,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// (Write-Only) Array of ids of groups that will be applied to new users the first time they login via OIDC
	DefaultNewUserGroupIds []int64 `json:"default_new_user_group_ids"`

	// (Read-only) Groups that will be applied to new users the first time they login via OIDC
	// Read Only: true
	DefaultNewUserGroups []*Group `json:"default_new_user_groups"`

	// (Write-Only) Array of ids of roles that will be applied to new users the first time they login via OIDC
	DefaultNewUserRoleIds []int64 `json:"default_new_user_role_ids"`

	// (Read-only) Roles that will be applied to new users the first time they login via OIDC
	// Read Only: true
	DefaultNewUserRoles []*Role `json:"default_new_user_roles"`

	// Enable/Disable OIDC authentication for the server
	Enabled bool `json:"enabled,omitempty"`

	// (Read-only) Array of mappings between OIDC Groups and Looker Roles
	// Read Only: true
	Groups []*OIDCGroupRead `json:"groups"`

	// Name of user record attributes used to indicate groups. Used when 'groups_finder_type' is set to 'grouped_attribute_values'
	GroupsAttribute string `json:"groups_attribute,omitempty"`

	// (Read/Write) Array of mappings between OIDC Groups and arrays of Looker Role ids
	GroupsWithRoleIds []*OIDCGroupWrite `json:"groups_with_role_ids"`

	// Relying Party Identifier (provided by OpenID Provider)
	Identifier string `json:"identifier,omitempty"`

	// OpenID Provider Issuer
	Issuer string `json:"issuer,omitempty"`

	// When this config was last modified
	// Read Only: true
	// Format: date-time
	ModifiedAt strfmt.DateTime `json:"modified_at,omitempty"`

	// User id of user who last modified this config
	// Read Only: true
	ModifiedBy int64 `json:"modified_by,omitempty"`

	// Merge first-time oidc login to existing user account by email addresses. When a user logs in for the first time via oidc this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google'
	NewUserMigrationTypes string `json:"new_user_migration_types,omitempty"`

	// Array of scopes to request.
	Scopes []string `json:"scopes"`

	// (Write-Only) Relying Party Secret (provided by OpenID Provider)
	Secret string `json:"secret,omitempty"`

	// Set user roles in Looker based on groups from OIDC
	SetRolesFromGroups bool `json:"set_roles_from_groups,omitempty"`

	// Slug to identify configurations that are created in order to run a OIDC config test
	// Read Only: true
	TestSlug string `json:"test_slug,omitempty"`

	// OpenID Provider Token Url
	TokenEndpoint string `json:"token_endpoint,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Name of user record attributes used to indicate email address field
	UserAttributeMapEmail string `json:"user_attribute_map_email,omitempty"`

	// Name of user record attributes used to indicate first name
	UserAttributeMapFirstName string `json:"user_attribute_map_first_name,omitempty"`

	// Name of user record attributes used to indicate last name
	UserAttributeMapLastName string `json:"user_attribute_map_last_name,omitempty"`

	// (Read-only) Array of mappings between OIDC User Attributes and Looker User Attributes
	// Read Only: true
	UserAttributes []*OIDCUserAttributeRead `json:"user_attributes"`

	// (Read/Write) Array of mappings between OIDC User Attributes and arrays of Looker User Attribute ids
	UserAttributesWithIds []*OIDCUserAttributeWrite `json:"user_attributes_with_ids"`

	// OpenID Provider User Information Url
	// Format: uri
	UserinfoEndpoint strfmt.URI `json:"userinfo_endpoint,omitempty"`
}

OIDCConfig o ID c config

swagger:model OIDCConfig

func (*OIDCConfig) ContextValidate

func (m *OIDCConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o ID c config based on the context it is used

func (*OIDCConfig) MarshalBinary

func (m *OIDCConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCConfig) UnmarshalBinary

func (m *OIDCConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCConfig) Validate

func (m *OIDCConfig) Validate(formats strfmt.Registry) error

Validate validates this o ID c config

type OIDCGroupRead

type OIDCGroupRead struct {

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Unique Id of group in Looker
	// Read Only: true
	LookerGroupID int64 `json:"looker_group_id,omitempty"`

	// Name of group in Looker
	// Read Only: true
	LookerGroupName string `json:"looker_group_name,omitempty"`

	// Name of group in OIDC
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Looker Roles
	// Read Only: true
	Roles []*Role `json:"roles"`
}

OIDCGroupRead o ID c group read

swagger:model OIDCGroupRead

func (*OIDCGroupRead) ContextValidate

func (m *OIDCGroupRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o ID c group read based on the context it is used

func (*OIDCGroupRead) MarshalBinary

func (m *OIDCGroupRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCGroupRead) UnmarshalBinary

func (m *OIDCGroupRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCGroupRead) Validate

func (m *OIDCGroupRead) Validate(formats strfmt.Registry) error

Validate validates this o ID c group read

type OIDCGroupWrite

type OIDCGroupWrite struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Unique Id
	ID int64 `json:"id,omitempty"`

	// Unique Id of group in Looker
	// Read Only: true
	LookerGroupID int64 `json:"looker_group_id,omitempty"`

	// Name of group in Looker
	LookerGroupName string `json:"looker_group_name,omitempty"`

	// Name of group in OIDC
	Name string `json:"name,omitempty"`

	// Looker Role Ids
	RoleIds []int64 `json:"role_ids"`
}

OIDCGroupWrite o ID c group write

swagger:model OIDCGroupWrite

func (*OIDCGroupWrite) ContextValidate

func (m *OIDCGroupWrite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o ID c group write based on the context it is used

func (*OIDCGroupWrite) MarshalBinary

func (m *OIDCGroupWrite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCGroupWrite) UnmarshalBinary

func (m *OIDCGroupWrite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCGroupWrite) Validate

func (m *OIDCGroupWrite) Validate(formats strfmt.Registry) error

Validate validates this o ID c group write

type OIDCUserAttributeRead

type OIDCUserAttributeRead struct {

	// Name of User Attribute in OIDC
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Required to be in OIDC assertion for login to be allowed to succeed
	// Read Only: true
	Required *bool `json:"required,omitempty"`

	// Looker User Attributes
	// Read Only: true
	UserAttributes []*UserAttribute `json:"user_attributes"`
}

OIDCUserAttributeRead o ID c user attribute read

swagger:model OIDCUserAttributeRead

func (*OIDCUserAttributeRead) ContextValidate

func (m *OIDCUserAttributeRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o ID c user attribute read based on the context it is used

func (*OIDCUserAttributeRead) MarshalBinary

func (m *OIDCUserAttributeRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCUserAttributeRead) UnmarshalBinary

func (m *OIDCUserAttributeRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCUserAttributeRead) Validate

func (m *OIDCUserAttributeRead) Validate(formats strfmt.Registry) error

Validate validates this o ID c user attribute read

type OIDCUserAttributeWrite

type OIDCUserAttributeWrite struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Name of User Attribute in OIDC
	Name string `json:"name,omitempty"`

	// Required to be in OIDC assertion for login to be allowed to succeed
	Required bool `json:"required,omitempty"`

	// Looker User Attribute Ids
	UserAttributeIds []int64 `json:"user_attribute_ids"`
}

OIDCUserAttributeWrite o ID c user attribute write

swagger:model OIDCUserAttributeWrite

func (*OIDCUserAttributeWrite) ContextValidate

func (m *OIDCUserAttributeWrite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o ID c user attribute write based on the context it is used

func (*OIDCUserAttributeWrite) MarshalBinary

func (m *OIDCUserAttributeWrite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCUserAttributeWrite) UnmarshalBinary

func (m *OIDCUserAttributeWrite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCUserAttributeWrite) Validate

func (m *OIDCUserAttributeWrite) Validate(formats strfmt.Registry) error

Validate validates this o ID c user attribute write

type PasswordConfig

type PasswordConfig struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Minimum number of characters required for a new password.  Must be between 7 and 100
	MinLength int64 `json:"min_length,omitempty"`

	// Require at least one numeric character
	RequireNumeric bool `json:"require_numeric,omitempty"`

	// Require at least one special character
	RequireSpecial bool `json:"require_special,omitempty"`

	// Require at least one uppercase and one lowercase letter
	RequireUpperlower bool `json:"require_upperlower,omitempty"`
}

PasswordConfig password config

swagger:model PasswordConfig

func (*PasswordConfig) ContextValidate

func (m *PasswordConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this password config based on the context it is used

func (*PasswordConfig) MarshalBinary

func (m *PasswordConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PasswordConfig) UnmarshalBinary

func (m *PasswordConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PasswordConfig) Validate

func (m *PasswordConfig) Validate(formats strfmt.Registry) error

Validate validates this password config

type Permission

type Permission struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Dependency parent symbol
	// Read Only: true
	Parent string `json:"parent,omitempty"`

	// Permission symbol
	// Read Only: true
	Permission string `json:"permission,omitempty"`
}

Permission permission

swagger:model Permission

func (*Permission) ContextValidate

func (m *Permission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this permission based on the context it is used

func (*Permission) MarshalBinary

func (m *Permission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Permission) UnmarshalBinary

func (m *Permission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Permission) Validate

func (m *Permission) Validate(formats strfmt.Registry) error

Validate validates this permission

type PermissionSet

type PermissionSet struct {

	// all access
	// Read Only: true
	AllAccess *bool `json:"all_access,omitempty"`

	// built in
	// Read Only: true
	BuiltIn *bool `json:"built_in,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name of PermissionSet
	Name string `json:"name,omitempty"`

	// permissions
	Permissions []string `json:"permissions"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

PermissionSet permission set

swagger:model PermissionSet

func (*PermissionSet) ContextValidate

func (m *PermissionSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this permission set based on the context it is used

func (*PermissionSet) MarshalBinary

func (m *PermissionSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PermissionSet) UnmarshalBinary

func (m *PermissionSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PermissionSet) Validate

func (m *PermissionSet) Validate(formats strfmt.Registry) error

Validate validates this permission set

type Prefetch

type Prefetch struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Number of seconds it took to compute results for prefetch.
	// Read Only: true
	ComputationTime float32 `json:"computation_time,omitempty"`

	// Time when prefetch was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Number of times prefetch has been accessed.
	// Read Only: true
	HitCount int64 `json:"hit_count,omitempty"`

	// Size of result.
	// Read Only: true
	ResultSizeBytes int64 `json:"result_size_bytes,omitempty"`

	// Time when prefetch was last accessed.
	// Read Only: true
	// Format: date-time
	TouchedAt strfmt.DateTime `json:"touched_at,omitempty"`

	// Number of seconds prefetch will live for.
	// Read Only: true
	TTL int64 `json:"ttl,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Data associated with the queries stored by prefetching the data
	// Read Only: true
	Value map[string]string `json:"value,omitempty"`
}

Prefetch prefetch swagger:model Prefetch

func (*Prefetch) MarshalBinary

func (m *Prefetch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Prefetch) UnmarshalBinary

func (m *Prefetch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Prefetch) Validate

func (m *Prefetch) Validate(formats strfmt.Registry) error

Validate validates this prefetch

type PrefetchAccessFilterValue

type PrefetchAccessFilterValue struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Access filter field name.
	// Read Only: true
	Field string `json:"field,omitempty"`

	// Access filter model name.
	// Read Only: true
	Model string `json:"model,omitempty"`

	// Access filter value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

PrefetchAccessFilterValue prefetch access filter value swagger:model PrefetchAccessFilterValue

func (*PrefetchAccessFilterValue) MarshalBinary

func (m *PrefetchAccessFilterValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrefetchAccessFilterValue) UnmarshalBinary

func (m *PrefetchAccessFilterValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrefetchAccessFilterValue) Validate

func (m *PrefetchAccessFilterValue) Validate(formats strfmt.Registry) error

Validate validates this prefetch access filter value

type PrefetchDashboardFilterValue

type PrefetchDashboardFilterValue struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Dashboard filter name.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Dashboard filter value
	// Read Only: true
	Value string `json:"value,omitempty"`
}

PrefetchDashboardFilterValue prefetch dashboard filter value swagger:model PrefetchDashboardFilterValue

func (*PrefetchDashboardFilterValue) MarshalBinary

func (m *PrefetchDashboardFilterValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrefetchDashboardFilterValue) UnmarshalBinary

func (m *PrefetchDashboardFilterValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrefetchDashboardFilterValue) Validate

func (m *PrefetchDashboardFilterValue) Validate(formats strfmt.Registry) error

Validate validates this prefetch dashboard filter value

type PrefetchDashboardRequest

type PrefetchDashboardRequest struct {

	// Access filters to apply when running queries for prefetch.
	// Read Only: true
	AccessFilters []*PrefetchAccessFilterValue `json:"access_filters"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Number of seconds it took to compute results for prefetch.
	// Read Only: true
	ComputationTime float32 `json:"computation_time,omitempty"`

	// Time when prefetch was created.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Dashboard filters to apply when running queries for prefetch.
	// Read Only: true
	DashboardFilters []*PrefetchDashboardFilterValue `json:"dashboard_filters"`

	// Number of times prefetch has been accessed.
	// Read Only: true
	HitCount int64 `json:"hit_count,omitempty"`

	// Size of result.
	// Read Only: true
	ResultSizeBytes int64 `json:"result_size_bytes,omitempty"`

	// Time when prefetch was last accessed.
	// Read Only: true
	// Format: date-time
	TouchedAt strfmt.DateTime `json:"touched_at,omitempty"`

	// Number of seconds prefetch will live for.
	// Read Only: true
	TTL int64 `json:"ttl,omitempty"`
}

PrefetchDashboardRequest prefetch dashboard request swagger:model PrefetchDashboardRequest

func (*PrefetchDashboardRequest) MarshalBinary

func (m *PrefetchDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrefetchDashboardRequest) UnmarshalBinary

func (m *PrefetchDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrefetchDashboardRequest) Validate

func (m *PrefetchDashboardRequest) Validate(formats strfmt.Registry) error

Validate validates this prefetch dashboard request

type Project

type Project struct {

	// Validation policy: If true, the project can be committed with warnings when `validation_required` is true. (`allow_warnings` does nothing if `validation_required` is false).
	AllowWarnings bool `json:"allow_warnings,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// (Write-Only) Optional secret token with which to authenticate requests to the webhook deploy endpoint. If not set, endpoint is unauthenticated.
	DeploySecret string `json:"deploy_secret,omitempty"`

	// Port that HTTP(S) application server is running on (for PRs, file browsing, etc.)
	GitApplicationServerHTTPPort int64 `json:"git_application_server_http_port,omitempty"`

	// Scheme that is running on application server (for PRs, file browsing, etc.) Valid values are: "http", "https".
	GitApplicationServerHTTPScheme string `json:"git_application_server_http_scheme,omitempty"`

	// (Write-Only) Git password for HTTPS authentication. (For production only, if using user attributes.)
	GitPassword string `json:"git_password,omitempty"`

	// User attribute name for password in per-user HTTPS authentication.
	GitPasswordUserAttribute string `json:"git_password_user_attribute,omitempty"`

	// Git production branch name. Defaults to master.
	GitProductionBranchName string `json:"git_production_branch_name,omitempty"`

	// If true, advanced git release management is enabled for this project
	GitReleaseMgmtEnabled bool `json:"git_release_mgmt_enabled,omitempty"`

	// Git remote repository url
	GitRemoteURL string `json:"git_remote_url,omitempty"`

	// Name of the git service provider
	GitServiceName string `json:"git_service_name,omitempty"`

	// Git username for HTTPS authentication. (For production only, if using user attributes.)
	GitUsername string `json:"git_username,omitempty"`

	// User attribute name for username in per-user HTTPS authentication.
	GitUsernameUserAttribute string `json:"git_username_user_attribute,omitempty"`

	// Project Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// If true the project is an example project and cannot be modified
	// Read Only: true
	IsExample *bool `json:"is_example,omitempty"`

	// Project display name
	Name string `json:"name,omitempty"`

	// The git pull request policy for this project. Valid values are: "off", "links", "recommended", "required".
	PullRequestMode string `json:"pull_request_mode,omitempty"`

	// (Write-Only) When true, unsets the deploy secret to allow unauthenticated access to the webhook deploy endpoint.
	UnsetDeploySecret bool `json:"unset_deploy_secret,omitempty"`

	// If true the project is configured with a git repository
	// Read Only: true
	UsesGit *bool `json:"uses_git,omitempty"`

	// Validation policy: If true, the project must pass validation checks before project changes can be committed to the git repository
	ValidationRequired bool `json:"validation_required,omitempty"`
}

Project project

swagger:model Project

func (*Project) ContextValidate

func (m *Project) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project based on the context it is used

func (*Project) MarshalBinary

func (m *Project) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

func (m *Project) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Project) Validate

func (m *Project) Validate(formats strfmt.Registry) error

Validate validates this project

type ProjectError

type ProjectError struct {

	// A stable token that uniquely identifies this class of error, ignoring parameter values. Error message text may vary due to parameters or localization, but error codes do not. For example, a "File not found" error will have the same error code regardless of the filename in question or the user's display language
	// Read Only: true
	Code string `json:"code,omitempty"`

	// The explore associated with this error
	// Read Only: true
	Explore string `json:"explore,omitempty"`

	// The field associated with this error
	// Read Only: true
	FieldName string `json:"field_name,omitempty"`

	// Name of the file containing this error
	// Read Only: true
	FilePath string `json:"file_path,omitempty"`

	// A link to Looker documentation about this error
	// Read Only: true
	HelpURL string `json:"help_url,omitempty"`

	// Error classification: syntax, deprecation, model_configuration, etc
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// Line number in the file of this error
	// Read Only: true
	LineNumber int64 `json:"line_number,omitempty"`

	// Error message which may contain information such as dashboard or model names that may be considered sensitive in some use cases. Avoid storing or sending this message outside of Looker
	// Read Only: true
	Message string `json:"message,omitempty"`

	// The model associated with this error
	// Read Only: true
	ModelID string `json:"model_id,omitempty"`

	// Error parameters
	// Read Only: true
	Params map[string]string `json:"params,omitempty"`

	// A version of the error message that does not contain potentially sensitive information. Suitable for situations in which messages are stored or sent to consumers outside of Looker, such as external logs. Sanitized messages will display "(?)" where sensitive information would appear in the corresponding non-sanitized message
	// Read Only: true
	SanitizedMessage string `json:"sanitized_message,omitempty"`

	// Severity: fatal, error, warning, info, success
	// Read Only: true
	Severity string `json:"severity,omitempty"`
}

ProjectError project error

swagger:model ProjectError

func (*ProjectError) ContextValidate

func (m *ProjectError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project error based on the context it is used

func (*ProjectError) MarshalBinary

func (m *ProjectError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectError) UnmarshalBinary

func (m *ProjectError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectError) Validate

func (m *ProjectError) Validate(formats strfmt.Registry) error

Validate validates this project error

type ProjectFile

type ProjectFile struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// State of editability for the file.
	// Read Only: true
	Editable *bool `json:"editable,omitempty"`

	// The extension of the file: .view.lkml, .model.lkml, etc
	// Read Only: true
	Extension string `json:"extension,omitempty"`

	// Status of the file according to git
	// Read Only: true
	GitStatus *GitStatus `json:"git_status,omitempty"`

	// An opaque token uniquely identifying a file within a project. Avoid parsing or decomposing the text of this token. This token is stable within a Looker release but may change between Looker releases
	// Read Only: true
	ID string `json:"id,omitempty"`

	// File mime type
	// Read Only: true
	MimeType string `json:"mime_type,omitempty"`

	// Path, file name, and extension of the file relative to the project root directory
	// Read Only: true
	Path string `json:"path,omitempty"`

	// Display name
	// Read Only: true
	Title string `json:"title,omitempty"`

	// File type: model, view, etc
	// Read Only: true
	Type string `json:"type,omitempty"`
}

ProjectFile project file

swagger:model ProjectFile

func (*ProjectFile) ContextValidate

func (m *ProjectFile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project file based on the context it is used

func (*ProjectFile) MarshalBinary

func (m *ProjectFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectFile) UnmarshalBinary

func (m *ProjectFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectFile) Validate

func (m *ProjectFile) Validate(formats strfmt.Registry) error

Validate validates this project file

type ProjectValidation

type ProjectValidation struct {

	// Duration of project validation in seconds
	// Read Only: true
	ComputationTime float32 `json:"computation_time,omitempty"`

	// A list of project errors
	// Read Only: true
	Errors []*ProjectError `json:"errors"`

	// A list of models which were not fully validated
	// Read Only: true
	ModelsNotValidated []*ModelsNotValidated `json:"models_not_validated"`

	// A hash value computed from the project's current state
	// Read Only: true
	ProjectDigest string `json:"project_digest,omitempty"`
}

ProjectValidation project validation

swagger:model ProjectValidation

func (*ProjectValidation) ContextValidate

func (m *ProjectValidation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project validation based on the context it is used

func (*ProjectValidation) MarshalBinary

func (m *ProjectValidation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectValidation) UnmarshalBinary

func (m *ProjectValidation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectValidation) Validate

func (m *ProjectValidation) Validate(formats strfmt.Registry) error

Validate validates this project validation

type ProjectValidationCache

type ProjectValidationCache struct {

	// Duration of project validation in seconds
	// Read Only: true
	ComputationTime float32 `json:"computation_time,omitempty"`

	// A list of project errors
	// Read Only: true
	Errors []*ProjectError `json:"errors"`

	// A list of models which were not fully validated
	// Read Only: true
	ModelsNotValidated []*ModelsNotValidated `json:"models_not_validated"`

	// A hash value computed from the project's current state
	// Read Only: true
	ProjectDigest string `json:"project_digest,omitempty"`

	// If true, the cached project validation results are no longer accurate because the project has changed since the cached results were calculated
	// Read Only: true
	Stale *bool `json:"stale,omitempty"`
}

ProjectValidationCache project validation cache

swagger:model ProjectValidationCache

func (*ProjectValidationCache) ContextValidate

func (m *ProjectValidationCache) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project validation cache based on the context it is used

func (*ProjectValidationCache) MarshalBinary

func (m *ProjectValidationCache) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectValidationCache) UnmarshalBinary

func (m *ProjectValidationCache) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectValidationCache) Validate

func (m *ProjectValidationCache) Validate(formats strfmt.Registry) error

Validate validates this project validation cache

type ProjectWorkspace

type ProjectWorkspace struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Status of the dependencies in your project. Valid values are: "lock_optional", "lock_required", "lock_error", "install_none".
	// Read Only: true
	DependencyStatus string `json:"dependency_status,omitempty"`

	// GitBranch
	// Read Only: true
	GitBranch *GitBranch `json:"git_branch,omitempty"`

	// Git head revision name
	// Read Only: true
	GitHead string `json:"git_head,omitempty"`

	// The status of the local git directory
	// Read Only: true
	GitStatus string `json:"git_status,omitempty"`

	// The lookml syntax used by all files in this project
	// Read Only: true
	LookmlType string `json:"lookml_type,omitempty"`

	// The id of the project
	// Read Only: true
	ProjectID string `json:"project_id,omitempty"`

	// The id of the local workspace containing the project files
	// Read Only: true
	WorkspaceID string `json:"workspace_id,omitempty"`
}

ProjectWorkspace project workspace

swagger:model ProjectWorkspace

func (*ProjectWorkspace) ContextValidate

func (m *ProjectWorkspace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project workspace based on the context it is used

func (*ProjectWorkspace) MarshalBinary

func (m *ProjectWorkspace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectWorkspace) UnmarshalBinary

func (m *ProjectWorkspace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectWorkspace) Validate

func (m *ProjectWorkspace) Validate(formats strfmt.Registry) error

Validate validates this project workspace

type Query

type Query struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Client Id: used to generate shortened explore URLs. If set by client, must be a unique 22 character alphanumeric string. Otherwise one will be generated.
	ClientID string `json:"client_id,omitempty"`

	// Column Limit
	ColumnLimit string `json:"column_limit,omitempty"`

	// Dynamic Fields
	DynamicFields string `json:"dynamic_fields,omitempty"`

	// Expanded Share Url
	// Read Only: true
	ExpandedShareURL string `json:"expanded_share_url,omitempty"`

	// Fields
	Fields []string `json:"fields"`

	// Fill Fields
	FillFields []string `json:"fill_fields"`

	// The filter_config represents the state of the filter UI on the explore page for a given query. When running a query via the Looker UI, this parameter takes precedence over "filters". When creating a query or modifying an existing query, "filter_config" should be set to null. Setting it to any other value could cause unexpected filtering behavior. The format should be considered opaque.
	FilterConfig map[string]string `json:"filter_config,omitempty"`

	// Filter Expression
	FilterExpression string `json:"filter_expression,omitempty"`

	// Filters
	Filters map[string]string `json:"filters,omitempty"`

	// Has Table Calculations
	// Read Only: true
	HasTableCalculations *bool `json:"has_table_calculations,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Limit
	Limit string `json:"limit,omitempty"`

	// Model
	// Required: true
	Model *string `json:"model"`

	// Pivots
	Pivots []string `json:"pivots"`

	// Query Timezone
	QueryTimezone string `json:"query_timezone,omitempty"`

	// Raw Total
	RowTotal string `json:"row_total,omitempty"`

	// (DEPRECATED) Runtime (Deprecated)
	Runtime float64 `json:"runtime,omitempty"`

	// Share Url
	// Read Only: true
	ShareURL string `json:"share_url,omitempty"`

	// Slug
	// Read Only: true
	Slug string `json:"slug,omitempty"`

	// Sorting for the query results. Use the format `["view.field", ...]` to sort on fields in ascending order. Use the format `["view.field desc", ...]` to sort on fields in descending order. Use `["__UNSORTED__"]` (2 underscores before and after) to disable sorting entirely. Empty sorts `[]` will trigger a default sort.
	Sorts []string `json:"sorts"`

	// Fields on which to run subtotals
	Subtotals []string `json:"subtotals"`

	// Total
	Total bool `json:"total,omitempty"`

	// Expanded Url
	// Read Only: true
	URL string `json:"url,omitempty"`

	// Explore Name
	// Required: true
	View *string `json:"view"`

	// Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties.
	VisConfig map[string]string `json:"vis_config,omitempty"`

	// Visible UI Sections
	VisibleUISections string `json:"visible_ui_sections,omitempty"`
}

Query query

swagger:model Query

func (*Query) ContextValidate

func (m *Query) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this query based on the context it is used

func (*Query) MarshalBinary

func (m *Query) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Query) UnmarshalBinary

func (m *Query) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Query) Validate

func (m *Query) Validate(formats strfmt.Registry) error

Validate validates this query

type QueryTask

type QueryTask struct {

	// Whether or not to use the cache
	Cache bool `json:"cache,omitempty"`

	// cache key used to cache query.
	// Read Only: true
	CacheKey string `json:"cache_key,omitempty"`

	// Retrieve any results from cache even if the results have expired.
	CacheOnly bool `json:"cache_only,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of dashboard associated with query.
	DashboardID string `json:"dashboard_id,omitempty"`

	// Use production models to run query (even is user is in dev mode).
	ForceProduction bool `json:"force_production,omitempty"`

	// whether or not to generate links in the query response.
	GenerateLinks bool `json:"generate_links,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Id of look associated with query.
	LookID int64 `json:"look_id,omitempty"`

	// Prefix to use for drill links.
	PathPrefix string `json:"path_prefix,omitempty"`

	// Query
	// Read Only: true
	Query *Query `json:"query,omitempty"`

	// Id of query
	QueryID int64 `json:"query_id,omitempty"`

	// Rebuild PDTS used in query.
	RebuildPdts bool `json:"rebuild_pdts,omitempty"`

	// The data format of the query results.
	// Read Only: true
	ResultFormat string `json:"result_format,omitempty"`

	// Source of the results of the query.
	// Read Only: true
	ResultSource string `json:"result_source,omitempty"`

	// Runtime of prior queries.
	// Read Only: true
	Runtime float32 `json:"runtime,omitempty"`

	// Whether or not to run table calculations on the server
	ServerTableCalcs bool `json:"server_table_calcs,omitempty"`

	// Source of query task.
	Source string `json:"source,omitempty"`

	// Status of query task.
	Status string `json:"status,omitempty"`
}

QueryTask query task

swagger:model QueryTask

func (*QueryTask) ContextValidate

func (m *QueryTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this query task based on the context it is used

func (*QueryTask) MarshalBinary

func (m *QueryTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QueryTask) UnmarshalBinary

func (m *QueryTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QueryTask) Validate

func (m *QueryTask) Validate(formats strfmt.Registry) error

Validate validates this query task

type RenderTask

type RenderTask struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Date/Time render task was created
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Filter values to apply to the dashboard queries, in URL query format
	// Read Only: true
	DashboardFilters string `json:"dashboard_filters,omitempty"`

	// Id of dashboard to render
	// Read Only: true
	DashboardID int64 `json:"dashboard_id,omitempty"`

	// Dashboard layout style: single_column or tiled
	// Read Only: true
	DashboardStyle string `json:"dashboard_style,omitempty"`

	// Date/Time render task was completed
	// Read Only: true
	FinalizedAt string `json:"finalized_at,omitempty"`

	// Output height in pixels. Flowed layouts may ignore this value.
	// Read Only: true
	Height int64 `json:"height,omitempty"`

	// Id of this render task
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Id of look to render
	// Read Only: true
	LookID int64 `json:"look_id,omitempty"`

	// Id of lookml dashboard to render
	// Read Only: true
	LookmlDashboardID string `json:"lookml_dashboard_id,omitempty"`

	// Id of query to render
	// Read Only: true
	QueryID int64 `json:"query_id,omitempty"`

	// Number of seconds elapsed running queries
	// Read Only: true
	QueryRuntime float64 `json:"query_runtime,omitempty"`

	// Number of seconds elapsed rendering data
	// Read Only: true
	RenderRuntime float64 `json:"render_runtime,omitempty"`

	// Output format: pdf, png, or jpg
	// Read Only: true
	ResultFormat string `json:"result_format,omitempty"`

	// Total seconds elapsed for render task
	// Read Only: true
	Runtime float64 `json:"runtime,omitempty"`

	// Render task status: enqueued_for_query, querying, enqueued_for_render, rendering, success, failure
	// Read Only: true
	Status string `json:"status,omitempty"`

	// Additional information about the current status
	// Read Only: true
	StatusDetail string `json:"status_detail,omitempty"`

	// The user account permissions in which the render task will execute
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`

	// Output width in pixels
	// Read Only: true
	Width int64 `json:"width,omitempty"`
}

RenderTask render task

swagger:model RenderTask

func (*RenderTask) ContextValidate

func (m *RenderTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this render task based on the context it is used

func (*RenderTask) MarshalBinary

func (m *RenderTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RenderTask) UnmarshalBinary

func (m *RenderTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RenderTask) Validate

func (m *RenderTask) Validate(formats strfmt.Registry) error

Validate validates this render task

type RepositoryCredential

type RepositoryCredential struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// (Write-Only) Git password for HTTPS authentication.
	GitPassword string `json:"git_password,omitempty"`

	// Git username for HTTPS authentication.
	GitUsername string `json:"git_username,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Whether the credentials have been configured for the Git Repository.
	// Read Only: true
	IsConfigured *bool `json:"is_configured,omitempty"`

	// Git remote repository url
	// Read Only: true
	RemoteURL string `json:"remote_url,omitempty"`

	// Root project Id
	// Read Only: true
	RootProjectID string `json:"root_project_id,omitempty"`

	// Public deploy key for SSH authentication.
	SSHPublicKey string `json:"ssh_public_key,omitempty"`
}

RepositoryCredential repository credential

swagger:model RepositoryCredential

func (*RepositoryCredential) ContextValidate

func (m *RepositoryCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this repository credential based on the context it is used

func (*RepositoryCredential) MarshalBinary

func (m *RepositoryCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepositoryCredential) UnmarshalBinary

func (m *RepositoryCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepositoryCredential) Validate

func (m *RepositoryCredential) Validate(formats strfmt.Registry) error

Validate validates this repository credential

type ResultMakerFilterables

type ResultMakerFilterables struct {

	// array of dashboard_filter_name: and field: objects.
	// Read Only: true
	Listen []*ResultMakerFilterablesListen `json:"listen"`

	// The model this filterable comes from (used for field suggestions).
	// Read Only: true
	Model string `json:"model,omitempty"`

	// The name of the filterable thing (Query or Merged Results).
	// Read Only: true
	Name string `json:"name,omitempty"`

	// The view this filterable comes from (used for field suggestions).
	// Read Only: true
	View string `json:"view,omitempty"`
}

ResultMakerFilterables result maker filterables

swagger:model ResultMakerFilterables

func (*ResultMakerFilterables) ContextValidate

func (m *ResultMakerFilterables) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this result maker filterables based on the context it is used

func (*ResultMakerFilterables) MarshalBinary

func (m *ResultMakerFilterables) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResultMakerFilterables) UnmarshalBinary

func (m *ResultMakerFilterables) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResultMakerFilterables) Validate

func (m *ResultMakerFilterables) Validate(formats strfmt.Registry) error

Validate validates this result maker filterables

type ResultMakerFilterablesListen

type ResultMakerFilterablesListen struct {

	// The name of a dashboard filter to listen to.
	DashboardFilterName string `json:"dashboard_filter_name,omitempty"`

	// The name of the field in the filterable to filter with the value of the dashboard filter.
	Field string `json:"field,omitempty"`
}

ResultMakerFilterablesListen result maker filterables listen

swagger:model ResultMakerFilterablesListen

func (*ResultMakerFilterablesListen) ContextValidate

func (m *ResultMakerFilterablesListen) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this result maker filterables listen based on context it is used

func (*ResultMakerFilterablesListen) MarshalBinary

func (m *ResultMakerFilterablesListen) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResultMakerFilterablesListen) UnmarshalBinary

func (m *ResultMakerFilterablesListen) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResultMakerFilterablesListen) Validate

func (m *ResultMakerFilterablesListen) Validate(formats strfmt.Registry) error

Validate validates this result maker filterables listen

type ResultMakerWithIDVisConfigAndDynamicFields

type ResultMakerWithIDVisConfigAndDynamicFields struct {

	// JSON string of dynamic field information.
	// Read Only: true
	DynamicFields string `json:"dynamic_fields,omitempty"`

	// array of items that can be filtered and information about them.
	// Read Only: true
	Filterables []*ResultMakerFilterables `json:"filterables"`

	// Unique Id.
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// ID of merge result if this is a merge_result.
	// Read Only: true
	MergeResultID string `json:"merge_result_id,omitempty"`

	// Query
	// Read Only: true
	Query *Query `json:"query,omitempty"`

	// ID of query if this is a query.
	// Read Only: true
	QueryID int64 `json:"query_id,omitempty"`

	// Sorts of the constituent Look, Query, or Merge Query
	// Read Only: true
	Sorts []string `json:"sorts"`

	// ID of SQL Query if this is a SQL Runner Query
	// Read Only: true
	SQLQueryID string `json:"sql_query_id,omitempty"`

	// Total of the constituent Look, Query, or Merge Query
	// Read Only: true
	Total *bool `json:"total,omitempty"`

	// Vis config of the constituent Query, or Merge Query.
	// Read Only: true
	VisConfig map[string]string `json:"vis_config,omitempty"`
}

ResultMakerWithIDVisConfigAndDynamicFields result maker with Id vis config and dynamic fields

swagger:model ResultMakerWithIdVisConfigAndDynamicFields

func (*ResultMakerWithIDVisConfigAndDynamicFields) ContextValidate

ContextValidate validate this result maker with Id vis config and dynamic fields based on the context it is used

func (*ResultMakerWithIDVisConfigAndDynamicFields) MarshalBinary

func (m *ResultMakerWithIDVisConfigAndDynamicFields) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResultMakerWithIDVisConfigAndDynamicFields) UnmarshalBinary

func (m *ResultMakerWithIDVisConfigAndDynamicFields) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResultMakerWithIDVisConfigAndDynamicFields) Validate

Validate validates this result maker with Id vis config and dynamic fields

type Role

type Role struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// (Read only) Model set
	// Read Only: true
	ModelSet *ModelSet `json:"model_set,omitempty"`

	// (Write-Only) Id of model set
	ModelSetID int64 `json:"model_set_id,omitempty"`

	// Name of Role
	Name string `json:"name,omitempty"`

	// (Read only) Permission set
	// Read Only: true
	PermissionSet *PermissionSet `json:"permission_set,omitempty"`

	// (Write-Only) Id of permission set
	PermissionSetID int64 `json:"permission_set_id,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Link to get list of users with this role
	// Read Only: true
	// Format: uri
	UsersURL strfmt.URI `json:"users_url,omitempty"`
}

Role role

swagger:model Role

func (*Role) ContextValidate

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

type RunningQueries

type RunningQueries struct {

	// Cache Key
	// Read Only: true
	CacheKey string `json:"cache_key,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Date/Time Query was completed
	// Read Only: true
	CompletedAt string `json:"completed_at,omitempty"`

	// Connection ID
	// Read Only: true
	ConnectionID string `json:"connection_id,omitempty"`

	// Connection
	// Read Only: true
	ConnectionName string `json:"connection_name,omitempty"`

	// Date/Time Query was initiated
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Dialect
	// Read Only: true
	Dialect string `json:"dialect,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Look of query that was run
	// Read Only: true
	Look *LookBasic `json:"look,omitempty"`

	// Additional Information(Error message or verbose status)
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Node Id
	// Read Only: true
	NodeID string `json:"node_id,omitempty"`

	// Query that was run
	// Read Only: true
	Query *Query `json:"query,omitempty"`

	// Query Id
	// Read Only: true
	QueryID string `json:"query_id,omitempty"`

	// ID of a Query Task
	// Read Only: true
	QueryTaskID string `json:"query_task_id,omitempty"`

	// Number of seconds elapsed running the Query
	// Read Only: true
	Runtime float64 `json:"runtime,omitempty"`

	// Slug
	// Read Only: true
	Slug string `json:"slug,omitempty"`

	// Source (look, dashboard, queryrunner, explore, etc.)
	// Read Only: true
	Source string `json:"source,omitempty"`

	// SQL text of the query as run
	// Read Only: true
	SQL string `json:"sql,omitempty"`

	// SQL Query that was run
	// Read Only: true
	SQLQuery *SQLQuery `json:"sql_query,omitempty"`

	// Status description
	// Read Only: true
	Status string `json:"status,omitempty"`

	// User who initiated the query
	// Read Only: true
	User *UserPublic `json:"user,omitempty"`
}

RunningQueries running queries

swagger:model RunningQueries

func (*RunningQueries) ContextValidate

func (m *RunningQueries) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this running queries based on the context it is used

func (*RunningQueries) MarshalBinary

func (m *RunningQueries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunningQueries) UnmarshalBinary

func (m *RunningQueries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunningQueries) Validate

func (m *RunningQueries) Validate(formats strfmt.Registry) error

Validate validates this running queries

type SQLQuery

type SQLQuery struct {

	// Maximum number of rows this query will display on the SQL Runner page
	// Read Only: true
	BrowserLimit int64 `json:"browser_limit,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Connection this query uses
	// Read Only: true
	Connection *DBConnectionBase `json:"connection,omitempty"`

	// User who created this SQL query
	// Read Only: true
	Creator *UserPublic `json:"creator,omitempty"`

	// Explore page URL for this SQL query
	// Read Only: true
	ExploreURL string `json:"explore_url,omitempty"`

	// The most recent time this query was run
	// Read Only: true
	LastRunAt string `json:"last_run_at,omitempty"`

	// Number of seconds this query took to run the most recent time it was run
	// Read Only: true
	LastRuntime float32 `json:"last_runtime,omitempty"`

	// Model name this query uses
	// Read Only: true
	ModelName string `json:"model_name,omitempty"`

	// Should this query be rendered as plain text
	// Read Only: true
	Plaintext *bool `json:"plaintext,omitempty"`

	// ID of the ResultMakerLookup entry.
	ResultMakerID int64 `json:"result_maker_id,omitempty"`

	// Number of times this query has been run
	// Read Only: true
	RunCount int64 `json:"run_count,omitempty"`

	// The identifier of the SQL query
	// Read Only: true
	Slug string `json:"slug,omitempty"`

	// SQL query text
	// Read Only: true
	SQL string `json:"sql,omitempty"`

	// Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties.
	VisConfig map[string]string `json:"vis_config,omitempty"`
}

SQLQuery Sql query

swagger:model SqlQuery

func (*SQLQuery) ContextValidate

func (m *SQLQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Sql query based on the context it is used

func (*SQLQuery) MarshalBinary

func (m *SQLQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SQLQuery) UnmarshalBinary

func (m *SQLQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SQLQuery) Validate

func (m *SQLQuery) Validate(formats strfmt.Registry) error

Validate validates this Sql query

type SQLQueryCreate

type SQLQueryCreate struct {

	// (DEPRECATED) Use `connection_name` instead
	ConnectionID string `json:"connection_id,omitempty"`

	// Name of the db connection on which to run this query
	ConnectionName string `json:"connection_name,omitempty"`

	// Name of LookML Model (this or `connection_id` required)
	ModelName string `json:"model_name,omitempty"`

	// SQL query
	SQL string `json:"sql,omitempty"`

	// Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties.
	VisConfig map[string]string `json:"vis_config,omitempty"`
}

SQLQueryCreate Sql query create

swagger:model SqlQueryCreate

func (*SQLQueryCreate) ContextValidate

func (m *SQLQueryCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Sql query create based on context it is used

func (*SQLQueryCreate) MarshalBinary

func (m *SQLQueryCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SQLQueryCreate) UnmarshalBinary

func (m *SQLQueryCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SQLQueryCreate) Validate

func (m *SQLQueryCreate) Validate(formats strfmt.Registry) error

Validate validates this Sql query create

type SamlConfig

type SamlConfig struct {

	// Allows roles to be directly assigned to SAML auth'd users.
	AllowDirectRoles bool `json:"allow_direct_roles,omitempty"`

	// Allow SAML auth'd users to be members of non-reflected Looker groups. If 'false', user will be removed from non-reflected groups on login.
	AllowNormalGroupMembership bool `json:"allow_normal_group_membership,omitempty"`

	// SAML auth'd users will inherit roles from non-reflected Looker groups.
	AllowRolesFromNormalGroups bool `json:"allow_roles_from_normal_groups,omitempty"`

	// Count of seconds of clock drift to allow when validating timestamps of assertions.
	AllowedClockDrift int64 `json:"allowed_clock_drift,omitempty"`

	// Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled.
	AlternateEmailLoginAllowed bool `json:"alternate_email_login_allowed,omitempty"`

	// Users will not be allowed to login at all unless a role for them is found in Saml if set to true
	AuthRequiresRole bool `json:"auth_requires_role,omitempty"`

	// Bypass the login page when user authentication is required. Redirect to IdP immediately instead.
	BypassLoginPage bool `json:"bypass_login_page,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// (Write-Only) Array of ids of groups that will be applied to new users the first time they login via Saml
	DefaultNewUserGroupIds []int64 `json:"default_new_user_group_ids"`

	// (Read-only) Groups that will be applied to new users the first time they login via Saml
	// Read Only: true
	DefaultNewUserGroups []*Group `json:"default_new_user_groups"`

	// (Write-Only) Array of ids of roles that will be applied to new users the first time they login via Saml
	DefaultNewUserRoleIds []int64 `json:"default_new_user_role_ids"`

	// (Read-only) Roles that will be applied to new users the first time they login via Saml
	// Read Only: true
	DefaultNewUserRoles []*Role `json:"default_new_user_roles"`

	// Enable/Disable Saml authentication for the server
	Enabled bool `json:"enabled,omitempty"`

	// (Read-only) Array of mappings between Saml Groups and Looker Roles
	// Read Only: true
	Groups []*SamlGroupRead `json:"groups"`

	// Name of user record attributes used to indicate groups. Used when 'groups_finder_type' is set to 'grouped_attribute_values'
	GroupsAttribute string `json:"groups_attribute,omitempty"`

	// Identifier for a strategy for how Looker will find groups in the SAML response. One of ['grouped_attribute_values', 'individual_attributes']
	GroupsFinderType string `json:"groups_finder_type,omitempty"`

	// Value for group attribute used to indicate membership. Used when 'groups_finder_type' is set to 'individual_attributes'
	GroupsMemberValue string `json:"groups_member_value,omitempty"`

	// (Read/Write) Array of mappings between Saml Groups and arrays of Looker Role ids
	GroupsWithRoleIds []*SamlGroupWrite `json:"groups_with_role_ids"`

	// Identity Provider Audience (set in IdP config). Optional in Looker. Set this only if you want Looker to validate the audience value returned by the IdP.
	IdpAudience string `json:"idp_audience,omitempty"`

	// Identity Provider Certificate (provided by IdP)
	IdpCert string `json:"idp_cert,omitempty"`

	// Identity Provider Issuer (provided by IdP)
	IdpIssuer string `json:"idp_issuer,omitempty"`

	// Identity Provider Url (provided by IdP)
	IdpURL string `json:"idp_url,omitempty"`

	// When this config was last modified
	// Read Only: true
	ModifiedAt string `json:"modified_at,omitempty"`

	// User id of user who last modified this config
	// Read Only: true
	ModifiedBy string `json:"modified_by,omitempty"`

	// Merge first-time saml login to existing user account by email addresses. When a user logs in for the first time via saml this option will connect this user into their existing account by finding the account with a matching email address by testing the given types of credentials for existing users. Otherwise a new user account will be created for the user. This list (if provided) must be a comma separated list of string like 'email,ldap,google'
	NewUserMigrationTypes string `json:"new_user_migration_types,omitempty"`

	// Set user roles in Looker based on groups from Saml
	SetRolesFromGroups bool `json:"set_roles_from_groups,omitempty"`

	// Slug to identify configurations that are created in order to run a Saml config test
	// Read Only: true
	TestSlug string `json:"test_slug,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Name of user record attributes used to indicate email address field
	UserAttributeMapEmail string `json:"user_attribute_map_email,omitempty"`

	// Name of user record attributes used to indicate first name
	UserAttributeMapFirstName string `json:"user_attribute_map_first_name,omitempty"`

	// Name of user record attributes used to indicate last name
	UserAttributeMapLastName string `json:"user_attribute_map_last_name,omitempty"`

	// (Read-only) Array of mappings between Saml User Attributes and Looker User Attributes
	// Read Only: true
	UserAttributes []*SamlUserAttributeRead `json:"user_attributes"`

	// (Read/Write) Array of mappings between Saml User Attributes and arrays of Looker User Attribute ids
	UserAttributesWithIds []*SamlUserAttributeWrite `json:"user_attributes_with_ids"`
}

SamlConfig saml config

swagger:model SamlConfig

func (*SamlConfig) ContextValidate

func (m *SamlConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml config based on the context it is used

func (*SamlConfig) MarshalBinary

func (m *SamlConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlConfig) UnmarshalBinary

func (m *SamlConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlConfig) Validate

func (m *SamlConfig) Validate(formats strfmt.Registry) error

Validate validates this saml config

type SamlGroupRead

type SamlGroupRead struct {

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Unique Id of group in Looker
	// Read Only: true
	LookerGroupID int64 `json:"looker_group_id,omitempty"`

	// Name of group in Looker
	// Read Only: true
	LookerGroupName string `json:"looker_group_name,omitempty"`

	// Name of group in Saml
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Looker Roles
	// Read Only: true
	Roles []*Role `json:"roles"`

	// Link to saml config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

SamlGroupRead saml group read

swagger:model SamlGroupRead

func (*SamlGroupRead) ContextValidate

func (m *SamlGroupRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml group read based on the context it is used

func (*SamlGroupRead) MarshalBinary

func (m *SamlGroupRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlGroupRead) UnmarshalBinary

func (m *SamlGroupRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlGroupRead) Validate

func (m *SamlGroupRead) Validate(formats strfmt.Registry) error

Validate validates this saml group read

type SamlGroupWrite

type SamlGroupWrite struct {

	// Unique Id
	ID int64 `json:"id,omitempty"`

	// Unique Id of group in Looker
	// Read Only: true
	LookerGroupID int64 `json:"looker_group_id,omitempty"`

	// Name of group in Looker
	LookerGroupName string `json:"looker_group_name,omitempty"`

	// Name of group in Saml
	Name string `json:"name,omitempty"`

	// Looker Role Ids
	RoleIds []int64 `json:"role_ids"`

	// Link to saml config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

SamlGroupWrite saml group write

swagger:model SamlGroupWrite

func (*SamlGroupWrite) ContextValidate

func (m *SamlGroupWrite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml group write based on the context it is used

func (*SamlGroupWrite) MarshalBinary

func (m *SamlGroupWrite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlGroupWrite) UnmarshalBinary

func (m *SamlGroupWrite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlGroupWrite) Validate

func (m *SamlGroupWrite) Validate(formats strfmt.Registry) error

Validate validates this saml group write

type SamlMetadataParseResult

type SamlMetadataParseResult struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Identify Provider Certificate
	// Read Only: true
	IdpCert string `json:"idp_cert,omitempty"`

	// Identify Provider Issuer
	// Read Only: true
	IdpIssuer string `json:"idp_issuer,omitempty"`

	// Identify Provider Url
	// Read Only: true
	IdpURL string `json:"idp_url,omitempty"`
}

SamlMetadataParseResult saml metadata parse result

swagger:model SamlMetadataParseResult

func (*SamlMetadataParseResult) ContextValidate

func (m *SamlMetadataParseResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml metadata parse result based on the context it is used

func (*SamlMetadataParseResult) MarshalBinary

func (m *SamlMetadataParseResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlMetadataParseResult) UnmarshalBinary

func (m *SamlMetadataParseResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlMetadataParseResult) Validate

func (m *SamlMetadataParseResult) Validate(formats strfmt.Registry) error

Validate validates this saml metadata parse result

type SamlUserAttributeRead

type SamlUserAttributeRead struct {

	// Name of User Attribute in Saml
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Required to be in Saml assertion for login to be allowed to succeed
	// Read Only: true
	Required *bool `json:"required,omitempty"`

	// Link to saml config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Looker User Attributes
	// Read Only: true
	UserAttributes []*UserAttribute `json:"user_attributes"`
}

SamlUserAttributeRead saml user attribute read

swagger:model SamlUserAttributeRead

func (*SamlUserAttributeRead) ContextValidate

func (m *SamlUserAttributeRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml user attribute read based on the context it is used

func (*SamlUserAttributeRead) MarshalBinary

func (m *SamlUserAttributeRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlUserAttributeRead) UnmarshalBinary

func (m *SamlUserAttributeRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlUserAttributeRead) Validate

func (m *SamlUserAttributeRead) Validate(formats strfmt.Registry) error

Validate validates this saml user attribute read

type SamlUserAttributeWrite

type SamlUserAttributeWrite struct {

	// Name of User Attribute in Saml
	Name string `json:"name,omitempty"`

	// Required to be in Saml assertion for login to be allowed to succeed
	Required bool `json:"required,omitempty"`

	// Link to saml config
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// Looker User Attribute Ids
	UserAttributeIds []int64 `json:"user_attribute_ids"`
}

SamlUserAttributeWrite saml user attribute write

swagger:model SamlUserAttributeWrite

func (*SamlUserAttributeWrite) ContextValidate

func (m *SamlUserAttributeWrite) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml user attribute write based on the context it is used

func (*SamlUserAttributeWrite) MarshalBinary

func (m *SamlUserAttributeWrite) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlUserAttributeWrite) UnmarshalBinary

func (m *SamlUserAttributeWrite) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlUserAttributeWrite) Validate

func (m *SamlUserAttributeWrite) Validate(formats strfmt.Registry) error

Validate validates this saml user attribute write

type ScheduledPlan

type ScheduledPlan struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Color scheme of the dashboard if applicable
	ColorTheme string `json:"color_theme,omitempty"`

	// Date and time when ScheduledPlan was created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Vixie-Style crontab specification when to run
	Crontab string `json:"crontab,omitempty"`

	// (DEPRECATED) Alias for filters_string field
	DashboardFilters string `json:"dashboard_filters,omitempty"`

	// Id of a dashboard
	DashboardID int64 `json:"dashboard_id,omitempty"`

	// Name of a datagroup; if specified will run when datagroup triggered (can't be used with cron string)
	Datagroup string `json:"datagroup,omitempty"`

	// Whether this schedule is in an embed context or not
	Embed bool `json:"embed,omitempty"`

	// Whether the ScheduledPlan is enabled
	Enabled bool `json:"enabled,omitempty"`

	// Query string to run look or dashboard with
	FiltersString string `json:"filters_string,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Whether links back to Looker should be included in this ScheduledPlan
	IncludeLinks bool `json:"include_links,omitempty"`

	// The pixel width at which we render the inline table visualizations
	InlineTableWidth int64 `json:"inline_table_width,omitempty"`

	// When the ScheduledPlan was last run
	// Read Only: true
	// Format: date-time
	LastRunAt strfmt.DateTime `json:"last_run_at,omitempty"`

	// Whether or not to expand table vis to full length
	LongTables bool `json:"long_tables,omitempty"`

	// Id of a look
	LookID int64 `json:"look_id,omitempty"`

	// Id of a LookML dashboard
	LookmlDashboardID string `json:"lookml_dashboard_id,omitempty"`

	// Name of this scheduled plan
	Name string `json:"name,omitempty"`

	// When the ScheduledPlan will next run (null if running once)
	// Read Only: true
	// Format: date-time
	NextRunAt strfmt.DateTime `json:"next_run_at,omitempty"`

	// Whether the PDF should be formatted for landscape orientation
	PdfLandscape bool `json:"pdf_landscape,omitempty"`

	// The size of paper the PDF should be formatted to fit. Valid values are: "letter", "legal", "tabloid", "a0", "a1", "a2", "a3", "a4", "a5".
	PdfPaperSize string `json:"pdf_paper_size,omitempty"`

	// Query id
	QueryID string `json:"query_id,omitempty"`

	// Delivery should occur if data have changed since the last run
	RequireChange bool `json:"require_change,omitempty"`

	// Delivery should occur if the dashboard look does not return results
	RequireNoResults bool `json:"require_no_results,omitempty"`

	// Delivery should occur if running the dashboard or look returns results
	RequireResults bool `json:"require_results,omitempty"`

	// Whether schedule is run as recipient (only applicable for email recipients)
	RunAsRecipient bool `json:"run_as_recipient,omitempty"`

	// Whether the plan in question should only be run once (usually for testing)
	RunOnce bool `json:"run_once,omitempty"`

	// Scheduled plan destinations
	ScheduledPlanDestination []*ScheduledPlanDestination `json:"scheduled_plan_destination"`

	// Will run an unlimited query and send all results.
	SendAllResults bool `json:"send_all_results,omitempty"`

	// Timezone for interpreting the specified crontab (default is Looker instance timezone)
	Timezone string `json:"timezone,omitempty"`

	// Title
	// Read Only: true
	Title string `json:"title,omitempty"`

	// Date and time when ScheduledPlan was last updated
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// User who owns this ScheduledPlan
	// Read Only: true
	User *UserPublic `json:"user,omitempty"`

	// User Id which owns this scheduled plan
	UserID int64 `json:"user_id,omitempty"`
}

ScheduledPlan scheduled plan

swagger:model ScheduledPlan

func (*ScheduledPlan) ContextValidate

func (m *ScheduledPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduled plan based on the context it is used

func (*ScheduledPlan) MarshalBinary

func (m *ScheduledPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduledPlan) UnmarshalBinary

func (m *ScheduledPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduledPlan) Validate

func (m *ScheduledPlan) Validate(formats strfmt.Registry) error

Validate validates this scheduled plan

type ScheduledPlanDestination

type ScheduledPlanDestination struct {

	// Address for recipient. For email e.g. 'user@example.com'. For webhooks e.g. 'https://domain/path'. For Amazon S3 e.g. 's3://bucket-name/path/'. For SFTP e.g. 'sftp://host-name/path/'.
	Address string `json:"address,omitempty"`

	// Are values formatted? (containing currency symbols, digit separators, etc.
	ApplyFormatting bool `json:"apply_formatting,omitempty"`

	// Whether visualization options are applied to the results.
	ApplyVis bool `json:"apply_vis,omitempty"`

	// The data format to send to the given destination. Supported formats vary by destination, but include: "txt", "csv", "inline_json", "json", "json_detail", "xlsx", "html", "wysiwyg_pdf", "assembled_pdf", "wysiwyg_png"
	Format string `json:"format,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Whether the recipient is a Looker user on the current instance (only applicable for email recipients)
	// Read Only: true
	LookerRecipient *bool `json:"looker_recipient,omitempty"`

	// Optional message to be included in scheduled emails
	Message string `json:"message,omitempty"`

	// JSON object containing parameters for external scheduling. For Amazon S3, this requires keys and values for access_key_id and region. For SFTP, this requires a key and value for username.
	Parameters string `json:"parameters,omitempty"`

	// Id of a scheduled plan you own
	ScheduledPlanID int64 `json:"scheduled_plan_id,omitempty"`

	// (Write-Only) JSON object containing secret parameters for external scheduling. For Amazon S3, this requires a key and value for secret_access_key. For SFTP, this requires a key and value for password.
	SecretParameters string `json:"secret_parameters,omitempty"`

	// Type of the address ('email', 'webhook', 's3', or 'sftp')
	Type string `json:"type,omitempty"`
}

ScheduledPlanDestination scheduled plan destination

swagger:model ScheduledPlanDestination

func (*ScheduledPlanDestination) ContextValidate

func (m *ScheduledPlanDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduled plan destination based on the context it is used

func (*ScheduledPlanDestination) MarshalBinary

func (m *ScheduledPlanDestination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduledPlanDestination) UnmarshalBinary

func (m *ScheduledPlanDestination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduledPlanDestination) Validate

func (m *ScheduledPlanDestination) Validate(formats strfmt.Registry) error

Validate validates this scheduled plan destination

type Session

type Session struct {

	// User's browser type
	// Read Only: true
	Browser string `json:"browser,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// City component of user location (derived from IP address)
	// Read Only: true
	City string `json:"city,omitempty"`

	// Country component of user location (derived from IP address)
	// Read Only: true
	Country string `json:"country,omitempty"`

	// Time when this session was initiated
	// Read Only: true
	CreatedAt string `json:"created_at,omitempty"`

	// Type of credentials used for logging in this session
	// Read Only: true
	CredentialsType string `json:"credentials_type,omitempty"`

	// Time when this session will expire
	// Read Only: true
	ExpiresAt string `json:"expires_at,omitempty"`

	// Time when this session was last extended by the user
	// Read Only: true
	ExtendedAt string `json:"extended_at,omitempty"`

	// Number of times this session was extended
	// Read Only: true
	ExtendedCount int64 `json:"extended_count,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// IP address of user when this session was initiated
	// Read Only: true
	IPAddress string `json:"ip_address,omitempty"`

	// User's Operating System
	// Read Only: true
	OperatingSystem string `json:"operating_system,omitempty"`

	// State component of user location (derived from IP address)
	// Read Only: true
	State string `json:"state,omitempty"`

	// Actual user in the case when this session represents one user sudo'ing as another
	// Read Only: true
	SudoUserID int64 `json:"sudo_user_id,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

Session session

swagger:model Session

func (*Session) ContextValidate

func (m *Session) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this session based on the context it is used

func (*Session) MarshalBinary

func (m *Session) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Session) UnmarshalBinary

func (m *Session) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Session) Validate

func (m *Session) Validate(formats strfmt.Registry) error

Validate validates this session

type SessionConfig

type SessionConfig struct {

	// Allow users to have persistent sessions when they login
	AllowPersistentSessions bool `json:"allow_persistent_sessions,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Number of minutes for user sessions.  Must be between 5 and 43200
	SessionMinutes int64 `json:"session_minutes,omitempty"`

	// Track location of session when user logs in.
	TrackSessionLocation bool `json:"track_session_location,omitempty"`

	// Allow users to have an unbounded number of concurrent sessions (otherwise, users will be limited to only one session at a time).
	UnlimitedSessionsPerUser bool `json:"unlimited_sessions_per_user,omitempty"`

	// Enforce session logout for sessions that are inactive for 15 minutes.
	UseInactivityBasedLogout bool `json:"use_inactivity_based_logout,omitempty"`
}

SessionConfig session config

swagger:model SessionConfig

func (*SessionConfig) ContextValidate

func (m *SessionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this session config based on the context it is used

func (*SessionConfig) MarshalBinary

func (m *SessionConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SessionConfig) UnmarshalBinary

func (m *SessionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SessionConfig) Validate

func (m *SessionConfig) Validate(formats strfmt.Registry) error

Validate validates this session config

type Snippet

type Snippet struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Label of the snippet
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name of the snippet
	// Read Only: true
	Name string `json:"name,omitempty"`

	// SQL text of the snippet
	// Read Only: true
	SQL string `json:"sql,omitempty"`
}

Snippet snippet

swagger:model Snippet

func (*Snippet) ContextValidate

func (m *Snippet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snippet based on the context it is used

func (*Snippet) MarshalBinary

func (m *Snippet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snippet) UnmarshalBinary

func (m *Snippet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snippet) Validate

func (m *Snippet) Validate(formats strfmt.Registry) error

Validate validates this snippet

type Space

type Space struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Children Count
	// Read Only: true
	ChildCount int64 `json:"child_count,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time the space was created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// User Id of Creator
	// Read Only: true
	CreatorID int64 `json:"creator_id,omitempty"`

	// Dashboards
	// Read Only: true
	Dashboards []*DashboardBase `json:"dashboards"`

	// Embedder's Id if this space was autogenerated as an embedding shared space via 'external_group_id' in an SSO embed login
	// Read Only: true
	ExternalID string `json:"external_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Space is an embed space
	// Read Only: true
	IsEmbed *bool `json:"is_embed,omitempty"`

	// Space is the root embed shared space
	// Read Only: true
	IsEmbedSharedRoot *bool `json:"is_embed_shared_root,omitempty"`

	// Space is the root embed users space
	// Read Only: true
	IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"`

	// Space is a user's personal space
	// Read Only: true
	IsPersonal *bool `json:"is_personal,omitempty"`

	// Space is descendant of a user's personal space
	// Read Only: true
	IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"`

	// Space is the root shared space
	// Read Only: true
	IsSharedRoot *bool `json:"is_shared_root,omitempty"`

	// Space is the root user space
	// Read Only: true
	IsUsersRoot *bool `json:"is_users_root,omitempty"`

	// Looks
	// Read Only: true
	Looks []*LookWithDashboards `json:"looks"`

	// Unique Name
	// Required: true
	Name *string `json:"name"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	ParentID string `json:"parent_id,omitempty"`
}

Space space

swagger:model Space

func (*Space) ContextValidate

func (m *Space) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this space based on the context it is used

func (*Space) MarshalBinary

func (m *Space) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Space) UnmarshalBinary

func (m *Space) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Space) Validate

func (m *Space) Validate(formats strfmt.Registry) error

Validate validates this space

type SpaceBase

type SpaceBase struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Children Count
	// Read Only: true
	ChildCount int64 `json:"child_count,omitempty"`

	// Id of content metadata
	// Read Only: true
	ContentMetadataID int64 `json:"content_metadata_id,omitempty"`

	// Time the space was created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// User Id of Creator
	// Read Only: true
	CreatorID int64 `json:"creator_id,omitempty"`

	// Embedder's Id if this space was autogenerated as an embedding shared space via 'external_group_id' in an SSO embed login
	// Read Only: true
	ExternalID string `json:"external_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Space is an embed space
	// Read Only: true
	IsEmbed *bool `json:"is_embed,omitempty"`

	// Space is the root embed shared space
	// Read Only: true
	IsEmbedSharedRoot *bool `json:"is_embed_shared_root,omitempty"`

	// Space is the root embed users space
	// Read Only: true
	IsEmbedUsersRoot *bool `json:"is_embed_users_root,omitempty"`

	// Space is a user's personal space
	// Read Only: true
	IsPersonal *bool `json:"is_personal,omitempty"`

	// Space is descendant of a user's personal space
	// Read Only: true
	IsPersonalDescendant *bool `json:"is_personal_descendant,omitempty"`

	// Space is the root shared space
	// Read Only: true
	IsSharedRoot *bool `json:"is_shared_root,omitempty"`

	// Space is the root user space
	// Read Only: true
	IsUsersRoot *bool `json:"is_users_root,omitempty"`

	// Unique Name
	// Required: true
	Name *string `json:"name"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	ParentID string `json:"parent_id,omitempty"`
}

SpaceBase space base

swagger:model SpaceBase

func (*SpaceBase) ContextValidate

func (m *SpaceBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this space base based on the context it is used

func (*SpaceBase) MarshalBinary

func (m *SpaceBase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpaceBase) UnmarshalBinary

func (m *SpaceBase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpaceBase) Validate

func (m *SpaceBase) Validate(formats strfmt.Registry) error

Validate validates this space base

type Theme

type Theme struct {

	// Timestamp for when this theme becomes active. Null=always
	// Format: date-time
	BeginAt strfmt.DateTime `json:"begin_at,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Timestamp for when this theme expires. Null=never
	// Format: date-time
	EndAt strfmt.DateTime `json:"end_at,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Name of theme. Can only be alphanumeric and underscores.
	Name string `json:"name,omitempty"`

	// Hash of name/value pairs for theme settings. These names get validated.
	Settings *ThemeSettings `json:"settings,omitempty"`
}

Theme theme

swagger:model Theme

func (*Theme) ContextValidate

func (m *Theme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this theme based on the context it is used

func (*Theme) MarshalBinary

func (m *Theme) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Theme) UnmarshalBinary

func (m *Theme) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Theme) Validate

func (m *Theme) Validate(formats strfmt.Registry) error

Validate validates this theme

type ThemeSettings

type ThemeSettings struct {

	// Default background color
	BackgroundColor string `json:"background_color,omitempty"`

	// Base font size for scaling fonts
	BaseFontSize string `json:"base_font_size,omitempty"`

	// Optional. ID of color collection to use with the theme. Use an empty string for none.
	ColorCollectionID string `json:"color_collection_id,omitempty"`

	// Default font color
	FontColor string `json:"font_color,omitempty"`

	// Primary font family
	FontFamily string `json:"font_family,omitempty"`

	// Source specification for font
	FontSource string `json:"font_source,omitempty"`

	// Info button color
	InfoButtonColor string `json:"info_button_color,omitempty"`

	// Primary button color
	PrimaryButtonColor string `json:"primary_button_color,omitempty"`

	// Toggle to show filters. Defaults to true.
	ShowFiltersBar bool `json:"show_filters_bar"`

	// Toggle to show the title. Defaults to true.
	ShowTitle bool `json:"show_title"`

	// Text color for text tiles
	TextTileTextColor string `json:"text_tile_text_color,omitempty"`

	// Background color for tiles
	TileBackgroundColor string `json:"tile_background_color,omitempty"`

	// Toggles the tile shadow (New Dashboards)
	TileShadow bool `json:"tile_shadow"`

	// Text color for tiles
	TileTextColor string `json:"tile_text_color,omitempty"`

	// The text alignment of tile titles (New Dashboards)
	TileTitleAlignment string `json:"tile_title_alignment,omitempty"`

	// Color for titles
	TitleColor string `json:"title_color,omitempty"`

	// Warning button color
	WarnButtonColor string `json:"warn_button_color,omitempty"`
}

ThemeSettings theme settings

swagger:model ThemeSettings

func (*ThemeSettings) ContextValidate

func (m *ThemeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this theme settings based on context it is used

func (*ThemeSettings) MarshalBinary

func (m *ThemeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThemeSettings) UnmarshalBinary

func (m *ThemeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThemeSettings) Validate

func (m *ThemeSettings) Validate(formats strfmt.Registry) error

Validate validates this theme settings

type Timezone

type Timezone struct {

	// Timezone group (e.g Common, Other, etc.)
	// Read Only: true
	Group string `json:"group,omitempty"`

	// Description of timezone
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Timezone
	// Read Only: true
	Value string `json:"value,omitempty"`
}

Timezone timezone

swagger:model Timezone

func (*Timezone) ContextValidate

func (m *Timezone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this timezone based on the context it is used

func (*Timezone) MarshalBinary

func (m *Timezone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Timezone) UnmarshalBinary

func (m *Timezone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Timezone) Validate

func (m *Timezone) Validate(formats strfmt.Registry) error

Validate validates this timezone

type UpdateFolder

type UpdateFolder struct {

	// Unique Name
	Name string `json:"name,omitempty"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	ParentID string `json:"parent_id,omitempty"`
}

UpdateFolder update folder

swagger:model UpdateFolder

func (*UpdateFolder) ContextValidate

func (m *UpdateFolder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update folder based on context it is used

func (*UpdateFolder) MarshalBinary

func (m *UpdateFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateFolder) UnmarshalBinary

func (m *UpdateFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateFolder) Validate

func (m *UpdateFolder) Validate(formats strfmt.Registry) error

Validate validates this update folder

type UpdateSpace

type UpdateSpace struct {

	// Unique Name
	Name string `json:"name,omitempty"`

	// Id of Parent. If the parent id is null, this is a root-level entry
	ParentID string `json:"parent_id,omitempty"`
}

UpdateSpace update space

swagger:model UpdateSpace

func (*UpdateSpace) ContextValidate

func (m *UpdateSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update space based on context it is used

func (*UpdateSpace) MarshalBinary

func (m *UpdateSpace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSpace) UnmarshalBinary

func (m *UpdateSpace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSpace) Validate

func (m *UpdateSpace) Validate(formats strfmt.Registry) error

Validate validates this update space

type User

type User struct {

	// User can be directly assigned a role.
	// Read Only: true
	AllowDirectRoles *bool `json:"allow_direct_roles,omitempty"`

	// User can be a direct member of a normal Looker group.
	// Read Only: true
	AllowNormalGroupMembership *bool `json:"allow_normal_group_membership,omitempty"`

	// User can inherit roles from a normal Looker group.
	// Read Only: true
	AllowRolesFromNormalGroups *bool `json:"allow_roles_from_normal_groups,omitempty"`

	// URL for the avatar image (may be generic)
	// Read Only: true
	// Format: uri
	AvatarURL strfmt.URI `json:"avatar_url,omitempty"`

	// URL for the avatar image (may be generic), does not specify size
	// Read Only: true
	// Format: uri
	AvatarURLWithoutSizing strfmt.URI `json:"avatar_url_without_sizing,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// API 3 credentials
	// Read Only: true
	CredentialsApi3 []*CredentialsApi3 `json:"credentials_api3"`

	// Email/Password login credentials
	// Read Only: true
	CredentialsEmail *CredentialsEmail `json:"credentials_email,omitempty"`

	// Embed credentials
	// Read Only: true
	CredentialsEmbed []*CredentialsEmbed `json:"credentials_embed"`

	// Google auth credentials
	// Read Only: true
	CredentialsGoogle *CredentialsGoogle `json:"credentials_google,omitempty"`

	// LDAP credentials
	// Read Only: true
	CredentialsLdap *CredentialsLDAP `json:"credentials_ldap,omitempty"`

	// LookerOpenID credentials. Used for login by Looker Analysts
	// Read Only: true
	CredentialsLookerOpenid *CredentialsLookerOpenid `json:"credentials_looker_openid,omitempty"`

	// OpenID Connect auth credentials
	// Read Only: true
	CredentialsOidc *CredentialsOIDC `json:"credentials_oidc,omitempty"`

	// Saml auth credentials
	// Read Only: true
	CredentialsSaml *CredentialsSaml `json:"credentials_saml,omitempty"`

	// Two-factor credentials
	// Read Only: true
	CredentialsTotp *CredentialsTotp `json:"credentials_totp,omitempty"`

	// Full name for display (available only if both first_name and last_name are set)
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// EMail address
	// Read Only: true
	Email string `json:"email,omitempty"`

	// (Embed only) ID of user's group space based on the external_group_id optionally specified during embed user login
	// Read Only: true
	EmbedGroupSpaceID int64 `json:"embed_group_space_id,omitempty"`

	// First name
	FirstName string `json:"first_name,omitempty"`

	// Array of ids of the groups for this user
	// Read Only: true
	GroupIds []int64 `json:"group_ids"`

	// ID string for user's home folder
	HomeFolderID string `json:"home_folder_id,omitempty"`

	// ID string for user's home space
	HomeSpaceID string `json:"home_space_id,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Account has been disabled
	IsDisabled bool `json:"is_disabled,omitempty"`

	// Last name
	LastName string `json:"last_name,omitempty"`

	// User's preferred locale. User locale takes precedence over Looker's system-wide default locale. Locale determines language of display strings and date and numeric formatting in API responses. Locale string must be a 2 letter language code or a combination of language code and region code: 'en' or 'en-US', for example.
	Locale string `json:"locale,omitempty"`

	// Array of strings representing the Looker versions that this user has used (this only goes back as far as '3.54.0')
	// Read Only: true
	LookerVersions []string `json:"looker_versions"`

	// User's dev workspace has been checked for presence of applicable production projects
	ModelsDirValidated bool `json:"models_dir_validated,omitempty"`

	// ID of user's personal folder
	// Read Only: true
	PersonalFolderID int64 `json:"personal_folder_id,omitempty"`

	// ID of user's personal space
	// Read Only: true
	PersonalSpaceID int64 `json:"personal_space_id,omitempty"`

	// User is identified as an employee of Looker
	// Read Only: true
	PresumedLookerEmployee *bool `json:"presumed_looker_employee,omitempty"`

	// Array of ids of the roles for this user
	// Read Only: true
	RoleIds []int64 `json:"role_ids"`

	// User's roles are managed by an external directory like SAML or LDAP and can not be changed directly.
	// Read Only: true
	RolesExternallyManaged *bool `json:"roles_externally_managed,omitempty"`

	// Active sessions
	// Read Only: true
	Sessions []*Session `json:"sessions"`

	// Per user dictionary of undocumented state information owned by the Looker UI.
	UIState map[string]string `json:"ui_state,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`

	// User is identified as an employee of Looker who has been verified via Looker corporate authentication
	// Read Only: true
	VerifiedLookerEmployee *bool `json:"verified_looker_employee,omitempty"`
}

User user

swagger:model User

func (*User) ContextValidate

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserAttribute

type UserAttribute struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Default value for when no value is set on the user
	DefaultValue string `json:"default_value,omitempty"`

	// Destinations to which a hidden attribute may be sent. Once set, cannot be edited.
	HiddenValueDomainWhitelist string `json:"hidden_value_domain_whitelist,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Attribute is permanent and cannot be deleted
	// Read Only: true
	IsPermanent *bool `json:"is_permanent,omitempty"`

	// Attribute is a system default
	// Read Only: true
	IsSystem *bool `json:"is_system,omitempty"`

	// Human-friendly label for user attribute
	Label string `json:"label,omitempty"`

	// Name of user attribute
	Name string `json:"name,omitempty"`

	// Type of user attribute ("string", "number", "datetime", "yesno", "zipcode")
	Type string `json:"type,omitempty"`

	// Users can change the value of this attribute for themselves
	UserCanEdit bool `json:"user_can_edit,omitempty"`

	// Non-admin users can see the values of their attributes and use them in filters
	UserCanView bool `json:"user_can_view,omitempty"`

	// If true, users will not be able to view values of this attribute
	ValueIsHidden bool `json:"value_is_hidden,omitempty"`
}

UserAttribute user attribute

swagger:model UserAttribute

func (*UserAttribute) ContextValidate

func (m *UserAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user attribute based on the context it is used

func (*UserAttribute) MarshalBinary

func (m *UserAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAttribute) UnmarshalBinary

func (m *UserAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAttribute) Validate

func (m *UserAttribute) Validate(formats strfmt.Registry) error

Validate validates this user attribute

type UserAttributeGroupValue

type UserAttributeGroupValue struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Id of group
	// Read Only: true
	GroupID int64 `json:"group_id,omitempty"`

	// Unique Id of this group-attribute relation
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Precedence for resolving value for user
	// Read Only: true
	Rank int64 `json:"rank,omitempty"`

	// Id of user attribute
	// Read Only: true
	UserAttributeID int64 `json:"user_attribute_id,omitempty"`

	// Value of user attribute for group
	// Read Only: true
	Value string `json:"value,omitempty"`

	// If true, the "value" field will be null, because the attribute settings block access to this value
	// Read Only: true
	ValueIsHidden *bool `json:"value_is_hidden,omitempty"`
}

UserAttributeGroupValue user attribute group value

swagger:model UserAttributeGroupValue

func (*UserAttributeGroupValue) ContextValidate

func (m *UserAttributeGroupValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user attribute group value based on the context it is used

func (*UserAttributeGroupValue) MarshalBinary

func (m *UserAttributeGroupValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAttributeGroupValue) UnmarshalBinary

func (m *UserAttributeGroupValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAttributeGroupValue) Validate

func (m *UserAttributeGroupValue) Validate(formats strfmt.Registry) error

Validate validates this user attribute group value

type UserAttributeWithValue

type UserAttributeWithValue struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// If this user attribute is hidden, whitelist of destinations to which it may be sent.
	// Read Only: true
	HiddenValueDomainWhitelist string `json:"hidden_value_domain_whitelist,omitempty"`

	// Human-friendly label for user attribute
	// Read Only: true
	Label string `json:"label,omitempty"`

	// Name of user attribute
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Precedence for setting value on user (lowest wins)
	// Read Only: true
	Rank int64 `json:"rank,omitempty"`

	// How user got this value for this attribute
	// Read Only: true
	Source string `json:"source,omitempty"`

	// Id of User Attribute
	// Read Only: true
	UserAttributeID int64 `json:"user_attribute_id,omitempty"`

	// Can the user set this value
	// Read Only: true
	UserCanEdit *bool `json:"user_can_edit,omitempty"`

	// Id of User
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`

	// Value of attribute for user
	Value string `json:"value,omitempty"`

	// If true, the "value" field will be null, because the attribute settings block access to this value
	// Read Only: true
	ValueIsHidden *bool `json:"value_is_hidden,omitempty"`
}

UserAttributeWithValue user attribute with value

swagger:model UserAttributeWithValue

func (*UserAttributeWithValue) ContextValidate

func (m *UserAttributeWithValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user attribute with value based on the context it is used

func (*UserAttributeWithValue) MarshalBinary

func (m *UserAttributeWithValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAttributeWithValue) UnmarshalBinary

func (m *UserAttributeWithValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAttributeWithValue) Validate

func (m *UserAttributeWithValue) Validate(formats strfmt.Registry) error

Validate validates this user attribute with value

type UserIDOnly

type UserIDOnly struct {

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`
}

UserIDOnly user Id only

swagger:model UserIdOnly

func (*UserIDOnly) ContextValidate

func (m *UserIDOnly) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user Id only based on the context it is used

func (*UserIDOnly) MarshalBinary

func (m *UserIDOnly) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserIDOnly) UnmarshalBinary

func (m *UserIDOnly) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserIDOnly) Validate

func (m *UserIDOnly) Validate(formats strfmt.Registry) error

Validate validates this user Id only

type UserLoginLockout

type UserLoginLockout struct {

	// Authentication method for login failures
	// Read Only: true
	AuthType string `json:"auth_type,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Email address associated with the user's account
	// Read Only: true
	Email string `json:"email,omitempty"`

	// Number of failures that triggered the lockout
	// Read Only: true
	FailCount int64 `json:"fail_count,omitempty"`

	// User's name
	// Read Only: true
	FullName string `json:"full_name,omitempty"`

	// IP address of most recent failed attempt
	// Read Only: true
	IP string `json:"ip,omitempty"`

	// Hash of user's client id
	// Read Only: true
	Key string `json:"key,omitempty"`

	// Time when lockout was triggered
	// Read Only: true
	// Format: date-time
	LockoutAt strfmt.DateTime `json:"lockout_at,omitempty"`

	// Remote ID of user if using LDAP
	// Read Only: true
	RemoteID string `json:"remote_id,omitempty"`

	// User ID
	// Read Only: true
	UserID int64 `json:"user_id,omitempty"`
}

UserLoginLockout user login lockout

swagger:model UserLoginLockout

func (*UserLoginLockout) ContextValidate

func (m *UserLoginLockout) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user login lockout based on the context it is used

func (*UserLoginLockout) MarshalBinary

func (m *UserLoginLockout) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserLoginLockout) UnmarshalBinary

func (m *UserLoginLockout) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserLoginLockout) Validate

func (m *UserLoginLockout) Validate(formats strfmt.Registry) error

Validate validates this user login lockout

type UserPublic

type UserPublic struct {

	// URL for the avatar image (may be generic)
	// Read Only: true
	// Format: uri
	AvatarURL strfmt.URI `json:"avatar_url,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Full name for display (available only if both first_name and last_name are set)
	// Read Only: true
	DisplayName string `json:"display_name,omitempty"`

	// First Name
	// Read Only: true
	FirstName string `json:"first_name,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Last Name
	// Read Only: true
	LastName string `json:"last_name,omitempty"`

	// Link to get this item
	// Read Only: true
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

UserPublic user public

swagger:model UserPublic

func (*UserPublic) ContextValidate

func (m *UserPublic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user public based on the context it is used

func (*UserPublic) MarshalBinary

func (m *UserPublic) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserPublic) UnmarshalBinary

func (m *UserPublic) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserPublic) Validate

func (m *UserPublic) Validate(formats strfmt.Registry) error

Validate validates this user public

type ValidationError

type ValidationError struct {

	// Documentation link
	// Required: true
	// Read Only: true
	// Format: uri
	DocumentationURL strfmt.URI `json:"documentation_url"`

	// Error detail array
	// Read Only: true
	Errors []*ValidationErrorDetail `json:"errors"`

	// Error details
	// Required: true
	// Read Only: true
	Message string `json:"message"`
}

ValidationError validation error

swagger:model ValidationError

func (*ValidationError) ContextValidate

func (m *ValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this validation error based on the context it is used

func (*ValidationError) MarshalBinary

func (m *ValidationError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValidationError) UnmarshalBinary

func (m *ValidationError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValidationError) Validate

func (m *ValidationError) Validate(formats strfmt.Registry) error

Validate validates this validation error

type ValidationErrorDetail

type ValidationErrorDetail struct {

	// Error code
	// Read Only: true
	Code string `json:"code,omitempty"`

	// Documentation link
	// Required: true
	// Read Only: true
	// Format: uri
	DocumentationURL strfmt.URI `json:"documentation_url"`

	// Field with error
	// Read Only: true
	Field string `json:"field,omitempty"`

	// Error info message
	// Read Only: true
	Message string `json:"message,omitempty"`
}

ValidationErrorDetail validation error detail

swagger:model ValidationErrorDetail

func (*ValidationErrorDetail) ContextValidate

func (m *ValidationErrorDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this validation error detail based on the context it is used

func (*ValidationErrorDetail) MarshalBinary

func (m *ValidationErrorDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValidationErrorDetail) UnmarshalBinary

func (m *ValidationErrorDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValidationErrorDetail) Validate

func (m *ValidationErrorDetail) Validate(formats strfmt.Registry) error

Validate validates this validation error detail

type WelcomeEmailTest

type WelcomeEmailTest struct {

	// The content that would be sent in the body of a custom welcome email
	Content string `json:"content,omitempty"`

	// The header that would be sent in the body of a custom welcome email
	Header string `json:"header,omitempty"`

	// The subject that would be sent for the custom welcome email
	Subject string `json:"subject,omitempty"`
}

WelcomeEmailTest welcome email test

swagger:model WelcomeEmailTest

func (*WelcomeEmailTest) ContextValidate

func (m *WelcomeEmailTest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this welcome email test based on context it is used

func (*WelcomeEmailTest) MarshalBinary

func (m *WelcomeEmailTest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WelcomeEmailTest) UnmarshalBinary

func (m *WelcomeEmailTest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WelcomeEmailTest) Validate

func (m *WelcomeEmailTest) Validate(formats strfmt.Registry) error

Validate validates this welcome email test

type WhitelabelConfiguration

type WhitelabelConfiguration struct {

	// Remove Looker links from Alerts
	AlertsLinks bool `json:"alerts_links,omitempty"`

	AlertsLogo bool `json:"alerts_logo,omitempty"`

	// Boolean to toggle links to Looker in emails
	AllowLookerLinks bool `json:"allow_looker_links,omitempty"`

	// Boolean to toggle mentions of Looker in emails
	AllowLookerMentions bool `json:"allow_looker_mentions,omitempty"`

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// Allow subject line and email heading customization in customized emails”
	CustomWelcomeEmailAdvanced bool `json:"custom_welcome_email_advanced,omitempty"`

	// Default page title
	DefaultTitle string `json:"default_title,omitempty"`

	// Custom favicon image. Expected base64 encoded data (write-only)
	FaviconFile string `json:"favicon_file,omitempty"`

	// Favicon image url (read-only)
	// Read Only: true
	FaviconURL string `json:"favicon_url,omitempty"`

	// Remove Looker mentions in home folder page when you don’t have any items saved
	FoldersMentions bool `json:"folders_mentions,omitempty"`

	// Unique Id
	// Read Only: true
	ID int64 `json:"id,omitempty"`

	// Customer logo image. Expected base64 encoded data (write-only)
	LogoFile string `json:"logo_file,omitempty"`

	// Logo image url (read-only)
	// Read Only: true
	LogoURL string `json:"logo_url,omitempty"`

	// Remove the word Looker from appearing in the account setup page
	SetupMentions bool `json:"setup_mentions,omitempty"`

	// Boolean to toggle showing docs
	ShowDocs bool `json:"show_docs,omitempty"`

	// Boolean to toggle showing email subscription options.
	ShowEmailSubOptions bool `json:"show_email_sub_options,omitempty"`

	// Boolean to toggle showing help menus
	ShowHelpMenu bool `json:"show_help_menu,omitempty"`
}

WhitelabelConfiguration whitelabel configuration

swagger:model WhitelabelConfiguration

func (*WhitelabelConfiguration) ContextValidate

func (m *WhitelabelConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this whitelabel configuration based on the context it is used

func (*WhitelabelConfiguration) MarshalBinary

func (m *WhitelabelConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WhitelabelConfiguration) UnmarshalBinary

func (m *WhitelabelConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WhitelabelConfiguration) Validate

func (m *WhitelabelConfiguration) Validate(formats strfmt.Registry) error

Validate validates this whitelabel configuration

type Workspace

type Workspace struct {

	// Operations the current user is able to perform on this object
	// Read Only: true
	Can map[string]bool `json:"can,omitempty"`

	// The unique id of this user workspace. Predefined workspace ids include "production" and "dev"
	// Read Only: true
	ID string `json:"id,omitempty"`

	// The local state of each project in the workspace
	// Read Only: true
	Projects []*Project `json:"projects"`
}

Workspace workspace

swagger:model Workspace

func (*Workspace) ContextValidate

func (m *Workspace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this workspace based on the context it is used

func (*Workspace) MarshalBinary

func (m *Workspace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Workspace) UnmarshalBinary

func (m *Workspace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Workspace) Validate

func (m *Workspace) Validate(formats strfmt.Registry) error

Validate validates this workspace

type WriteScheduledPlan

type WriteScheduledPlan struct {

	// Color scheme of the dashboard if applicable
	ColorTheme string `json:"color_theme,omitempty"`

	// Vixie-Style crontab specification when to run
	Crontab string `json:"crontab,omitempty"`

	// (DEPRECATED) Alias for filters_string field
	DashboardFilters string `json:"dashboard_filters,omitempty"`

	// Id of a dashboard
	DashboardID int64 `json:"dashboard_id,omitempty"`

	// Name of a datagroup; if specified will run when datagroup triggered (can't be used with cron string)
	Datagroup string `json:"datagroup,omitempty"`

	// Whether this schedule is in an embed context or not
	Embed bool `json:"embed,omitempty"`

	// Whether the ScheduledPlan is enabled
	Enabled bool `json:"enabled,omitempty"`

	// Query string to run look or dashboard with
	FiltersString string `json:"filters_string,omitempty"`

	// Whether links back to Looker should be included in this ScheduledPlan
	IncludeLinks bool `json:"include_links,omitempty"`

	// The pixel width at which we render the inline table visualizations
	InlineTableWidth int64 `json:"inline_table_width,omitempty"`

	// Whether or not to expand table vis to full length
	LongTables bool `json:"long_tables,omitempty"`

	// Id of a look
	LookID int64 `json:"look_id,omitempty"`

	// Id of a LookML dashboard
	LookmlDashboardID string `json:"lookml_dashboard_id,omitempty"`

	// Name of this scheduled plan
	Name string `json:"name,omitempty"`

	// Whether the PDF should be formatted for landscape orientation
	PdfLandscape bool `json:"pdf_landscape,omitempty"`

	// The size of paper the PDF should be formatted to fit. Valid values are: "letter", "legal", "tabloid", "a0", "a1", "a2", "a3", "a4", "a5".
	PdfPaperSize string `json:"pdf_paper_size,omitempty"`

	// Query id
	QueryID string `json:"query_id,omitempty"`

	// Delivery should occur if data have changed since the last run
	RequireChange bool `json:"require_change,omitempty"`

	// Delivery should occur if the dashboard look does not return results
	RequireNoResults bool `json:"require_no_results,omitempty"`

	// Delivery should occur if running the dashboard or look returns results
	RequireResults bool `json:"require_results,omitempty"`

	// Whether schedule is run as recipient (only applicable for email recipients)
	RunAsRecipient bool `json:"run_as_recipient,omitempty"`

	// Whether the plan in question should only be run once (usually for testing)
	RunOnce bool `json:"run_once,omitempty"`

	// Scheduled plan destinations
	ScheduledPlanDestination []*ScheduledPlanDestination `json:"scheduled_plan_destination"`

	// Will run an unlimited query and send all results.
	SendAllResults bool `json:"send_all_results,omitempty"`

	// Timezone for interpreting the specified crontab (default is Looker instance timezone)
	Timezone string `json:"timezone,omitempty"`

	// User Id which owns this scheduled plan
	UserID int64 `json:"user_id,omitempty"`
}

WriteScheduledPlan write scheduled plan

swagger:model WriteScheduledPlan

func (*WriteScheduledPlan) ContextValidate

func (m *WriteScheduledPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this write scheduled plan based on the context it is used

func (*WriteScheduledPlan) MarshalBinary

func (m *WriteScheduledPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WriteScheduledPlan) UnmarshalBinary

func (m *WriteScheduledPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WriteScheduledPlan) Validate

func (m *WriteScheduledPlan) Validate(formats strfmt.Registry) error

Validate validates this write scheduled plan

Source Files

Jump to

Keyboard shortcuts

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