meta

package
v0.13.15 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SaveModeUpdateDataset                                 = SaveMode("UpdateDataset")
	SaveModeUpdateDatasetAndDependenciesUnlessNewErrors   = SaveMode("UpdateDatasetAndDependenciesUnlessNewErrors")
	SaveModeUpdateDatasetAndDependenciesIgnoringAllErrors = SaveMode("UpdateDatasetAndDependenciesIgnoringAllErrors")
	SaveModePreflightDataset                              = SaveMode("PreflightDataset")
	SaveModePreflightDatasetAndDependencies               = SaveMode("PreflightDatasetAndDependencies")
)

Variables

Functions

func ChannelActionOid

func ChannelActionOid(c ChannelAction) *oid.OID

func MonitorActionAttachmentOid

func MonitorActionAttachmentOid(c MonitorActionAttachment) *oid.OID

func MonitorActionOid

func MonitorActionOid(c MonitorAction) *oid.OID

Types

type ActionInput

type ActionInput struct {
	Name             *string               `json:"name"`
	IconUrl          *string               `json:"iconUrl"`
	Description      *string               `json:"description"`
	RateLimit        *types.DurationScalar `json:"rateLimit"`
	NotifyOnClose    *bool                 `json:"notifyOnClose"`
	NotifyOnReminder *bool                 `json:"notifyOnReminder"`
	IsPrivate        *bool                 `json:"isPrivate"`
	Email            *EmailActionInput     `json:"email"`
	Webhook          *WebhookActionInput   `json:"webhook"`
}

func (*ActionInput) GetDescription

func (v *ActionInput) GetDescription() *string

GetDescription returns ActionInput.Description, and is useful for accessing the field via an interface.

func (*ActionInput) GetEmail

func (v *ActionInput) GetEmail() *EmailActionInput

GetEmail returns ActionInput.Email, and is useful for accessing the field via an interface.

func (*ActionInput) GetIconUrl

func (v *ActionInput) GetIconUrl() *string

GetIconUrl returns ActionInput.IconUrl, and is useful for accessing the field via an interface.

func (*ActionInput) GetIsPrivate

func (v *ActionInput) GetIsPrivate() *bool

GetIsPrivate returns ActionInput.IsPrivate, and is useful for accessing the field via an interface.

func (*ActionInput) GetName

func (v *ActionInput) GetName() *string

GetName returns ActionInput.Name, and is useful for accessing the field via an interface.

func (*ActionInput) GetNotifyOnClose

func (v *ActionInput) GetNotifyOnClose() *bool

GetNotifyOnClose returns ActionInput.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ActionInput) GetNotifyOnReminder

func (v *ActionInput) GetNotifyOnReminder() *bool

GetNotifyOnReminder returns ActionInput.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*ActionInput) GetRateLimit

func (v *ActionInput) GetRateLimit() *types.DurationScalar

GetRateLimit returns ActionInput.RateLimit, and is useful for accessing the field via an interface.

func (*ActionInput) GetWebhook

func (v *ActionInput) GetWebhook() *WebhookActionInput

GetWebhook returns ActionInput.Webhook, and is useful for accessing the field via an interface.

type AggregateFunction

type AggregateFunction string
const (
	// On Average
	AggregateFunctionAvg AggregateFunction = "Avg"
	// In Total
	AggregateFunctionSum AggregateFunction = "Sum"
	// At All Times (unintuitive but true!)
	AggregateFunctionMin AggregateFunction = "Min"
	// At Least Once (unintuitive but true!)
	AggregateFunctionMax AggregateFunction = "Max"
)

type App

type App struct {
	Id          string            `json:"id"`
	Name        string            `json:"name"`
	IconUrl     *string           `json:"iconUrl"`
	Description *string           `json:"description"`
	WorkspaceId string            `json:"workspaceId"`
	FolderId    string            `json:"folderId"`
	Config      AppConfig         `json:"config"`
	Status      AppStatus         `json:"status"`
	Outputs     *types.JsonObject `json:"outputs"`
}

App includes the GraphQL fields of App requested by the fragment App. The GraphQL type's documentation follows.

App represents an installed instance of an AppModule

func (*App) GetConfig

func (v *App) GetConfig() AppConfig

GetConfig returns App.Config, and is useful for accessing the field via an interface.

func (*App) GetDescription

func (v *App) GetDescription() *string

GetDescription returns App.Description, and is useful for accessing the field via an interface.

func (*App) GetFolderId

func (v *App) GetFolderId() string

GetFolderId returns App.FolderId, and is useful for accessing the field via an interface.

func (*App) GetIconUrl

func (v *App) GetIconUrl() *string

GetIconUrl returns App.IconUrl, and is useful for accessing the field via an interface.

func (*App) GetId

func (v *App) GetId() string

GetId returns App.Id, and is useful for accessing the field via an interface.

func (*App) GetName

func (v *App) GetName() string

GetName returns App.Name, and is useful for accessing the field via an interface.

func (*App) GetOutputs

func (v *App) GetOutputs() *types.JsonObject

GetOutputs returns App.Outputs, and is useful for accessing the field via an interface.

func (*App) GetStatus

func (v *App) GetStatus() AppStatus

GetStatus returns App.Status, and is useful for accessing the field via an interface.

func (*App) GetWorkspaceId

func (v *App) GetWorkspaceId() string

GetWorkspaceId returns App.WorkspaceId, and is useful for accessing the field via an interface.

func (*App) Oid

func (a *App) Oid() *oid.OID

type AppConfig

type AppConfig struct {
	ModuleId string `json:"moduleId"`
	Version  string `json:"version"`
}

AppConfig includes the requested fields of the GraphQL type AppConfig.

func (*AppConfig) GetModuleId

func (v *AppConfig) GetModuleId() string

GetModuleId returns AppConfig.ModuleId, and is useful for accessing the field via an interface.

func (*AppConfig) GetVersion

func (v *AppConfig) GetVersion() string

GetVersion returns AppConfig.Version, and is useful for accessing the field via an interface.

type AppDataSource

type AppDataSource struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	IconUrl      *string `json:"iconUrl"`
	Description  *string `json:"description"`
	WorkspaceId  string  `json:"workspaceId"`
	ManagedById  *string `json:"managedById"`
	SourceUrl    string  `json:"sourceUrl"`
	Instructions string  `json:"instructions"`
}

AppDataSource includes the GraphQL fields of AppDataSource requested by the fragment AppDataSource.

func (*AppDataSource) GetDescription

func (v *AppDataSource) GetDescription() *string

GetDescription returns AppDataSource.Description, and is useful for accessing the field via an interface.

func (*AppDataSource) GetIconUrl

func (v *AppDataSource) GetIconUrl() *string

GetIconUrl returns AppDataSource.IconUrl, and is useful for accessing the field via an interface.

func (*AppDataSource) GetId

func (v *AppDataSource) GetId() string

GetId returns AppDataSource.Id, and is useful for accessing the field via an interface.

func (*AppDataSource) GetInstructions

func (v *AppDataSource) GetInstructions() string

GetInstructions returns AppDataSource.Instructions, and is useful for accessing the field via an interface.

func (*AppDataSource) GetManagedById

func (v *AppDataSource) GetManagedById() *string

GetManagedById returns AppDataSource.ManagedById, and is useful for accessing the field via an interface.

func (*AppDataSource) GetName

func (v *AppDataSource) GetName() string

GetName returns AppDataSource.Name, and is useful for accessing the field via an interface.

func (*AppDataSource) GetSourceUrl

func (v *AppDataSource) GetSourceUrl() string

GetSourceUrl returns AppDataSource.SourceUrl, and is useful for accessing the field via an interface.

func (*AppDataSource) GetWorkspaceId

func (v *AppDataSource) GetWorkspaceId() string

GetWorkspaceId returns AppDataSource.WorkspaceId, and is useful for accessing the field via an interface.

func (*AppDataSource) Oid

func (a *AppDataSource) Oid() *oid.OID

type AppDataSourceInput

type AppDataSourceInput struct {
	Name         string             `json:"name"`
	Description  *string            `json:"description"`
	SourceUrl    string             `json:"sourceUrl"`
	Variables    []AppVariableInput `json:"variables"`
	Instructions string             `json:"instructions"`
	AppId        string             `json:"appId"`
}

func (*AppDataSourceInput) GetAppId

func (v *AppDataSourceInput) GetAppId() string

GetAppId returns AppDataSourceInput.AppId, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetDescription

func (v *AppDataSourceInput) GetDescription() *string

GetDescription returns AppDataSourceInput.Description, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetInstructions

func (v *AppDataSourceInput) GetInstructions() string

GetInstructions returns AppDataSourceInput.Instructions, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetName

func (v *AppDataSourceInput) GetName() string

GetName returns AppDataSourceInput.Name, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetSourceUrl

func (v *AppDataSourceInput) GetSourceUrl() string

GetSourceUrl returns AppDataSourceInput.SourceUrl, and is useful for accessing the field via an interface.

func (*AppDataSourceInput) GetVariables

func (v *AppDataSourceInput) GetVariables() []AppVariableInput

GetVariables returns AppDataSourceInput.Variables, and is useful for accessing the field via an interface.

type AppInput

type AppInput struct {
	ModuleId  string             `json:"moduleId"`
	Version   string             `json:"version"`
	Variables []AppVariableInput `json:"variables"`
	FolderId  *string            `json:"folderId"`
}

func (*AppInput) GetFolderId

func (v *AppInput) GetFolderId() *string

GetFolderId returns AppInput.FolderId, and is useful for accessing the field via an interface.

func (*AppInput) GetModuleId

func (v *AppInput) GetModuleId() string

GetModuleId returns AppInput.ModuleId, and is useful for accessing the field via an interface.

func (*AppInput) GetVariables

func (v *AppInput) GetVariables() []AppVariableInput

GetVariables returns AppInput.Variables, and is useful for accessing the field via an interface.

func (*AppInput) GetVersion

func (v *AppInput) GetVersion() string

GetVersion returns AppInput.Version, and is useful for accessing the field via an interface.

type AppState

type AppState string
const (
	AppStateInitializing AppState = "Initializing"
	AppStateInstalling   AppState = "Installing"
	AppStateInstalled    AppState = "Installed"
	AppStateDeleting     AppState = "Deleting"
	AppStateError        AppState = "Error"
)

type AppStatus

type AppStatus struct {
	State AppState `json:"state"`
	// The detailed internal error message if an app is in Error state. Not suitable for external user consumption.
	InternalError *string `json:"internalError"`
}

AppStatus includes the requested fields of the GraphQL type AppStatus.

func (*AppStatus) GetInternalError

func (v *AppStatus) GetInternalError() *string

GetInternalError returns AppStatus.InternalError, and is useful for accessing the field via an interface.

func (*AppStatus) GetState

func (v *AppStatus) GetState() AppState

GetState returns AppStatus.State, and is useful for accessing the field via an interface.

type AppVariableInput

type AppVariableInput struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*AppVariableInput) GetName

func (v *AppVariableInput) GetName() string

GetName returns AppVariableInput.Name, and is useful for accessing the field via an interface.

func (*AppVariableInput) GetValue

func (v *AppVariableInput) GetValue() string

GetValue returns AppVariableInput.Value, and is useful for accessing the field via an interface.

type Board

type Board struct {
	Id        string           `json:"id"`
	DatasetId string           `json:"datasetId"`
	Name      *string          `json:"name"`
	Type      BoardType        `json:"type"`
	BoardJson types.JsonObject `json:"boardJson"`
	Source    *string          `json:"source"`
}

Board includes the GraphQL fields of Board requested by the fragment Board.

func (*Board) GetBoardJson

func (v *Board) GetBoardJson() types.JsonObject

GetBoardJson returns Board.BoardJson, and is useful for accessing the field via an interface.

func (*Board) GetDatasetId

func (v *Board) GetDatasetId() string

GetDatasetId returns Board.DatasetId, and is useful for accessing the field via an interface.

func (*Board) GetId

func (v *Board) GetId() string

GetId returns Board.Id, and is useful for accessing the field via an interface.

func (*Board) GetName

func (v *Board) GetName() *string

GetName returns Board.Name, and is useful for accessing the field via an interface.

func (*Board) GetSource

func (v *Board) GetSource() *string

GetSource returns Board.Source, and is useful for accessing the field via an interface.

func (*Board) GetType

func (v *Board) GetType() BoardType

GetType returns Board.Type, and is useful for accessing the field via an interface.

func (*Board) Oid

func (b *Board) Oid() *oid.OID

type BoardInput

type BoardInput struct {
	Name      *string           `json:"name"`
	IsDefault *bool             `json:"isDefault"`
	Board     *types.JsonObject `json:"board"`
	Source    *string           `json:"source"`
}

func (*BoardInput) GetBoard

func (v *BoardInput) GetBoard() *types.JsonObject

GetBoard returns BoardInput.Board, and is useful for accessing the field via an interface.

func (*BoardInput) GetIsDefault

func (v *BoardInput) GetIsDefault() *bool

GetIsDefault returns BoardInput.IsDefault, and is useful for accessing the field via an interface.

func (*BoardInput) GetName

func (v *BoardInput) GetName() *string

GetName returns BoardInput.Name, and is useful for accessing the field via an interface.

func (*BoardInput) GetSource

func (v *BoardInput) GetSource() *string

GetSource returns BoardInput.Source, and is useful for accessing the field via an interface.

type BoardType

type BoardType string
const (
	BoardTypeSet       BoardType = "Set"
	BoardTypeSingleton BoardType = "Singleton"
)

type Bookmark

type Bookmark struct {
	Id           string     `json:"id"`
	Name         string     `json:"name"`
	IconUrl      string     `json:"iconUrl"`
	TargetId     string     `json:"targetId"`
	TargetIdKind ObjectKind `json:"targetIdKind"`
	GroupId      string     `json:"groupId"`
}

Bookmark includes the GraphQL fields of Bookmark requested by the fragment Bookmark.

func (*Bookmark) GetGroupId

func (v *Bookmark) GetGroupId() string

GetGroupId returns Bookmark.GroupId, and is useful for accessing the field via an interface.

func (*Bookmark) GetIconUrl

func (v *Bookmark) GetIconUrl() string

GetIconUrl returns Bookmark.IconUrl, and is useful for accessing the field via an interface.

func (*Bookmark) GetId

func (v *Bookmark) GetId() string

GetId returns Bookmark.Id, and is useful for accessing the field via an interface.

func (*Bookmark) GetName

func (v *Bookmark) GetName() string

GetName returns Bookmark.Name, and is useful for accessing the field via an interface.

func (*Bookmark) GetTargetId

func (v *Bookmark) GetTargetId() string

GetTargetId returns Bookmark.TargetId, and is useful for accessing the field via an interface.

func (*Bookmark) GetTargetIdKind

func (v *Bookmark) GetTargetIdKind() ObjectKind

GetTargetIdKind returns Bookmark.TargetIdKind, and is useful for accessing the field via an interface.

func (*Bookmark) Oid

func (b *Bookmark) Oid() *oid.OID

type BookmarkGroup

type BookmarkGroup struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	IconUrl     string `json:"iconUrl"`
	WorkspaceId string `json:"workspaceId"`
}

BookmarkGroup includes the GraphQL fields of BookmarkGroup requested by the fragment BookmarkGroup.

func (*BookmarkGroup) GetDescription

func (v *BookmarkGroup) GetDescription() string

GetDescription returns BookmarkGroup.Description, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetIconUrl

func (v *BookmarkGroup) GetIconUrl() string

GetIconUrl returns BookmarkGroup.IconUrl, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetId

func (v *BookmarkGroup) GetId() string

GetId returns BookmarkGroup.Id, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetName

func (v *BookmarkGroup) GetName() string

GetName returns BookmarkGroup.Name, and is useful for accessing the field via an interface.

func (*BookmarkGroup) GetWorkspaceId

func (v *BookmarkGroup) GetWorkspaceId() string

GetWorkspaceId returns BookmarkGroup.WorkspaceId, and is useful for accessing the field via an interface.

func (*BookmarkGroup) Oid

func (b *BookmarkGroup) Oid() *oid.OID

type BookmarkGroupInput

type BookmarkGroupInput struct {
	Name         *string                    `json:"name"`
	Description  *string                    `json:"description"`
	IsHome       *bool                      `json:"isHome"`
	IconUrl      *string                    `json:"iconUrl"`
	WorkspaceId  *string                    `json:"workspaceId"`
	Presentation *BookmarkGroupPresentation `json:"presentation"`
	ManagedById  *string                    `json:"managedById"`
}

func (*BookmarkGroupInput) GetDescription

func (v *BookmarkGroupInput) GetDescription() *string

GetDescription returns BookmarkGroupInput.Description, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetIconUrl

func (v *BookmarkGroupInput) GetIconUrl() *string

GetIconUrl returns BookmarkGroupInput.IconUrl, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetIsHome

func (v *BookmarkGroupInput) GetIsHome() *bool

GetIsHome returns BookmarkGroupInput.IsHome, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetManagedById

func (v *BookmarkGroupInput) GetManagedById() *string

GetManagedById returns BookmarkGroupInput.ManagedById, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetName

func (v *BookmarkGroupInput) GetName() *string

GetName returns BookmarkGroupInput.Name, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetPresentation

func (v *BookmarkGroupInput) GetPresentation() *BookmarkGroupPresentation

GetPresentation returns BookmarkGroupInput.Presentation, and is useful for accessing the field via an interface.

func (*BookmarkGroupInput) GetWorkspaceId

func (v *BookmarkGroupInput) GetWorkspaceId() *string

GetWorkspaceId returns BookmarkGroupInput.WorkspaceId, and is useful for accessing the field via an interface.

type BookmarkGroupPresentation

type BookmarkGroupPresentation string
const (
	BookmarkGroupPresentationPercustomerworkspace BookmarkGroupPresentation = "PerCustomerWorkspace"
	BookmarkGroupPresentationPeruserworkspace     BookmarkGroupPresentation = "PerUserWorkspace"
	BookmarkGroupPresentationPeruser              BookmarkGroupPresentation = "PerUser"
	BookmarkGroupPresentationHidden               BookmarkGroupPresentation = "Hidden"
)

type BookmarkInput

type BookmarkInput struct {
	Name             *string          `json:"name"`
	Description      *string          `json:"description"`
	IconUrl          *string          `json:"iconUrl"`
	UrlStateId       *string          `json:"urlStateId"`
	TargetId         *string          `json:"targetId"`
	TargetResourceId *ResourceIdInput `json:"targetResourceId"`
	GroupId          *string          `json:"groupId"`
	ManagedById      *string          `json:"managedById"`
	WorkspaceId      *string          `json:"workspaceId"`
	BookmarkKind     *BookmarkKind    `json:"bookmarkKind"`
}

Bookmarks have their own identity, but they don't have "last changed by" or "created by" timestamps / user auditing, as they are more lightweight.

func (*BookmarkInput) GetBookmarkKind

func (v *BookmarkInput) GetBookmarkKind() *BookmarkKind

GetBookmarkKind returns BookmarkInput.BookmarkKind, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetDescription

func (v *BookmarkInput) GetDescription() *string

GetDescription returns BookmarkInput.Description, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetGroupId

func (v *BookmarkInput) GetGroupId() *string

GetGroupId returns BookmarkInput.GroupId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetIconUrl

func (v *BookmarkInput) GetIconUrl() *string

GetIconUrl returns BookmarkInput.IconUrl, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetManagedById

func (v *BookmarkInput) GetManagedById() *string

GetManagedById returns BookmarkInput.ManagedById, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetName

func (v *BookmarkInput) GetName() *string

GetName returns BookmarkInput.Name, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetTargetId

func (v *BookmarkInput) GetTargetId() *string

GetTargetId returns BookmarkInput.TargetId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetTargetResourceId

func (v *BookmarkInput) GetTargetResourceId() *ResourceIdInput

GetTargetResourceId returns BookmarkInput.TargetResourceId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetUrlStateId

func (v *BookmarkInput) GetUrlStateId() *string

GetUrlStateId returns BookmarkInput.UrlStateId, and is useful for accessing the field via an interface.

func (*BookmarkInput) GetWorkspaceId

func (v *BookmarkInput) GetWorkspaceId() *string

GetWorkspaceId returns BookmarkInput.WorkspaceId, and is useful for accessing the field via an interface.

type BookmarkKind

type BookmarkKind string
const (
	BookmarkKindDataset        BookmarkKind = "Dataset"
	BookmarkKindWorksheet      BookmarkKind = "Worksheet"
	BookmarkKindBookmarkgroup  BookmarkKind = "BookmarkGroup"
	BookmarkKindMonitor        BookmarkKind = "Monitor"
	BookmarkKindResource       BookmarkKind = "Resource"
	BookmarkKindDashboard      BookmarkKind = "Dashboard"
	BookmarkKindLogexplorer    BookmarkKind = "LogExplorer"
	BookmarkKindMetricexplorer BookmarkKind = "MetricExplorer"
)

type ChangeType

type ChangeType string
const (
	ChangeTypeAbsolute ChangeType = "Absolute"
	ChangeTypeRelative ChangeType = "Relative"
)

type Channel

type Channel struct {
	Id          string                   `json:"id"`
	Name        string                   `json:"name"`
	IconUrl     string                   `json:"iconUrl"`
	Description string                   `json:"description"`
	WorkspaceId string                   `json:"workspaceId"`
	Monitors    []ChannelMonitorsMonitor `json:"monitors"`
}

Channel includes the GraphQL fields of Channel requested by the fragment Channel.

func (*Channel) GetDescription

func (v *Channel) GetDescription() string

GetDescription returns Channel.Description, and is useful for accessing the field via an interface.

func (*Channel) GetIconUrl

func (v *Channel) GetIconUrl() string

GetIconUrl returns Channel.IconUrl, and is useful for accessing the field via an interface.

func (*Channel) GetId

func (v *Channel) GetId() string

GetId returns Channel.Id, and is useful for accessing the field via an interface.

func (*Channel) GetMonitors

func (v *Channel) GetMonitors() []ChannelMonitorsMonitor

GetMonitors returns Channel.Monitors, and is useful for accessing the field via an interface.

func (*Channel) GetName

func (v *Channel) GetName() string

GetName returns Channel.Name, and is useful for accessing the field via an interface.

func (*Channel) GetWorkspaceId

func (v *Channel) GetWorkspaceId() string

GetWorkspaceId returns Channel.WorkspaceId, and is useful for accessing the field via an interface.

func (*Channel) Oid

func (c *Channel) Oid() *oid.OID

type ChannelAction

type ChannelAction interface {

	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	GetName() string
	// GetIconUrl returns the interface-field "iconUrl" from its implementation.
	GetIconUrl() string
	// GetDescription returns the interface-field "description" from its implementation.
	GetDescription() string
	// GetNotifyOnClose returns the interface-field "notifyOnClose" from its implementation.
	GetNotifyOnClose() bool
	// GetWorkspaceId returns the interface-field "workspaceId" from its implementation.
	GetWorkspaceId() string
	// GetChannels returns the interface-field "channels" from its implementation.
	GetChannels() []ChannelActionChannelsChannel
	// GetRateLimit returns the interface-field "rateLimit" from its implementation.
	GetRateLimit() types.DurationScalar
	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ChannelAction includes the GraphQL fields of ChannelAction requested by the fragment ChannelAction.

ChannelAction is implemented by the following types: ChannelActionEmailAction ChannelActionWebhookAction ChannelActionUnknownAction

type ChannelActionChannelsChannel

type ChannelActionChannelsChannel struct {
	Id string `json:"id"`
}

ChannelActionChannelsChannel includes the requested fields of the GraphQL type Channel.

func (*ChannelActionChannelsChannel) GetId

GetId returns ChannelActionChannelsChannel.Id, and is useful for accessing the field via an interface.

type ChannelActionEmailAction

type ChannelActionEmailAction struct {
	Id              string                         `json:"id"`
	Name            string                         `json:"name"`
	IconUrl         string                         `json:"iconUrl"`
	Description     string                         `json:"description"`
	NotifyOnClose   bool                           `json:"notifyOnClose"`
	WorkspaceId     string                         `json:"workspaceId"`
	Channels        []ChannelActionChannelsChannel `json:"channels"`
	RateLimit       types.DurationScalar           `json:"rateLimit"`
	Typename        *string                        `json:"__typename"`
	TargetAddresses []string                       `json:"targetAddresses"`
	SubjectTemplate string                         `json:"subjectTemplate"`
	BodyTemplate    string                         `json:"bodyTemplate"`
	IsHtml          bool                           `json:"isHtml"`
}

ChannelAction includes the GraphQL fields of EmailAction requested by the fragment ChannelAction.

func (*ChannelActionEmailAction) GetBodyTemplate

func (v *ChannelActionEmailAction) GetBodyTemplate() string

GetBodyTemplate returns ChannelActionEmailAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetChannels

GetChannels returns ChannelActionEmailAction.Channels, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetDescription

func (v *ChannelActionEmailAction) GetDescription() string

GetDescription returns ChannelActionEmailAction.Description, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetIconUrl

func (v *ChannelActionEmailAction) GetIconUrl() string

GetIconUrl returns ChannelActionEmailAction.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetId

func (v *ChannelActionEmailAction) GetId() string

GetId returns ChannelActionEmailAction.Id, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetIsHtml

func (v *ChannelActionEmailAction) GetIsHtml() bool

GetIsHtml returns ChannelActionEmailAction.IsHtml, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetName

func (v *ChannelActionEmailAction) GetName() string

GetName returns ChannelActionEmailAction.Name, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetNotifyOnClose

func (v *ChannelActionEmailAction) GetNotifyOnClose() bool

GetNotifyOnClose returns ChannelActionEmailAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetRateLimit

func (v *ChannelActionEmailAction) GetRateLimit() types.DurationScalar

GetRateLimit returns ChannelActionEmailAction.RateLimit, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetSubjectTemplate

func (v *ChannelActionEmailAction) GetSubjectTemplate() string

GetSubjectTemplate returns ChannelActionEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetTargetAddresses

func (v *ChannelActionEmailAction) GetTargetAddresses() []string

GetTargetAddresses returns ChannelActionEmailAction.TargetAddresses, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetTypename

func (v *ChannelActionEmailAction) GetTypename() *string

GetTypename returns ChannelActionEmailAction.Typename, and is useful for accessing the field via an interface.

func (*ChannelActionEmailAction) GetWorkspaceId

func (v *ChannelActionEmailAction) GetWorkspaceId() string

GetWorkspaceId returns ChannelActionEmailAction.WorkspaceId, and is useful for accessing the field via an interface.

type ChannelActionHeadersWebhookHeader

type ChannelActionHeadersWebhookHeader struct {
	Header        string `json:"header"`
	ValueTemplate string `json:"valueTemplate"`
}

ChannelActionHeadersWebhookHeader includes the requested fields of the GraphQL type WebhookHeader.

func (*ChannelActionHeadersWebhookHeader) GetHeader

GetHeader returns ChannelActionHeadersWebhookHeader.Header, and is useful for accessing the field via an interface.

func (*ChannelActionHeadersWebhookHeader) GetValueTemplate

func (v *ChannelActionHeadersWebhookHeader) GetValueTemplate() string

GetValueTemplate returns ChannelActionHeadersWebhookHeader.ValueTemplate, and is useful for accessing the field via an interface.

type ChannelActionUnknownAction

type ChannelActionUnknownAction struct {
	Id            string                         `json:"id"`
	Name          string                         `json:"name"`
	IconUrl       string                         `json:"iconUrl"`
	Description   string                         `json:"description"`
	NotifyOnClose bool                           `json:"notifyOnClose"`
	WorkspaceId   string                         `json:"workspaceId"`
	Channels      []ChannelActionChannelsChannel `json:"channels"`
	RateLimit     types.DurationScalar           `json:"rateLimit"`
	Typename      *string                        `json:"__typename"`
}

ChannelAction includes the GraphQL fields of UnknownAction requested by the fragment ChannelAction.

func (*ChannelActionUnknownAction) GetChannels

GetChannels returns ChannelActionUnknownAction.Channels, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetDescription

func (v *ChannelActionUnknownAction) GetDescription() string

GetDescription returns ChannelActionUnknownAction.Description, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetIconUrl

func (v *ChannelActionUnknownAction) GetIconUrl() string

GetIconUrl returns ChannelActionUnknownAction.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetId

GetId returns ChannelActionUnknownAction.Id, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetName

func (v *ChannelActionUnknownAction) GetName() string

GetName returns ChannelActionUnknownAction.Name, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetNotifyOnClose

func (v *ChannelActionUnknownAction) GetNotifyOnClose() bool

GetNotifyOnClose returns ChannelActionUnknownAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetRateLimit

GetRateLimit returns ChannelActionUnknownAction.RateLimit, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetTypename

func (v *ChannelActionUnknownAction) GetTypename() *string

GetTypename returns ChannelActionUnknownAction.Typename, and is useful for accessing the field via an interface.

func (*ChannelActionUnknownAction) GetWorkspaceId

func (v *ChannelActionUnknownAction) GetWorkspaceId() string

GetWorkspaceId returns ChannelActionUnknownAction.WorkspaceId, and is useful for accessing the field via an interface.

type ChannelActionWebhookAction

type ChannelActionWebhookAction struct {
	Id            string                              `json:"id"`
	Name          string                              `json:"name"`
	IconUrl       string                              `json:"iconUrl"`
	Description   string                              `json:"description"`
	NotifyOnClose bool                                `json:"notifyOnClose"`
	WorkspaceId   string                              `json:"workspaceId"`
	Channels      []ChannelActionChannelsChannel      `json:"channels"`
	RateLimit     types.DurationScalar                `json:"rateLimit"`
	Typename      *string                             `json:"__typename"`
	UrlTemplate   string                              `json:"urlTemplate"`
	BodyTemplate  string                              `json:"bodyTemplate"`
	Method        string                              `json:"method"`
	Headers       []ChannelActionHeadersWebhookHeader `json:"headers"`
}

ChannelAction includes the GraphQL fields of WebhookAction requested by the fragment ChannelAction.

func (*ChannelActionWebhookAction) GetBodyTemplate

func (v *ChannelActionWebhookAction) GetBodyTemplate() string

GetBodyTemplate returns ChannelActionWebhookAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetChannels

GetChannels returns ChannelActionWebhookAction.Channels, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetDescription

func (v *ChannelActionWebhookAction) GetDescription() string

GetDescription returns ChannelActionWebhookAction.Description, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetHeaders

GetHeaders returns ChannelActionWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetIconUrl

func (v *ChannelActionWebhookAction) GetIconUrl() string

GetIconUrl returns ChannelActionWebhookAction.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetId

GetId returns ChannelActionWebhookAction.Id, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetMethod

func (v *ChannelActionWebhookAction) GetMethod() string

GetMethod returns ChannelActionWebhookAction.Method, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetName

func (v *ChannelActionWebhookAction) GetName() string

GetName returns ChannelActionWebhookAction.Name, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetNotifyOnClose

func (v *ChannelActionWebhookAction) GetNotifyOnClose() bool

GetNotifyOnClose returns ChannelActionWebhookAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetRateLimit

GetRateLimit returns ChannelActionWebhookAction.RateLimit, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetTypename

func (v *ChannelActionWebhookAction) GetTypename() *string

GetTypename returns ChannelActionWebhookAction.Typename, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetUrlTemplate

func (v *ChannelActionWebhookAction) GetUrlTemplate() string

GetUrlTemplate returns ChannelActionWebhookAction.UrlTemplate, and is useful for accessing the field via an interface.

func (*ChannelActionWebhookAction) GetWorkspaceId

func (v *ChannelActionWebhookAction) GetWorkspaceId() string

GetWorkspaceId returns ChannelActionWebhookAction.WorkspaceId, and is useful for accessing the field via an interface.

type ChannelInput

type ChannelInput struct {
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
}

func (*ChannelInput) GetDescription

func (v *ChannelInput) GetDescription() *string

GetDescription returns ChannelInput.Description, and is useful for accessing the field via an interface.

func (*ChannelInput) GetIconUrl

func (v *ChannelInput) GetIconUrl() *string

GetIconUrl returns ChannelInput.IconUrl, and is useful for accessing the field via an interface.

func (*ChannelInput) GetName

func (v *ChannelInput) GetName() *string

GetName returns ChannelInput.Name, and is useful for accessing the field via an interface.

type ChannelMonitorsMonitor

type ChannelMonitorsMonitor struct {
	Id string `json:"id"`
}

ChannelMonitorsMonitor includes the requested fields of the GraphQL type Monitor.

func (*ChannelMonitorsMonitor) GetId

func (v *ChannelMonitorsMonitor) GetId() string

GetId returns ChannelMonitorsMonitor.Id, and is useful for accessing the field via an interface.

type Client

type Client struct {
	Gql graphql.Client
	*http.Client
	// contains filtered or unexported fields
}

Client implements our customer GQL API

func New

func New(endpoint string, client *http.Client) (*Client, error)

New returns client to customer API

func (*Client) ClearDefaultDashboard

func (client *Client) ClearDefaultDashboard(ctx context.Context, id string) error

func (*Client) CreateApp

func (client *Client) CreateApp(ctx context.Context, workspaceId string, input *AppInput) (*App, error)

func (*Client) CreateAppDataSource

func (client *Client) CreateAppDataSource(ctx context.Context, input *AppDataSourceInput) (*AppDataSource, error)

func (*Client) CreateBoard

func (client *Client) CreateBoard(ctx context.Context, datasetId string, boardType BoardType, config *BoardInput) (*Board, error)

func (*Client) CreateChannel

func (client *Client) CreateChannel(ctx context.Context, workspaceId string, input *ChannelInput) (*Channel, error)

func (*Client) CreateChannelAction

func (client *Client) CreateChannelAction(ctx context.Context, workspaceId string, input *ActionInput) (*ChannelAction, error)
func (client *Client) CreateDashboardLink(ctx context.Context, input DashboardLinkInput) (*DashboardLink, error)

func (*Client) CreateDatastream

func (client *Client) CreateDatastream(ctx context.Context, workspaceId string, input *DatastreamInput) (*Datastream, error)

func (*Client) CreateDatastreamToken

func (client *Client) CreateDatastreamToken(ctx context.Context, workspaceId string, input *DatastreamTokenInput) (*DatastreamToken, error)

func (*Client) CreateDeferredForeignKey

func (client *Client) CreateDeferredForeignKey(ctx context.Context, workspaceId string, input *DeferredForeignKeyInput) (*DeferredForeignKey, error)

func (*Client) CreateFiledrop added in v0.13.15

func (client *Client) CreateFiledrop(ctx context.Context, workspaceId string, datastreamId string, input *FiledropInput) (*Filedrop, error)

func (*Client) CreateFolder

func (client *Client) CreateFolder(ctx context.Context, workspaceId string, input *FolderInput) (*Folder, error)

func (*Client) CreateLayeredSettingRecord

func (client *Client) CreateLayeredSettingRecord(ctx context.Context, config *LayeredSettingRecordInput) (*LayeredSettingRecord, error)

func (*Client) CreateMonitor

func (client *Client) CreateMonitor(ctx context.Context, workspaceId string, input *MonitorInput) (*Monitor, error)

func (*Client) CreateMonitorAction

func (client *Client) CreateMonitorAction(ctx context.Context, input *MonitorActionInput) (*MonitorAction, error)

func (*Client) CreateMonitorActionAttachment

func (client *Client) CreateMonitorActionAttachment(ctx context.Context, input *MonitorActionAttachmentInput) (*MonitorActionAttachment, error)

func (*Client) CreateOrUpdateBookmark

func (client *Client) CreateOrUpdateBookmark(ctx context.Context, id *string, input *BookmarkInput) (*Bookmark, error)

func (*Client) CreateOrUpdateBookmarkGroup

func (client *Client) CreateOrUpdateBookmarkGroup(ctx context.Context, id *string, input *BookmarkGroupInput) (*BookmarkGroup, error)

func (*Client) CreatePoller

func (client *Client) CreatePoller(ctx context.Context, workspaceId string, input *PollerInput) (*Poller, error)

func (*Client) CreatePreferredPath

func (client *Client) CreatePreferredPath(ctx context.Context, workspaceId string, input *PreferredPathInput) (*PreferredPathWithStatus, error)

func (*Client) CreateRbacGroup

func (client *Client) CreateRbacGroup(ctx context.Context, input *RbacGroupInput) (*RbacGroup, error)

func (*Client) CreateRbacGroupmember

func (client *Client) CreateRbacGroupmember(ctx context.Context, input *RbacGroupmemberInput) (*RbacGroupmember, error)

func (*Client) CreateRbacStatement

func (client *Client) CreateRbacStatement(ctx context.Context, input *RbacStatementInput) (*RbacStatement, error)

func (*Client) CreateWorkspace

func (client *Client) CreateWorkspace(ctx context.Context, input *WorkspaceInput) (*Workspace, error)

func (*Client) DatasetQueryOutput

func (client *Client) DatasetQueryOutput(ctx context.Context, query []*StageInput, params *QueryParams) ([]*TaskResult, error)

GetDatasetQueryOutput takes a simplified form: we use StageQueryInput instead of StageInput for now

func (*Client) DeleteApp

func (client *Client) DeleteApp(ctx context.Context, id string) error

func (*Client) DeleteAppDataSource

func (client *Client) DeleteAppDataSource(ctx context.Context, id string) error

func (*Client) DeleteBoard

func (client *Client) DeleteBoard(ctx context.Context, id string) error

func (*Client) DeleteBookmark

func (client *Client) DeleteBookmark(ctx context.Context, id string) error

func (*Client) DeleteBookmarkGroup

func (client *Client) DeleteBookmarkGroup(ctx context.Context, id string) error

func (*Client) DeleteChannel

func (client *Client) DeleteChannel(ctx context.Context, id string) error

func (*Client) DeleteChannelAction

func (client *Client) DeleteChannelAction(ctx context.Context, id string) error

func (*Client) DeleteDashboard

func (client *Client) DeleteDashboard(ctx context.Context, id string) error
func (client *Client) DeleteDashboardLink(ctx context.Context, id string) error

func (*Client) DeleteDataset

func (client *Client) DeleteDataset(ctx context.Context, id string) error

DeleteDataset deletes dataset by ID.

func (*Client) DeleteDatastream

func (client *Client) DeleteDatastream(ctx context.Context, id string) error

func (*Client) DeleteDatastreamToken

func (client *Client) DeleteDatastreamToken(ctx context.Context, id string) error

func (*Client) DeleteDeferredForeignKey

func (client *Client) DeleteDeferredForeignKey(ctx context.Context, id string) error

func (*Client) DeleteFiledrop added in v0.13.15

func (client *Client) DeleteFiledrop(ctx context.Context, id string) error

func (*Client) DeleteFolder

func (client *Client) DeleteFolder(ctx context.Context, id string) error

func (*Client) DeleteLayeredSettingRecord

func (client *Client) DeleteLayeredSettingRecord(ctx context.Context, id string) error

func (*Client) DeleteMonitor

func (client *Client) DeleteMonitor(ctx context.Context, id string) error

func (*Client) DeleteMonitorAction

func (client *Client) DeleteMonitorAction(ctx context.Context, id string) error

func (*Client) DeleteMonitorActionAttachment

func (client *Client) DeleteMonitorActionAttachment(ctx context.Context, id string) error

func (*Client) DeletePoller

func (client *Client) DeletePoller(ctx context.Context, id string) error

func (*Client) DeletePreferredPath

func (client *Client) DeletePreferredPath(ctx context.Context, id string) error

func (*Client) DeleteRbacGroup

func (client *Client) DeleteRbacGroup(ctx context.Context, id string) error

func (*Client) DeleteRbacGroupmember

func (client *Client) DeleteRbacGroupmember(ctx context.Context, id string) error

func (*Client) DeleteRbacStatement

func (client *Client) DeleteRbacStatement(ctx context.Context, id string) error

func (*Client) DeleteWorksheet

func (client *Client) DeleteWorksheet(ctx context.Context, id string) error

func (*Client) DeleteWorkspace

func (client *Client) DeleteWorkspace(ctx context.Context, id string) error

func (*Client) GetApp

func (client *Client) GetApp(ctx context.Context, id string) (*App, error)

func (*Client) GetAppDataSource

func (client *Client) GetAppDataSource(ctx context.Context, id string) (*AppDataSource, error)

func (*Client) GetBoard

func (client *Client) GetBoard(ctx context.Context, id string) (*Board, error)

func (*Client) GetBookmark

func (client *Client) GetBookmark(ctx context.Context, id string) (*Bookmark, error)

func (*Client) GetBookmarkGroup

func (client *Client) GetBookmarkGroup(ctx context.Context, id string) (*BookmarkGroup, error)

func (*Client) GetChannel

func (client *Client) GetChannel(ctx context.Context, id string) (*Channel, error)

func (*Client) GetChannelAction

func (client *Client) GetChannelAction(ctx context.Context, id string) (*ChannelAction, error)

func (*Client) GetDashboard

func (client *Client) GetDashboard(ctx context.Context, id string) (*Dashboard, error)
func (client *Client) GetDashboardLink(ctx context.Context, id string) (*DashboardLink, error)

func (*Client) GetDataset

func (client *Client) GetDataset(ctx context.Context, id string) (*Dataset, error)

GetDataset retrieves dataset.

func (*Client) GetDatastream

func (client *Client) GetDatastream(ctx context.Context, id string) (*Datastream, error)

func (*Client) GetDatastreamToken

func (client *Client) GetDatastreamToken(ctx context.Context, id string) (*DatastreamToken, error)

func (*Client) GetDefaultDashboard

func (client *Client) GetDefaultDashboard(ctx context.Context, id string) (*string, error)

func (*Client) GetDeferredForeignKey

func (client *Client) GetDeferredForeignKey(ctx context.Context, id string) (*DeferredForeignKey, error)

func (*Client) GetFiledrop added in v0.13.15

func (client *Client) GetFiledrop(ctx context.Context, id string) (*Filedrop, error)

func (*Client) GetFolder

func (client *Client) GetFolder(ctx context.Context, id string) (*Folder, error)

func (*Client) GetLayeredSettingRecord

func (client *Client) GetLayeredSettingRecord(ctx context.Context, id string) (*LayeredSettingRecord, error)

func (*Client) GetMonitor

func (client *Client) GetMonitor(ctx context.Context, id string) (*Monitor, error)

func (*Client) GetMonitorAction

func (client *Client) GetMonitorAction(ctx context.Context, id string) (*MonitorAction, error)

func (*Client) GetMonitorActionAttachment

func (client *Client) GetMonitorActionAttachment(ctx context.Context, id string) (*MonitorActionAttachment, error)

func (*Client) GetPoller

func (client *Client) GetPoller(ctx context.Context, id string) (*Poller, error)

func (*Client) GetPreferredPath

func (client *Client) GetPreferredPath(ctx context.Context, id string) (*PreferredPathWithStatus, error)

func (*Client) GetRbacDefaultGroup

func (client *Client) GetRbacDefaultGroup(ctx context.Context) (*RbacGroup, error)

func (*Client) GetRbacGroup

func (client *Client) GetRbacGroup(ctx context.Context, id string) (*RbacGroup, error)

func (*Client) GetRbacGroupmember

func (client *Client) GetRbacGroupmember(ctx context.Context, id string) (*RbacGroupmember, error)

func (*Client) GetRbacStatement

func (client *Client) GetRbacStatement(ctx context.Context, id string) (*RbacStatement, error)

func (*Client) GetTerraform

func (client *Client) GetTerraform(ctx context.Context, id string, objectType TerraformObjectType) (*TerraformDefinition, error)

func (*Client) GetUser

func (client *Client) GetUser(ctx context.Context, id string) (*User, error)

func (*Client) GetWorksheet

func (client *Client) GetWorksheet(ctx context.Context, id string) (*Worksheet, error)

func (*Client) GetWorkspace

func (client *Client) GetWorkspace(ctx context.Context, id string) (*Workspace, error)

func (*Client) ListDatasets

func (client *Client) ListDatasets(ctx context.Context) (ds []*Dataset, err error)

ListDatasets retrieves all datasets across workspaces. No filtering provided for now.

func (*Client) ListWorkspaces

func (client *Client) ListWorkspaces(ctx context.Context) ([]*Workspace, error)

func (*Client) LookupApp

func (client *Client) LookupApp(ctx context.Context, workspaceId, name string) (*App, error)

func (*Client) LookupDataset

func (client *Client) LookupDataset(ctx context.Context, workspaceId, name string) (*Dataset, error)

LookupDataset retrieves dataset by name.

func (*Client) LookupDatastream

func (client *Client) LookupDatastream(ctx context.Context, workspaceId, name string) (*Datastream, error)

LookupDatastream retrieves datastream by name.

func (*Client) LookupFolder

func (client *Client) LookupFolder(ctx context.Context, workspaceId, name string) (*Folder, error)

func (*Client) LookupModuleVersions

func (client *Client) LookupModuleVersions(ctx context.Context, id string) ([]*ModuleVersion, error)

func (*Client) LookupMonitor

func (client *Client) LookupMonitor(ctx context.Context, workspaceId, name string) (*Monitor, error)

func (*Client) LookupRbacGroup

func (client *Client) LookupRbacGroup(ctx context.Context, name string) (*RbacGroup, error)

func (*Client) LookupUser

func (client *Client) LookupUser(ctx context.Context, email string) (*User, error)

func (*Client) LookupWorkspace

func (client *Client) LookupWorkspace(ctx context.Context, name string) (*Workspace, error)

func (*Client) Run

func (c *Client) Run(ctx context.Context, query string, vars map[string]interface{}) (map[string]interface{}, error)

Run raw GraphQL query against metadata endpoint

func (*Client) SaveDashboard

func (client *Client) SaveDashboard(ctx context.Context, input *DashboardInput) (*Dashboard, error)

func (*Client) SaveDataset

func (client *Client) SaveDataset(ctx context.Context, workspaceId string, input *DatasetInput, queryInput *MultiStageQueryInput) (*Dataset, error)

SaveDataset creates and updates datasets

func (*Client) SaveSourceDataset

func (client *Client) SaveSourceDataset(ctx context.Context, workspaceId string, input *DatasetDefinitionInput, sourceInput *SourceTableDefinitionInput) (*Dataset, error)

func (*Client) SaveWorksheet

func (client *Client) SaveWorksheet(ctx context.Context, input *WorksheetInput) (*Worksheet, error)

func (*Client) SetChannelsForChannelAction

func (client *Client) SetChannelsForChannelAction(ctx context.Context, id string, channels []string) error

func (*Client) SetDefaultDashboard

func (client *Client) SetDefaultDashboard(ctx context.Context, dsid string, dashid string) error

func (*Client) SetMonitorsForChannel

func (client *Client) SetMonitorsForChannel(ctx context.Context, id string, monitors []string) error

func (*Client) SetRbacDefaultGroup

func (client *Client) SetRbacDefaultGroup(ctx context.Context, id string) error

func (*Client) UnsetRbacDefaultGroup

func (client *Client) UnsetRbacDefaultGroup(ctx context.Context) error

func (*Client) UpdateApp

func (client *Client) UpdateApp(ctx context.Context, id string, input *AppInput) (*App, error)

func (*Client) UpdateAppDataSource

func (client *Client) UpdateAppDataSource(ctx context.Context, id string, input *AppDataSourceInput) (*AppDataSource, error)

func (*Client) UpdateBoard

func (client *Client) UpdateBoard(ctx context.Context, id string, config *BoardInput) (*Board, error)

func (*Client) UpdateChannel

func (client *Client) UpdateChannel(ctx context.Context, id string, input *ChannelInput) (*Channel, error)

func (*Client) UpdateChannelAction

func (client *Client) UpdateChannelAction(ctx context.Context, id string, input *ActionInput) (*ChannelAction, error)
func (client *Client) UpdateDashboardLink(ctx context.Context, id string, input DashboardLinkInput) (*DashboardLink, error)

func (*Client) UpdateDatastream

func (client *Client) UpdateDatastream(ctx context.Context, id string, input *DatastreamInput) (*Datastream, error)

func (*Client) UpdateDatastreamToken

func (client *Client) UpdateDatastreamToken(ctx context.Context, id string, input *DatastreamTokenInput) (*DatastreamToken, error)

func (*Client) UpdateDeferredForeignKey

func (client *Client) UpdateDeferredForeignKey(ctx context.Context, id string, input *DeferredForeignKeyInput) (*DeferredForeignKey, error)

func (*Client) UpdateFiledrop added in v0.13.15

func (client *Client) UpdateFiledrop(ctx context.Context, id string, input *FiledropInput) (*Filedrop, error)

func (*Client) UpdateFolder

func (client *Client) UpdateFolder(ctx context.Context, id string, input *FolderInput) (*Folder, error)

func (*Client) UpdateLayeredSettingRecord

func (client *Client) UpdateLayeredSettingRecord(ctx context.Context, config *LayeredSettingRecordInput) (*LayeredSettingRecord, error)

func (*Client) UpdateMonitor

func (client *Client) UpdateMonitor(ctx context.Context, id string, input *MonitorInput) (*Monitor, error)

func (*Client) UpdateMonitorAction

func (client *Client) UpdateMonitorAction(ctx context.Context, id string, input *MonitorActionInput) (*MonitorAction, error)

func (*Client) UpdateMonitorActionAttachment

func (client *Client) UpdateMonitorActionAttachment(ctx context.Context, id string, input *MonitorActionAttachmentInput) (*MonitorActionAttachment, error)

func (*Client) UpdatePoller

func (client *Client) UpdatePoller(ctx context.Context, id string, input *PollerInput) (*Poller, error)

func (*Client) UpdatePreferredPath

func (client *Client) UpdatePreferredPath(ctx context.Context, id string, input *PreferredPathInput) (*PreferredPathWithStatus, error)

func (*Client) UpdateRbacGroup

func (client *Client) UpdateRbacGroup(ctx context.Context, id string, input *RbacGroupInput) (*RbacGroup, error)

func (*Client) UpdateRbacGroupmember

func (client *Client) UpdateRbacGroupmember(ctx context.Context, id string, input *RbacGroupmemberInput) (*RbacGroupmember, error)

func (*Client) UpdateRbacStatement

func (client *Client) UpdateRbacStatement(ctx context.Context, id string, input *RbacStatementInput) (*RbacStatement, error)

func (*Client) UpdateWorkspace

func (client *Client) UpdateWorkspace(ctx context.Context, id string, input *WorkspaceInput) (*Workspace, error)

type ColumnAndValueInput

type ColumnAndValueInput struct {
	Name  string  `json:"name"`
	Value *string `json:"value"`
}

func (*ColumnAndValueInput) GetName

func (v *ColumnAndValueInput) GetName() string

GetName returns ColumnAndValueInput.Name, and is useful for accessing the field via an interface.

func (*ColumnAndValueInput) GetValue

func (v *ColumnAndValueInput) GetValue() *string

GetValue returns ColumnAndValueInput.Value, and is useful for accessing the field via an interface.

type ColumnOrderInput

type ColumnOrderInput struct {
	ColumnName string `json:"columnName"`
	// default is descending, which is great for timestamps
	Ascending    *bool         `json:"ascending"`
	NullOrdering *NullOrdering `json:"nullOrdering"`
}

func (*ColumnOrderInput) GetAscending

func (v *ColumnOrderInput) GetAscending() *bool

GetAscending returns ColumnOrderInput.Ascending, and is useful for accessing the field via an interface.

func (*ColumnOrderInput) GetColumnName

func (v *ColumnOrderInput) GetColumnName() string

GetColumnName returns ColumnOrderInput.ColumnName, and is useful for accessing the field via an interface.

func (*ColumnOrderInput) GetNullOrdering

func (v *ColumnOrderInput) GetNullOrdering() *NullOrdering

GetNullOrdering returns ColumnOrderInput.NullOrdering, and is useful for accessing the field via an interface.

type CompareFunction

type CompareFunction string
const (
	CompareFunctionEqual          CompareFunction = "Equal"
	CompareFunctionNotequal       CompareFunction = "NotEqual"
	CompareFunctionGreater        CompareFunction = "Greater"
	CompareFunctionGreaterorequal CompareFunction = "GreaterOrEqual"
	CompareFunctionLess           CompareFunction = "Less"
	CompareFunctionLessorequal    CompareFunction = "LessOrEqual"
	// lower value inclusive, upper value exclusive
	CompareFunctionIninterval CompareFunction = "InInterval"
	// lower value exclusive, upper value inclusive
	CompareFunctionNotininterval CompareFunction = "NotInInterval"
	CompareFunctionIsnull        CompareFunction = "IsNull"
	CompareFunctionIsnotnull     CompareFunction = "IsNotNull"
)

type CursorCacheMode

type CursorCacheMode string
const (
	CursorCacheModeAlwayscache     CursorCacheMode = "AlwaysCache"
	CursorCacheModeAlwaysdontcache CursorCacheMode = "AlwaysDontCache"
	// This mode will cache the cursor if not all data is returned by the initial
	// query. Specifically, cursor will be cached if any of the following
	// conditions is true:
	// 1) initialRows != -1 && the query returns more rows than requested
	// 2) initialRows == -1 && the query returns rollup results and the rollup
	// filter is not in "all" mode.
	CursorCacheModeCacheifmoredata CursorCacheMode = "CacheIfMoreData"
)

type Dashboard

type Dashboard struct {
	Id              string                                     `json:"id"`
	Name            string                                     `json:"name"`
	IconUrl         *string                                    `json:"iconUrl"`
	WorkspaceId     string                                     `json:"workspaceId"`
	ManagedById     *string                                    `json:"managedById"`
	FolderId        string                                     `json:"folderId"`
	Layout          *types.JsonObject                          `json:"layout"`
	Stages          []DashboardStagesStageQuery                `json:"stages"`
	Parameters      []DashboardParametersParameterSpec         `json:"parameters"`
	ParameterValues []DashboardParameterValuesParameterBinding `json:"parameterValues"`
}

Dashboard includes the GraphQL fields of Dashboard requested by the fragment Dashboard.

func (*Dashboard) GetFolderId

func (v *Dashboard) GetFolderId() string

GetFolderId returns Dashboard.FolderId, and is useful for accessing the field via an interface.

func (*Dashboard) GetIconUrl

func (v *Dashboard) GetIconUrl() *string

GetIconUrl returns Dashboard.IconUrl, and is useful for accessing the field via an interface.

func (*Dashboard) GetId

func (v *Dashboard) GetId() string

GetId returns Dashboard.Id, and is useful for accessing the field via an interface.

func (*Dashboard) GetLayout

func (v *Dashboard) GetLayout() *types.JsonObject

GetLayout returns Dashboard.Layout, and is useful for accessing the field via an interface.

func (*Dashboard) GetManagedById

func (v *Dashboard) GetManagedById() *string

GetManagedById returns Dashboard.ManagedById, and is useful for accessing the field via an interface.

func (*Dashboard) GetName

func (v *Dashboard) GetName() string

GetName returns Dashboard.Name, and is useful for accessing the field via an interface.

func (*Dashboard) GetParameterValues

func (v *Dashboard) GetParameterValues() []DashboardParameterValuesParameterBinding

GetParameterValues returns Dashboard.ParameterValues, and is useful for accessing the field via an interface.

func (*Dashboard) GetParameters

func (v *Dashboard) GetParameters() []DashboardParametersParameterSpec

GetParameters returns Dashboard.Parameters, and is useful for accessing the field via an interface.

func (*Dashboard) GetStages

func (v *Dashboard) GetStages() []DashboardStagesStageQuery

GetStages returns Dashboard.Stages, and is useful for accessing the field via an interface.

func (*Dashboard) GetWorkspaceId

func (v *Dashboard) GetWorkspaceId() string

GetWorkspaceId returns Dashboard.WorkspaceId, and is useful for accessing the field via an interface.

func (*Dashboard) Oid

func (d *Dashboard) Oid() *oid.OID

type DashboardInput

type DashboardInput struct {
	// if id is not specified, a new dashboard is created
	Id              *string                 `json:"id"`
	Name            *string                 `json:"name"`
	Description     *string                 `json:"description"`
	IconUrl         *string                 `json:"iconUrl"`
	WorkspaceId     *string                 `json:"workspaceId"`
	ManagedById     *string                 `json:"managedById"`
	FolderId        *string                 `json:"folderId"`
	Layout          *types.JsonObject       `json:"layout"`
	Stages          []StageQueryInput       `json:"stages"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	Links           []DashboardLinkInput    `json:"links"`
}

func (*DashboardInput) GetDescription

func (v *DashboardInput) GetDescription() *string

GetDescription returns DashboardInput.Description, and is useful for accessing the field via an interface.

func (*DashboardInput) GetFolderId

func (v *DashboardInput) GetFolderId() *string

GetFolderId returns DashboardInput.FolderId, and is useful for accessing the field via an interface.

func (*DashboardInput) GetIconUrl

func (v *DashboardInput) GetIconUrl() *string

GetIconUrl returns DashboardInput.IconUrl, and is useful for accessing the field via an interface.

func (*DashboardInput) GetId

func (v *DashboardInput) GetId() *string

GetId returns DashboardInput.Id, and is useful for accessing the field via an interface.

func (*DashboardInput) GetLayout

func (v *DashboardInput) GetLayout() *types.JsonObject

GetLayout returns DashboardInput.Layout, and is useful for accessing the field via an interface.

func (v *DashboardInput) GetLinks() []DashboardLinkInput

GetLinks returns DashboardInput.Links, and is useful for accessing the field via an interface.

func (*DashboardInput) GetManagedById

func (v *DashboardInput) GetManagedById() *string

GetManagedById returns DashboardInput.ManagedById, and is useful for accessing the field via an interface.

func (*DashboardInput) GetName

func (v *DashboardInput) GetName() *string

GetName returns DashboardInput.Name, and is useful for accessing the field via an interface.

func (*DashboardInput) GetParameterValues

func (v *DashboardInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns DashboardInput.ParameterValues, and is useful for accessing the field via an interface.

func (*DashboardInput) GetParameters

func (v *DashboardInput) GetParameters() []ParameterSpecInput

GetParameters returns DashboardInput.Parameters, and is useful for accessing the field via an interface.

func (*DashboardInput) GetStages

func (v *DashboardInput) GetStages() []StageQueryInput

GetStages returns DashboardInput.Stages, and is useful for accessing the field via an interface.

func (*DashboardInput) GetWorkspaceId

func (v *DashboardInput) GetWorkspaceId() *string

GetWorkspaceId returns DashboardInput.WorkspaceId, and is useful for accessing the field via an interface.

type DashboardLink struct {
	Id            string  `json:"id"`
	Name          string  `json:"name"`
	WorkspaceId   string  `json:"workspaceId"`
	FolderId      string  `json:"folderId"`
	ManagedById   *string `json:"managedById"`
	Description   string  `json:"description"`
	FromDashboard string  `json:"fromDashboard"`
	ToDashboard   string  `json:"toDashboard"`
	FromCard      *string `json:"fromCard"`
	// The label is presented in the UI. We need this separate from 'name' because 'name'
	// is a WorkspaceObject specific field, that must be globally unique within the workspace,
	// and we can't say that all links should display unique labels in the UI. (An alternative
	// is to just display the name of the target dashboard -- implementors choice.)
	LinkLabel string `json:"linkLabel"`
}

DashboardLink includes the GraphQL fields of DashboardLink requested by the fragment DashboardLink.

func (*DashboardLink) GetDescription

func (v *DashboardLink) GetDescription() string

GetDescription returns DashboardLink.Description, and is useful for accessing the field via an interface.

func (*DashboardLink) GetFolderId

func (v *DashboardLink) GetFolderId() string

GetFolderId returns DashboardLink.FolderId, and is useful for accessing the field via an interface.

func (*DashboardLink) GetFromCard

func (v *DashboardLink) GetFromCard() *string

GetFromCard returns DashboardLink.FromCard, and is useful for accessing the field via an interface.

func (*DashboardLink) GetFromDashboard

func (v *DashboardLink) GetFromDashboard() string

GetFromDashboard returns DashboardLink.FromDashboard, and is useful for accessing the field via an interface.

func (*DashboardLink) GetId

func (v *DashboardLink) GetId() string

GetId returns DashboardLink.Id, and is useful for accessing the field via an interface.

func (*DashboardLink) GetLinkLabel

func (v *DashboardLink) GetLinkLabel() string

GetLinkLabel returns DashboardLink.LinkLabel, and is useful for accessing the field via an interface.

func (*DashboardLink) GetManagedById

func (v *DashboardLink) GetManagedById() *string

GetManagedById returns DashboardLink.ManagedById, and is useful for accessing the field via an interface.

func (*DashboardLink) GetName

func (v *DashboardLink) GetName() string

GetName returns DashboardLink.Name, and is useful for accessing the field via an interface.

func (*DashboardLink) GetToDashboard

func (v *DashboardLink) GetToDashboard() string

GetToDashboard returns DashboardLink.ToDashboard, and is useful for accessing the field via an interface.

func (*DashboardLink) GetWorkspaceId

func (v *DashboardLink) GetWorkspaceId() string

GetWorkspaceId returns DashboardLink.WorkspaceId, and is useful for accessing the field via an interface.

type DashboardLinkInput

type DashboardLinkInput struct {
	// If name is empty on create, a unique name will be generated. If name is empty
	// on update, the name won't be changed.
	Name        *string `json:"name"`
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	WorkspaceId string  `json:"workspaceId"`
	ManagedById *string `json:"managedById"`
	// If folder is empty on create, it will be put in the default folder. If folder
	// is empty on update, the existing folder won't be changed.
	FolderId        *string `json:"folderId"`
	FromDashboardId string  `json:"fromDashboardId"`
	ToDashboardId   string  `json:"toDashboardId"`
	// When fromCard is null, it clears the property.
	FromCard *string `json:"fromCard"`
	// linkLabel is the display text of the link label. This is neded because the
	// 'name' is more like a textual ID and needs to be unique.
	LinkLabel string `json:"linkLabel"`
}

func (*DashboardLinkInput) GetDescription

func (v *DashboardLinkInput) GetDescription() *string

GetDescription returns DashboardLinkInput.Description, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetFolderId

func (v *DashboardLinkInput) GetFolderId() *string

GetFolderId returns DashboardLinkInput.FolderId, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetFromCard

func (v *DashboardLinkInput) GetFromCard() *string

GetFromCard returns DashboardLinkInput.FromCard, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetFromDashboardId

func (v *DashboardLinkInput) GetFromDashboardId() string

GetFromDashboardId returns DashboardLinkInput.FromDashboardId, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetIconUrl

func (v *DashboardLinkInput) GetIconUrl() *string

GetIconUrl returns DashboardLinkInput.IconUrl, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetLinkLabel

func (v *DashboardLinkInput) GetLinkLabel() string

GetLinkLabel returns DashboardLinkInput.LinkLabel, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetManagedById

func (v *DashboardLinkInput) GetManagedById() *string

GetManagedById returns DashboardLinkInput.ManagedById, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetName

func (v *DashboardLinkInput) GetName() *string

GetName returns DashboardLinkInput.Name, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetToDashboardId

func (v *DashboardLinkInput) GetToDashboardId() string

GetToDashboardId returns DashboardLinkInput.ToDashboardId, and is useful for accessing the field via an interface.

func (*DashboardLinkInput) GetWorkspaceId

func (v *DashboardLinkInput) GetWorkspaceId() string

GetWorkspaceId returns DashboardLinkInput.WorkspaceId, and is useful for accessing the field via an interface.

type DashboardParameterValuesParameterBinding

type DashboardParameterValuesParameterBinding struct {
	Id    string      `json:"id"`
	Value types.Value `json:"value"`
}

DashboardParameterValuesParameterBinding includes the requested fields of the GraphQL type ParameterBinding.

func (*DashboardParameterValuesParameterBinding) GetId

GetId returns DashboardParameterValuesParameterBinding.Id, and is useful for accessing the field via an interface.

func (*DashboardParameterValuesParameterBinding) GetValue

GetValue returns DashboardParameterValuesParameterBinding.Value, and is useful for accessing the field via an interface.

type DashboardParametersParameterSpec

type DashboardParametersParameterSpec struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	// optional default value
	DefaultValue *types.Value                                           `json:"defaultValue"`
	ValueKind    DashboardParametersParameterSpecValueKindValueTypeSpec `json:"valueKind"`
}

DashboardParametersParameterSpec includes the requested fields of the GraphQL type ParameterSpec.

func (*DashboardParametersParameterSpec) GetDefaultValue

func (v *DashboardParametersParameterSpec) GetDefaultValue() *types.Value

GetDefaultValue returns DashboardParametersParameterSpec.DefaultValue, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpec) GetId

GetId returns DashboardParametersParameterSpec.Id, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpec) GetName

GetName returns DashboardParametersParameterSpec.Name, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpec) GetValueKind

GetValueKind returns DashboardParametersParameterSpec.ValueKind, and is useful for accessing the field via an interface.

type DashboardParametersParameterSpecValueKindValueTypeSpec

type DashboardParametersParameterSpecValueKindValueTypeSpec struct {
	Type            ValueType                                                                         `json:"type"`
	KeyForDatasetId *string                                                                           `json:"keyForDatasetId"`
	ArrayItemType   *DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec `json:"arrayItemType"`
}

DashboardParametersParameterSpecValueKindValueTypeSpec includes the requested fields of the GraphQL type ValueTypeSpec.

func (*DashboardParametersParameterSpecValueKindValueTypeSpec) GetArrayItemType

GetArrayItemType returns DashboardParametersParameterSpecValueKindValueTypeSpec.ArrayItemType, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpecValueKindValueTypeSpec) GetKeyForDatasetId

GetKeyForDatasetId returns DashboardParametersParameterSpecValueKindValueTypeSpec.KeyForDatasetId, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpecValueKindValueTypeSpec) GetType

GetType returns DashboardParametersParameterSpecValueKindValueTypeSpec.Type, and is useful for accessing the field via an interface.

type DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec

type DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec struct {
	Type            ValueType `json:"type"`
	KeyForDatasetId *string   `json:"keyForDatasetId"`
}

DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec includes the requested fields of the GraphQL type ValueTypeSpec.

func (*DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec) GetKeyForDatasetId

GetKeyForDatasetId returns DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec.KeyForDatasetId, and is useful for accessing the field via an interface.

func (*DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec) GetType

GetType returns DashboardParametersParameterSpecValueKindValueTypeSpecArrayItemTypeValueTypeSpec.Type, and is useful for accessing the field via an interface.

type DashboardStagesStageQuery

type DashboardStagesStageQuery struct {
	Id       *string                                          `json:"id"`
	Input    []*DashboardStagesStageQueryInputInputDefinition `json:"input"`
	Params   *types.JsonObject                                `json:"params"`
	Layout   *types.JsonObject                                `json:"layout"`
	Pipeline string                                           `json:"pipeline"`
}

DashboardStagesStageQuery includes the requested fields of the GraphQL type StageQuery.

func (*DashboardStagesStageQuery) GetId

func (v *DashboardStagesStageQuery) GetId() *string

GetId returns DashboardStagesStageQuery.Id, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetInput

GetInput returns DashboardStagesStageQuery.Input, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetLayout

func (v *DashboardStagesStageQuery) GetLayout() *types.JsonObject

GetLayout returns DashboardStagesStageQuery.Layout, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetParams

func (v *DashboardStagesStageQuery) GetParams() *types.JsonObject

GetParams returns DashboardStagesStageQuery.Params, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQuery) GetPipeline

func (v *DashboardStagesStageQuery) GetPipeline() string

GetPipeline returns DashboardStagesStageQuery.Pipeline, and is useful for accessing the field via an interface.

type DashboardStagesStageQueryInputInputDefinition

type DashboardStagesStageQueryInputInputDefinition struct {
	// Assign the short and unique user mnemonic for this input, used in @tableref expressions
	InputName string    `json:"inputName"`
	InputRole InputRole `json:"inputRole"`
	// One of the input definition fields is used; the others are null
	// because GO doesn't have unions.
	DatasetId   *string `json:"datasetId"`
	DatasetPath *string `json:"datasetPath"`
	// Only set stageId to reference input that comes from an actual stage in the same query
	StageId *string `json:"stageId"`
}

DashboardStagesStageQueryInputInputDefinition includes the requested fields of the GraphQL type InputDefinition.

func (*DashboardStagesStageQueryInputInputDefinition) GetDatasetId

GetDatasetId returns DashboardStagesStageQueryInputInputDefinition.DatasetId, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetDatasetPath

GetDatasetPath returns DashboardStagesStageQueryInputInputDefinition.DatasetPath, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetInputName

GetInputName returns DashboardStagesStageQueryInputInputDefinition.InputName, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetInputRole

GetInputRole returns DashboardStagesStageQueryInputInputDefinition.InputRole, and is useful for accessing the field via an interface.

func (*DashboardStagesStageQueryInputInputDefinition) GetStageId

GetStageId returns DashboardStagesStageQueryInputInputDefinition.StageId, and is useful for accessing the field via an interface.

type Dataset

type Dataset struct {
	WorkspaceId          string             `json:"workspaceId"`
	Id                   string             `json:"id"`
	Name                 string             `json:"name"`
	FreshnessDesired     *types.Int64Scalar `json:"freshnessDesired"`
	Description          *string            `json:"description"`
	IconUrl              *string            `json:"iconUrl"`
	AccelerationDisabled bool               `json:"accelerationDisabled"`
	Version              types.TimeScalar   `json:"version"`
	LastSaved            types.TimeScalar   `json:"lastSaved"`
	PathCost             *types.Int64Scalar `json:"pathCost"`
	Source               *string            `json:"source"`
	ManagedById          *string            `json:"managedById"`
	// Optional custom configured override value of the on demand materialization
	// range for the dataset.
	OnDemandMaterializationLength *types.Int64Scalar                       `json:"onDemandMaterializationLength"`
	ForeignKeys                   []DatasetForeignKeysForeignKey           `json:"foreignKeys"`
	Transform                     *DatasetTransform                        `json:"transform"`
	Typedef                       DatasetTypedef                           `json:"typedef"`
	SourceTable                   *DatasetSourceTableSourceTableDefinition `json:"sourceTable"`
}

Dataset includes the GraphQL fields of Dataset requested by the fragment Dataset.

func (*Dataset) GetAccelerationDisabled

func (v *Dataset) GetAccelerationDisabled() bool

GetAccelerationDisabled returns Dataset.AccelerationDisabled, and is useful for accessing the field via an interface.

func (*Dataset) GetDescription

func (v *Dataset) GetDescription() *string

GetDescription returns Dataset.Description, and is useful for accessing the field via an interface.

func (*Dataset) GetForeignKeys

func (v *Dataset) GetForeignKeys() []DatasetForeignKeysForeignKey

GetForeignKeys returns Dataset.ForeignKeys, and is useful for accessing the field via an interface.

func (*Dataset) GetFreshnessDesired

func (v *Dataset) GetFreshnessDesired() *types.Int64Scalar

GetFreshnessDesired returns Dataset.FreshnessDesired, and is useful for accessing the field via an interface.

func (*Dataset) GetIconUrl

func (v *Dataset) GetIconUrl() *string

GetIconUrl returns Dataset.IconUrl, and is useful for accessing the field via an interface.

func (*Dataset) GetId

func (v *Dataset) GetId() string

GetId returns Dataset.Id, and is useful for accessing the field via an interface.

func (*Dataset) GetLastSaved

func (v *Dataset) GetLastSaved() types.TimeScalar

GetLastSaved returns Dataset.LastSaved, and is useful for accessing the field via an interface.

func (*Dataset) GetManagedById

func (v *Dataset) GetManagedById() *string

GetManagedById returns Dataset.ManagedById, and is useful for accessing the field via an interface.

func (*Dataset) GetName

func (v *Dataset) GetName() string

GetName returns Dataset.Name, and is useful for accessing the field via an interface.

func (*Dataset) GetOnDemandMaterializationLength

func (v *Dataset) GetOnDemandMaterializationLength() *types.Int64Scalar

GetOnDemandMaterializationLength returns Dataset.OnDemandMaterializationLength, and is useful for accessing the field via an interface.

func (*Dataset) GetPathCost

func (v *Dataset) GetPathCost() *types.Int64Scalar

GetPathCost returns Dataset.PathCost, and is useful for accessing the field via an interface.

func (*Dataset) GetSource

func (v *Dataset) GetSource() *string

GetSource returns Dataset.Source, and is useful for accessing the field via an interface.

func (*Dataset) GetSourceTable

func (v *Dataset) GetSourceTable() *DatasetSourceTableSourceTableDefinition

GetSourceTable returns Dataset.SourceTable, and is useful for accessing the field via an interface.

func (*Dataset) GetTransform

func (v *Dataset) GetTransform() *DatasetTransform

GetTransform returns Dataset.Transform, and is useful for accessing the field via an interface.

func (*Dataset) GetTypedef

func (v *Dataset) GetTypedef() DatasetTypedef

GetTypedef returns Dataset.Typedef, and is useful for accessing the field via an interface.

func (*Dataset) GetVersion

func (v *Dataset) GetVersion() types.TimeScalar

GetVersion returns Dataset.Version, and is useful for accessing the field via an interface.

func (*Dataset) GetWorkspaceId

func (v *Dataset) GetWorkspaceId() string

GetWorkspaceId returns Dataset.WorkspaceId, and is useful for accessing the field via an interface.

func (*Dataset) Oid

func (d *Dataset) Oid() *oid.OID

type DatasetDefinitionInput

type DatasetDefinitionInput struct {
	Dataset  DatasetInput                    `json:"dataset"`
	Schema   []DatasetFieldDefInput          `json:"schema"`
	Metadata *DatasetDefinitionMetadataInput `json:"metadata"`
}

func (*DatasetDefinitionInput) GetDataset

func (v *DatasetDefinitionInput) GetDataset() DatasetInput

GetDataset returns DatasetDefinitionInput.Dataset, and is useful for accessing the field via an interface.

func (*DatasetDefinitionInput) GetMetadata

GetMetadata returns DatasetDefinitionInput.Metadata, and is useful for accessing the field via an interface.

func (*DatasetDefinitionInput) GetSchema

GetSchema returns DatasetDefinitionInput.Schema, and is useful for accessing the field via an interface.

type DatasetDefinitionMetadataInput

type DatasetDefinitionMetadataInput struct {
	ValidFromField *string    `json:"validFromField"`
	ValidToField   *string    `json:"validToField"`
	LabelField     *string    `json:"labelField"`
	PrimaryKey     []string   `json:"primaryKey"`
	Keys           [][]string `json:"keys"`
}

All of the values of DatasetDefinitionMetadataInput are optional, but you can't, for example, reference a dataset from another dataset until you define its primary key, and it won't be an event dataset without having a validFromField.

func (*DatasetDefinitionMetadataInput) GetKeys

func (v *DatasetDefinitionMetadataInput) GetKeys() [][]string

GetKeys returns DatasetDefinitionMetadataInput.Keys, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetLabelField

func (v *DatasetDefinitionMetadataInput) GetLabelField() *string

GetLabelField returns DatasetDefinitionMetadataInput.LabelField, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetPrimaryKey

func (v *DatasetDefinitionMetadataInput) GetPrimaryKey() []string

GetPrimaryKey returns DatasetDefinitionMetadataInput.PrimaryKey, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetValidFromField

func (v *DatasetDefinitionMetadataInput) GetValidFromField() *string

GetValidFromField returns DatasetDefinitionMetadataInput.ValidFromField, and is useful for accessing the field via an interface.

func (*DatasetDefinitionMetadataInput) GetValidToField

func (v *DatasetDefinitionMetadataInput) GetValidToField() *string

GetValidToField returns DatasetDefinitionMetadataInput.ValidToField, and is useful for accessing the field via an interface.

type DatasetFieldDefInput

type DatasetFieldDefInput struct {
	Name         string                `json:"name"`
	Type         DatasetFieldTypeInput `json:"type"`
	IsEnum       *bool                 `json:"isEnum"`
	IsSearchable *bool                 `json:"isSearchable"`
	IsHidden     *bool                 `json:"isHidden"`
	IsConst      *bool                 `json:"isConst"`
	IsMetric     *bool                 `json:"isMetric"`
}

func (*DatasetFieldDefInput) GetIsConst

func (v *DatasetFieldDefInput) GetIsConst() *bool

GetIsConst returns DatasetFieldDefInput.IsConst, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsEnum

func (v *DatasetFieldDefInput) GetIsEnum() *bool

GetIsEnum returns DatasetFieldDefInput.IsEnum, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsHidden

func (v *DatasetFieldDefInput) GetIsHidden() *bool

GetIsHidden returns DatasetFieldDefInput.IsHidden, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsMetric

func (v *DatasetFieldDefInput) GetIsMetric() *bool

GetIsMetric returns DatasetFieldDefInput.IsMetric, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetIsSearchable

func (v *DatasetFieldDefInput) GetIsSearchable() *bool

GetIsSearchable returns DatasetFieldDefInput.IsSearchable, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetName

func (v *DatasetFieldDefInput) GetName() string

GetName returns DatasetFieldDefInput.Name, and is useful for accessing the field via an interface.

func (*DatasetFieldDefInput) GetType

GetType returns DatasetFieldDefInput.Type, and is useful for accessing the field via an interface.

type DatasetFieldTypeInput

type DatasetFieldTypeInput struct {
	Rep      string               `json:"rep"`
	Def      *DatasetTypedefInput `json:"def"`
	Nullable *bool                `json:"nullable,omitempty"`
}

func (*DatasetFieldTypeInput) GetDef

GetDef returns DatasetFieldTypeInput.Def, and is useful for accessing the field via an interface.

func (*DatasetFieldTypeInput) GetNullable

func (v *DatasetFieldTypeInput) GetNullable() *bool

GetNullable returns DatasetFieldTypeInput.Nullable, and is useful for accessing the field via an interface.

func (*DatasetFieldTypeInput) GetRep

func (v *DatasetFieldTypeInput) GetRep() string

GetRep returns DatasetFieldTypeInput.Rep, and is useful for accessing the field via an interface.

type DatasetForeignKeysForeignKey

type DatasetForeignKeysForeignKey struct {
	Label         *string            `json:"label"`
	TargetDataset *types.Int64Scalar `json:"targetDataset"`
	SrcFields     []string           `json:"srcFields"`
	DstFields     []string           `json:"dstFields"`
}

DatasetForeignKeysForeignKey includes the requested fields of the GraphQL type ForeignKey.

func (*DatasetForeignKeysForeignKey) GetDstFields

func (v *DatasetForeignKeysForeignKey) GetDstFields() []string

GetDstFields returns DatasetForeignKeysForeignKey.DstFields, and is useful for accessing the field via an interface.

func (*DatasetForeignKeysForeignKey) GetLabel

func (v *DatasetForeignKeysForeignKey) GetLabel() *string

GetLabel returns DatasetForeignKeysForeignKey.Label, and is useful for accessing the field via an interface.

func (*DatasetForeignKeysForeignKey) GetSrcFields

func (v *DatasetForeignKeysForeignKey) GetSrcFields() []string

GetSrcFields returns DatasetForeignKeysForeignKey.SrcFields, and is useful for accessing the field via an interface.

func (*DatasetForeignKeysForeignKey) GetTargetDataset

func (v *DatasetForeignKeysForeignKey) GetTargetDataset() *types.Int64Scalar

GetTargetDataset returns DatasetForeignKeysForeignKey.TargetDataset, and is useful for accessing the field via an interface.

type DatasetInput

type DatasetInput struct {
	// if id is not specified, a new dataset is created
	Id          *string `json:"id"`
	Label       string  `json:"label"`
	Description *string `json:"description"`
	// Format - source/comment. Examples - monitor/471142069, web/user created.
	Source *string `json:"source"`
	// Used only when id is specified - that is to say, only when the dataset is updated.
	OverwriteSource      *bool              `json:"overwriteSource"`
	Deleted              *bool              `json:"deleted,omitempty"`
	AccelerationDisabled *bool              `json:"accelerationDisabled,omitempty"`
	LatencyDesired       *types.Int64Scalar `json:"latencyDesired"`
	FreshnessDesired     *types.Int64Scalar `json:"freshnessDesired"`
	IconUrl              *string            `json:"iconUrl"`
	Layout               *types.JsonObject  `json:"layout"`
	PathCost             *types.Int64Scalar `json:"pathCost"`
	// Max on-demand materialization length for the dataset (in nanoseconds). If not set
	// will use the default value in transformer config.
	OnDemandMaterializationLength *types.Int64Scalar `json:"onDemandMaterializationLength"`
	// Optional id of the object this dataset is managed by: app, datastream, monitor etc.
	ManagedById *string `json:"managedById"`
}

func (*DatasetInput) GetAccelerationDisabled

func (v *DatasetInput) GetAccelerationDisabled() *bool

GetAccelerationDisabled returns DatasetInput.AccelerationDisabled, and is useful for accessing the field via an interface.

func (*DatasetInput) GetDeleted

func (v *DatasetInput) GetDeleted() *bool

GetDeleted returns DatasetInput.Deleted, and is useful for accessing the field via an interface.

func (*DatasetInput) GetDescription

func (v *DatasetInput) GetDescription() *string

GetDescription returns DatasetInput.Description, and is useful for accessing the field via an interface.

func (*DatasetInput) GetFreshnessDesired

func (v *DatasetInput) GetFreshnessDesired() *types.Int64Scalar

GetFreshnessDesired returns DatasetInput.FreshnessDesired, and is useful for accessing the field via an interface.

func (*DatasetInput) GetIconUrl

func (v *DatasetInput) GetIconUrl() *string

GetIconUrl returns DatasetInput.IconUrl, and is useful for accessing the field via an interface.

func (*DatasetInput) GetId

func (v *DatasetInput) GetId() *string

GetId returns DatasetInput.Id, and is useful for accessing the field via an interface.

func (*DatasetInput) GetLabel

func (v *DatasetInput) GetLabel() string

GetLabel returns DatasetInput.Label, and is useful for accessing the field via an interface.

func (*DatasetInput) GetLatencyDesired

func (v *DatasetInput) GetLatencyDesired() *types.Int64Scalar

GetLatencyDesired returns DatasetInput.LatencyDesired, and is useful for accessing the field via an interface.

func (*DatasetInput) GetLayout

func (v *DatasetInput) GetLayout() *types.JsonObject

GetLayout returns DatasetInput.Layout, and is useful for accessing the field via an interface.

func (*DatasetInput) GetManagedById

func (v *DatasetInput) GetManagedById() *string

GetManagedById returns DatasetInput.ManagedById, and is useful for accessing the field via an interface.

func (*DatasetInput) GetOnDemandMaterializationLength

func (v *DatasetInput) GetOnDemandMaterializationLength() *types.Int64Scalar

GetOnDemandMaterializationLength returns DatasetInput.OnDemandMaterializationLength, and is useful for accessing the field via an interface.

func (*DatasetInput) GetOverwriteSource

func (v *DatasetInput) GetOverwriteSource() *bool

GetOverwriteSource returns DatasetInput.OverwriteSource, and is useful for accessing the field via an interface.

func (*DatasetInput) GetPathCost

func (v *DatasetInput) GetPathCost() *types.Int64Scalar

GetPathCost returns DatasetInput.PathCost, and is useful for accessing the field via an interface.

func (*DatasetInput) GetSource

func (v *DatasetInput) GetSource() *string

GetSource returns DatasetInput.Source, and is useful for accessing the field via an interface.

type DatasetSourceTableSourceTableDefinition

type DatasetSourceTableSourceTableDefinition struct {
	Schema                string                                                                            `json:"schema"`
	Partitions            []DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition `json:"partitions"`
	SourceUpdateTableName *string                                                                           `json:"sourceUpdateTableName"`
	IsInsertOnly          *bool                                                                             `json:"isInsertOnly"`
	BatchSeqField         *string                                                                           `json:"batchSeqField"`
	ValidFromField        *string                                                                           `json:"validFromField"`
	Fields                []DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition         `json:"fields"`
}

DatasetSourceTableSourceTableDefinition includes the requested fields of the GraphQL type SourceTableDefinition.

func (*DatasetSourceTableSourceTableDefinition) GetBatchSeqField

func (v *DatasetSourceTableSourceTableDefinition) GetBatchSeqField() *string

GetBatchSeqField returns DatasetSourceTableSourceTableDefinition.BatchSeqField, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetFields

GetFields returns DatasetSourceTableSourceTableDefinition.Fields, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetIsInsertOnly

func (v *DatasetSourceTableSourceTableDefinition) GetIsInsertOnly() *bool

GetIsInsertOnly returns DatasetSourceTableSourceTableDefinition.IsInsertOnly, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetPartitions

GetPartitions returns DatasetSourceTableSourceTableDefinition.Partitions, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetSchema

GetSchema returns DatasetSourceTableSourceTableDefinition.Schema, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetSourceUpdateTableName

func (v *DatasetSourceTableSourceTableDefinition) GetSourceUpdateTableName() *string

GetSourceUpdateTableName returns DatasetSourceTableSourceTableDefinition.SourceUpdateTableName, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinition) GetValidFromField

func (v *DatasetSourceTableSourceTableDefinition) GetValidFromField() *string

GetValidFromField returns DatasetSourceTableSourceTableDefinition.ValidFromField, and is useful for accessing the field via an interface.

type DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition

type DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition struct {
	Name    string `json:"name"`
	SqlType string `json:"sqlType"`
}

DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition includes the requested fields of the GraphQL type SourceTableFieldDefinition.

func (*DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition) GetName

GetName returns DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition.Name, and is useful for accessing the field via an interface.

func (*DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition) GetSqlType

GetSqlType returns DatasetSourceTableSourceTableDefinitionFieldsSourceTableFieldDefinition.SqlType, and is useful for accessing the field via an interface.

type DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition

type DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition struct {
	Name string `json:"name"`
}

DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition includes the requested fields of the GraphQL type SourceTablePartitionDefinition.

func (*DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition) GetName

GetName returns DatasetSourceTableSourceTableDefinitionPartitionsSourceTablePartitionDefinition.Name, and is useful for accessing the field via an interface.

type DatasetTransform

type DatasetTransform struct {
	Current *DatasetTransformCurrentTransformVersion `json:"current"`
}

DatasetTransform includes the requested fields of the GraphQL type Transform.

func (*DatasetTransform) GetCurrent

GetCurrent returns DatasetTransform.Current, and is useful for accessing the field via an interface.

type DatasetTransformCurrentTransformVersion

type DatasetTransformCurrentTransformVersion struct {
	Query DatasetTransformCurrentTransformVersionQueryMultiStageQuery `json:"query"`
}

DatasetTransformCurrentTransformVersion includes the requested fields of the GraphQL type TransformVersion.

func (*DatasetTransformCurrentTransformVersion) GetQuery

GetQuery returns DatasetTransformCurrentTransformVersion.Query, and is useful for accessing the field via an interface.

type DatasetTransformCurrentTransformVersionQueryMultiStageQuery

type DatasetTransformCurrentTransformVersionQueryMultiStageQuery struct {
	OutputStage string        `json:"outputStage"`
	Stages      []*StageQuery `json:"stages"`
}

DatasetTransformCurrentTransformVersionQueryMultiStageQuery includes the requested fields of the GraphQL type MultiStageQuery.

func (*DatasetTransformCurrentTransformVersionQueryMultiStageQuery) GetOutputStage

GetOutputStage returns DatasetTransformCurrentTransformVersionQueryMultiStageQuery.OutputStage, and is useful for accessing the field via an interface.

func (*DatasetTransformCurrentTransformVersionQueryMultiStageQuery) GetStages

GetStages returns DatasetTransformCurrentTransformVersionQueryMultiStageQuery.Stages, and is useful for accessing the field via an interface.

type DatasetTypedef

type DatasetTypedef struct {
	Label string                          `json:"label"`
	Def   *DatasetTypedefDefObjectTypedef `json:"def"`
}

DatasetTypedef includes the requested fields of the GraphQL type Typedef.

func (*DatasetTypedef) GetDef

GetDef returns DatasetTypedef.Def, and is useful for accessing the field via an interface.

func (*DatasetTypedef) GetLabel

func (v *DatasetTypedef) GetLabel() string

GetLabel returns DatasetTypedef.Label, and is useful for accessing the field via an interface.

type DatasetTypedefDefObjectTypedef

type DatasetTypedefDefObjectTypedef struct {
	Anykey *bool                                                `json:"anykey"`
	Fields []DatasetTypedefDefObjectTypedefFieldsObjectFieldDef `json:"fields"`
}

DatasetTypedefDefObjectTypedef includes the requested fields of the GraphQL type ObjectTypedef.

func (*DatasetTypedefDefObjectTypedef) GetAnykey

func (v *DatasetTypedefDefObjectTypedef) GetAnykey() *bool

GetAnykey returns DatasetTypedefDefObjectTypedef.Anykey, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedef) GetFields

GetFields returns DatasetTypedefDefObjectTypedef.Fields, and is useful for accessing the field via an interface.

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDef

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDef struct {
	Name         string                                                                `json:"name"`
	Type         DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType `json:"type"`
	IsEnum       *bool                                                                 `json:"isEnum"`
	IsSearchable *bool                                                                 `json:"isSearchable"`
	IsHidden     *bool                                                                 `json:"isHidden"`
	IsConst      *bool                                                                 `json:"isConst"`
	IsMetric     *bool                                                                 `json:"isMetric"`
}

DatasetTypedefDefObjectTypedefFieldsObjectFieldDef includes the requested fields of the GraphQL type ObjectFieldDef.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsConst

GetIsConst returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsConst, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsEnum

GetIsEnum returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsEnum, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsHidden

GetIsHidden returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsHidden, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsMetric

GetIsMetric returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsMetric, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetIsSearchable

GetIsSearchable returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.IsSearchable, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetName

GetName returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.Name, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDef) GetType

GetType returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDef.Type, and is useful for accessing the field via an interface.

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType

type DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType struct {
	Rep      string `json:"rep"`
	Nullable *bool  `json:"nullable"`
}

DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType includes the requested fields of the GraphQL type ObjectFieldType.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType) GetNullable

GetNullable returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType.Nullable, and is useful for accessing the field via an interface.

func (*DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType) GetRep

GetRep returns DatasetTypedefDefObjectTypedefFieldsObjectFieldDefTypeObjectFieldType.Rep, and is useful for accessing the field via an interface.

type DatasetTypedefInput

type DatasetTypedefInput struct {
	Anykey *bool                  `json:"anykey"`
	Fields []DatasetFieldDefInput `json:"fields"`
}

func (*DatasetTypedefInput) GetAnykey

func (v *DatasetTypedefInput) GetAnykey() *bool

GetAnykey returns DatasetTypedefInput.Anykey, and is useful for accessing the field via an interface.

func (*DatasetTypedefInput) GetFields

func (v *DatasetTypedefInput) GetFields() []DatasetFieldDefInput

GetFields returns DatasetTypedefInput.Fields, and is useful for accessing the field via an interface.

type Datastream

type Datastream struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
	DatasetId   string  `json:"datasetId"`
}

Datastream includes the GraphQL fields of Datastream requested by the fragment Datastream.

func (*Datastream) GetDatasetId

func (v *Datastream) GetDatasetId() string

GetDatasetId returns Datastream.DatasetId, and is useful for accessing the field via an interface.

func (*Datastream) GetDescription

func (v *Datastream) GetDescription() *string

GetDescription returns Datastream.Description, and is useful for accessing the field via an interface.

func (*Datastream) GetIconUrl

func (v *Datastream) GetIconUrl() *string

GetIconUrl returns Datastream.IconUrl, and is useful for accessing the field via an interface.

func (*Datastream) GetId

func (v *Datastream) GetId() string

GetId returns Datastream.Id, and is useful for accessing the field via an interface.

func (*Datastream) GetName

func (v *Datastream) GetName() string

GetName returns Datastream.Name, and is useful for accessing the field via an interface.

func (*Datastream) GetWorkspaceId

func (v *Datastream) GetWorkspaceId() string

GetWorkspaceId returns Datastream.WorkspaceId, and is useful for accessing the field via an interface.

func (*Datastream) Oid

func (d *Datastream) Oid() *oid.OID

type DatastreamInput

type DatastreamInput struct {
	Name        string  `json:"name"`
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	Disabled    *bool   `json:"disabled"`
}

func (*DatastreamInput) GetDescription

func (v *DatastreamInput) GetDescription() *string

GetDescription returns DatastreamInput.Description, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetDisabled

func (v *DatastreamInput) GetDisabled() *bool

GetDisabled returns DatastreamInput.Disabled, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetIconUrl

func (v *DatastreamInput) GetIconUrl() *string

GetIconUrl returns DatastreamInput.IconUrl, and is useful for accessing the field via an interface.

func (*DatastreamInput) GetName

func (v *DatastreamInput) GetName() string

GetName returns DatastreamInput.Name, and is useful for accessing the field via an interface.

type DatastreamToken

type DatastreamToken struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	Description  *string `json:"description"`
	Disabled     bool    `json:"disabled"`
	DatastreamId string  `json:"datastreamId"`
	// only populated for creates
	Secret *string `json:"secret"`
}

DatastreamToken includes the GraphQL fields of DatastreamToken requested by the fragment DatastreamToken.

func (*DatastreamToken) GetDatastreamId

func (v *DatastreamToken) GetDatastreamId() string

GetDatastreamId returns DatastreamToken.DatastreamId, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetDescription

func (v *DatastreamToken) GetDescription() *string

GetDescription returns DatastreamToken.Description, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetDisabled

func (v *DatastreamToken) GetDisabled() bool

GetDisabled returns DatastreamToken.Disabled, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetId

func (v *DatastreamToken) GetId() string

GetId returns DatastreamToken.Id, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetName

func (v *DatastreamToken) GetName() string

GetName returns DatastreamToken.Name, and is useful for accessing the field via an interface.

func (*DatastreamToken) GetSecret

func (v *DatastreamToken) GetSecret() *string

GetSecret returns DatastreamToken.Secret, and is useful for accessing the field via an interface.

func (*DatastreamToken) Oid

func (d *DatastreamToken) Oid() *oid.OID

type DatastreamTokenAppMetadataInput

type DatastreamTokenAppMetadataInput struct {
	AppId          string  `json:"appId"`
	ModuleId       *string `json:"moduleId"`
	Instructions   string  `json:"instructions"`
	DatasourceName string  `json:"datasourceName"`
}

func (*DatastreamTokenAppMetadataInput) GetAppId

GetAppId returns DatastreamTokenAppMetadataInput.AppId, and is useful for accessing the field via an interface.

func (*DatastreamTokenAppMetadataInput) GetDatasourceName

func (v *DatastreamTokenAppMetadataInput) GetDatasourceName() string

GetDatasourceName returns DatastreamTokenAppMetadataInput.DatasourceName, and is useful for accessing the field via an interface.

func (*DatastreamTokenAppMetadataInput) GetInstructions

func (v *DatastreamTokenAppMetadataInput) GetInstructions() string

GetInstructions returns DatastreamTokenAppMetadataInput.Instructions, and is useful for accessing the field via an interface.

func (*DatastreamTokenAppMetadataInput) GetModuleId

func (v *DatastreamTokenAppMetadataInput) GetModuleId() *string

GetModuleId returns DatastreamTokenAppMetadataInput.ModuleId, and is useful for accessing the field via an interface.

type DatastreamTokenInput

type DatastreamTokenInput struct {
	Name        string                           `json:"name"`
	Description *string                          `json:"description"`
	Disabled    *bool                            `json:"disabled"`
	AppMetadata *DatastreamTokenAppMetadataInput `json:"appMetadata"`
}

func (*DatastreamTokenInput) GetAppMetadata

GetAppMetadata returns DatastreamTokenInput.AppMetadata, and is useful for accessing the field via an interface.

func (*DatastreamTokenInput) GetDescription

func (v *DatastreamTokenInput) GetDescription() *string

GetDescription returns DatastreamTokenInput.Description, and is useful for accessing the field via an interface.

func (*DatastreamTokenInput) GetDisabled

func (v *DatastreamTokenInput) GetDisabled() *bool

GetDisabled returns DatastreamTokenInput.Disabled, and is useful for accessing the field via an interface.

func (*DatastreamTokenInput) GetName

func (v *DatastreamTokenInput) GetName() string

GetName returns DatastreamTokenInput.Name, and is useful for accessing the field via an interface.

type DefaultStatsInput

type DefaultStatsInput struct {
	// Something which is a string, or which is inferred to be an ID, will
	// return a list of the top K values + counts
	TopKCount *types.Int64Scalar `json:"topKCount"`
	// Maximum number of histograms to return.
	//
	// Ingeger, float, duration columns return histograms.
	//
	// Set to 0 to disable histograms.
	// Set to <0 for an unlimited number of histograms.
	// Set to null to let the backend decide a suitable limit.
	MaxNbHistograms *types.Int64Scalar `json:"maxNbHistograms"`
	// Number of buckets per histogram.
	//
	// Set to 0 to disable histograms.
	// Set to null to let the backend decide.
	HistogramCount *types.Int64Scalar `json:"histogramCount"`
	// Number of buckets per sparkline.
	//
	// Integer, float, timestamp, duration columns return a sparkline.
	// The aggregate function is chosen by the backend based on the type of
	// column.
	//
	// Set to 0 to disable sparklines.
	// Set to null to let the backend decide.
	SparklineBucketCount *types.Int64Scalar `json:"sparklineBucketCount"`
	// The function used to summarize buckets can be chosen; default is avg()
	SparklineFunction *string `json:"sparklineFunction"`
	// If timestamp columns are included, they will be returned as
	// sparkline(count) (notwithstanding any sparklineFunction for float values)
	IncludeTimestampColumns *bool `json:"includeTimestampColumns"`
	// Whether to generate compound TopK for link columns. Note that this will
	// disable the normal TopK results for link columns.
	UseCompoundTopKForLinks *bool `json:"useCompoundTopKForLinks"`
}

func (*DefaultStatsInput) GetHistogramCount

func (v *DefaultStatsInput) GetHistogramCount() *types.Int64Scalar

GetHistogramCount returns DefaultStatsInput.HistogramCount, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetIncludeTimestampColumns

func (v *DefaultStatsInput) GetIncludeTimestampColumns() *bool

GetIncludeTimestampColumns returns DefaultStatsInput.IncludeTimestampColumns, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetMaxNbHistograms

func (v *DefaultStatsInput) GetMaxNbHistograms() *types.Int64Scalar

GetMaxNbHistograms returns DefaultStatsInput.MaxNbHistograms, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetSparklineBucketCount

func (v *DefaultStatsInput) GetSparklineBucketCount() *types.Int64Scalar

GetSparklineBucketCount returns DefaultStatsInput.SparklineBucketCount, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetSparklineFunction

func (v *DefaultStatsInput) GetSparklineFunction() *string

GetSparklineFunction returns DefaultStatsInput.SparklineFunction, and is useful for accessing the field via an interface.

func (*DefaultStatsInput) GetTopKCount

func (v *DefaultStatsInput) GetTopKCount() *types.Int64Scalar

GetTopKCount returns DefaultStatsInput.TopKCount, and is useful for accessing the field via an interface.

func (v *DefaultStatsInput) GetUseCompoundTopKForLinks() *bool

GetUseCompoundTopKForLinks returns DefaultStatsInput.UseCompoundTopKForLinks, and is useful for accessing the field via an interface.

type DeferredDatasetReferenceInput

type DeferredDatasetReferenceInput struct {
	DatasetId *string `json:"datasetId"`
	// A path may specify "Workspace.Datasetname", or it may just specify
	// Datasetname, in which case it is relative to the Workspace that the
	// Potential Foreign Key lives in.
	DatasetPath *string `json:"datasetPath"`
}

func (*DeferredDatasetReferenceInput) GetDatasetId

func (v *DeferredDatasetReferenceInput) GetDatasetId() *string

GetDatasetId returns DeferredDatasetReferenceInput.DatasetId, and is useful for accessing the field via an interface.

func (*DeferredDatasetReferenceInput) GetDatasetPath

func (v *DeferredDatasetReferenceInput) GetDatasetPath() *string

GetDatasetPath returns DeferredDatasetReferenceInput.DatasetPath, and is useful for accessing the field via an interface.

type DeferredForeignKey

type DeferredForeignKey struct {
	Id            string                                                   `json:"id"`
	WorkspaceId   string                                                   `json:"workspaceId"`
	SourceDataset *DeferredForeignKeySourceDatasetDeferredDatasetReference `json:"sourceDataset"`
	TargetDataset *DeferredForeignKeyTargetDatasetDeferredDatasetReference `json:"targetDataset"`
	SrcFields     []string                                                 `json:"srcFields"`
	DstFields     []string                                                 `json:"dstFields"`
	Label         *string                                                  `json:"label"`
	Resolution    *DeferredForeignKeyResolutionResolvedForeignKey          `json:"resolution"`
	Status        DeferredForeignKeyStatus                                 `json:"status"`
}

DeferredForeignKey includes the GraphQL fields of DeferredForeignKey requested by the fragment DeferredForeignKey.

func (*DeferredForeignKey) GetDstFields

func (v *DeferredForeignKey) GetDstFields() []string

GetDstFields returns DeferredForeignKey.DstFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetId

func (v *DeferredForeignKey) GetId() string

GetId returns DeferredForeignKey.Id, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetLabel

func (v *DeferredForeignKey) GetLabel() *string

GetLabel returns DeferredForeignKey.Label, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetResolution

GetResolution returns DeferredForeignKey.Resolution, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetSourceDataset

GetSourceDataset returns DeferredForeignKey.SourceDataset, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetSrcFields

func (v *DeferredForeignKey) GetSrcFields() []string

GetSrcFields returns DeferredForeignKey.SrcFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetStatus

GetStatus returns DeferredForeignKey.Status, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetTargetDataset

GetTargetDataset returns DeferredForeignKey.TargetDataset, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) GetWorkspaceId

func (v *DeferredForeignKey) GetWorkspaceId() string

GetWorkspaceId returns DeferredForeignKey.WorkspaceId, and is useful for accessing the field via an interface.

func (*DeferredForeignKey) Oid

func (p *DeferredForeignKey) Oid() *oid.OID

type DeferredForeignKeyInput

type DeferredForeignKeyInput struct {
	SourceDataset *DeferredDatasetReferenceInput `json:"sourceDataset"`
	TargetDataset *DeferredDatasetReferenceInput `json:"targetDataset"`
	SrcFields     []string                       `json:"srcFields"`
	DstFields     []string                       `json:"dstFields"`
	// The API will make up a label if it's specified as empty.
	Label       *string `json:"label"`
	ManagedById *string `json:"managedById"`
}

func (*DeferredForeignKeyInput) GetDstFields

func (v *DeferredForeignKeyInput) GetDstFields() []string

GetDstFields returns DeferredForeignKeyInput.DstFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetLabel

func (v *DeferredForeignKeyInput) GetLabel() *string

GetLabel returns DeferredForeignKeyInput.Label, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetManagedById

func (v *DeferredForeignKeyInput) GetManagedById() *string

GetManagedById returns DeferredForeignKeyInput.ManagedById, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetSourceDataset

GetSourceDataset returns DeferredForeignKeyInput.SourceDataset, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetSrcFields

func (v *DeferredForeignKeyInput) GetSrcFields() []string

GetSrcFields returns DeferredForeignKeyInput.SrcFields, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyInput) GetTargetDataset

GetTargetDataset returns DeferredForeignKeyInput.TargetDataset, and is useful for accessing the field via an interface.

type DeferredForeignKeyResolutionResolvedForeignKey

type DeferredForeignKeyResolutionResolvedForeignKey struct {
	SourceId string `json:"sourceId"`
	TargetId string `json:"targetId"`
}

DeferredForeignKeyResolutionResolvedForeignKey includes the requested fields of the GraphQL type ResolvedForeignKey.

func (*DeferredForeignKeyResolutionResolvedForeignKey) GetSourceId

GetSourceId returns DeferredForeignKeyResolutionResolvedForeignKey.SourceId, and is useful for accessing the field via an interface.

func (*DeferredForeignKeyResolutionResolvedForeignKey) GetTargetId

GetTargetId returns DeferredForeignKeyResolutionResolvedForeignKey.TargetId, and is useful for accessing the field via an interface.

type DeferredForeignKeySourceDatasetDeferredDatasetReference

type DeferredForeignKeySourceDatasetDeferredDatasetReference struct {
	DatasetId *string `json:"datasetId"`
}

DeferredForeignKeySourceDatasetDeferredDatasetReference includes the requested fields of the GraphQL type DeferredDatasetReference.

func (*DeferredForeignKeySourceDatasetDeferredDatasetReference) GetDatasetId

GetDatasetId returns DeferredForeignKeySourceDatasetDeferredDatasetReference.DatasetId, and is useful for accessing the field via an interface.

type DeferredForeignKeyStatus

type DeferredForeignKeyStatus struct {
	ErrorText string `json:"errorText"`
}

DeferredForeignKeyStatus includes the requested fields of the GraphQL type DeferredForeignKeyStatus.

func (*DeferredForeignKeyStatus) GetErrorText

func (v *DeferredForeignKeyStatus) GetErrorText() string

GetErrorText returns DeferredForeignKeyStatus.ErrorText, and is useful for accessing the field via an interface.

type DeferredForeignKeyTargetDatasetDeferredDatasetReference

type DeferredForeignKeyTargetDatasetDeferredDatasetReference struct {
	DatasetId *string `json:"datasetId"`
}

DeferredForeignKeyTargetDatasetDeferredDatasetReference includes the requested fields of the GraphQL type DeferredDatasetReference.

func (*DeferredForeignKeyTargetDatasetDeferredDatasetReference) GetDatasetId

GetDatasetId returns DeferredForeignKeyTargetDatasetDeferredDatasetReference.DatasetId, and is useful for accessing the field via an interface.

type DependencyHandlingInput

type DependencyHandlingInput struct {
	SaveMode *SaveMode `json:"saveMode"`
	// For saveMode UpdateDatasetAndDependenciesUnlessNewErrors, here are errors that don't count as "new"
	IgnoreSpecificErrors []string `json:"ignoreSpecificErrors"`
}

func (*DependencyHandlingInput) GetIgnoreSpecificErrors

func (v *DependencyHandlingInput) GetIgnoreSpecificErrors() []string

GetIgnoreSpecificErrors returns DependencyHandlingInput.IgnoreSpecificErrors, and is useful for accessing the field via an interface.

func (*DependencyHandlingInput) GetSaveMode

func (v *DependencyHandlingInput) GetSaveMode() *SaveMode

GetSaveMode returns DependencyHandlingInput.SaveMode, and is useful for accessing the field via an interface.

type EmailActionInput

type EmailActionInput struct {
	TargetUsers     []types.UserIdScalar `json:"targetUsers"`
	TargetAddresses []string             `json:"targetAddresses"`
	SubjectTemplate *string              `json:"subjectTemplate"`
	BodyTemplate    *string              `json:"bodyTemplate"`
	IsHtml          *bool                `json:"isHtml"`
}

func (*EmailActionInput) GetBodyTemplate

func (v *EmailActionInput) GetBodyTemplate() *string

GetBodyTemplate returns EmailActionInput.BodyTemplate, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetIsHtml

func (v *EmailActionInput) GetIsHtml() *bool

GetIsHtml returns EmailActionInput.IsHtml, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetSubjectTemplate

func (v *EmailActionInput) GetSubjectTemplate() *string

GetSubjectTemplate returns EmailActionInput.SubjectTemplate, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetTargetAddresses

func (v *EmailActionInput) GetTargetAddresses() []string

GetTargetAddresses returns EmailActionInput.TargetAddresses, and is useful for accessing the field via an interface.

func (*EmailActionInput) GetTargetUsers

func (v *EmailActionInput) GetTargetUsers() []types.UserIdScalar

GetTargetUsers returns EmailActionInput.TargetUsers, and is useful for accessing the field via an interface.

type FacetFunction

type FacetFunction string
const (
	FacetFunctionEquals         FacetFunction = "Equals"
	FacetFunctionNotequal       FacetFunction = "NotEqual"
	FacetFunctionContains       FacetFunction = "Contains"
	FacetFunctionDoesnotcontain FacetFunction = "DoesNotContain"
	FacetFunctionIsnull         FacetFunction = "IsNull"
	FacetFunctionIsnotnull      FacetFunction = "IsNotNull"
)

type Filedrop added in v0.13.15

type Filedrop struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
	// status of the filedrop
	Status FiledropStatus `json:"status"`
	// ID of the datastream associated with the filedrop
	DatastreamID string           `json:"datastreamID"`
	Config       FiledropConfig   `json:"config"`
	Endpoint     FiledropEndpoint `json:"-"`
}

Filedrop includes the GraphQL fields of Filedrop requested by the fragment Filedrop.

func (*Filedrop) GetConfig added in v0.13.15

func (v *Filedrop) GetConfig() FiledropConfig

GetConfig returns Filedrop.Config, and is useful for accessing the field via an interface.

func (*Filedrop) GetDatastreamID added in v0.13.15

func (v *Filedrop) GetDatastreamID() string

GetDatastreamID returns Filedrop.DatastreamID, and is useful for accessing the field via an interface.

func (*Filedrop) GetDescription added in v0.13.15

func (v *Filedrop) GetDescription() *string

GetDescription returns Filedrop.Description, and is useful for accessing the field via an interface.

func (*Filedrop) GetEndpoint added in v0.13.15

func (v *Filedrop) GetEndpoint() FiledropEndpoint

GetEndpoint returns Filedrop.Endpoint, and is useful for accessing the field via an interface.

func (*Filedrop) GetIconUrl added in v0.13.15

func (v *Filedrop) GetIconUrl() *string

GetIconUrl returns Filedrop.IconUrl, and is useful for accessing the field via an interface.

func (*Filedrop) GetId added in v0.13.15

func (v *Filedrop) GetId() string

GetId returns Filedrop.Id, and is useful for accessing the field via an interface.

func (*Filedrop) GetName added in v0.13.15

func (v *Filedrop) GetName() string

GetName returns Filedrop.Name, and is useful for accessing the field via an interface.

func (*Filedrop) GetStatus added in v0.13.15

func (v *Filedrop) GetStatus() FiledropStatus

GetStatus returns Filedrop.Status, and is useful for accessing the field via an interface.

func (*Filedrop) GetWorkspaceId added in v0.13.15

func (v *Filedrop) GetWorkspaceId() string

GetWorkspaceId returns Filedrop.WorkspaceId, and is useful for accessing the field via an interface.

func (*Filedrop) MarshalJSON added in v0.13.15

func (v *Filedrop) MarshalJSON() ([]byte, error)

func (*Filedrop) Oid added in v0.13.15

func (f *Filedrop) Oid() *oid.OID

func (*Filedrop) UnmarshalJSON added in v0.13.15

func (v *Filedrop) UnmarshalJSON(b []byte) error

type FiledropConfig added in v0.13.15

type FiledropConfig struct {
	Format   FiledropConfigFormatFiledropFormatConfig     `json:"format"`
	Provider FiledropConfigProviderFiledropProviderConfig `json:"-"`
}

FiledropConfig includes the requested fields of the GraphQL type FiledropConfig.

func (*FiledropConfig) GetFormat added in v0.13.15

GetFormat returns FiledropConfig.Format, and is useful for accessing the field via an interface.

func (*FiledropConfig) GetProvider added in v0.13.15

GetProvider returns FiledropConfig.Provider, and is useful for accessing the field via an interface.

func (*FiledropConfig) MarshalJSON added in v0.13.15

func (v *FiledropConfig) MarshalJSON() ([]byte, error)

func (*FiledropConfig) UnmarshalJSON added in v0.13.15

func (v *FiledropConfig) UnmarshalJSON(b []byte) error

type FiledropConfigFormatFiledropFormatConfig added in v0.13.15

type FiledropConfigFormatFiledropFormatConfig struct {
	Type FiledropFormatType `json:"type"`
}

FiledropConfigFormatFiledropFormatConfig includes the requested fields of the GraphQL type FiledropFormatConfig.

func (*FiledropConfigFormatFiledropFormatConfig) GetType added in v0.13.15

GetType returns FiledropConfigFormatFiledropFormatConfig.Type, and is useful for accessing the field via an interface.

type FiledropConfigInput added in v0.13.15

type FiledropConfigInput struct {
	Format      FiledropFormatConfigInput       `json:"format"`
	ProviderAws *FiledropProviderAwsConfigInput `json:"providerAws"`
}

func (*FiledropConfigInput) GetFormat added in v0.13.15

GetFormat returns FiledropConfigInput.Format, and is useful for accessing the field via an interface.

func (*FiledropConfigInput) GetProviderAws added in v0.13.15

GetProviderAws returns FiledropConfigInput.ProviderAws, and is useful for accessing the field via an interface.

type FiledropConfigProviderFiledropProviderAwsConfig added in v0.13.15

type FiledropConfigProviderFiledropProviderAwsConfig struct {
	Typename *string `json:"__typename"`
	// AWS region of the filedrop
	Region string `json:"region"`
	// User provided IAM role to access the filedrop
	RoleArn string `json:"roleArn"`
}

FiledropConfigProviderFiledropProviderAwsConfig includes the requested fields of the GraphQL type FiledropProviderAwsConfig.

func (*FiledropConfigProviderFiledropProviderAwsConfig) GetRegion added in v0.13.15

GetRegion returns FiledropConfigProviderFiledropProviderAwsConfig.Region, and is useful for accessing the field via an interface.

func (*FiledropConfigProviderFiledropProviderAwsConfig) GetRoleArn added in v0.13.15

GetRoleArn returns FiledropConfigProviderFiledropProviderAwsConfig.RoleArn, and is useful for accessing the field via an interface.

func (*FiledropConfigProviderFiledropProviderAwsConfig) GetTypename added in v0.13.15

GetTypename returns FiledropConfigProviderFiledropProviderAwsConfig.Typename, and is useful for accessing the field via an interface.

type FiledropConfigProviderFiledropProviderConfig added in v0.13.15

type FiledropConfigProviderFiledropProviderConfig interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

FiledropConfigProviderFiledropProviderConfig includes the requested fields of the GraphQL interface FiledropProviderConfig.

FiledropConfigProviderFiledropProviderConfig is implemented by the following types: FiledropConfigProviderFiledropProviderAwsConfig The GraphQL type's documentation follows.

Configurations related to the cloud object storage service provider

type FiledropEndpoint added in v0.13.15

type FiledropEndpoint interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

FiledropEndpoint includes the requested fields of the GraphQL interface FiledropEndpoint.

FiledropEndpoint is implemented by the following types: FiledropEndpointFiledropS3Endpoint The GraphQL type's documentation follows.

Information of the Observe-created filedrop endpoint

type FiledropEndpointFiledropS3Endpoint added in v0.13.15

type FiledropEndpointFiledropS3Endpoint struct {
	Typename *string `json:"__typename"`
	// IAM arn of the S3 access point
	Arn string `json:"arn"`
	// Bucket style alias of the S3 access point
	Bucket string `json:"bucket"`
	// filedrop's prefix path within the S3 access point
	Prefix string `json:"prefix"`
}

FiledropEndpointFiledropS3Endpoint includes the requested fields of the GraphQL type FiledropS3Endpoint.

func (*FiledropEndpointFiledropS3Endpoint) GetArn added in v0.13.15

GetArn returns FiledropEndpointFiledropS3Endpoint.Arn, and is useful for accessing the field via an interface.

func (*FiledropEndpointFiledropS3Endpoint) GetBucket added in v0.13.15

GetBucket returns FiledropEndpointFiledropS3Endpoint.Bucket, and is useful for accessing the field via an interface.

func (*FiledropEndpointFiledropS3Endpoint) GetPrefix added in v0.13.15

GetPrefix returns FiledropEndpointFiledropS3Endpoint.Prefix, and is useful for accessing the field via an interface.

func (*FiledropEndpointFiledropS3Endpoint) GetTypename added in v0.13.15

func (v *FiledropEndpointFiledropS3Endpoint) GetTypename() *string

GetTypename returns FiledropEndpointFiledropS3Endpoint.Typename, and is useful for accessing the field via an interface.

type FiledropFormatConfigInput added in v0.13.15

type FiledropFormatConfigInput struct {
	Type FiledropFormatType `json:"type"`
}

func (*FiledropFormatConfigInput) GetType added in v0.13.15

GetType returns FiledropFormatConfigInput.Type, and is useful for accessing the field via an interface.

type FiledropFormatType added in v0.13.15

type FiledropFormatType string
const (
	FiledropFormatTypeCsv     FiledropFormatType = "Csv"
	FiledropFormatTypeJson    FiledropFormatType = "Json"
	FiledropFormatTypeParquet FiledropFormatType = "Parquet"
)

type FiledropInput added in v0.13.15

type FiledropInput struct {
	Config      FiledropConfigInput `json:"config"`
	Name        *string             `json:"name"`
	IconUrl     *string             `json:"iconUrl"`
	Description *string             `json:"description"`
	ManagedById *string             `json:"managedById"`
	FolderId    *string             `json:"folderId"`
}

func (*FiledropInput) GetConfig added in v0.13.15

func (v *FiledropInput) GetConfig() FiledropConfigInput

GetConfig returns FiledropInput.Config, and is useful for accessing the field via an interface.

func (*FiledropInput) GetDescription added in v0.13.15

func (v *FiledropInput) GetDescription() *string

GetDescription returns FiledropInput.Description, and is useful for accessing the field via an interface.

func (*FiledropInput) GetFolderId added in v0.13.15

func (v *FiledropInput) GetFolderId() *string

GetFolderId returns FiledropInput.FolderId, and is useful for accessing the field via an interface.

func (*FiledropInput) GetIconUrl added in v0.13.15

func (v *FiledropInput) GetIconUrl() *string

GetIconUrl returns FiledropInput.IconUrl, and is useful for accessing the field via an interface.

func (*FiledropInput) GetManagedById added in v0.13.15

func (v *FiledropInput) GetManagedById() *string

GetManagedById returns FiledropInput.ManagedById, and is useful for accessing the field via an interface.

func (*FiledropInput) GetName added in v0.13.15

func (v *FiledropInput) GetName() *string

GetName returns FiledropInput.Name, and is useful for accessing the field via an interface.

type FiledropProviderAwsConfigInput added in v0.13.15

type FiledropProviderAwsConfigInput struct {
	Region  string `json:"region"`
	RoleArn string `json:"roleArn"`
}

func (*FiledropProviderAwsConfigInput) GetRegion added in v0.13.15

func (v *FiledropProviderAwsConfigInput) GetRegion() string

GetRegion returns FiledropProviderAwsConfigInput.Region, and is useful for accessing the field via an interface.

func (*FiledropProviderAwsConfigInput) GetRoleArn added in v0.13.15

func (v *FiledropProviderAwsConfigInput) GetRoleArn() string

GetRoleArn returns FiledropProviderAwsConfigInput.RoleArn, and is useful for accessing the field via an interface.

type FiledropStatus added in v0.13.15

type FiledropStatus string
const (
	FiledropStatusDisabled     FiledropStatus = "Disabled"
	FiledropStatusInitializing FiledropStatus = "Initializing"
	FiledropStatusRunning      FiledropStatus = "Running"
	FiledropStatusUpdating     FiledropStatus = "Updating"
)

type Folder

type Folder struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	WorkspaceId string  `json:"workspaceId"`
}

Folder includes the GraphQL fields of Folder requested by the fragment Folder.

func (*Folder) GetDescription

func (v *Folder) GetDescription() *string

GetDescription returns Folder.Description, and is useful for accessing the field via an interface.

func (*Folder) GetIconUrl

func (v *Folder) GetIconUrl() *string

GetIconUrl returns Folder.IconUrl, and is useful for accessing the field via an interface.

func (*Folder) GetId

func (v *Folder) GetId() string

GetId returns Folder.Id, and is useful for accessing the field via an interface.

func (*Folder) GetName

func (v *Folder) GetName() string

GetName returns Folder.Name, and is useful for accessing the field via an interface.

func (*Folder) GetWorkspaceId

func (v *Folder) GetWorkspaceId() string

GetWorkspaceId returns Folder.WorkspaceId, and is useful for accessing the field via an interface.

func (*Folder) Oid

func (f *Folder) Oid() *oid.OID

type FolderInput

type FolderInput struct {
	Name             *string             `json:"name"`
	Description      *string             `json:"description"`
	IconUrl          *string             `json:"iconUrl"`
	PersonalToUserId *types.UserIdScalar `json:"personalToUserId"`
}

func (*FolderInput) GetDescription

func (v *FolderInput) GetDescription() *string

GetDescription returns FolderInput.Description, and is useful for accessing the field via an interface.

func (*FolderInput) GetIconUrl

func (v *FolderInput) GetIconUrl() *string

GetIconUrl returns FolderInput.IconUrl, and is useful for accessing the field via an interface.

func (*FolderInput) GetName

func (v *FolderInput) GetName() *string

GetName returns FolderInput.Name, and is useful for accessing the field via an interface.

func (*FolderInput) GetPersonalToUserId

func (v *FolderInput) GetPersonalToUserId() *types.UserIdScalar

GetPersonalToUserId returns FolderInput.PersonalToUserId, and is useful for accessing the field via an interface.

type HttpRequestConfig

type HttpRequestConfig struct {
	Url        *string                      `json:"url"`
	Method     *string                      `json:"method"`
	Username   *string                      `json:"username"`
	Password   *string                      `json:"password"`
	AuthScheme *PollerHTTPRequestAuthScheme `json:"authScheme"`
	Body       *string                      `json:"body"`
	Headers    *types.JsonObject            `json:"headers"`
	Params     *types.JsonObject            `json:"params"`
}

HttpRequestConfig includes the GraphQL fields of PollerHTTPRequestConfig requested by the fragment HttpRequestConfig.

func (*HttpRequestConfig) GetAuthScheme

func (v *HttpRequestConfig) GetAuthScheme() *PollerHTTPRequestAuthScheme

GetAuthScheme returns HttpRequestConfig.AuthScheme, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetBody

func (v *HttpRequestConfig) GetBody() *string

GetBody returns HttpRequestConfig.Body, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetHeaders

func (v *HttpRequestConfig) GetHeaders() *types.JsonObject

GetHeaders returns HttpRequestConfig.Headers, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetMethod

func (v *HttpRequestConfig) GetMethod() *string

GetMethod returns HttpRequestConfig.Method, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetParams

func (v *HttpRequestConfig) GetParams() *types.JsonObject

GetParams returns HttpRequestConfig.Params, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetPassword

func (v *HttpRequestConfig) GetPassword() *string

GetPassword returns HttpRequestConfig.Password, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetUrl

func (v *HttpRequestConfig) GetUrl() *string

GetUrl returns HttpRequestConfig.Url, and is useful for accessing the field via an interface.

func (*HttpRequestConfig) GetUsername

func (v *HttpRequestConfig) GetUsername() *string

GetUsername returns HttpRequestConfig.Username, and is useful for accessing the field via an interface.

type InputDefinitionInput

type InputDefinitionInput struct {
	// Assign the short and unique user mnemonic for this input, used in @tableref expressions
	InputName string `json:"inputName"`
	// If this input is to be used for a purpose other than "slurp data," then specify that here.
	InputRole *InputRole `json:"inputRole"`
	// Datasets defined by IDs refer to latest-published version of dataset.
	DatasetId *string `json:"datasetId"`
	// Format of datasetPath is projectlabel.datasetlabel
	DatasetPath *string `json:"datasetPath"`
	// Reference a previous query in the worksheet by label
	StageID *string `json:"stageID,omitempty"`
	StageId *string `json:"stageId,omitempty"`
	// If this input is parameterized, this will contain the ID of the parameter to substitute for this input. Parameters
	// are bound in the QueryParams for the query being issued with this input.
	ParameterId *string `json:"parameterId"`
}

func (*InputDefinitionInput) GetDatasetId

func (v *InputDefinitionInput) GetDatasetId() *string

GetDatasetId returns InputDefinitionInput.DatasetId, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetDatasetPath

func (v *InputDefinitionInput) GetDatasetPath() *string

GetDatasetPath returns InputDefinitionInput.DatasetPath, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetInputName

func (v *InputDefinitionInput) GetInputName() string

GetInputName returns InputDefinitionInput.InputName, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetInputRole

func (v *InputDefinitionInput) GetInputRole() *InputRole

GetInputRole returns InputDefinitionInput.InputRole, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetParameterId

func (v *InputDefinitionInput) GetParameterId() *string

GetParameterId returns InputDefinitionInput.ParameterId, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetStageID

func (v *InputDefinitionInput) GetStageID() *string

GetStageID returns InputDefinitionInput.StageID, and is useful for accessing the field via an interface.

func (*InputDefinitionInput) GetStageId

func (v *InputDefinitionInput) GetStageId() *string

GetStageId returns InputDefinitionInput.StageId, and is useful for accessing the field via an interface.

type InputRole

type InputRole string

Why do we separate "Data" bindings from "Reference" bindings? Why does this have to be pre-declared, rather than resolved at the end by the compiler?

Because we have the hard rule that physical dataset IDs only exist in the API, not at the OPAL level, we wouldn't know which particular dataset you'd suggest to use, unless the input binding was pre-declared. If we just made something up in GetTargetDatasetBinding() then how would we later know which shape to resolve it to?

The user writes addfk "some name", id=@theThing.id

We need to know what theThing really means. Hence, it needs a binding. Hence, when bindings are specified, we need to know whether you expect that to be 100% defined, or left pending. We could allow a less concrete pipeline specification. Leave @theThing entirely unresolved, and only resolve it using some later operation that says "and wherever I called something @theThing, now I mean this thing!" (edited)

Which means that we have to live with pipelines that are constantly in unresolved and unresolvable states, and only some pipelines can run. We also can no longer preview the data until that next step has been taken.

I e, we assume each query (set of stages) compiles and links as a unit. There is no separate compilation, because the user experience and complexity of that abstraction seems unnecessary just to solve this one use case in this one alternative way.

const (
	InputRoleDefault   InputRole = "Default"
	InputRoleData      InputRole = "Data"
	InputRoleReference InputRole = "Reference"
)

type LayeredSettingRecord

type LayeredSettingRecord struct {
	SettingAndTargetScope SettingAndTargetScope `json:"settingAndTargetScope"`
	Value                 PrimitiveValue        `json:"value"`
	Id                    string                `json:"id"`
	// This is the name of the settings record, not the name of the setting!
	Name string `json:"name"`
	// This is the description of the settings record, not the description of the setting!
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	WorkspaceId string  `json:"workspaceId"`
	ManagedById *string `json:"managedById"`
	FolderId    string  `json:"folderId"`
}

LayeredSettingRecord includes the GraphQL fields of LayeredSettingRecord requested by the fragment LayeredSettingRecord. The GraphQL type's documentation follows.

A Layered Setting is like a feature flag that can be controlled by customers. It allows control on a per-scope basis, where scope could be entire customer, workspace, folder, app, dataset, monitor, or similar, with a broad-to-detailed inheritance hierarchy.

A Layered Setting Record is a record setting the value of a Layered Setting at a particular scope. When the value of a Layered Setting is read from a particular scope, we merge the Layered Setting Records at each scope that contains the requested scope to determine the return value.

func (*LayeredSettingRecord) GetDescription

func (v *LayeredSettingRecord) GetDescription() *string

GetDescription returns LayeredSettingRecord.Description, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetFolderId

func (v *LayeredSettingRecord) GetFolderId() string

GetFolderId returns LayeredSettingRecord.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetIconUrl

func (v *LayeredSettingRecord) GetIconUrl() *string

GetIconUrl returns LayeredSettingRecord.IconUrl, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetId

func (v *LayeredSettingRecord) GetId() string

GetId returns LayeredSettingRecord.Id, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetManagedById

func (v *LayeredSettingRecord) GetManagedById() *string

GetManagedById returns LayeredSettingRecord.ManagedById, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetName

func (v *LayeredSettingRecord) GetName() string

GetName returns LayeredSettingRecord.Name, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetSettingAndTargetScope

func (v *LayeredSettingRecord) GetSettingAndTargetScope() SettingAndTargetScope

GetSettingAndTargetScope returns LayeredSettingRecord.SettingAndTargetScope, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetValue

func (v *LayeredSettingRecord) GetValue() PrimitiveValue

GetValue returns LayeredSettingRecord.Value, and is useful for accessing the field via an interface.

func (*LayeredSettingRecord) GetWorkspaceId

func (v *LayeredSettingRecord) GetWorkspaceId() string

GetWorkspaceId returns LayeredSettingRecord.WorkspaceId, and is useful for accessing the field via an interface.

type LayeredSettingRecordInput

type LayeredSettingRecordInput struct {
	SettingAndTargetScope SettingAndTargetScopeInput `json:"settingAndTargetScope"`
	Value                 PrimitiveValueInput        `json:"value"`
	Id                    *string                    `json:"id"`
	// This is the name of the settings record, not the name of the setting!
	//
	// If you give the layered setting record the empty name, it will get an auto-generated
	// name based on the setting and target. This is mainly convenient when creating these
	// within code itself, but can also be used by API users who don't want to manage a
	// separate name.
	Name string `json:"name"`
	// This is the description of the settings record, not the description of the setting!
	Description *string `json:"description"`
	IconUrl     *string `json:"iconUrl"`
	WorkspaceId string  `json:"workspaceId"`
	ManagedById *string `json:"managedById,omitempty"`
	FolderId    *string `json:"folderId"`
}

func (*LayeredSettingRecordInput) GetDescription

func (v *LayeredSettingRecordInput) GetDescription() *string

GetDescription returns LayeredSettingRecordInput.Description, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetFolderId

func (v *LayeredSettingRecordInput) GetFolderId() *string

GetFolderId returns LayeredSettingRecordInput.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetIconUrl

func (v *LayeredSettingRecordInput) GetIconUrl() *string

GetIconUrl returns LayeredSettingRecordInput.IconUrl, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetId

func (v *LayeredSettingRecordInput) GetId() *string

GetId returns LayeredSettingRecordInput.Id, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetManagedById

func (v *LayeredSettingRecordInput) GetManagedById() *string

GetManagedById returns LayeredSettingRecordInput.ManagedById, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetName

func (v *LayeredSettingRecordInput) GetName() string

GetName returns LayeredSettingRecordInput.Name, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetSettingAndTargetScope

func (v *LayeredSettingRecordInput) GetSettingAndTargetScope() SettingAndTargetScopeInput

GetSettingAndTargetScope returns LayeredSettingRecordInput.SettingAndTargetScope, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetValue

GetValue returns LayeredSettingRecordInput.Value, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordInput) GetWorkspaceId

func (v *LayeredSettingRecordInput) GetWorkspaceId() string

GetWorkspaceId returns LayeredSettingRecordInput.WorkspaceId, and is useful for accessing the field via an interface.

type LayeredSettingRecordTarget

type LayeredSettingRecordTarget struct {
	CustomerId   *string             `json:"customerId"`
	WorkspaceId  *string             `json:"workspaceId"`
	FolderId     *string             `json:"folderId"`
	AppId        *string             `json:"appId"`
	MonitorId    *string             `json:"monitorId"`
	WorksheetId  *string             `json:"worksheetId"`
	DashboardId  *string             `json:"dashboardId"`
	DatasetId    *string             `json:"datasetId"`
	DatastreamId *string             `json:"datastreamId"`
	UserId       *types.UserIdScalar `json:"userId"`
}

LayeredSettingRecordTarget includes the GraphQL fields of LayeredSettingRecordTarget requested by the fragment LayeredSettingRecordTarget. The GraphQL type's documentation follows.

When configuring a particular target, a single object ID should be non-null in the LayeredSettingRecordTarget. If you want to affect "everything in this folder, and also this particular dataset," then create two LayeredSettingRecords.

func (*LayeredSettingRecordTarget) GetAppId

func (v *LayeredSettingRecordTarget) GetAppId() *string

GetAppId returns LayeredSettingRecordTarget.AppId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetCustomerId

func (v *LayeredSettingRecordTarget) GetCustomerId() *string

GetCustomerId returns LayeredSettingRecordTarget.CustomerId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetDashboardId

func (v *LayeredSettingRecordTarget) GetDashboardId() *string

GetDashboardId returns LayeredSettingRecordTarget.DashboardId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetDatasetId

func (v *LayeredSettingRecordTarget) GetDatasetId() *string

GetDatasetId returns LayeredSettingRecordTarget.DatasetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetDatastreamId

func (v *LayeredSettingRecordTarget) GetDatastreamId() *string

GetDatastreamId returns LayeredSettingRecordTarget.DatastreamId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetFolderId

func (v *LayeredSettingRecordTarget) GetFolderId() *string

GetFolderId returns LayeredSettingRecordTarget.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetMonitorId

func (v *LayeredSettingRecordTarget) GetMonitorId() *string

GetMonitorId returns LayeredSettingRecordTarget.MonitorId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetUserId

GetUserId returns LayeredSettingRecordTarget.UserId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetWorksheetId

func (v *LayeredSettingRecordTarget) GetWorksheetId() *string

GetWorksheetId returns LayeredSettingRecordTarget.WorksheetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTarget) GetWorkspaceId

func (v *LayeredSettingRecordTarget) GetWorkspaceId() *string

GetWorkspaceId returns LayeredSettingRecordTarget.WorkspaceId, and is useful for accessing the field via an interface.

type LayeredSettingRecordTargetInput

type LayeredSettingRecordTargetInput struct {
	CustomerId   *string             `json:"customerId,omitempty"`
	WorkspaceId  *string             `json:"workspaceId,omitempty"`
	FolderId     *string             `json:"folderId,omitempty"`
	AppId        *string             `json:"appId,omitempty"`
	WorksheetId  *string             `json:"worksheetId,omitempty"`
	DashboardId  *string             `json:"dashboardId,omitempty"`
	DatastreamId *string             `json:"datastreamId"`
	MonitorId    *string             `json:"monitorId,omitempty"`
	DatasetId    *string             `json:"datasetId,omitempty"`
	UserId       *types.UserIdScalar `json:"userId,omitempty"`
}

func (*LayeredSettingRecordTargetInput) GetAppId

func (v *LayeredSettingRecordTargetInput) GetAppId() *string

GetAppId returns LayeredSettingRecordTargetInput.AppId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetCustomerId

func (v *LayeredSettingRecordTargetInput) GetCustomerId() *string

GetCustomerId returns LayeredSettingRecordTargetInput.CustomerId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetDashboardId

func (v *LayeredSettingRecordTargetInput) GetDashboardId() *string

GetDashboardId returns LayeredSettingRecordTargetInput.DashboardId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetDatasetId

func (v *LayeredSettingRecordTargetInput) GetDatasetId() *string

GetDatasetId returns LayeredSettingRecordTargetInput.DatasetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetDatastreamId

func (v *LayeredSettingRecordTargetInput) GetDatastreamId() *string

GetDatastreamId returns LayeredSettingRecordTargetInput.DatastreamId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetFolderId

func (v *LayeredSettingRecordTargetInput) GetFolderId() *string

GetFolderId returns LayeredSettingRecordTargetInput.FolderId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetMonitorId

func (v *LayeredSettingRecordTargetInput) GetMonitorId() *string

GetMonitorId returns LayeredSettingRecordTargetInput.MonitorId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetUserId

GetUserId returns LayeredSettingRecordTargetInput.UserId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetWorksheetId

func (v *LayeredSettingRecordTargetInput) GetWorksheetId() *string

GetWorksheetId returns LayeredSettingRecordTargetInput.WorksheetId, and is useful for accessing the field via an interface.

func (*LayeredSettingRecordTargetInput) GetWorkspaceId

func (v *LayeredSettingRecordTargetInput) GetWorkspaceId() *string

GetWorkspaceId returns LayeredSettingRecordTargetInput.WorkspaceId, and is useful for accessing the field via an interface.

type ModuleVersion

type ModuleVersion struct {
	Version string `json:"version"`
}

ModuleVersion includes the GraphQL fields of ModuleVersion requested by the fragment ModuleVersion. The GraphQL type's documentation follows.

ModuleVersion represents the metadata for a specific version of an application

func (*ModuleVersion) GetVersion

func (v *ModuleVersion) GetVersion() string

GetVersion returns ModuleVersion.Version, and is useful for accessing the field via an interface.

type Monitor

type Monitor struct {
	WorkspaceId string `json:"workspaceId"`
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	// Static comment for extra information about a monitor available in notification template.
	Comment             *string           `json:"comment"`
	IconUrl             string            `json:"iconUrl"`
	IsTemplate          bool              `json:"isTemplate"`
	Disabled            bool              `json:"disabled"`
	FreshnessGoal       types.Int64Scalar `json:"freshnessGoal"`
	UseDefaultFreshness bool              `json:"useDefaultFreshness"`
	Source              string            `json:"source"`
	ManagedById         *string           `json:"managedById"`
	// The source stage may be empty, just specifying an input dataset,
	// or it may include actual transform work
	Query            MonitorQueryMultiStageQuery                      `json:"query"`
	Rule             MonitorRule                                      `json:"-"`
	NotificationSpec MonitorNotificationSpecNotificationSpecification `json:"notificationSpec"`
}

Monitor includes the GraphQL fields of Monitor requested by the fragment Monitor.

func (*Monitor) GetComment

func (v *Monitor) GetComment() *string

GetComment returns Monitor.Comment, and is useful for accessing the field via an interface.

func (*Monitor) GetDescription

func (v *Monitor) GetDescription() string

GetDescription returns Monitor.Description, and is useful for accessing the field via an interface.

func (*Monitor) GetDisabled

func (v *Monitor) GetDisabled() bool

GetDisabled returns Monitor.Disabled, and is useful for accessing the field via an interface.

func (*Monitor) GetFreshnessGoal

func (v *Monitor) GetFreshnessGoal() types.Int64Scalar

GetFreshnessGoal returns Monitor.FreshnessGoal, and is useful for accessing the field via an interface.

func (*Monitor) GetIconUrl

func (v *Monitor) GetIconUrl() string

GetIconUrl returns Monitor.IconUrl, and is useful for accessing the field via an interface.

func (*Monitor) GetId

func (v *Monitor) GetId() string

GetId returns Monitor.Id, and is useful for accessing the field via an interface.

func (*Monitor) GetIsTemplate

func (v *Monitor) GetIsTemplate() bool

GetIsTemplate returns Monitor.IsTemplate, and is useful for accessing the field via an interface.

func (*Monitor) GetManagedById

func (v *Monitor) GetManagedById() *string

GetManagedById returns Monitor.ManagedById, and is useful for accessing the field via an interface.

func (*Monitor) GetName

func (v *Monitor) GetName() string

GetName returns Monitor.Name, and is useful for accessing the field via an interface.

func (*Monitor) GetNotificationSpec

GetNotificationSpec returns Monitor.NotificationSpec, and is useful for accessing the field via an interface.

func (*Monitor) GetQuery

func (v *Monitor) GetQuery() MonitorQueryMultiStageQuery

GetQuery returns Monitor.Query, and is useful for accessing the field via an interface.

func (*Monitor) GetRule

func (v *Monitor) GetRule() MonitorRule

GetRule returns Monitor.Rule, and is useful for accessing the field via an interface.

func (*Monitor) GetSource

func (v *Monitor) GetSource() string

GetSource returns Monitor.Source, and is useful for accessing the field via an interface.

func (*Monitor) GetUseDefaultFreshness

func (v *Monitor) GetUseDefaultFreshness() bool

GetUseDefaultFreshness returns Monitor.UseDefaultFreshness, and is useful for accessing the field via an interface.

func (*Monitor) GetWorkspaceId

func (v *Monitor) GetWorkspaceId() string

GetWorkspaceId returns Monitor.WorkspaceId, and is useful for accessing the field via an interface.

func (*Monitor) MarshalJSON

func (v *Monitor) MarshalJSON() ([]byte, error)

func (*Monitor) Oid

func (m *Monitor) Oid() *oid.OID

func (*Monitor) UnmarshalJSON

func (v *Monitor) UnmarshalJSON(b []byte) error

type MonitorAction

type MonitorAction interface {

	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	GetName() string
	// GetIconUrl returns the interface-field "iconUrl" from its implementation.
	GetIconUrl() string
	// GetDescription returns the interface-field "description" from its implementation.
	GetDescription() string
	// GetWorkspaceId returns the interface-field "workspaceId" from its implementation.
	GetWorkspaceId() string
	// GetRateLimit returns the interface-field "rateLimit" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	GetRateLimit() types.DurationScalar
	// GetNotifyOnClose returns the interface-field "notifyOnClose" from its implementation.
	GetNotifyOnClose() bool
	// GetIsPrivate returns the interface-field "isPrivate" from its implementation.
	GetIsPrivate() bool
	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

MonitorAction includes the GraphQL fields of MonitorAction requested by the fragment MonitorAction.

MonitorAction is implemented by the following types: MonitorActionEmailAction MonitorActionWebhookAction MonitorActionUnknownAction

type MonitorActionAttachment

type MonitorActionAttachment struct {
	MonitorID   string  `json:"monitorID"`
	ActionID    string  `json:"actionID"`
	Id          string  `json:"id"`
	WorkspaceId string  `json:"workspaceId"`
	Name        string  `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
}

MonitorActionAttachment includes the GraphQL fields of MonitorActionAttachment requested by the fragment MonitorActionAttachment.

func (*MonitorActionAttachment) GetActionID

func (v *MonitorActionAttachment) GetActionID() string

GetActionID returns MonitorActionAttachment.ActionID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetDescription

func (v *MonitorActionAttachment) GetDescription() *string

GetDescription returns MonitorActionAttachment.Description, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetIconUrl

func (v *MonitorActionAttachment) GetIconUrl() *string

GetIconUrl returns MonitorActionAttachment.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetId

func (v *MonitorActionAttachment) GetId() string

GetId returns MonitorActionAttachment.Id, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetMonitorID

func (v *MonitorActionAttachment) GetMonitorID() string

GetMonitorID returns MonitorActionAttachment.MonitorID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetName

func (v *MonitorActionAttachment) GetName() string

GetName returns MonitorActionAttachment.Name, and is useful for accessing the field via an interface.

func (*MonitorActionAttachment) GetWorkspaceId

func (v *MonitorActionAttachment) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionAttachment.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionAttachmentInput

type MonitorActionAttachmentInput struct {
	MonitorID   string  `json:"monitorID"`
	ActionID    string  `json:"actionID"`
	ChannelID   *string `json:"channelID"`
	WorkspaceId string  `json:"workspaceId"`
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	ManagedById *string `json:"managedById"`
	FolderId    *string `json:"folderId"`
}

func (*MonitorActionAttachmentInput) GetActionID

func (v *MonitorActionAttachmentInput) GetActionID() string

GetActionID returns MonitorActionAttachmentInput.ActionID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetChannelID

func (v *MonitorActionAttachmentInput) GetChannelID() *string

GetChannelID returns MonitorActionAttachmentInput.ChannelID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetDescription

func (v *MonitorActionAttachmentInput) GetDescription() *string

GetDescription returns MonitorActionAttachmentInput.Description, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetFolderId

func (v *MonitorActionAttachmentInput) GetFolderId() *string

GetFolderId returns MonitorActionAttachmentInput.FolderId, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetIconUrl

func (v *MonitorActionAttachmentInput) GetIconUrl() *string

GetIconUrl returns MonitorActionAttachmentInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetManagedById

func (v *MonitorActionAttachmentInput) GetManagedById() *string

GetManagedById returns MonitorActionAttachmentInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetMonitorID

func (v *MonitorActionAttachmentInput) GetMonitorID() string

GetMonitorID returns MonitorActionAttachmentInput.MonitorID, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetName

func (v *MonitorActionAttachmentInput) GetName() *string

GetName returns MonitorActionAttachmentInput.Name, and is useful for accessing the field via an interface.

func (*MonitorActionAttachmentInput) GetWorkspaceId

func (v *MonitorActionAttachmentInput) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionAttachmentInput.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionEmailAction

type MonitorActionEmailAction struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	IconUrl     string `json:"iconUrl"`
	Description string `json:"description"`
	WorkspaceId string `json:"workspaceId"`
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit       types.DurationScalar `json:"rateLimit"`
	NotifyOnClose   bool                 `json:"notifyOnClose"`
	IsPrivate       bool                 `json:"isPrivate"`
	Typename        *string              `json:"__typename"`
	TargetAddresses []string             `json:"targetAddresses"`
	SubjectTemplate string               `json:"subjectTemplate"`
	BodyTemplate    string               `json:"bodyTemplate"`
	IsHtml          bool                 `json:"isHtml"`
}

MonitorAction includes the GraphQL fields of EmailAction requested by the fragment MonitorAction.

func (*MonitorActionEmailAction) GetBodyTemplate

func (v *MonitorActionEmailAction) GetBodyTemplate() string

GetBodyTemplate returns MonitorActionEmailAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetDescription

func (v *MonitorActionEmailAction) GetDescription() string

GetDescription returns MonitorActionEmailAction.Description, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetIconUrl

func (v *MonitorActionEmailAction) GetIconUrl() string

GetIconUrl returns MonitorActionEmailAction.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetId

func (v *MonitorActionEmailAction) GetId() string

GetId returns MonitorActionEmailAction.Id, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetIsHtml

func (v *MonitorActionEmailAction) GetIsHtml() bool

GetIsHtml returns MonitorActionEmailAction.IsHtml, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetIsPrivate

func (v *MonitorActionEmailAction) GetIsPrivate() bool

GetIsPrivate returns MonitorActionEmailAction.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetName

func (v *MonitorActionEmailAction) GetName() string

GetName returns MonitorActionEmailAction.Name, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetNotifyOnClose

func (v *MonitorActionEmailAction) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionEmailAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetRateLimit

func (v *MonitorActionEmailAction) GetRateLimit() types.DurationScalar

GetRateLimit returns MonitorActionEmailAction.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetSubjectTemplate

func (v *MonitorActionEmailAction) GetSubjectTemplate() string

GetSubjectTemplate returns MonitorActionEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetTargetAddresses

func (v *MonitorActionEmailAction) GetTargetAddresses() []string

GetTargetAddresses returns MonitorActionEmailAction.TargetAddresses, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetTypename

func (v *MonitorActionEmailAction) GetTypename() *string

GetTypename returns MonitorActionEmailAction.Typename, and is useful for accessing the field via an interface.

func (*MonitorActionEmailAction) GetWorkspaceId

func (v *MonitorActionEmailAction) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionEmailAction.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionHeadersWebhookHeader

type MonitorActionHeadersWebhookHeader struct {
	Header        string `json:"header"`
	ValueTemplate string `json:"valueTemplate"`
}

MonitorActionHeadersWebhookHeader includes the requested fields of the GraphQL type WebhookHeader.

func (*MonitorActionHeadersWebhookHeader) GetHeader

GetHeader returns MonitorActionHeadersWebhookHeader.Header, and is useful for accessing the field via an interface.

func (*MonitorActionHeadersWebhookHeader) GetValueTemplate

func (v *MonitorActionHeadersWebhookHeader) GetValueTemplate() string

GetValueTemplate returns MonitorActionHeadersWebhookHeader.ValueTemplate, and is useful for accessing the field via an interface.

type MonitorActionInput

type MonitorActionInput struct {
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit        *types.DurationScalar `json:"rateLimit"`
	NotifyOnClose    bool                  `json:"notifyOnClose"`
	NotifyOnReminder bool                  `json:"notifyOnReminder"`
	IsPrivate        bool                  `json:"isPrivate"`
	Email            *EmailActionInput     `json:"email"`
	Webhook          *WebhookActionInput   `json:"webhook"`
	WorkspaceId      string                `json:"workspaceId"`
	Name             string                `json:"name"`
	IconUrl          *string               `json:"iconUrl"`
	Description      *string               `json:"description"`
	ManagedById      *string               `json:"managedById"`
	FolderId         *string               `json:"folderId"`
}

func (*MonitorActionInput) GetDescription

func (v *MonitorActionInput) GetDescription() *string

GetDescription returns MonitorActionInput.Description, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetEmail

func (v *MonitorActionInput) GetEmail() *EmailActionInput

GetEmail returns MonitorActionInput.Email, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetFolderId

func (v *MonitorActionInput) GetFolderId() *string

GetFolderId returns MonitorActionInput.FolderId, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetIconUrl

func (v *MonitorActionInput) GetIconUrl() *string

GetIconUrl returns MonitorActionInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetIsPrivate

func (v *MonitorActionInput) GetIsPrivate() bool

GetIsPrivate returns MonitorActionInput.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetManagedById

func (v *MonitorActionInput) GetManagedById() *string

GetManagedById returns MonitorActionInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetName

func (v *MonitorActionInput) GetName() string

GetName returns MonitorActionInput.Name, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetNotifyOnClose

func (v *MonitorActionInput) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionInput.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetNotifyOnReminder

func (v *MonitorActionInput) GetNotifyOnReminder() bool

GetNotifyOnReminder returns MonitorActionInput.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetRateLimit

func (v *MonitorActionInput) GetRateLimit() *types.DurationScalar

GetRateLimit returns MonitorActionInput.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetWebhook

func (v *MonitorActionInput) GetWebhook() *WebhookActionInput

GetWebhook returns MonitorActionInput.Webhook, and is useful for accessing the field via an interface.

func (*MonitorActionInput) GetWorkspaceId

func (v *MonitorActionInput) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionInput.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionUnknownAction

type MonitorActionUnknownAction struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	IconUrl     string `json:"iconUrl"`
	Description string `json:"description"`
	WorkspaceId string `json:"workspaceId"`
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit     types.DurationScalar `json:"rateLimit"`
	NotifyOnClose bool                 `json:"notifyOnClose"`
	IsPrivate     bool                 `json:"isPrivate"`
	Typename      *string              `json:"__typename"`
}

MonitorAction includes the GraphQL fields of UnknownAction requested by the fragment MonitorAction.

func (*MonitorActionUnknownAction) GetDescription

func (v *MonitorActionUnknownAction) GetDescription() string

GetDescription returns MonitorActionUnknownAction.Description, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetIconUrl

func (v *MonitorActionUnknownAction) GetIconUrl() string

GetIconUrl returns MonitorActionUnknownAction.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetId

GetId returns MonitorActionUnknownAction.Id, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetIsPrivate

func (v *MonitorActionUnknownAction) GetIsPrivate() bool

GetIsPrivate returns MonitorActionUnknownAction.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetName

func (v *MonitorActionUnknownAction) GetName() string

GetName returns MonitorActionUnknownAction.Name, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetNotifyOnClose

func (v *MonitorActionUnknownAction) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionUnknownAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetRateLimit

GetRateLimit returns MonitorActionUnknownAction.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetTypename

func (v *MonitorActionUnknownAction) GetTypename() *string

GetTypename returns MonitorActionUnknownAction.Typename, and is useful for accessing the field via an interface.

func (*MonitorActionUnknownAction) GetWorkspaceId

func (v *MonitorActionUnknownAction) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionUnknownAction.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorActionWebhookAction

type MonitorActionWebhookAction struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	IconUrl     string `json:"iconUrl"`
	Description string `json:"description"`
	WorkspaceId string `json:"workspaceId"`
	// Rate limit measured in nanoseconds.
	// For email actions the minimum is: 10 / 10min
	// For webhook actions the minimum is: 10 / 1s
	RateLimit     types.DurationScalar                `json:"rateLimit"`
	NotifyOnClose bool                                `json:"notifyOnClose"`
	IsPrivate     bool                                `json:"isPrivate"`
	Typename      *string                             `json:"__typename"`
	UrlTemplate   string                              `json:"urlTemplate"`
	Method        string                              `json:"method"`
	Headers       []MonitorActionHeadersWebhookHeader `json:"headers"`
	BodyTemplate  string                              `json:"bodyTemplate"`
}

MonitorAction includes the GraphQL fields of WebhookAction requested by the fragment MonitorAction.

func (*MonitorActionWebhookAction) GetBodyTemplate

func (v *MonitorActionWebhookAction) GetBodyTemplate() string

GetBodyTemplate returns MonitorActionWebhookAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetDescription

func (v *MonitorActionWebhookAction) GetDescription() string

GetDescription returns MonitorActionWebhookAction.Description, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetHeaders

GetHeaders returns MonitorActionWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetIconUrl

func (v *MonitorActionWebhookAction) GetIconUrl() string

GetIconUrl returns MonitorActionWebhookAction.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetId

GetId returns MonitorActionWebhookAction.Id, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetIsPrivate

func (v *MonitorActionWebhookAction) GetIsPrivate() bool

GetIsPrivate returns MonitorActionWebhookAction.IsPrivate, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetMethod

func (v *MonitorActionWebhookAction) GetMethod() string

GetMethod returns MonitorActionWebhookAction.Method, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetName

func (v *MonitorActionWebhookAction) GetName() string

GetName returns MonitorActionWebhookAction.Name, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetNotifyOnClose

func (v *MonitorActionWebhookAction) GetNotifyOnClose() bool

GetNotifyOnClose returns MonitorActionWebhookAction.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetRateLimit

GetRateLimit returns MonitorActionWebhookAction.RateLimit, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetTypename

func (v *MonitorActionWebhookAction) GetTypename() *string

GetTypename returns MonitorActionWebhookAction.Typename, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetUrlTemplate

func (v *MonitorActionWebhookAction) GetUrlTemplate() string

GetUrlTemplate returns MonitorActionWebhookAction.UrlTemplate, and is useful for accessing the field via an interface.

func (*MonitorActionWebhookAction) GetWorkspaceId

func (v *MonitorActionWebhookAction) GetWorkspaceId() string

GetWorkspaceId returns MonitorActionWebhookAction.WorkspaceId, and is useful for accessing the field via an interface.

type MonitorGroupByColumnPathInput

type MonitorGroupByColumnPathInput struct {
	Column string `json:"column"`
	Path   string `json:"path"`
}

func (*MonitorGroupByColumnPathInput) GetColumn

func (v *MonitorGroupByColumnPathInput) GetColumn() string

GetColumn returns MonitorGroupByColumnPathInput.Column, and is useful for accessing the field via an interface.

func (*MonitorGroupByColumnPathInput) GetPath

GetPath returns MonitorGroupByColumnPathInput.Path, and is useful for accessing the field via an interface.

type MonitorGroupInfoInput

type MonitorGroupInfoInput struct {
	// GroupBy:
	// ┌───────────┬─────────┬──────────────────────────┬─────────────┬────────────┐
	// │GroupBy    │Resource │Link                      │Value column │Column Path │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │groupName  │Empty    │Non-empty (FK label)      │Empty        │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columns    │Empty    │Non-empty (FK Src fields) │Non-empty    │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columnPath │Nil      │Nil                       │Nil          │Non-nil     │
	// └───────────┴─────────┴──────────────────────────┴─────────────┴────────────┘
	Columns    []string                       `json:"columns"`
	GroupName  string                         `json:"groupName"`
	ColumnPath *MonitorGroupByColumnPathInput `json:"columnPath"`
}

func (*MonitorGroupInfoInput) GetColumnPath

GetColumnPath returns MonitorGroupInfoInput.ColumnPath, and is useful for accessing the field via an interface.

func (*MonitorGroupInfoInput) GetColumns

func (v *MonitorGroupInfoInput) GetColumns() []string

GetColumns returns MonitorGroupInfoInput.Columns, and is useful for accessing the field via an interface.

func (*MonitorGroupInfoInput) GetGroupName

func (v *MonitorGroupInfoInput) GetGroupName() string

GetGroupName returns MonitorGroupInfoInput.GroupName, and is useful for accessing the field via an interface.

type MonitorGrouping

type MonitorGrouping string
const (
	MonitorGroupingNone       MonitorGrouping = "None"
	MonitorGroupingValue      MonitorGrouping = "Value"
	MonitorGroupingResource   MonitorGrouping = "Resource"
	MonitorGroupingLinktarget MonitorGrouping = "LinkTarget"
)

type MonitorInput

type MonitorInput struct {
	Name        *string `json:"name"`
	IconUrl     *string `json:"iconUrl"`
	Description *string `json:"description"`
	// Static comment for extra information about a monitor available in notification template.
	Comment *string `json:"comment"`
	// Examples - "terraform", "webui".
	Source *string `json:"source"`
	// Only when the monitor is updated.
	OverwriteSource *bool `json:"overwriteSource,omitempty"`
	// The optional id of the object that owns the monitor. Ex: the id of an app that installs the monitor.
	ManagedById          *string `json:"managedById"`
	Disabled             *bool   `json:"disabled"`
	AccelerationDisabled *bool   `json:"accelerationDisabled,omitempty"`
	IsTemplate           *bool   `json:"isTemplate"`
	// Similar to dataset freshness goal, this is in Nanoseconds when received from UI.
	// Only changes setting if useDefaultFreshness is false
	FreshnessGoal *types.Int64Scalar `json:"freshnessGoal,omitempty"`
	// Defaults to true on creation if not specified
	UseDefaultFreshness *bool                           `json:"useDefaultFreshness"`
	Query               *MultiStageQueryInput           `json:"query"`
	Rule                *MonitorRuleInput               `json:"rule"`
	NotificationSpec    *NotificationSpecificationInput `json:"notificationSpec"`
	Channels            []string                        `json:"channels"`
}

func (*MonitorInput) GetAccelerationDisabled

func (v *MonitorInput) GetAccelerationDisabled() *bool

GetAccelerationDisabled returns MonitorInput.AccelerationDisabled, and is useful for accessing the field via an interface.

func (*MonitorInput) GetChannels

func (v *MonitorInput) GetChannels() []string

GetChannels returns MonitorInput.Channels, and is useful for accessing the field via an interface.

func (*MonitorInput) GetComment

func (v *MonitorInput) GetComment() *string

GetComment returns MonitorInput.Comment, and is useful for accessing the field via an interface.

func (*MonitorInput) GetDescription

func (v *MonitorInput) GetDescription() *string

GetDescription returns MonitorInput.Description, and is useful for accessing the field via an interface.

func (*MonitorInput) GetDisabled

func (v *MonitorInput) GetDisabled() *bool

GetDisabled returns MonitorInput.Disabled, and is useful for accessing the field via an interface.

func (*MonitorInput) GetFreshnessGoal

func (v *MonitorInput) GetFreshnessGoal() *types.Int64Scalar

GetFreshnessGoal returns MonitorInput.FreshnessGoal, and is useful for accessing the field via an interface.

func (*MonitorInput) GetIconUrl

func (v *MonitorInput) GetIconUrl() *string

GetIconUrl returns MonitorInput.IconUrl, and is useful for accessing the field via an interface.

func (*MonitorInput) GetIsTemplate

func (v *MonitorInput) GetIsTemplate() *bool

GetIsTemplate returns MonitorInput.IsTemplate, and is useful for accessing the field via an interface.

func (*MonitorInput) GetManagedById

func (v *MonitorInput) GetManagedById() *string

GetManagedById returns MonitorInput.ManagedById, and is useful for accessing the field via an interface.

func (*MonitorInput) GetName

func (v *MonitorInput) GetName() *string

GetName returns MonitorInput.Name, and is useful for accessing the field via an interface.

func (*MonitorInput) GetNotificationSpec

func (v *MonitorInput) GetNotificationSpec() *NotificationSpecificationInput

GetNotificationSpec returns MonitorInput.NotificationSpec, and is useful for accessing the field via an interface.

func (*MonitorInput) GetOverwriteSource

func (v *MonitorInput) GetOverwriteSource() *bool

GetOverwriteSource returns MonitorInput.OverwriteSource, and is useful for accessing the field via an interface.

func (*MonitorInput) GetQuery

func (v *MonitorInput) GetQuery() *MultiStageQueryInput

GetQuery returns MonitorInput.Query, and is useful for accessing the field via an interface.

func (*MonitorInput) GetRule

func (v *MonitorInput) GetRule() *MonitorRuleInput

GetRule returns MonitorInput.Rule, and is useful for accessing the field via an interface.

func (*MonitorInput) GetSource

func (v *MonitorInput) GetSource() *string

GetSource returns MonitorInput.Source, and is useful for accessing the field via an interface.

func (*MonitorInput) GetUseDefaultFreshness

func (v *MonitorInput) GetUseDefaultFreshness() *bool

GetUseDefaultFreshness returns MonitorInput.UseDefaultFreshness, and is useful for accessing the field via an interface.

type MonitorNotificationSpecNotificationSpecification

type MonitorNotificationSpecNotificationSpecification struct {
	// should these go in each applicable Rule instead?
	Merge             *NotificationMerge     `json:"merge"`
	Importance        NotificationImportance `json:"importance"`
	NotifyOnReminder  *bool                  `json:"notifyOnReminder"`
	ReminderFrequency types.DurationScalar   `json:"reminderFrequency"`
	NotifyOnClose     *bool                  `json:"notifyOnClose"`
}

MonitorNotificationSpecNotificationSpecification includes the requested fields of the GraphQL type NotificationSpecification.

func (*MonitorNotificationSpecNotificationSpecification) GetImportance

GetImportance returns MonitorNotificationSpecNotificationSpecification.Importance, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetMerge

GetMerge returns MonitorNotificationSpecNotificationSpecification.Merge, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetNotifyOnClose

GetNotifyOnClose returns MonitorNotificationSpecNotificationSpecification.NotifyOnClose, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetNotifyOnReminder

func (v *MonitorNotificationSpecNotificationSpecification) GetNotifyOnReminder() *bool

GetNotifyOnReminder returns MonitorNotificationSpecNotificationSpecification.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*MonitorNotificationSpecNotificationSpecification) GetReminderFrequency

GetReminderFrequency returns MonitorNotificationSpecNotificationSpecification.ReminderFrequency, and is useful for accessing the field via an interface.

type MonitorQueryMultiStageQuery

type MonitorQueryMultiStageQuery struct {
	OutputStage string        `json:"outputStage"`
	Stages      []*StageQuery `json:"stages"`
}

MonitorQueryMultiStageQuery includes the requested fields of the GraphQL type MultiStageQuery.

func (*MonitorQueryMultiStageQuery) GetOutputStage

func (v *MonitorQueryMultiStageQuery) GetOutputStage() string

GetOutputStage returns MonitorQueryMultiStageQuery.OutputStage, and is useful for accessing the field via an interface.

func (*MonitorQueryMultiStageQuery) GetStages

func (v *MonitorQueryMultiStageQuery) GetStages() []*StageQuery

GetStages returns MonitorQueryMultiStageQuery.Stages, and is useful for accessing the field via an interface.

type MonitorRule

type MonitorRule interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetSourceColumn returns the interface-field "sourceColumn" from its implementation.
	GetSourceColumn() string
	// GetGroupByGroups returns the interface-field "groupByGroups" from its implementation.
	GetGroupByGroups() []MonitorRuleGroupByGroupsMonitorGroupInfo
	// contains filtered or unexported methods
}

MonitorRule includes the requested fields of the GraphQL interface MonitorRule.

MonitorRule is implemented by the following types: MonitorRuleMonitorRuleThreshold MonitorRuleMonitorRuleLog MonitorRuleMonitorRuleChange MonitorRuleMonitorRuleFacet MonitorRuleMonitorRuleCount MonitorRuleMonitorRulePromote

type MonitorRuleChangeInput

type MonitorRuleChangeInput struct {
	ChangeType      *ChangeType      `json:"changeType"`
	CompareFunction *CompareFunction `json:"compareFunction"`
	// For Relative ChangeType, the value is a multiple -- 0.3 means 30% change
	CompareValues     []types.NumberScalar `json:"compareValues"`
	AggregateFunction *AggregateFunction   `json:"aggregateFunction"`
	// The comparison time is established as
	// from: now - lookbackTime - baselineTime
	// to:   now - lookbackTime
	// The triggering time is established as
	// from: now - lookbackTime
	// to:   now
	// (These may end up being approximate, depending on transform scheduling and such)
	LookbackTime *types.DurationScalar `json:"lookbackTime"`
	BaselineTime *types.DurationScalar `json:"baselineTime"`
}

func (*MonitorRuleChangeInput) GetAggregateFunction

func (v *MonitorRuleChangeInput) GetAggregateFunction() *AggregateFunction

GetAggregateFunction returns MonitorRuleChangeInput.AggregateFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetBaselineTime

func (v *MonitorRuleChangeInput) GetBaselineTime() *types.DurationScalar

GetBaselineTime returns MonitorRuleChangeInput.BaselineTime, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetChangeType

func (v *MonitorRuleChangeInput) GetChangeType() *ChangeType

GetChangeType returns MonitorRuleChangeInput.ChangeType, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetCompareFunction

func (v *MonitorRuleChangeInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleChangeInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetCompareValues

func (v *MonitorRuleChangeInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleChangeInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleChangeInput) GetLookbackTime

func (v *MonitorRuleChangeInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleChangeInput.LookbackTime, and is useful for accessing the field via an interface.

type MonitorRuleCountInput

type MonitorRuleCountInput struct {
	CompareFunction *CompareFunction      `json:"compareFunction"`
	CompareValues   []types.NumberScalar  `json:"compareValues"`
	LookbackTime    *types.DurationScalar `json:"lookbackTime"`
}

func (*MonitorRuleCountInput) GetCompareFunction

func (v *MonitorRuleCountInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleCountInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleCountInput) GetCompareValues

func (v *MonitorRuleCountInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleCountInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleCountInput) GetLookbackTime

func (v *MonitorRuleCountInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleCountInput.LookbackTime, and is useful for accessing the field via an interface.

type MonitorRuleFacetInput

type MonitorRuleFacetInput struct {
	FacetFunction *FacetFunction        `json:"facetFunction"`
	FacetValues   []string              `json:"facetValues"`
	TimeFunction  *TimeFunction         `json:"timeFunction"`
	TimeValue     *types.NumberScalar   `json:"timeValue"`
	LookbackTime  *types.DurationScalar `json:"lookbackTime"`
}

func (*MonitorRuleFacetInput) GetFacetFunction

func (v *MonitorRuleFacetInput) GetFacetFunction() *FacetFunction

GetFacetFunction returns MonitorRuleFacetInput.FacetFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetFacetValues

func (v *MonitorRuleFacetInput) GetFacetValues() []string

GetFacetValues returns MonitorRuleFacetInput.FacetValues, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetLookbackTime

func (v *MonitorRuleFacetInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleFacetInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetTimeFunction

func (v *MonitorRuleFacetInput) GetTimeFunction() *TimeFunction

GetTimeFunction returns MonitorRuleFacetInput.TimeFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleFacetInput) GetTimeValue

func (v *MonitorRuleFacetInput) GetTimeValue() *types.NumberScalar

GetTimeValue returns MonitorRuleFacetInput.TimeValue, and is useful for accessing the field via an interface.

type MonitorRuleGroupByGroupsMonitorGroupInfo

type MonitorRuleGroupByGroupsMonitorGroupInfo struct {
	GroupName string `json:"groupName"`
	// GroupBy:
	// ┌───────────┬─────────┬──────────────────────────┬─────────────┬────────────┐
	// │GroupBy    │Resource │Link                      │Value column │Column Path │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │groupName  │Empty    │Non-empty (FK label)      │Empty        │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columns    │Empty    │Non-empty (FK Src fields) │Non-empty    │Empty       │
	// ├───────────┼─────────┼──────────────────────────┼─────────────┼────────────┤
	// │columnPath │Nil      │Nil                       │Nil          │Non-nil     │
	// └───────────┴─────────┴──────────────────────────┴─────────────┴────────────┘
	Columns []string `json:"columns"`
}

MonitorRuleGroupByGroupsMonitorGroupInfo includes the requested fields of the GraphQL type MonitorGroupInfo.

func (*MonitorRuleGroupByGroupsMonitorGroupInfo) GetColumns

GetColumns returns MonitorRuleGroupByGroupsMonitorGroupInfo.Columns, and is useful for accessing the field via an interface.

func (*MonitorRuleGroupByGroupsMonitorGroupInfo) GetGroupName

GetGroupName returns MonitorRuleGroupByGroupsMonitorGroupInfo.GroupName, and is useful for accessing the field via an interface.

type MonitorRuleInput

type MonitorRuleInput struct {
	Layout       *types.JsonObject `json:"layout"`
	SourceColumn *string           `json:"sourceColumn"`
	// Takes precedence over GroupByColumns -- will replace contents of GroupByColumns
	// Specify value columns with an MonitorGroupInfo with a nil datasetId
	GroupByGroups     []MonitorGroupInfoInput `json:"groupByGroups"`
	GroupBy           *MonitorGrouping        `json:"groupBy"`
	GroupByColumns    []string                `json:"groupByColumns"`
	GroupByDatasetIds []string                `json:"groupByDatasetIds"`
	// exactly one of these should be used
	ChangeRule    *MonitorRuleChangeInput    `json:"changeRule"`
	CountRule     *MonitorRuleCountInput     `json:"countRule"`
	FacetRule     *MonitorRuleFacetInput     `json:"facetRule"`
	ThresholdRule *MonitorRuleThresholdInput `json:"thresholdRule"`
	LogRule       *MonitorRuleLogInput       `json:"logRule"`
	PromoteRule   *MonitorRulePromoteInput   `json:"promoteRule"`
}

func (*MonitorRuleInput) GetChangeRule

func (v *MonitorRuleInput) GetChangeRule() *MonitorRuleChangeInput

GetChangeRule returns MonitorRuleInput.ChangeRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetCountRule

func (v *MonitorRuleInput) GetCountRule() *MonitorRuleCountInput

GetCountRule returns MonitorRuleInput.CountRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetFacetRule

func (v *MonitorRuleInput) GetFacetRule() *MonitorRuleFacetInput

GetFacetRule returns MonitorRuleInput.FacetRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupBy

func (v *MonitorRuleInput) GetGroupBy() *MonitorGrouping

GetGroupBy returns MonitorRuleInput.GroupBy, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupByColumns

func (v *MonitorRuleInput) GetGroupByColumns() []string

GetGroupByColumns returns MonitorRuleInput.GroupByColumns, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupByDatasetIds

func (v *MonitorRuleInput) GetGroupByDatasetIds() []string

GetGroupByDatasetIds returns MonitorRuleInput.GroupByDatasetIds, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetGroupByGroups

func (v *MonitorRuleInput) GetGroupByGroups() []MonitorGroupInfoInput

GetGroupByGroups returns MonitorRuleInput.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetLayout

func (v *MonitorRuleInput) GetLayout() *types.JsonObject

GetLayout returns MonitorRuleInput.Layout, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetLogRule

func (v *MonitorRuleInput) GetLogRule() *MonitorRuleLogInput

GetLogRule returns MonitorRuleInput.LogRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetPromoteRule

func (v *MonitorRuleInput) GetPromoteRule() *MonitorRulePromoteInput

GetPromoteRule returns MonitorRuleInput.PromoteRule, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetSourceColumn

func (v *MonitorRuleInput) GetSourceColumn() *string

GetSourceColumn returns MonitorRuleInput.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleInput) GetThresholdRule

func (v *MonitorRuleInput) GetThresholdRule() *MonitorRuleThresholdInput

GetThresholdRule returns MonitorRuleInput.ThresholdRule, and is useful for accessing the field via an interface.

type MonitorRuleLogInput

type MonitorRuleLogInput struct {
	CompareFunction      *CompareFunction      `json:"compareFunction"`
	CompareValues        []types.NumberScalar  `json:"compareValues"`
	LookbackTime         *types.DurationScalar `json:"lookbackTime"`
	ThresholdAggFunction *ThresholdAggFunction `json:"thresholdAggFunction"`
	ExpressionSummary    *string               `json:"expressionSummary"`
	LogStageId           *string               `json:"logStageId"`
}

func (*MonitorRuleLogInput) GetCompareFunction

func (v *MonitorRuleLogInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleLogInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetCompareValues

func (v *MonitorRuleLogInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleLogInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetExpressionSummary

func (v *MonitorRuleLogInput) GetExpressionSummary() *string

GetExpressionSummary returns MonitorRuleLogInput.ExpressionSummary, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetLogStageId

func (v *MonitorRuleLogInput) GetLogStageId() *string

GetLogStageId returns MonitorRuleLogInput.LogStageId, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetLookbackTime

func (v *MonitorRuleLogInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleLogInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleLogInput) GetThresholdAggFunction

func (v *MonitorRuleLogInput) GetThresholdAggFunction() *ThresholdAggFunction

GetThresholdAggFunction returns MonitorRuleLogInput.ThresholdAggFunction, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleChange

type MonitorRuleMonitorRuleChange struct {
	Typename        *string                                    `json:"__typename"`
	SourceColumn    string                                     `json:"sourceColumn"`
	GroupByGroups   []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	ChangeType      ChangeType                                 `json:"changeType"`
	CompareFunction CompareFunction                            `json:"compareFunction"`
	// For Relative ChangeType, the value is a multiple -- 0.3 means 30% change
	CompareValues     []types.NumberScalar `json:"compareValues"`
	AggregateFunction AggregateFunction    `json:"aggregateFunction"`
	// The comparison time is established as
	// from: now - lookbackTime - baselineTime
	// to:   now - lookbackTime
	// The triggering time is established as
	// from: now - lookbackTime
	// to:   now
	// (These may end up being approximate, depending on transform scheduling and such)
	LookbackTime types.DurationScalar `json:"lookbackTime"`
	BaselineTime types.DurationScalar `json:"baselineTime"`
}

MonitorRuleMonitorRuleChange includes the requested fields of the GraphQL type MonitorRuleChange.

func (*MonitorRuleMonitorRuleChange) GetAggregateFunction

func (v *MonitorRuleMonitorRuleChange) GetAggregateFunction() AggregateFunction

GetAggregateFunction returns MonitorRuleMonitorRuleChange.AggregateFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetBaselineTime

func (v *MonitorRuleMonitorRuleChange) GetBaselineTime() types.DurationScalar

GetBaselineTime returns MonitorRuleMonitorRuleChange.BaselineTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetChangeType

func (v *MonitorRuleMonitorRuleChange) GetChangeType() ChangeType

GetChangeType returns MonitorRuleMonitorRuleChange.ChangeType, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetCompareFunction

func (v *MonitorRuleMonitorRuleChange) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleChange.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetCompareValues

func (v *MonitorRuleMonitorRuleChange) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleChange.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleChange.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetLookbackTime

func (v *MonitorRuleMonitorRuleChange) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleChange.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetSourceColumn

func (v *MonitorRuleMonitorRuleChange) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleChange.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleChange) GetTypename

func (v *MonitorRuleMonitorRuleChange) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleChange.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleCount

type MonitorRuleMonitorRuleCount struct {
	Typename        *string                                    `json:"__typename"`
	SourceColumn    string                                     `json:"sourceColumn"`
	GroupByGroups   []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	CompareFunction CompareFunction                            `json:"compareFunction"`
	CompareValues   []types.NumberScalar                       `json:"compareValues"`
	LookbackTime    types.DurationScalar                       `json:"lookbackTime"`
}

MonitorRuleMonitorRuleCount includes the requested fields of the GraphQL type MonitorRuleCount.

func (*MonitorRuleMonitorRuleCount) GetCompareFunction

func (v *MonitorRuleMonitorRuleCount) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleCount.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetCompareValues

func (v *MonitorRuleMonitorRuleCount) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleCount.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleCount.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetLookbackTime

func (v *MonitorRuleMonitorRuleCount) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleCount.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetSourceColumn

func (v *MonitorRuleMonitorRuleCount) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleCount.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleCount) GetTypename

func (v *MonitorRuleMonitorRuleCount) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleCount.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleFacet

type MonitorRuleMonitorRuleFacet struct {
	Typename      *string                                    `json:"__typename"`
	SourceColumn  string                                     `json:"sourceColumn"`
	GroupByGroups []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	FacetFunction FacetFunction                              `json:"facetFunction"`
	FacetValues   []string                                   `json:"facetValues"`
	TimeFunction  TimeFunction                               `json:"timeFunction"`
	// for example, "50" for "more than 50% of the time"
	TimeValue    *types.NumberScalar  `json:"timeValue"`
	LookbackTime types.DurationScalar `json:"lookbackTime"`
}

MonitorRuleMonitorRuleFacet includes the requested fields of the GraphQL type MonitorRuleFacet.

func (*MonitorRuleMonitorRuleFacet) GetFacetFunction

func (v *MonitorRuleMonitorRuleFacet) GetFacetFunction() FacetFunction

GetFacetFunction returns MonitorRuleMonitorRuleFacet.FacetFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetFacetValues

func (v *MonitorRuleMonitorRuleFacet) GetFacetValues() []string

GetFacetValues returns MonitorRuleMonitorRuleFacet.FacetValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleFacet.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetLookbackTime

func (v *MonitorRuleMonitorRuleFacet) GetLookbackTime() types.DurationScalar

GetLookbackTime returns MonitorRuleMonitorRuleFacet.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetSourceColumn

func (v *MonitorRuleMonitorRuleFacet) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleFacet.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetTimeFunction

func (v *MonitorRuleMonitorRuleFacet) GetTimeFunction() TimeFunction

GetTimeFunction returns MonitorRuleMonitorRuleFacet.TimeFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetTimeValue

func (v *MonitorRuleMonitorRuleFacet) GetTimeValue() *types.NumberScalar

GetTimeValue returns MonitorRuleMonitorRuleFacet.TimeValue, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleFacet) GetTypename

func (v *MonitorRuleMonitorRuleFacet) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleFacet.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleLog

type MonitorRuleMonitorRuleLog struct {
	Typename      *string                                    `json:"__typename"`
	SourceColumn  string                                     `json:"sourceColumn"`
	GroupByGroups []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
}

MonitorRuleMonitorRuleLog includes the requested fields of the GraphQL type MonitorRuleLog.

func (*MonitorRuleMonitorRuleLog) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleLog.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetSourceColumn

func (v *MonitorRuleMonitorRuleLog) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleLog.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleLog) GetTypename

func (v *MonitorRuleMonitorRuleLog) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleLog.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRulePromote

type MonitorRuleMonitorRulePromote struct {
	Typename         *string                                    `json:"__typename"`
	SourceColumn     string                                     `json:"sourceColumn"`
	GroupByGroups    []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	KindField        *string                                    `json:"kindField"`
	DescriptionField *string                                    `json:"descriptionField"`
	PrimaryKey       []string                                   `json:"primaryKey"`
}

MonitorRuleMonitorRulePromote includes the requested fields of the GraphQL type MonitorRulePromote.

func (*MonitorRuleMonitorRulePromote) GetDescriptionField

func (v *MonitorRuleMonitorRulePromote) GetDescriptionField() *string

GetDescriptionField returns MonitorRuleMonitorRulePromote.DescriptionField, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRulePromote.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetKindField

func (v *MonitorRuleMonitorRulePromote) GetKindField() *string

GetKindField returns MonitorRuleMonitorRulePromote.KindField, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetPrimaryKey

func (v *MonitorRuleMonitorRulePromote) GetPrimaryKey() []string

GetPrimaryKey returns MonitorRuleMonitorRulePromote.PrimaryKey, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetSourceColumn

func (v *MonitorRuleMonitorRulePromote) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRulePromote.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRulePromote) GetTypename

func (v *MonitorRuleMonitorRulePromote) GetTypename() *string

GetTypename returns MonitorRuleMonitorRulePromote.Typename, and is useful for accessing the field via an interface.

type MonitorRuleMonitorRuleThreshold

type MonitorRuleMonitorRuleThreshold struct {
	Typename             *string                                    `json:"__typename"`
	SourceColumn         string                                     `json:"sourceColumn"`
	GroupByGroups        []MonitorRuleGroupByGroupsMonitorGroupInfo `json:"groupByGroups"`
	CompareFunction      CompareFunction                            `json:"compareFunction"`
	CompareValues        []types.NumberScalar                       `json:"compareValues"`
	LookbackTime         types.DurationScalar                       `json:"lookbackTime"`
	ThresholdAggFunction ThresholdAggFunction                       `json:"thresholdAggFunction"`
}

MonitorRuleMonitorRuleThreshold includes the requested fields of the GraphQL type MonitorRuleThreshold.

func (*MonitorRuleMonitorRuleThreshold) GetCompareFunction

func (v *MonitorRuleMonitorRuleThreshold) GetCompareFunction() CompareFunction

GetCompareFunction returns MonitorRuleMonitorRuleThreshold.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetCompareValues

func (v *MonitorRuleMonitorRuleThreshold) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleMonitorRuleThreshold.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetGroupByGroups

GetGroupByGroups returns MonitorRuleMonitorRuleThreshold.GroupByGroups, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetLookbackTime

GetLookbackTime returns MonitorRuleMonitorRuleThreshold.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetSourceColumn

func (v *MonitorRuleMonitorRuleThreshold) GetSourceColumn() string

GetSourceColumn returns MonitorRuleMonitorRuleThreshold.SourceColumn, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetThresholdAggFunction

func (v *MonitorRuleMonitorRuleThreshold) GetThresholdAggFunction() ThresholdAggFunction

GetThresholdAggFunction returns MonitorRuleMonitorRuleThreshold.ThresholdAggFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleMonitorRuleThreshold) GetTypename

func (v *MonitorRuleMonitorRuleThreshold) GetTypename() *string

GetTypename returns MonitorRuleMonitorRuleThreshold.Typename, and is useful for accessing the field via an interface.

type MonitorRulePromoteInput

type MonitorRulePromoteInput struct {
	PrimaryKey       []string `json:"primaryKey"`
	DescriptionField *string  `json:"descriptionField"`
	KindField        *string  `json:"kindField"`
}

func (*MonitorRulePromoteInput) GetDescriptionField

func (v *MonitorRulePromoteInput) GetDescriptionField() *string

GetDescriptionField returns MonitorRulePromoteInput.DescriptionField, and is useful for accessing the field via an interface.

func (*MonitorRulePromoteInput) GetKindField

func (v *MonitorRulePromoteInput) GetKindField() *string

GetKindField returns MonitorRulePromoteInput.KindField, and is useful for accessing the field via an interface.

func (*MonitorRulePromoteInput) GetPrimaryKey

func (v *MonitorRulePromoteInput) GetPrimaryKey() []string

GetPrimaryKey returns MonitorRulePromoteInput.PrimaryKey, and is useful for accessing the field via an interface.

type MonitorRuleThresholdInput

type MonitorRuleThresholdInput struct {
	CompareFunction      *CompareFunction      `json:"compareFunction"`
	CompareValues        []types.NumberScalar  `json:"compareValues"`
	LookbackTime         *types.DurationScalar `json:"lookbackTime"`
	ThresholdAggFunction *ThresholdAggFunction `json:"thresholdAggFunction"`
	ExpressionSummary    *string               `json:"expressionSummary"`
}

func (*MonitorRuleThresholdInput) GetCompareFunction

func (v *MonitorRuleThresholdInput) GetCompareFunction() *CompareFunction

GetCompareFunction returns MonitorRuleThresholdInput.CompareFunction, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetCompareValues

func (v *MonitorRuleThresholdInput) GetCompareValues() []types.NumberScalar

GetCompareValues returns MonitorRuleThresholdInput.CompareValues, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetExpressionSummary

func (v *MonitorRuleThresholdInput) GetExpressionSummary() *string

GetExpressionSummary returns MonitorRuleThresholdInput.ExpressionSummary, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetLookbackTime

func (v *MonitorRuleThresholdInput) GetLookbackTime() *types.DurationScalar

GetLookbackTime returns MonitorRuleThresholdInput.LookbackTime, and is useful for accessing the field via an interface.

func (*MonitorRuleThresholdInput) GetThresholdAggFunction

func (v *MonitorRuleThresholdInput) GetThresholdAggFunction() *ThresholdAggFunction

GetThresholdAggFunction returns MonitorRuleThresholdInput.ThresholdAggFunction, and is useful for accessing the field via an interface.

type MultiStageQueryInput

type MultiStageQueryInput struct {
	OutputStage     string                  `json:"outputStage"`
	Stages          []StageQueryInput       `json:"stages"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	Layout          *types.JsonObject       `json:"layout"`
}

func (*MultiStageQueryInput) GetLayout

func (v *MultiStageQueryInput) GetLayout() *types.JsonObject

GetLayout returns MultiStageQueryInput.Layout, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetOutputStage

func (v *MultiStageQueryInput) GetOutputStage() string

GetOutputStage returns MultiStageQueryInput.OutputStage, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetParameterValues

func (v *MultiStageQueryInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns MultiStageQueryInput.ParameterValues, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetParameters

func (v *MultiStageQueryInput) GetParameters() []ParameterSpecInput

GetParameters returns MultiStageQueryInput.Parameters, and is useful for accessing the field via an interface.

func (*MultiStageQueryInput) GetStages

func (v *MultiStageQueryInput) GetStages() []StageQueryInput

GetStages returns MultiStageQueryInput.Stages, and is useful for accessing the field via an interface.

type NotificationImportance

type NotificationImportance string
const (
	NotificationImportanceInformational NotificationImportance = "Informational"
	NotificationImportanceImportant     NotificationImportance = "Important"
	NotificationImportanceMissing       NotificationImportance = "Missing"
)

type NotificationMerge

type NotificationMerge string
const (
	NotificationMergeMerged   NotificationMerge = "Merged"
	NotificationMergeSeparate NotificationMerge = "Separate"
)

type NotificationSelection

type NotificationSelection string
const (
	NotificationSelectionAny        NotificationSelection = "Any"
	NotificationSelectionAll        NotificationSelection = "All"
	NotificationSelectionPercentage NotificationSelection = "Percentage"
	NotificationSelectionCount      NotificationSelection = "Count"
)

type NotificationSpecificationInput

type NotificationSpecificationInput struct {
	Importance     *NotificationImportance `json:"importance"`
	Merge          *NotificationMerge      `json:"merge"`
	Selection      *NotificationSelection  `json:"selection"`
	SelectionValue *types.NumberScalar     `json:"selectionValue"`
	// Check if we should send reminder notifications at the specified reminderFrequency.
	NotifyOnReminder *bool `json:"notifyOnReminder"`
	// Send a notification when this alert becomes inactive.
	NotifyOnClose     *bool                 `json:"notifyOnClose"`
	ReminderFrequency *types.DurationScalar `json:"reminderFrequency"`
}

func (*NotificationSpecificationInput) GetImportance

GetImportance returns NotificationSpecificationInput.Importance, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetMerge

GetMerge returns NotificationSpecificationInput.Merge, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetNotifyOnClose

func (v *NotificationSpecificationInput) GetNotifyOnClose() *bool

GetNotifyOnClose returns NotificationSpecificationInput.NotifyOnClose, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetNotifyOnReminder

func (v *NotificationSpecificationInput) GetNotifyOnReminder() *bool

GetNotifyOnReminder returns NotificationSpecificationInput.NotifyOnReminder, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetReminderFrequency

func (v *NotificationSpecificationInput) GetReminderFrequency() *types.DurationScalar

GetReminderFrequency returns NotificationSpecificationInput.ReminderFrequency, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetSelection

GetSelection returns NotificationSpecificationInput.Selection, and is useful for accessing the field via an interface.

func (*NotificationSpecificationInput) GetSelectionValue

func (v *NotificationSpecificationInput) GetSelectionValue() *types.NumberScalar

GetSelectionValue returns NotificationSpecificationInput.SelectionValue, and is useful for accessing the field via an interface.

type NullOrdering

type NullOrdering string
const (
	// Default: nulls are "small" for valid-from, "big" for valid-to, and "last"
	// for other fields.
	NullOrderingDefault NullOrdering = "Default"
	NullOrderingFirst   NullOrdering = "First"
	NullOrderingLast    NullOrdering = "Last"
)

type ObjectKind

type ObjectKind string

At some point in the future, we may have Segments as business objects, and be able to bookmark them. Technically, we can bookmark bookmark groups, but there is no current UI using that feature.

const (
	ObjectKindDataset       ObjectKind = "Dataset"
	ObjectKindWorksheet     ObjectKind = "Worksheet"
	ObjectKindBookmarkgroup ObjectKind = "BookmarkGroup"
	ObjectKindMonitor       ObjectKind = "Monitor"
	ObjectKindResource      ObjectKind = "Resource"
	ObjectKindDashboard     ObjectKind = "Dashboard"
)

type PaginationInput

type PaginationInput struct {
	// Number of rows to return in paginatedResults of initial TaskResult. May
	// be set to 0, in which case paginatedResults will only contain a cursor
	// ID. Any value < 0 (say, -1) is interpreted as "all rows" (beware of
	// large results).
	InitialRows types.Int64Scalar `json:"initialRows"`
	// Initial rollup filter (default to "all" mode if nil).
	InitialRollupFilter *RollupFilterInput `json:"initialRollupFilter"`
	// If set to true, cache the cursor so that Query.cursor() can be used to
	// fetch additional rows beyond initialRows. Omitting or setting the
	// parameter to false saves back-end resources and is to be preferred if
	// the caller knows it will not call Query.cursor().
	CacheCursor *bool `json:"cacheCursor"`
	// Choose how the cursor is cached.
	CursorCacheMode *CursorCacheMode `json:"cursorCacheMode"`
}

func (*PaginationInput) GetCacheCursor

func (v *PaginationInput) GetCacheCursor() *bool

GetCacheCursor returns PaginationInput.CacheCursor, and is useful for accessing the field via an interface.

func (*PaginationInput) GetCursorCacheMode

func (v *PaginationInput) GetCursorCacheMode() *CursorCacheMode

GetCursorCacheMode returns PaginationInput.CursorCacheMode, and is useful for accessing the field via an interface.

func (*PaginationInput) GetInitialRollupFilter

func (v *PaginationInput) GetInitialRollupFilter() *RollupFilterInput

GetInitialRollupFilter returns PaginationInput.InitialRollupFilter, and is useful for accessing the field via an interface.

func (*PaginationInput) GetInitialRows

func (v *PaginationInput) GetInitialRows() types.Int64Scalar

GetInitialRows returns PaginationInput.InitialRows, and is useful for accessing the field via an interface.

type ParameterBindingInput

type ParameterBindingInput struct {
	Id    string      `json:"id"`
	Value types.Value `json:"value"`
}

Parameter values for queries (and defaults) are specified with ParameterBindingInput.

For APIs that take a raw StageInput array, the parameterValues argument is in parallel. For APIs that take MultiStageQueryInput, parameterValues are part of that query.

func (*ParameterBindingInput) GetId

func (v *ParameterBindingInput) GetId() string

GetId returns ParameterBindingInput.Id, and is useful for accessing the field via an interface.

func (*ParameterBindingInput) GetValue

func (v *ParameterBindingInput) GetValue() types.Value

GetValue returns ParameterBindingInput.Value, and is useful for accessing the field via an interface.

type ParameterSpecInput

type ParameterSpecInput struct {
	// opal usable id, ideally a valid C and JavaScript identifier
	Id string `json:"id"`
	// user-readable name
	Name string `json:"name"`
	// optional default value, must match valueKind if present
	DefaultValue *types.Value       `json:"defaultValue"`
	ValueKind    ValueTypeSpecInput `json:"valueKind"`
}

Whever you can "save" a worksheet-like entity, you can also save the parameters that go with it. This is so that the worksheet component in the FE can have a unified API to work against. You can also save the parameterValues to go with it as well.

func (*ParameterSpecInput) GetDefaultValue

func (v *ParameterSpecInput) GetDefaultValue() *types.Value

GetDefaultValue returns ParameterSpecInput.DefaultValue, and is useful for accessing the field via an interface.

func (*ParameterSpecInput) GetId

func (v *ParameterSpecInput) GetId() string

GetId returns ParameterSpecInput.Id, and is useful for accessing the field via an interface.

func (*ParameterSpecInput) GetName

func (v *ParameterSpecInput) GetName() string

GetName returns ParameterSpecInput.Name, and is useful for accessing the field via an interface.

func (*ParameterSpecInput) GetValueKind

func (v *ParameterSpecInput) GetValueKind() ValueTypeSpecInput

GetValueKind returns ParameterSpecInput.ValueKind, and is useful for accessing the field via an interface.

type Poller

type Poller struct {
	Id           string       `json:"id"`
	WorkspaceId  string       `json:"workspaceId"`
	CustomerId   string       `json:"customerId"`
	DatastreamId *string      `json:"datastreamId"`
	Disabled     bool         `json:"disabled"`
	Kind         PollerKind   `json:"kind"`
	Config       PollerConfig `json:"-"`
}

Poller includes the GraphQL fields of Poller requested by the fragment Poller.

func (*Poller) GetConfig

func (v *Poller) GetConfig() PollerConfig

GetConfig returns Poller.Config, and is useful for accessing the field via an interface.

func (*Poller) GetCustomerId

func (v *Poller) GetCustomerId() string

GetCustomerId returns Poller.CustomerId, and is useful for accessing the field via an interface.

func (*Poller) GetDatastreamId

func (v *Poller) GetDatastreamId() *string

GetDatastreamId returns Poller.DatastreamId, and is useful for accessing the field via an interface.

func (*Poller) GetDisabled

func (v *Poller) GetDisabled() bool

GetDisabled returns Poller.Disabled, and is useful for accessing the field via an interface.

func (*Poller) GetId

func (v *Poller) GetId() string

GetId returns Poller.Id, and is useful for accessing the field via an interface.

func (*Poller) GetKind

func (v *Poller) GetKind() PollerKind

GetKind returns Poller.Kind, and is useful for accessing the field via an interface.

func (*Poller) GetWorkspaceId

func (v *Poller) GetWorkspaceId() string

GetWorkspaceId returns Poller.WorkspaceId, and is useful for accessing the field via an interface.

func (*Poller) MarshalJSON

func (v *Poller) MarshalJSON() ([]byte, error)

func (*Poller) Oid

func (p *Poller) Oid() *oid.OID

func (*Poller) UnmarshalJSON

func (v *Poller) UnmarshalJSON(b []byte) error

type PollerChunkInput

type PollerChunkInput struct {
	Enabled bool               `json:"enabled"`
	Size    *types.Int64Scalar `json:"size"`
}

func (*PollerChunkInput) GetEnabled

func (v *PollerChunkInput) GetEnabled() bool

GetEnabled returns PollerChunkInput.Enabled, and is useful for accessing the field via an interface.

func (*PollerChunkInput) GetSize

func (v *PollerChunkInput) GetSize() *types.Int64Scalar

GetSize returns PollerChunkInput.Size, and is useful for accessing the field via an interface.

type PollerConfig

type PollerConfig interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetName returns the interface-field "name" from its implementation.
	GetName() *string
	// GetRetries returns the interface-field "retries" from its implementation.
	GetRetries() *types.Int64Scalar
	// GetInterval returns the interface-field "interval" from its implementation.
	GetInterval() *types.DurationScalar
	// GetTags returns the interface-field "tags" from its implementation.
	GetTags() *types.JsonObject
	// GetChunk returns the interface-field "chunk" from its implementation.
	GetChunk() *PollerConfigChunkPollerChunkConfig
	// contains filtered or unexported methods
}

PollerConfig includes the requested fields of the GraphQL interface PollerConfig.

PollerConfig is implemented by the following types: PollerConfigPollerPubSubConfig PollerConfigPollerHTTPConfig PollerConfigPollerGCPMonitoringConfig PollerConfigPollerMongoDBAtlasConfig PollerConfigPollerConfluentCloudConfig

type PollerConfigChunkPollerChunkConfig

type PollerConfigChunkPollerChunkConfig struct {
	Enabled bool               `json:"enabled"`
	Size    *types.Int64Scalar `json:"size"`
}

PollerConfigChunkPollerChunkConfig includes the requested fields of the GraphQL type PollerChunkConfig.

func (*PollerConfigChunkPollerChunkConfig) GetEnabled

func (v *PollerConfigChunkPollerChunkConfig) GetEnabled() bool

GetEnabled returns PollerConfigChunkPollerChunkConfig.Enabled, and is useful for accessing the field via an interface.

func (*PollerConfigChunkPollerChunkConfig) GetSize

GetSize returns PollerConfigChunkPollerChunkConfig.Size, and is useful for accessing the field via an interface.

type PollerConfigPollerConfluentCloudConfig

type PollerConfigPollerConfluentCloudConfig struct {
	Typename *string                             `json:"__typename"`
	Name     *string                             `json:"name"`
	Retries  *types.Int64Scalar                  `json:"retries"`
	Interval *types.DurationScalar               `json:"interval"`
	Tags     *types.JsonObject                   `json:"tags"`
	Chunk    *PollerConfigChunkPollerChunkConfig `json:"chunk"`
}

PollerConfigPollerConfluentCloudConfig includes the requested fields of the GraphQL type PollerConfluentCloudConfig.

func (*PollerConfigPollerConfluentCloudConfig) GetChunk

GetChunk returns PollerConfigPollerConfluentCloudConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetInterval

GetInterval returns PollerConfigPollerConfluentCloudConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetName

GetName returns PollerConfigPollerConfluentCloudConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetRetries

GetRetries returns PollerConfigPollerConfluentCloudConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetTags

GetTags returns PollerConfigPollerConfluentCloudConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerConfluentCloudConfig) GetTypename

GetTypename returns PollerConfigPollerConfluentCloudConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerGCPMonitoringConfig

type PollerConfigPollerGCPMonitoringConfig struct {
	Typename                  *string                             `json:"__typename"`
	Name                      *string                             `json:"name"`
	Retries                   *types.Int64Scalar                  `json:"retries"`
	Interval                  *types.DurationScalar               `json:"interval"`
	Tags                      *types.JsonObject                   `json:"tags"`
	Chunk                     *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	ProjectId                 string                              `json:"projectId"`
	JsonKey                   types.JsonObject                    `json:"jsonKey"`
	IncludeMetricTypePrefixes []string                            `json:"includeMetricTypePrefixes"`
	ExcludeMetricTypePrefixes []string                            `json:"excludeMetricTypePrefixes"`
	RateLimit                 *types.Int64Scalar                  `json:"rateLimit"`
	TotalLimit                *types.Int64Scalar                  `json:"totalLimit"`
}

PollerConfigPollerGCPMonitoringConfig includes the requested fields of the GraphQL type PollerGCPMonitoringConfig.

func (*PollerConfigPollerGCPMonitoringConfig) GetChunk

GetChunk returns PollerConfigPollerGCPMonitoringConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetExcludeMetricTypePrefixes

func (v *PollerConfigPollerGCPMonitoringConfig) GetExcludeMetricTypePrefixes() []string

GetExcludeMetricTypePrefixes returns PollerConfigPollerGCPMonitoringConfig.ExcludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetIncludeMetricTypePrefixes

func (v *PollerConfigPollerGCPMonitoringConfig) GetIncludeMetricTypePrefixes() []string

GetIncludeMetricTypePrefixes returns PollerConfigPollerGCPMonitoringConfig.IncludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetInterval

GetInterval returns PollerConfigPollerGCPMonitoringConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetJsonKey

GetJsonKey returns PollerConfigPollerGCPMonitoringConfig.JsonKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetName

GetName returns PollerConfigPollerGCPMonitoringConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetProjectId

GetProjectId returns PollerConfigPollerGCPMonitoringConfig.ProjectId, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetRateLimit

GetRateLimit returns PollerConfigPollerGCPMonitoringConfig.RateLimit, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetRetries

GetRetries returns PollerConfigPollerGCPMonitoringConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetTags

GetTags returns PollerConfigPollerGCPMonitoringConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetTotalLimit

GetTotalLimit returns PollerConfigPollerGCPMonitoringConfig.TotalLimit, and is useful for accessing the field via an interface.

func (*PollerConfigPollerGCPMonitoringConfig) GetTypename

GetTypename returns PollerConfigPollerGCPMonitoringConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfig

type PollerConfigPollerHTTPConfig struct {
	Typename    *string                             `json:"__typename"`
	Name        *string                             `json:"name"`
	Retries     *types.Int64Scalar                  `json:"retries"`
	Interval    *types.DurationScalar               `json:"interval"`
	Tags        *types.JsonObject                   `json:"tags"`
	Chunk       *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	Method      *string                             `json:"method"`
	Body        *string                             `json:"body"`
	Endpoint    *string                             `json:"endpoint"`
	ContentType *string                             `json:"contentType"`
	Headers     *types.JsonObject                   `json:"headers"`
	// Default HTTP request configuration that will be used for all requests. Keys declared in requests will override these values.
	Template *HttpRequestConfig                                      `json:"template"`
	Requests []HttpRequestConfig                                     `json:"requests"`
	Rules    []PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig `json:"rules"`
}

PollerConfigPollerHTTPConfig includes the requested fields of the GraphQL type PollerHTTPConfig.

func (*PollerConfigPollerHTTPConfig) GetBody

func (v *PollerConfigPollerHTTPConfig) GetBody() *string

GetBody returns PollerConfigPollerHTTPConfig.Body, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetChunk

GetChunk returns PollerConfigPollerHTTPConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetContentType

func (v *PollerConfigPollerHTTPConfig) GetContentType() *string

GetContentType returns PollerConfigPollerHTTPConfig.ContentType, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetEndpoint

func (v *PollerConfigPollerHTTPConfig) GetEndpoint() *string

GetEndpoint returns PollerConfigPollerHTTPConfig.Endpoint, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetHeaders

GetHeaders returns PollerConfigPollerHTTPConfig.Headers, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetInterval

GetInterval returns PollerConfigPollerHTTPConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetMethod

func (v *PollerConfigPollerHTTPConfig) GetMethod() *string

GetMethod returns PollerConfigPollerHTTPConfig.Method, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetName

func (v *PollerConfigPollerHTTPConfig) GetName() *string

GetName returns PollerConfigPollerHTTPConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetRequests

GetRequests returns PollerConfigPollerHTTPConfig.Requests, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetRetries

GetRetries returns PollerConfigPollerHTTPConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetRules

GetRules returns PollerConfigPollerHTTPConfig.Rules, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTags

GetTags returns PollerConfigPollerHTTPConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTemplate

GetTemplate returns PollerConfigPollerHTTPConfig.Template, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfig) GetTypename

func (v *PollerConfigPollerHTTPConfig) GetTypename() *string

GetTypename returns PollerConfigPollerHTTPConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig struct {
	Match   *HttpRequestConfig                                                                   `json:"match"`
	Follow  *string                                                                              `json:"follow"`
	Decoder *PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig `json:"decoder"`
}

PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig includes the requested fields of the GraphQL type PollerHTTPRuleConfig.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig) GetDecoder

GetDecoder returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig.Decoder, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig) GetFollow

GetFollow returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig.Follow, and is useful for accessing the field via an interface.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig) GetMatch

GetMatch returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfig.Match, and is useful for accessing the field via an interface.

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig

type PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig struct {
	Type string `json:"type"`
}

PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig includes the requested fields of the GraphQL type PollerHTTPDecoderConfig.

func (*PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig) GetType

GetType returns PollerConfigPollerHTTPConfigRulesPollerHTTPRuleConfigDecoderPollerHTTPDecoderConfig.Type, and is useful for accessing the field via an interface.

type PollerConfigPollerMongoDBAtlasConfig

type PollerConfigPollerMongoDBAtlasConfig struct {
	Typename      *string                             `json:"__typename"`
	Name          *string                             `json:"name"`
	Retries       *types.Int64Scalar                  `json:"retries"`
	Interval      *types.DurationScalar               `json:"interval"`
	Tags          *types.JsonObject                   `json:"tags"`
	Chunk         *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	PublicKey     string                              `json:"publicKey"`
	PrivateKey    string                              `json:"privateKey"`
	IncludeGroups []string                            `json:"includeGroups"`
	ExcludeGroups []string                            `json:"excludeGroups"`
}

PollerConfigPollerMongoDBAtlasConfig includes the requested fields of the GraphQL type PollerMongoDBAtlasConfig.

func (*PollerConfigPollerMongoDBAtlasConfig) GetChunk

GetChunk returns PollerConfigPollerMongoDBAtlasConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetExcludeGroups

func (v *PollerConfigPollerMongoDBAtlasConfig) GetExcludeGroups() []string

GetExcludeGroups returns PollerConfigPollerMongoDBAtlasConfig.ExcludeGroups, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetIncludeGroups

func (v *PollerConfigPollerMongoDBAtlasConfig) GetIncludeGroups() []string

GetIncludeGroups returns PollerConfigPollerMongoDBAtlasConfig.IncludeGroups, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetInterval

GetInterval returns PollerConfigPollerMongoDBAtlasConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetName

GetName returns PollerConfigPollerMongoDBAtlasConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetPrivateKey

func (v *PollerConfigPollerMongoDBAtlasConfig) GetPrivateKey() string

GetPrivateKey returns PollerConfigPollerMongoDBAtlasConfig.PrivateKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetPublicKey

func (v *PollerConfigPollerMongoDBAtlasConfig) GetPublicKey() string

GetPublicKey returns PollerConfigPollerMongoDBAtlasConfig.PublicKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetRetries

GetRetries returns PollerConfigPollerMongoDBAtlasConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetTags

GetTags returns PollerConfigPollerMongoDBAtlasConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerMongoDBAtlasConfig) GetTypename

func (v *PollerConfigPollerMongoDBAtlasConfig) GetTypename() *string

GetTypename returns PollerConfigPollerMongoDBAtlasConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfigPollerPubSubConfig

type PollerConfigPollerPubSubConfig struct {
	Typename       *string                             `json:"__typename"`
	Name           *string                             `json:"name"`
	Retries        *types.Int64Scalar                  `json:"retries"`
	Interval       *types.DurationScalar               `json:"interval"`
	Tags           *types.JsonObject                   `json:"tags"`
	Chunk          *PollerConfigChunkPollerChunkConfig `json:"chunk"`
	ProjectId      string                              `json:"projectId"`
	JsonKey        types.JsonObject                    `json:"jsonKey"`
	SubscriptionId string                              `json:"subscriptionId"`
}

PollerConfigPollerPubSubConfig includes the requested fields of the GraphQL type PollerPubSubConfig.

func (*PollerConfigPollerPubSubConfig) GetChunk

GetChunk returns PollerConfigPollerPubSubConfig.Chunk, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetInterval

GetInterval returns PollerConfigPollerPubSubConfig.Interval, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetJsonKey

GetJsonKey returns PollerConfigPollerPubSubConfig.JsonKey, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetName

func (v *PollerConfigPollerPubSubConfig) GetName() *string

GetName returns PollerConfigPollerPubSubConfig.Name, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetProjectId

func (v *PollerConfigPollerPubSubConfig) GetProjectId() string

GetProjectId returns PollerConfigPollerPubSubConfig.ProjectId, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetRetries

GetRetries returns PollerConfigPollerPubSubConfig.Retries, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetSubscriptionId

func (v *PollerConfigPollerPubSubConfig) GetSubscriptionId() string

GetSubscriptionId returns PollerConfigPollerPubSubConfig.SubscriptionId, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetTags

GetTags returns PollerConfigPollerPubSubConfig.Tags, and is useful for accessing the field via an interface.

func (*PollerConfigPollerPubSubConfig) GetTypename

func (v *PollerConfigPollerPubSubConfig) GetTypename() *string

GetTypename returns PollerConfigPollerPubSubConfig.Typename, and is useful for accessing the field via an interface.

type PollerConfluentCloudInput

type PollerConfluentCloudInput struct {
	Key    string `json:"key"`
	Secret string `json:"secret"`
}

func (*PollerConfluentCloudInput) GetKey

func (v *PollerConfluentCloudInput) GetKey() string

GetKey returns PollerConfluentCloudInput.Key, and is useful for accessing the field via an interface.

func (*PollerConfluentCloudInput) GetSecret

func (v *PollerConfluentCloudInput) GetSecret() string

GetSecret returns PollerConfluentCloudInput.Secret, and is useful for accessing the field via an interface.

type PollerGCPMonitoringInput

type PollerGCPMonitoringInput struct {
	ProjectId                 string             `json:"projectId"`
	JsonKey                   types.JsonObject   `json:"jsonKey"`
	IncludeMetricTypePrefixes []string           `json:"includeMetricTypePrefixes"`
	ExcludeMetricTypePrefixes []string           `json:"excludeMetricTypePrefixes"`
	RateLimit                 *types.Int64Scalar `json:"rateLimit"`
	TotalLimit                *types.Int64Scalar `json:"totalLimit"`
}

func (*PollerGCPMonitoringInput) GetExcludeMetricTypePrefixes

func (v *PollerGCPMonitoringInput) GetExcludeMetricTypePrefixes() []string

GetExcludeMetricTypePrefixes returns PollerGCPMonitoringInput.ExcludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetIncludeMetricTypePrefixes

func (v *PollerGCPMonitoringInput) GetIncludeMetricTypePrefixes() []string

GetIncludeMetricTypePrefixes returns PollerGCPMonitoringInput.IncludeMetricTypePrefixes, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetJsonKey

func (v *PollerGCPMonitoringInput) GetJsonKey() types.JsonObject

GetJsonKey returns PollerGCPMonitoringInput.JsonKey, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetProjectId

func (v *PollerGCPMonitoringInput) GetProjectId() string

GetProjectId returns PollerGCPMonitoringInput.ProjectId, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetRateLimit

func (v *PollerGCPMonitoringInput) GetRateLimit() *types.Int64Scalar

GetRateLimit returns PollerGCPMonitoringInput.RateLimit, and is useful for accessing the field via an interface.

func (*PollerGCPMonitoringInput) GetTotalLimit

func (v *PollerGCPMonitoringInput) GetTotalLimit() *types.Int64Scalar

GetTotalLimit returns PollerGCPMonitoringInput.TotalLimit, and is useful for accessing the field via an interface.

type PollerHTTPDecoderInput

type PollerHTTPDecoderInput struct {
	Type string `json:"type"`
}

func (*PollerHTTPDecoderInput) GetType

func (v *PollerHTTPDecoderInput) GetType() string

GetType returns PollerHTTPDecoderInput.Type, and is useful for accessing the field via an interface.

type PollerHTTPInput

type PollerHTTPInput struct {
	Method      *string                  `json:"method"`
	Body        *string                  `json:"body"`
	Endpoint    *string                  `json:"endpoint"`
	ContentType *string                  `json:"contentType"`
	Headers     *types.JsonObject        `json:"headers"`
	Template    *PollerHTTPRequestInput  `json:"template"`
	Requests    []PollerHTTPRequestInput `json:"requests"`
	Rules       []PollerHTTPRuleInput    `json:"rules"`
}

func (*PollerHTTPInput) GetBody

func (v *PollerHTTPInput) GetBody() *string

GetBody returns PollerHTTPInput.Body, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetContentType

func (v *PollerHTTPInput) GetContentType() *string

GetContentType returns PollerHTTPInput.ContentType, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetEndpoint

func (v *PollerHTTPInput) GetEndpoint() *string

GetEndpoint returns PollerHTTPInput.Endpoint, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetHeaders

func (v *PollerHTTPInput) GetHeaders() *types.JsonObject

GetHeaders returns PollerHTTPInput.Headers, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetMethod

func (v *PollerHTTPInput) GetMethod() *string

GetMethod returns PollerHTTPInput.Method, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetRequests

func (v *PollerHTTPInput) GetRequests() []PollerHTTPRequestInput

GetRequests returns PollerHTTPInput.Requests, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetRules

func (v *PollerHTTPInput) GetRules() []PollerHTTPRuleInput

GetRules returns PollerHTTPInput.Rules, and is useful for accessing the field via an interface.

func (*PollerHTTPInput) GetTemplate

func (v *PollerHTTPInput) GetTemplate() *PollerHTTPRequestInput

GetTemplate returns PollerHTTPInput.Template, and is useful for accessing the field via an interface.

type PollerHTTPRequestAuthScheme

type PollerHTTPRequestAuthScheme string
const (
	PollerHTTPRequestAuthSchemeBasic  PollerHTTPRequestAuthScheme = "Basic"
	PollerHTTPRequestAuthSchemeDigest PollerHTTPRequestAuthScheme = "Digest"
)

type PollerHTTPRequestInput

type PollerHTTPRequestInput struct {
	Url        *string                      `json:"url"`
	Method     *string                      `json:"method"`
	Username   *string                      `json:"username"`
	Password   *string                      `json:"password"`
	AuthScheme *PollerHTTPRequestAuthScheme `json:"authScheme"`
	Body       *string                      `json:"body"`
	Headers    *types.JsonObject            `json:"headers"`
	Params     *types.JsonObject            `json:"params"`
}

func (*PollerHTTPRequestInput) GetAuthScheme

GetAuthScheme returns PollerHTTPRequestInput.AuthScheme, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetBody

func (v *PollerHTTPRequestInput) GetBody() *string

GetBody returns PollerHTTPRequestInput.Body, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetHeaders

func (v *PollerHTTPRequestInput) GetHeaders() *types.JsonObject

GetHeaders returns PollerHTTPRequestInput.Headers, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetMethod

func (v *PollerHTTPRequestInput) GetMethod() *string

GetMethod returns PollerHTTPRequestInput.Method, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetParams

func (v *PollerHTTPRequestInput) GetParams() *types.JsonObject

GetParams returns PollerHTTPRequestInput.Params, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetPassword

func (v *PollerHTTPRequestInput) GetPassword() *string

GetPassword returns PollerHTTPRequestInput.Password, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetUrl

func (v *PollerHTTPRequestInput) GetUrl() *string

GetUrl returns PollerHTTPRequestInput.Url, and is useful for accessing the field via an interface.

func (*PollerHTTPRequestInput) GetUsername

func (v *PollerHTTPRequestInput) GetUsername() *string

GetUsername returns PollerHTTPRequestInput.Username, and is useful for accessing the field via an interface.

type PollerHTTPRuleInput

type PollerHTTPRuleInput struct {
	Match   *PollerHTTPRequestInput `json:"match"`
	Decoder *PollerHTTPDecoderInput `json:"decoder"`
	Follow  *string                 `json:"follow"`
}

func (*PollerHTTPRuleInput) GetDecoder

GetDecoder returns PollerHTTPRuleInput.Decoder, and is useful for accessing the field via an interface.

func (*PollerHTTPRuleInput) GetFollow

func (v *PollerHTTPRuleInput) GetFollow() *string

GetFollow returns PollerHTTPRuleInput.Follow, and is useful for accessing the field via an interface.

func (*PollerHTTPRuleInput) GetMatch

GetMatch returns PollerHTTPRuleInput.Match, and is useful for accessing the field via an interface.

type PollerInput

type PollerInput struct {
	Name                   *string                    `json:"name"`
	Description            *string                    `json:"description"`
	Disabled               *bool                      `json:"disabled"`
	Retries                *types.Int64Scalar         `json:"retries"`
	Interval               *types.DurationScalar      `json:"interval"`
	Chunk                  *PollerChunkInput          `json:"chunk"`
	Tags                   *types.JsonObject          `json:"tags"`
	ApiReqLimit            *RateLimitInput            `json:"apiReqLimit"`
	DatastreamId           *string                    `json:"datastreamId"`
	PubsubConfig           *PollerPubSubInput         `json:"pubsubConfig"`
	HttpConfig             *PollerHTTPInput           `json:"httpConfig"`
	GcpConfig              *PollerGCPMonitoringInput  `json:"gcpConfig"`
	MongoDBAtlasConfig     *PollerMongoDBAtlasInput   `json:"mongoDBAtlasConfig"`
	ConfluentCloudConfig   *PollerConfluentCloudInput `json:"confluentCloudConfig"`
	SkipExternalValidation *bool                      `json:"skipExternalValidation"`
	// The optional id of the object that owns the poller. Ex: The id of an AppDataSource instance.
	ManagedById *string `json:"managedById"`
}

Config is mandatory, but varies based on the poller kind

func (*PollerInput) GetApiReqLimit

func (v *PollerInput) GetApiReqLimit() *RateLimitInput

GetApiReqLimit returns PollerInput.ApiReqLimit, and is useful for accessing the field via an interface.

func (*PollerInput) GetChunk

func (v *PollerInput) GetChunk() *PollerChunkInput

GetChunk returns PollerInput.Chunk, and is useful for accessing the field via an interface.

func (*PollerInput) GetConfluentCloudConfig

func (v *PollerInput) GetConfluentCloudConfig() *PollerConfluentCloudInput

GetConfluentCloudConfig returns PollerInput.ConfluentCloudConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetDatastreamId

func (v *PollerInput) GetDatastreamId() *string

GetDatastreamId returns PollerInput.DatastreamId, and is useful for accessing the field via an interface.

func (*PollerInput) GetDescription

func (v *PollerInput) GetDescription() *string

GetDescription returns PollerInput.Description, and is useful for accessing the field via an interface.

func (*PollerInput) GetDisabled

func (v *PollerInput) GetDisabled() *bool

GetDisabled returns PollerInput.Disabled, and is useful for accessing the field via an interface.

func (*PollerInput) GetGcpConfig

func (v *PollerInput) GetGcpConfig() *PollerGCPMonitoringInput

GetGcpConfig returns PollerInput.GcpConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetHttpConfig

func (v *PollerInput) GetHttpConfig() *PollerHTTPInput

GetHttpConfig returns PollerInput.HttpConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetInterval

func (v *PollerInput) GetInterval() *types.DurationScalar

GetInterval returns PollerInput.Interval, and is useful for accessing the field via an interface.

func (*PollerInput) GetManagedById

func (v *PollerInput) GetManagedById() *string

GetManagedById returns PollerInput.ManagedById, and is useful for accessing the field via an interface.

func (*PollerInput) GetMongoDBAtlasConfig

func (v *PollerInput) GetMongoDBAtlasConfig() *PollerMongoDBAtlasInput

GetMongoDBAtlasConfig returns PollerInput.MongoDBAtlasConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetName

func (v *PollerInput) GetName() *string

GetName returns PollerInput.Name, and is useful for accessing the field via an interface.

func (*PollerInput) GetPubsubConfig

func (v *PollerInput) GetPubsubConfig() *PollerPubSubInput

GetPubsubConfig returns PollerInput.PubsubConfig, and is useful for accessing the field via an interface.

func (*PollerInput) GetRetries

func (v *PollerInput) GetRetries() *types.Int64Scalar

GetRetries returns PollerInput.Retries, and is useful for accessing the field via an interface.

func (*PollerInput) GetSkipExternalValidation

func (v *PollerInput) GetSkipExternalValidation() *bool

GetSkipExternalValidation returns PollerInput.SkipExternalValidation, and is useful for accessing the field via an interface.

func (*PollerInput) GetTags

func (v *PollerInput) GetTags() *types.JsonObject

GetTags returns PollerInput.Tags, and is useful for accessing the field via an interface.

type PollerKind

type PollerKind string
const (
	PollerKindPubsub         PollerKind = "PubSub"
	PollerKindHttp           PollerKind = "HTTP"
	PollerKindGcpmonitoring  PollerKind = "GCPMonitoring"
	PollerKindMongodbatlas   PollerKind = "MongoDBAtlas"
	PollerKindConfluentcloud PollerKind = "ConfluentCloud"
)

type PollerMongoDBAtlasInput

type PollerMongoDBAtlasInput struct {
	PublicKey     string   `json:"publicKey"`
	PrivateKey    string   `json:"privateKey"`
	IncludeGroups []string `json:"includeGroups"`
	ExcludeGroups []string `json:"excludeGroups"`
}

func (*PollerMongoDBAtlasInput) GetExcludeGroups

func (v *PollerMongoDBAtlasInput) GetExcludeGroups() []string

GetExcludeGroups returns PollerMongoDBAtlasInput.ExcludeGroups, and is useful for accessing the field via an interface.

func (*PollerMongoDBAtlasInput) GetIncludeGroups

func (v *PollerMongoDBAtlasInput) GetIncludeGroups() []string

GetIncludeGroups returns PollerMongoDBAtlasInput.IncludeGroups, and is useful for accessing the field via an interface.

func (*PollerMongoDBAtlasInput) GetPrivateKey

func (v *PollerMongoDBAtlasInput) GetPrivateKey() string

GetPrivateKey returns PollerMongoDBAtlasInput.PrivateKey, and is useful for accessing the field via an interface.

func (*PollerMongoDBAtlasInput) GetPublicKey

func (v *PollerMongoDBAtlasInput) GetPublicKey() string

GetPublicKey returns PollerMongoDBAtlasInput.PublicKey, and is useful for accessing the field via an interface.

type PollerPubSubInput

type PollerPubSubInput struct {
	ProjectId      string           `json:"projectId"`
	JsonKey        types.JsonObject `json:"jsonKey"`
	SubscriptionId string           `json:"subscriptionId"`
}

func (*PollerPubSubInput) GetJsonKey

func (v *PollerPubSubInput) GetJsonKey() types.JsonObject

GetJsonKey returns PollerPubSubInput.JsonKey, and is useful for accessing the field via an interface.

func (*PollerPubSubInput) GetProjectId

func (v *PollerPubSubInput) GetProjectId() string

GetProjectId returns PollerPubSubInput.ProjectId, and is useful for accessing the field via an interface.

func (*PollerPubSubInput) GetSubscriptionId

func (v *PollerPubSubInput) GetSubscriptionId() string

GetSubscriptionId returns PollerPubSubInput.SubscriptionId, and is useful for accessing the field via an interface.

type PreferredPath

type PreferredPath struct {
	Id            string                               `json:"id"`
	Name          string                               `json:"name"`
	IconUrl       *string                              `json:"iconUrl"`
	Description   string                               `json:"description"`
	WorkspaceId   string                               `json:"workspaceId"`
	FolderId      string                               `json:"folderId"`
	SourceDataset string                               `json:"sourceDataset"`
	Path          []PreferredPathPathPreferredPathStep `json:"path"`
}

PreferredPath includes the GraphQL fields of PreferredPath requested by the fragment PreferredPath. The GraphQL type's documentation follows.

Properties that are expensive, and should not be requested as part of "list all paths" type operations: - destinationDataset - resolvedPath - managedBy It's OK to make these part of "list paths for given source dataset" though, as that's only one, and presumably you're likely to actually use it.

func (*PreferredPath) GetDescription

func (v *PreferredPath) GetDescription() string

GetDescription returns PreferredPath.Description, and is useful for accessing the field via an interface.

func (*PreferredPath) GetFolderId

func (v *PreferredPath) GetFolderId() string

GetFolderId returns PreferredPath.FolderId, and is useful for accessing the field via an interface.

func (*PreferredPath) GetIconUrl

func (v *PreferredPath) GetIconUrl() *string

GetIconUrl returns PreferredPath.IconUrl, and is useful for accessing the field via an interface.

func (*PreferredPath) GetId

func (v *PreferredPath) GetId() string

GetId returns PreferredPath.Id, and is useful for accessing the field via an interface.

func (*PreferredPath) GetName

func (v *PreferredPath) GetName() string

GetName returns PreferredPath.Name, and is useful for accessing the field via an interface.

func (*PreferredPath) GetPath

GetPath returns PreferredPath.Path, and is useful for accessing the field via an interface.

func (*PreferredPath) GetSourceDataset

func (v *PreferredPath) GetSourceDataset() string

GetSourceDataset returns PreferredPath.SourceDataset, and is useful for accessing the field via an interface.

func (*PreferredPath) GetWorkspaceId

func (v *PreferredPath) GetWorkspaceId() string

GetWorkspaceId returns PreferredPath.WorkspaceId, and is useful for accessing the field via an interface.

func (*PreferredPath) Oid

func (p *PreferredPath) Oid() *oid.OID

type PreferredPathInput

type PreferredPathInput struct {
	// Short name for the path, to use in menus, must be unique within folder
	Name *string `json:"name"`
	// Long description text for the path, at most 1000 characters.
	Description *string `json:"description"`
	// Which dataset ID to present this path starting out from. Note that this
	// must be an extant dataset when creating/updating the path, even if we
	// 'acceptInErrorState' for the steps, and even though it can become broken later.
	SourceDataset *string `json:"sourceDataset"`
	// Each step along the path to get to the destination. The destination
	// is inferred from the last element in the step.
	Path []PreferredPathStepInput `json:"path"`
	// Which folder is this path organized in? If not specified, will be put
	// in the default folder for the workspace.
	FolderId *string `json:"folderId,omitempty"`
	// If managed by an app or other business object, provide it here. Only
	// the object that initially creates it can later update it.
	ManagedById *string `json:"managedById,omitempty"`
}

An PreferredPath specifies some preferred destination to go to from a given dataset starting point in GraphLink, and also how to get there, specifically.

func (*PreferredPathInput) GetDescription

func (v *PreferredPathInput) GetDescription() *string

GetDescription returns PreferredPathInput.Description, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetFolderId

func (v *PreferredPathInput) GetFolderId() *string

GetFolderId returns PreferredPathInput.FolderId, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetManagedById

func (v *PreferredPathInput) GetManagedById() *string

GetManagedById returns PreferredPathInput.ManagedById, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetName

func (v *PreferredPathInput) GetName() *string

GetName returns PreferredPathInput.Name, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetPath

GetPath returns PreferredPathInput.Path, and is useful for accessing the field via an interface.

func (*PreferredPathInput) GetSourceDataset

func (v *PreferredPathInput) GetSourceDataset() *string

GetSourceDataset returns PreferredPathInput.SourceDataset, and is useful for accessing the field via an interface.

type PreferredPathPathPreferredPathStep

type PreferredPathPathPreferredPathStep struct {
	LinkId             *string `json:"linkId"`
	Reverse            *bool   `json:"reverse"`
	LinkName           *string `json:"linkName"`
	ReverseFromDataset *string `json:"reverseFromDataset"`
}

PreferredPathPathPreferredPathStep includes the requested fields of the GraphQL type PreferredPathStep. The GraphQL type's documentation follows.

The valid combinations are: 'linkName' and possibly 'reverseFromDataset', or 'linkId' and possibly 'reverse'. See PreferredPathStepInput.

func (*PreferredPathPathPreferredPathStep) GetLinkId

GetLinkId returns PreferredPathPathPreferredPathStep.LinkId, and is useful for accessing the field via an interface.

func (*PreferredPathPathPreferredPathStep) GetLinkName

func (v *PreferredPathPathPreferredPathStep) GetLinkName() *string

GetLinkName returns PreferredPathPathPreferredPathStep.LinkName, and is useful for accessing the field via an interface.

func (*PreferredPathPathPreferredPathStep) GetReverse

func (v *PreferredPathPathPreferredPathStep) GetReverse() *bool

GetReverse returns PreferredPathPathPreferredPathStep.Reverse, and is useful for accessing the field via an interface.

func (*PreferredPathPathPreferredPathStep) GetReverseFromDataset

func (v *PreferredPathPathPreferredPathStep) GetReverseFromDataset() *string

GetReverseFromDataset returns PreferredPathPathPreferredPathStep.ReverseFromDataset, and is useful for accessing the field via an interface.

type PreferredPathStepInput

type PreferredPathStepInput struct {
	// This is the name of the link to use -- not the name of the step.
	// It is an error if the link doesn't exist. Use 'linkName' with 'to' or 'from'.
	LinkName *string `json:"linkName,omitempty"`
	// If taking this step using a (reverse) related key, specify the dataset
	// to step TO in 'reverseFromDataset' (because the reverse link is "from" that dataset.)
	// Also specify 'linkName' when using 'reverseFromDataset'.
	ReverseFromDataset *string `json:"reverseFromDataset,omitempty"`
	// If specifying a deferred foreign key to use as the step, in forward or reverse
	// direction, specify this using 'linkId'. Do not use 'linkName' or 'reverseFromDataset'
	// when specifying 'linkId'.
	LinkId *string `json:"linkId,omitempty"`
	// If specifying a deferred foreign key to use as the step, in related (reverse)
	// direction, set reverse to 'true', in addition to the id in 'linkId'.
	Reverse *bool `json:"reverse,omitempty"`
}

There are four modes for how to specify a step along the path: - using a foreign key that exists in the dataset - using a related key that exists pointint to the dataset - using a deferred foreign key specification as a forward key - using a deferred foreign key specification as a related key

func (*PreferredPathStepInput) GetLinkId

func (v *PreferredPathStepInput) GetLinkId() *string

GetLinkId returns PreferredPathStepInput.LinkId, and is useful for accessing the field via an interface.

func (*PreferredPathStepInput) GetLinkName

func (v *PreferredPathStepInput) GetLinkName() *string

GetLinkName returns PreferredPathStepInput.LinkName, and is useful for accessing the field via an interface.

func (*PreferredPathStepInput) GetReverse

func (v *PreferredPathStepInput) GetReverse() *bool

GetReverse returns PreferredPathStepInput.Reverse, and is useful for accessing the field via an interface.

func (*PreferredPathStepInput) GetReverseFromDataset

func (v *PreferredPathStepInput) GetReverseFromDataset() *string

GetReverseFromDataset returns PreferredPathStepInput.ReverseFromDataset, and is useful for accessing the field via an interface.

type PreferredPathWithStatus

type PreferredPathWithStatus struct {
	// If this path is defined (saved with an ID,) return the path here. Note that a path
	// may be accepted and get an ID, yet be in error state in the same operation, if
	// 'acceptInErrorState' is true.
	Path *PreferredPathWithStatusPathPreferredPath `json:"path"`
	// If this path is in error state, returns a description of why here.
	Error *string `json:"error"`
}

PreferredPathWithStatus includes the GraphQL fields of PreferredPathWithStatus requested by the fragment PreferredPathWithStatus.

func (*PreferredPathWithStatus) GetError

func (v *PreferredPathWithStatus) GetError() *string

GetError returns PreferredPathWithStatus.Error, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatus) GetPath

GetPath returns PreferredPathWithStatus.Path, and is useful for accessing the field via an interface.

type PreferredPathWithStatusPathPreferredPath

type PreferredPathWithStatusPathPreferredPath struct {
	PreferredPath `json:"-"`
}

PreferredPathWithStatusPathPreferredPath includes the requested fields of the GraphQL type PreferredPath. The GraphQL type's documentation follows.

Properties that are expensive, and should not be requested as part of "list all paths" type operations: - destinationDataset - resolvedPath - managedBy It's OK to make these part of "list paths for given source dataset" though, as that's only one, and presumably you're likely to actually use it.

func (*PreferredPathWithStatusPathPreferredPath) GetDescription

GetDescription returns PreferredPathWithStatusPathPreferredPath.Description, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetFolderId

GetFolderId returns PreferredPathWithStatusPathPreferredPath.FolderId, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetIconUrl

GetIconUrl returns PreferredPathWithStatusPathPreferredPath.IconUrl, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetId

GetId returns PreferredPathWithStatusPathPreferredPath.Id, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetName

GetName returns PreferredPathWithStatusPathPreferredPath.Name, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetPath

GetPath returns PreferredPathWithStatusPathPreferredPath.Path, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetSourceDataset

func (v *PreferredPathWithStatusPathPreferredPath) GetSourceDataset() string

GetSourceDataset returns PreferredPathWithStatusPathPreferredPath.SourceDataset, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) GetWorkspaceId

GetWorkspaceId returns PreferredPathWithStatusPathPreferredPath.WorkspaceId, and is useful for accessing the field via an interface.

func (*PreferredPathWithStatusPathPreferredPath) MarshalJSON

func (v *PreferredPathWithStatusPathPreferredPath) MarshalJSON() ([]byte, error)

func (*PreferredPathWithStatusPathPreferredPath) UnmarshalJSON

func (v *PreferredPathWithStatusPathPreferredPath) UnmarshalJSON(b []byte) error

type PrimitiveValue

type PrimitiveValue struct {
	Bool      *bool              `json:"bool"`
	Float64   *float64           `json:"float64"`
	Int64     *types.Int64Scalar `json:"int64"`
	String    *string            `json:"string"`
	Timestamp *types.TimeScalar  `json:"timestamp"`
	Duration  *types.Int64Scalar `json:"duration"`
}

PrimitiveValue includes the GraphQL fields of PrimitiveValue requested by the fragment PrimitiveValue.

func (*PrimitiveValue) GetBool

func (v *PrimitiveValue) GetBool() *bool

GetBool returns PrimitiveValue.Bool, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetDuration

func (v *PrimitiveValue) GetDuration() *types.Int64Scalar

GetDuration returns PrimitiveValue.Duration, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetFloat64

func (v *PrimitiveValue) GetFloat64() *float64

GetFloat64 returns PrimitiveValue.Float64, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetInt64

func (v *PrimitiveValue) GetInt64() *types.Int64Scalar

GetInt64 returns PrimitiveValue.Int64, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetString

func (v *PrimitiveValue) GetString() *string

GetString returns PrimitiveValue.String, and is useful for accessing the field via an interface.

func (*PrimitiveValue) GetTimestamp

func (v *PrimitiveValue) GetTimestamp() *types.TimeScalar

GetTimestamp returns PrimitiveValue.Timestamp, and is useful for accessing the field via an interface.

type PrimitiveValueInput

type PrimitiveValueInput struct {
	Bool      *bool              `json:"bool,omitempty"`
	Float64   *float64           `json:"float64,omitempty"`
	Int64     *types.Int64Scalar `json:"int64,omitempty"`
	String    *string            `json:"string,omitempty"`
	Timestamp *types.TimeScalar  `json:"timestamp,omitempty"`
	Duration  *types.Int64Scalar `json:"duration,omitempty"`
}

func (*PrimitiveValueInput) GetBool

func (v *PrimitiveValueInput) GetBool() *bool

GetBool returns PrimitiveValueInput.Bool, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetDuration

func (v *PrimitiveValueInput) GetDuration() *types.Int64Scalar

GetDuration returns PrimitiveValueInput.Duration, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetFloat64

func (v *PrimitiveValueInput) GetFloat64() *float64

GetFloat64 returns PrimitiveValueInput.Float64, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetInt64

func (v *PrimitiveValueInput) GetInt64() *types.Int64Scalar

GetInt64 returns PrimitiveValueInput.Int64, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetString

func (v *PrimitiveValueInput) GetString() *string

GetString returns PrimitiveValueInput.String, and is useful for accessing the field via an interface.

func (*PrimitiveValueInput) GetTimestamp

func (v *PrimitiveValueInput) GetTimestamp() *types.TimeScalar

GetTimestamp returns PrimitiveValueInput.Timestamp, and is useful for accessing the field via an interface.

type QueryParams

type QueryParams struct {
	// Please specify exact one of startTime and startTimeSinceEpoch.
	StartTime           *types.TimeScalar `json:"startTime"`
	StartTimeSinceEpoch *TimeSinceEpoch   `json:"startTimeSinceEpoch"`
	// Please specify exact one of endTime and endTimeSinceEpoch.
	EndTime           *types.TimeScalar `json:"endTime"`
	EndTimeSinceEpoch *TimeSinceEpoch   `json:"endTimeSinceEpoch"`
	// Use this to specify rate limiting options for this query. To bypass the
	// rate limit for all queries by this user for a certain amount of time, see
	// the QueryGovernor.bypassUntil layered setting instead
	RateLimitOption *RateLimitOption `json:"rateLimitOption"`
	// Queries may have some parameter values bound
	OpalParameters []ParameterBindingInput `json:"opalParameters"`
}

QueryParams are for parameters intrinsic to the *query*, not the *presentation* of the query. One way to think about this, is that anything that goes in here should be equally applicable to invocations by transformer, monitors, exports, or worksheets.

func (*QueryParams) GetEndTime

func (v *QueryParams) GetEndTime() *types.TimeScalar

GetEndTime returns QueryParams.EndTime, and is useful for accessing the field via an interface.

func (*QueryParams) GetEndTimeSinceEpoch

func (v *QueryParams) GetEndTimeSinceEpoch() *TimeSinceEpoch

GetEndTimeSinceEpoch returns QueryParams.EndTimeSinceEpoch, and is useful for accessing the field via an interface.

func (*QueryParams) GetOpalParameters

func (v *QueryParams) GetOpalParameters() []ParameterBindingInput

GetOpalParameters returns QueryParams.OpalParameters, and is useful for accessing the field via an interface.

func (*QueryParams) GetRateLimitOption

func (v *QueryParams) GetRateLimitOption() *RateLimitOption

GetRateLimitOption returns QueryParams.RateLimitOption, and is useful for accessing the field via an interface.

func (*QueryParams) GetStartTime

func (v *QueryParams) GetStartTime() *types.TimeScalar

GetStartTime returns QueryParams.StartTime, and is useful for accessing the field via an interface.

func (*QueryParams) GetStartTimeSinceEpoch

func (v *QueryParams) GetStartTimeSinceEpoch() *TimeSinceEpoch

GetStartTimeSinceEpoch returns QueryParams.StartTimeSinceEpoch, and is useful for accessing the field via an interface.

type RateLimitInput

type RateLimitInput struct {
	Rate  float64            `json:"rate"`
	Burst *types.Int64Scalar `json:"burst"`
}

func (*RateLimitInput) GetBurst

func (v *RateLimitInput) GetBurst() *types.Int64Scalar

GetBurst returns RateLimitInput.Burst, and is useful for accessing the field via an interface.

func (*RateLimitInput) GetRate

func (v *RateLimitInput) GetRate() float64

GetRate returns RateLimitInput.Rate, and is useful for accessing the field via an interface.

type RateLimitOption

type RateLimitOption string
const (
	// Default behavior. Rate limiting is enforced unless it is explicitly
	// disabled at the customer or user level using some other mechanism.
	RateLimitOptionEnforceratelimit RateLimitOption = "EnforceRateLimit"
	// Set this to bypass rate limiting for this query. Credits used by queries
	// that bypass the rate limit are not counted towards the rate limit.
	RateLimitOptionBypassratelimit RateLimitOption = "BypassRateLimit"
)

type RbacGroup

type RbacGroup struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

RbacGroup includes the GraphQL fields of RbacGroup requested by the fragment RbacGroup.

func (*RbacGroup) GetDescription

func (v *RbacGroup) GetDescription() string

GetDescription returns RbacGroup.Description, and is useful for accessing the field via an interface.

func (*RbacGroup) GetId

func (v *RbacGroup) GetId() string

GetId returns RbacGroup.Id, and is useful for accessing the field via an interface.

func (*RbacGroup) GetName

func (v *RbacGroup) GetName() string

GetName returns RbacGroup.Name, and is useful for accessing the field via an interface.

func (*RbacGroup) Oid

func (r *RbacGroup) Oid() *oid.OID

type RbacGroupInput

type RbacGroupInput struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

func (*RbacGroupInput) GetDescription

func (v *RbacGroupInput) GetDescription() string

GetDescription returns RbacGroupInput.Description, and is useful for accessing the field via an interface.

func (*RbacGroupInput) GetName

func (v *RbacGroupInput) GetName() string

GetName returns RbacGroupInput.Name, and is useful for accessing the field via an interface.

type RbacGroupmember

type RbacGroupmember struct {
	Id            string              `json:"id"`
	Description   string              `json:"description"`
	GroupId       string              `json:"groupId"`
	MemberUserId  *types.UserIdScalar `json:"memberUserId"`
	MemberGroupId *string             `json:"memberGroupId"`
}

RbacGroupmember includes the GraphQL fields of RbacGroupmember requested by the fragment RbacGroupmember.

func (*RbacGroupmember) GetDescription

func (v *RbacGroupmember) GetDescription() string

GetDescription returns RbacGroupmember.Description, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetGroupId

func (v *RbacGroupmember) GetGroupId() string

GetGroupId returns RbacGroupmember.GroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetId

func (v *RbacGroupmember) GetId() string

GetId returns RbacGroupmember.Id, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetMemberGroupId

func (v *RbacGroupmember) GetMemberGroupId() *string

GetMemberGroupId returns RbacGroupmember.MemberGroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmember) GetMemberUserId

func (v *RbacGroupmember) GetMemberUserId() *types.UserIdScalar

GetMemberUserId returns RbacGroupmember.MemberUserId, and is useful for accessing the field via an interface.

func (*RbacGroupmember) Oid

func (r *RbacGroupmember) Oid() *oid.OID

type RbacGroupmemberInput

type RbacGroupmemberInput struct {
	Description   string              `json:"description"`
	GroupId       string              `json:"groupId"`
	MemberUserId  *types.UserIdScalar `json:"memberUserId"`
	MemberGroupId *string             `json:"memberGroupId"`
}

func (*RbacGroupmemberInput) GetDescription

func (v *RbacGroupmemberInput) GetDescription() string

GetDescription returns RbacGroupmemberInput.Description, and is useful for accessing the field via an interface.

func (*RbacGroupmemberInput) GetGroupId

func (v *RbacGroupmemberInput) GetGroupId() string

GetGroupId returns RbacGroupmemberInput.GroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmemberInput) GetMemberGroupId

func (v *RbacGroupmemberInput) GetMemberGroupId() *string

GetMemberGroupId returns RbacGroupmemberInput.MemberGroupId, and is useful for accessing the field via an interface.

func (*RbacGroupmemberInput) GetMemberUserId

func (v *RbacGroupmemberInput) GetMemberUserId() *types.UserIdScalar

GetMemberUserId returns RbacGroupmemberInput.MemberUserId, and is useful for accessing the field via an interface.

type RbacObjectInput

type RbacObjectInput struct {
	ObjectId    *string `json:"objectId"`
	FolderId    *string `json:"folderId"`
	WorkspaceId *string `json:"workspaceId"`
	Type        *string `json:"type"`
	Name        *string `json:"name"`
	Owner       *bool   `json:"owner"`
	All         *bool   `json:"all"`
}

func (*RbacObjectInput) GetAll

func (v *RbacObjectInput) GetAll() *bool

GetAll returns RbacObjectInput.All, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetFolderId

func (v *RbacObjectInput) GetFolderId() *string

GetFolderId returns RbacObjectInput.FolderId, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetName

func (v *RbacObjectInput) GetName() *string

GetName returns RbacObjectInput.Name, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetObjectId

func (v *RbacObjectInput) GetObjectId() *string

GetObjectId returns RbacObjectInput.ObjectId, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetOwner

func (v *RbacObjectInput) GetOwner() *bool

GetOwner returns RbacObjectInput.Owner, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetType

func (v *RbacObjectInput) GetType() *string

GetType returns RbacObjectInput.Type, and is useful for accessing the field via an interface.

func (*RbacObjectInput) GetWorkspaceId

func (v *RbacObjectInput) GetWorkspaceId() *string

GetWorkspaceId returns RbacObjectInput.WorkspaceId, and is useful for accessing the field via an interface.

type RbacRole

type RbacRole string
const (
	RbacRoleManager  RbacRole = "Manager"
	RbacRoleEditor   RbacRole = "Editor"
	RbacRoleViewer   RbacRole = "Viewer"
	RbacRoleIngester RbacRole = "Ingester"
	RbacRoleLister   RbacRole = "Lister"
)

type RbacStatement

type RbacStatement struct {
	Id          string                          `json:"id"`
	Description string                          `json:"description"`
	Subject     RbacStatementSubjectRbacSubject `json:"subject"`
	Object      RbacStatementObjectRbacObject   `json:"object"`
	Role        RbacRole                        `json:"role"`
}

RbacStatement includes the GraphQL fields of RbacStatement requested by the fragment RbacStatement.

func (*RbacStatement) GetDescription

func (v *RbacStatement) GetDescription() string

GetDescription returns RbacStatement.Description, and is useful for accessing the field via an interface.

func (*RbacStatement) GetId

func (v *RbacStatement) GetId() string

GetId returns RbacStatement.Id, and is useful for accessing the field via an interface.

func (*RbacStatement) GetObject

GetObject returns RbacStatement.Object, and is useful for accessing the field via an interface.

func (*RbacStatement) GetRole

func (v *RbacStatement) GetRole() RbacRole

GetRole returns RbacStatement.Role, and is useful for accessing the field via an interface.

func (*RbacStatement) GetSubject

GetSubject returns RbacStatement.Subject, and is useful for accessing the field via an interface.

func (*RbacStatement) Oid

func (r *RbacStatement) Oid() *oid.OID

type RbacStatementInput

type RbacStatementInput struct {
	Description string           `json:"description"`
	Subject     RbacSubjectInput `json:"subject"`
	Object      RbacObjectInput  `json:"object"`
	Role        RbacRole         `json:"role"`
}

func (*RbacStatementInput) GetDescription

func (v *RbacStatementInput) GetDescription() string

GetDescription returns RbacStatementInput.Description, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetObject

func (v *RbacStatementInput) GetObject() RbacObjectInput

GetObject returns RbacStatementInput.Object, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetRole

func (v *RbacStatementInput) GetRole() RbacRole

GetRole returns RbacStatementInput.Role, and is useful for accessing the field via an interface.

func (*RbacStatementInput) GetSubject

func (v *RbacStatementInput) GetSubject() RbacSubjectInput

GetSubject returns RbacStatementInput.Subject, and is useful for accessing the field via an interface.

type RbacStatementObjectRbacObject

type RbacStatementObjectRbacObject struct {
	ObjectId    *string `json:"objectId"`
	FolderId    *string `json:"folderId"`
	WorkspaceId *string `json:"workspaceId"`
	Type        *string `json:"type"`
	Name        *string `json:"name"`
	Owner       *bool   `json:"owner"`
	All         *bool   `json:"all"`
}

RbacStatementObjectRbacObject includes the requested fields of the GraphQL type RbacObject.

func (*RbacStatementObjectRbacObject) GetAll

func (v *RbacStatementObjectRbacObject) GetAll() *bool

GetAll returns RbacStatementObjectRbacObject.All, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetFolderId

func (v *RbacStatementObjectRbacObject) GetFolderId() *string

GetFolderId returns RbacStatementObjectRbacObject.FolderId, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetName

func (v *RbacStatementObjectRbacObject) GetName() *string

GetName returns RbacStatementObjectRbacObject.Name, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetObjectId

func (v *RbacStatementObjectRbacObject) GetObjectId() *string

GetObjectId returns RbacStatementObjectRbacObject.ObjectId, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetOwner

func (v *RbacStatementObjectRbacObject) GetOwner() *bool

GetOwner returns RbacStatementObjectRbacObject.Owner, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetType

func (v *RbacStatementObjectRbacObject) GetType() *string

GetType returns RbacStatementObjectRbacObject.Type, and is useful for accessing the field via an interface.

func (*RbacStatementObjectRbacObject) GetWorkspaceId

func (v *RbacStatementObjectRbacObject) GetWorkspaceId() *string

GetWorkspaceId returns RbacStatementObjectRbacObject.WorkspaceId, and is useful for accessing the field via an interface.

type RbacStatementSubjectRbacSubject

type RbacStatementSubjectRbacSubject struct {
	UserId  *types.UserIdScalar `json:"userId"`
	GroupId *string             `json:"groupId"`
	All     *bool               `json:"all"`
}

RbacStatementSubjectRbacSubject includes the requested fields of the GraphQL type RbacSubject.

func (*RbacStatementSubjectRbacSubject) GetAll

GetAll returns RbacStatementSubjectRbacSubject.All, and is useful for accessing the field via an interface.

func (*RbacStatementSubjectRbacSubject) GetGroupId

func (v *RbacStatementSubjectRbacSubject) GetGroupId() *string

GetGroupId returns RbacStatementSubjectRbacSubject.GroupId, and is useful for accessing the field via an interface.

func (*RbacStatementSubjectRbacSubject) GetUserId

GetUserId returns RbacStatementSubjectRbacSubject.UserId, and is useful for accessing the field via an interface.

type RbacSubjectInput

type RbacSubjectInput struct {
	UserId  *types.UserIdScalar `json:"userId"`
	GroupId *string             `json:"groupId"`
	All     *bool               `json:"all"`
}

func (*RbacSubjectInput) GetAll

func (v *RbacSubjectInput) GetAll() *bool

GetAll returns RbacSubjectInput.All, and is useful for accessing the field via an interface.

func (*RbacSubjectInput) GetGroupId

func (v *RbacSubjectInput) GetGroupId() *string

GetGroupId returns RbacSubjectInput.GroupId, and is useful for accessing the field via an interface.

func (*RbacSubjectInput) GetUserId

func (v *RbacSubjectInput) GetUserId() *types.UserIdScalar

GetUserId returns RbacSubjectInput.UserId, and is useful for accessing the field via an interface.

type ResourceIdInput

type ResourceIdInput struct {
	DatasetId       string                `json:"datasetId"`
	PrimaryKeyValue []ColumnAndValueInput `json:"primaryKeyValue"`
	TimeRange       *TimeRangeInput       `json:"timeRange"`
}

func (*ResourceIdInput) GetDatasetId

func (v *ResourceIdInput) GetDatasetId() string

GetDatasetId returns ResourceIdInput.DatasetId, and is useful for accessing the field via an interface.

func (*ResourceIdInput) GetPrimaryKeyValue

func (v *ResourceIdInput) GetPrimaryKeyValue() []ColumnAndValueInput

GetPrimaryKeyValue returns ResourceIdInput.PrimaryKeyValue, and is useful for accessing the field via an interface.

func (*ResourceIdInput) GetTimeRange

func (v *ResourceIdInput) GetTimeRange() *TimeRangeInput

GetTimeRange returns ResourceIdInput.TimeRange, and is useful for accessing the field via an interface.

type ResultKind

type ResultKind string

What pieces of result to include in the response to an OPAL query.

const (
	ResultKindResultkindschema          ResultKind = "ResultKindSchema"
	ResultKindResultkinddata            ResultKind = "ResultKindData"
	ResultKindResultkindstats           ResultKind = "ResultKindStats"
	ResultKindResultkindsuppress        ResultKind = "ResultKindSuppress"
	ResultKindResultkindprogress        ResultKind = "ResultKindProgress"
	ResultKindResultkindmetricdiscovery ResultKind = "ResultKindMetricDiscovery"
)

type ResultStatus

type ResultStatus struct {
	Success      bool              `json:"success"`
	ErrorMessage string            `json:"errorMessage"`
	DetailedInfo *types.JsonObject `json:"detailedInfo"`
}

ResultStatus includes the GraphQL fields of ResultStatus requested by the fragment ResultStatus.

func (*ResultStatus) GetDetailedInfo

func (v *ResultStatus) GetDetailedInfo() *types.JsonObject

GetDetailedInfo returns ResultStatus.DetailedInfo, and is useful for accessing the field via an interface.

func (*ResultStatus) GetErrorMessage

func (v *ResultStatus) GetErrorMessage() string

GetErrorMessage returns ResultStatus.ErrorMessage, and is useful for accessing the field via an interface.

func (*ResultStatus) GetSuccess

func (v *ResultStatus) GetSuccess() bool

GetSuccess returns ResultStatus.Success, and is useful for accessing the field via an interface.

type RollupFilterInput

type RollupFilterInput struct {
	Mode RollupFilterMode `json:"mode"`
}

func (*RollupFilterInput) GetMode

func (v *RollupFilterInput) GetMode() RollupFilterMode

GetMode returns RollupFilterInput.Mode, and is useful for accessing the field via an interface.

type RollupFilterMode

type RollupFilterMode string
const (
	RollupFilterModeLast RollupFilterMode = "Last"
	RollupFilterModeAll  RollupFilterMode = "All"
)

type RollupMode

type RollupMode string
const (
	// Roll up the result, grouping by primary key if possible,
	// otherwise by grouping all rows together.
	RollupModeAlways RollupMode = "Always"
	// Don't roll up the result.
	RollupModeNever RollupMode = "Never"
	// Roll up the result if it is a Resource, otherwise don't roll up the result.
	RollupModeAuto RollupMode = "Auto"
)

type RollupOptionInput

type RollupOptionInput struct {
	// If unrollColumns is set, the columns specified will be unrolled after being
	// grouped by primary key and ordered by time. Empty unrollColumns will produce
	// 1 row for each primary key (because all non-primary key columns are rolled
	// up). If a column C having values [0,1,0] at times [0,1,2] for a given primary
	// key is specified in unrollColumns, 3 rows will be produced for that primary
	// key, with the values of C being 0, 1, 0 in each row, respectively.
	UnrollColumns []string `json:"unrollColumns"`
	// If set to true, explicitly disables rollup, even for a Resource
	ForceNoRollup *bool `json:"forceNoRollup"`
}

func (*RollupOptionInput) GetForceNoRollup

func (v *RollupOptionInput) GetForceNoRollup() *bool

GetForceNoRollup returns RollupOptionInput.ForceNoRollup, and is useful for accessing the field via an interface.

func (*RollupOptionInput) GetUnrollColumns

func (v *RollupOptionInput) GetUnrollColumns() []string

GetUnrollColumns returns RollupOptionInput.UnrollColumns, and is useful for accessing the field via an interface.

type SaveMode

type SaveMode string
const (
	// Only update the dataset ID specified in the operation, disregarding dependencies
	SaveModeUpdatedataset SaveMode = "UpdateDataset"
	// Update the dataset ID specified, and its dependencies, but don't change anything if there's any error that's not ignored
	SaveModeUpdatedatasetanddependenciesunlessnewerrors SaveMode = "UpdateDatasetAndDependenciesUnlessNewErrors"
	// Update the dataset ID specified, and its dependencies, as far as can be done without errors, return errors
	SaveModeUpdatedatasetanddependenciesignoringallerrors SaveMode = "UpdateDatasetAndDependenciesIgnoringAllErrors"
	// Return what would happen if you updated the dataset ID (only) disregarding dependencies. Do not change database.
	SaveModePreflightdataset SaveMode = "PreflightDataset"
	// Return what would happen if you updated the dataset ID, including effects on dependencies. Do not change database.
	SaveModePreflightdatasetanddependencies SaveMode = "PreflightDatasetAndDependencies"
)

type SearchMatchKind

type SearchMatchKind string
const (
	// Search match  data is not needed
	SearchMatchKindSearchmatchnone SearchMatchKind = "SearchMatchNone"
	// Send back a list of columns that have contributed to resulting data matching the search
	SearchMatchKindSearchmatchcolumns SearchMatchKind = "SearchMatchColumns"
)

type SettingAndTargetScope

type SettingAndTargetScope struct {
	Setting string                     `json:"setting"`
	Target  LayeredSettingRecordTarget `json:"target"`
}

SettingAndTargetScope includes the GraphQL fields of SettingAndTargetScope requested by the fragment SettingAndTargetScope.

func (*SettingAndTargetScope) GetSetting

func (v *SettingAndTargetScope) GetSetting() string

GetSetting returns SettingAndTargetScope.Setting, and is useful for accessing the field via an interface.

func (*SettingAndTargetScope) GetTarget

GetTarget returns SettingAndTargetScope.Target, and is useful for accessing the field via an interface.

type SettingAndTargetScopeInput

type SettingAndTargetScopeInput struct {
	Setting string                          `json:"setting"`
	Target  LayeredSettingRecordTargetInput `json:"target"`
}

func (*SettingAndTargetScopeInput) GetSetting

func (v *SettingAndTargetScopeInput) GetSetting() string

GetSetting returns SettingAndTargetScopeInput.Setting, and is useful for accessing the field via an interface.

func (*SettingAndTargetScopeInput) GetTarget

GetTarget returns SettingAndTargetScopeInput.Target, and is useful for accessing the field via an interface.

type SourceLocInput

type SourceLocInput struct {
	Row types.Int64Scalar `json:"row"`
	Col types.Int64Scalar `json:"col"`
}

func (*SourceLocInput) GetCol

func (v *SourceLocInput) GetCol() types.Int64Scalar

GetCol returns SourceLocInput.Col, and is useful for accessing the field via an interface.

func (*SourceLocInput) GetRow

func (v *SourceLocInput) GetRow() types.Int64Scalar

GetRow returns SourceLocInput.Row, and is useful for accessing the field via an interface.

type SourceTableDefinitionInput

type SourceTableDefinitionInput struct {
	Schema                string                            `json:"schema"`
	TableName             string                            `json:"tableName"`
	Fields                []SourceTableFieldDefinitionInput `json:"fields"`
	ValidFromField        *string                           `json:"validFromField"`
	BatchSeqField         *string                           `json:"batchSeqField"`
	IsInsertOnly          *bool                             `json:"isInsertOnly,omitempty"`
	SourceUpdateTableName *string                           `json:"sourceUpdateTableName"`
}

func (*SourceTableDefinitionInput) GetBatchSeqField

func (v *SourceTableDefinitionInput) GetBatchSeqField() *string

GetBatchSeqField returns SourceTableDefinitionInput.BatchSeqField, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetFields

GetFields returns SourceTableDefinitionInput.Fields, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetIsInsertOnly

func (v *SourceTableDefinitionInput) GetIsInsertOnly() *bool

GetIsInsertOnly returns SourceTableDefinitionInput.IsInsertOnly, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetSchema

func (v *SourceTableDefinitionInput) GetSchema() string

GetSchema returns SourceTableDefinitionInput.Schema, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetSourceUpdateTableName

func (v *SourceTableDefinitionInput) GetSourceUpdateTableName() *string

GetSourceUpdateTableName returns SourceTableDefinitionInput.SourceUpdateTableName, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetTableName

func (v *SourceTableDefinitionInput) GetTableName() string

GetTableName returns SourceTableDefinitionInput.TableName, and is useful for accessing the field via an interface.

func (*SourceTableDefinitionInput) GetValidFromField

func (v *SourceTableDefinitionInput) GetValidFromField() *string

GetValidFromField returns SourceTableDefinitionInput.ValidFromField, and is useful for accessing the field via an interface.

type SourceTableFieldDefinitionInput

type SourceTableFieldDefinitionInput struct {
	Name    string `json:"name"`
	SqlType string `json:"sqlType"`
}

func (*SourceTableFieldDefinitionInput) GetName

GetName returns SourceTableFieldDefinitionInput.Name, and is useful for accessing the field via an interface.

func (*SourceTableFieldDefinitionInput) GetSqlType

func (v *SourceTableFieldDefinitionInput) GetSqlType() string

GetSqlType returns SourceTableFieldDefinitionInput.SqlType, and is useful for accessing the field via an interface.

type StageInput

type StageInput struct {
	// we need the label to be able to reference this stage in later Stages' InputDefinitionInput
	// XXX: Obsolete, replaced by "stageId" below. Ignored if "stageId" is set.
	Label   *string `json:"label"`
	StageID *string `json:"stageID"`
	// unique ID that other stages can reference in their InputDefinitionInput
	StageId *string `json:"stageId"`
	// Which inputs are defined for this stage?
	Inputs []InputDefinitionInput `json:"inputs"`
	// What is the processing?
	Pipeline string `json:"pipeline"`
	// How do we arrange presentation? (ordering etc)
	// Note that later stages referencing this stage will NOT see the stage presentation processing
	Presentation *StagePresentationInput `json:"presentation"`
	// UI presentation data to use when storing transforms
	Layout *types.JsonObject `json:"layout"`
	// If set, enables paginatedResults in initial TaskResult of ResultKindData.
	Pagination *PaginationInput `json:"pagination"`
	// If set, run this stage with progressive execution
	Progressive *bool `json:"progressive"`
	// If set, backend will try to run this stage with best effort binding mode
	BestEffortBinding *bool `json:"bestEffortBinding"`
	// A location within the pipeline. Used to support "run query up to cursor" type functionality, where this location
	// defines the last verb within the query or subquery to run.
	RunUntilLocation *SourceLocInput `json:"runUntilLocation"`
	// Parameter values for parameters scoped to this stage
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
}

func (*StageInput) GetBestEffortBinding

func (v *StageInput) GetBestEffortBinding() *bool

GetBestEffortBinding returns StageInput.BestEffortBinding, and is useful for accessing the field via an interface.

func (*StageInput) GetInputs

func (v *StageInput) GetInputs() []InputDefinitionInput

GetInputs returns StageInput.Inputs, and is useful for accessing the field via an interface.

func (*StageInput) GetLabel

func (v *StageInput) GetLabel() *string

GetLabel returns StageInput.Label, and is useful for accessing the field via an interface.

func (*StageInput) GetLayout

func (v *StageInput) GetLayout() *types.JsonObject

GetLayout returns StageInput.Layout, and is useful for accessing the field via an interface.

func (*StageInput) GetPagination

func (v *StageInput) GetPagination() *PaginationInput

GetPagination returns StageInput.Pagination, and is useful for accessing the field via an interface.

func (*StageInput) GetParameterValues

func (v *StageInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns StageInput.ParameterValues, and is useful for accessing the field via an interface.

func (*StageInput) GetPipeline

func (v *StageInput) GetPipeline() string

GetPipeline returns StageInput.Pipeline, and is useful for accessing the field via an interface.

func (*StageInput) GetPresentation

func (v *StageInput) GetPresentation() *StagePresentationInput

GetPresentation returns StageInput.Presentation, and is useful for accessing the field via an interface.

func (*StageInput) GetProgressive

func (v *StageInput) GetProgressive() *bool

GetProgressive returns StageInput.Progressive, and is useful for accessing the field via an interface.

func (*StageInput) GetRunUntilLocation

func (v *StageInput) GetRunUntilLocation() *SourceLocInput

GetRunUntilLocation returns StageInput.RunUntilLocation, and is useful for accessing the field via an interface.

func (*StageInput) GetStageID

func (v *StageInput) GetStageID() *string

GetStageID returns StageInput.StageID, and is useful for accessing the field via an interface.

func (*StageInput) GetStageId

func (v *StageInput) GetStageId() *string

GetStageId returns StageInput.StageId, and is useful for accessing the field via an interface.

type StagePresentationInput

type StagePresentationInput struct {
	// limit can be per-query in addition to per-request; the min() is applied
	Limit *types.Int64Scalar `json:"limit"`
	// defaultStats, if specified, calculates stats for any column that matches a
	// predetermined set of rules, and returns those stats.
	DefaultStats *DefaultStatsInput `json:"defaultStats"`
	// orderColumns determines order of returned data rows
	OrderColumns []ColumnOrderInput `json:"orderColumns"`
	// when linkify is true, the server will resolve all declared foreign keys
	// and create one new field for each containing that user-readable name of the
	// target of the key (see design doc in Notion)
	Linkify *bool `json:"linkify"`
	// When rollup is set, resources will be rolled up into the query time window
	// Columns will be aggregated into arrays.
	Rollup *RollupOptionInput `json:"rollup"`
	// rollupMode, if specified, overrides rollup.
	// Always: Roll up the result, grouping by primary key if possible,
	// otherwise by grouping all rows together.
	// Never: Don't roll up the result.
	// Auto: Roll up the result if it is a Resource, otherwise don't roll up
	// the result.
	RollupMode *RollupMode `json:"rollupMode"`
	// resultKinds map to which fields of TaskResult will end up containing
	// information in results (when using datasetProgressive for querying.) Note that not
	// all the fields may be set at the same time, data may be split across
	// multiple separate TaskResult structs in the result stream. However, in
	// aggregate, all the data requested in resultKinds will be responded.
	ResultKinds []*ResultKind `json:"resultKinds"`
	// When wantBuckets is set, time-binning verbs without explicit resolution specification
	// will automatically find a human-friendly resolution and generate the wanted number of
	// buckets. When exact number of buckets is not possible, more buckets will be generated.
	WantBuckets *types.Int64Scalar `json:"wantBuckets"`
	// When set to SearchMatchColumns, TaskResult.TODO for ResultKindData responses
	// will contain a list of column names that produced matches for some of the filters in
	// the pipeline
	SearchMatchKind *SearchMatchKind `json:"searchMatchKind"`
}

StagePresentationInput is about how to format the results of the query. Here is where you can ask for things like linkified results, rolled up results, stats from the results, schema-only results, and so forth. These requests are generally made by interactive systems, and are not generally applicable to other use cases.

func (*StagePresentationInput) GetDefaultStats

func (v *StagePresentationInput) GetDefaultStats() *DefaultStatsInput

GetDefaultStats returns StagePresentationInput.DefaultStats, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetLimit

func (v *StagePresentationInput) GetLimit() *types.Int64Scalar

GetLimit returns StagePresentationInput.Limit, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetLinkify

func (v *StagePresentationInput) GetLinkify() *bool

GetLinkify returns StagePresentationInput.Linkify, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetOrderColumns

func (v *StagePresentationInput) GetOrderColumns() []ColumnOrderInput

GetOrderColumns returns StagePresentationInput.OrderColumns, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetResultKinds

func (v *StagePresentationInput) GetResultKinds() []*ResultKind

GetResultKinds returns StagePresentationInput.ResultKinds, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetRollup

func (v *StagePresentationInput) GetRollup() *RollupOptionInput

GetRollup returns StagePresentationInput.Rollup, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetRollupMode

func (v *StagePresentationInput) GetRollupMode() *RollupMode

GetRollupMode returns StagePresentationInput.RollupMode, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetSearchMatchKind

func (v *StagePresentationInput) GetSearchMatchKind() *SearchMatchKind

GetSearchMatchKind returns StagePresentationInput.SearchMatchKind, and is useful for accessing the field via an interface.

func (*StagePresentationInput) GetWantBuckets

func (v *StagePresentationInput) GetWantBuckets() *types.Int64Scalar

GetWantBuckets returns StagePresentationInput.WantBuckets, and is useful for accessing the field via an interface.

type StageQuery

type StageQuery struct {
	Id       *string                           `json:"id"`
	Pipeline string                            `json:"pipeline"`
	Params   *types.JsonObject                 `json:"params"`
	Layout   *types.JsonObject                 `json:"layout"`
	Input    []*StageQueryInputInputDefinition `json:"input"`
}

StageQuery includes the GraphQL fields of StageQuery requested by the fragment StageQuery.

func (*StageQuery) GetId

func (v *StageQuery) GetId() *string

GetId returns StageQuery.Id, and is useful for accessing the field via an interface.

func (*StageQuery) GetInput

func (v *StageQuery) GetInput() []*StageQueryInputInputDefinition

GetInput returns StageQuery.Input, and is useful for accessing the field via an interface.

func (*StageQuery) GetLayout

func (v *StageQuery) GetLayout() *types.JsonObject

GetLayout returns StageQuery.Layout, and is useful for accessing the field via an interface.

func (*StageQuery) GetParams

func (v *StageQuery) GetParams() *types.JsonObject

GetParams returns StageQuery.Params, and is useful for accessing the field via an interface.

func (*StageQuery) GetPipeline

func (v *StageQuery) GetPipeline() string

GetPipeline returns StageQuery.Pipeline, and is useful for accessing the field via an interface.

type StageQueryInput

type StageQueryInput struct {
	StageID *string `json:"stageID,omitempty"`
	StageId *string `json:"stageId,omitempty"`
	// make id required when we've removed all deprecated use of stageId
	Id              *string                 `json:"id,omitempty"`
	Input           []InputDefinitionInput  `json:"input"`
	Pipeline        string                  `json:"pipeline"`
	Layout          *types.JsonObject       `json:"layout"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
}

func (*StageQueryInput) GetId

func (v *StageQueryInput) GetId() *string

GetId returns StageQueryInput.Id, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetInput

func (v *StageQueryInput) GetInput() []InputDefinitionInput

GetInput returns StageQueryInput.Input, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetLayout

func (v *StageQueryInput) GetLayout() *types.JsonObject

GetLayout returns StageQueryInput.Layout, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetParameterValues

func (v *StageQueryInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns StageQueryInput.ParameterValues, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetParameters

func (v *StageQueryInput) GetParameters() []ParameterSpecInput

GetParameters returns StageQueryInput.Parameters, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetPipeline

func (v *StageQueryInput) GetPipeline() string

GetPipeline returns StageQueryInput.Pipeline, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetStageID

func (v *StageQueryInput) GetStageID() *string

GetStageID returns StageQueryInput.StageID, and is useful for accessing the field via an interface.

func (*StageQueryInput) GetStageId

func (v *StageQueryInput) GetStageId() *string

GetStageId returns StageQueryInput.StageId, and is useful for accessing the field via an interface.

type StageQueryInputInputDefinition

type StageQueryInputInputDefinition struct {
	// Assign the short and unique user mnemonic for this input, used in @tableref expressions
	InputName string    `json:"inputName"`
	InputRole InputRole `json:"inputRole"`
	// One of the input definition fields is used; the others are null
	// because GO doesn't have unions.
	DatasetId   *string `json:"datasetId"`
	DatasetPath *string `json:"datasetPath"`
	// Only set stageId to reference input that comes from an actual stage in the same query
	StageId *string `json:"stageId"`
}

StageQueryInputInputDefinition includes the requested fields of the GraphQL type InputDefinition.

func (*StageQueryInputInputDefinition) GetDatasetId

func (v *StageQueryInputInputDefinition) GetDatasetId() *string

GetDatasetId returns StageQueryInputInputDefinition.DatasetId, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetDatasetPath

func (v *StageQueryInputInputDefinition) GetDatasetPath() *string

GetDatasetPath returns StageQueryInputInputDefinition.DatasetPath, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetInputName

func (v *StageQueryInputInputDefinition) GetInputName() string

GetInputName returns StageQueryInputInputDefinition.InputName, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetInputRole

func (v *StageQueryInputInputDefinition) GetInputRole() InputRole

GetInputRole returns StageQueryInputInputDefinition.InputRole, and is useful for accessing the field via an interface.

func (*StageQueryInputInputDefinition) GetStageId

func (v *StageQueryInputInputDefinition) GetStageId() *string

GetStageId returns StageQueryInputInputDefinition.StageId, and is useful for accessing the field via an interface.

type TaskResult

type TaskResult struct {
	// TODO: Move query ID generation out of QueryManager and closer to the UI,
	// and make the field mandatory. We want to always provide users with a
	// query ID for bug reporting and investigations.
	QueryId string  `json:"queryId"`
	StageId *string `json:"stageId"`
	// The time range which this set of results cover.
	StartTime *types.TimeScalar `json:"startTime"`
	EndTime   *types.TimeScalar `json:"endTime"`
	// You used to paginate the data yourself out of S3 -- not needed anymore
	ResultCursor *interface{} `json:"resultCursor"`
	// how to understand the columns in the result from Snowflake --
	ResultSchema *TaskResultResultSchemaTaskResultSchema `json:"resultSchema"`
}

TaskResult includes the GraphQL fields of TaskResult requested by the fragment TaskResult.

func (*TaskResult) GetEndTime

func (v *TaskResult) GetEndTime() *types.TimeScalar

GetEndTime returns TaskResult.EndTime, and is useful for accessing the field via an interface.

func (*TaskResult) GetQueryId

func (v *TaskResult) GetQueryId() string

GetQueryId returns TaskResult.QueryId, and is useful for accessing the field via an interface.

func (*TaskResult) GetResultCursor

func (v *TaskResult) GetResultCursor() *interface{}

GetResultCursor returns TaskResult.ResultCursor, and is useful for accessing the field via an interface.

func (*TaskResult) GetResultSchema

func (v *TaskResult) GetResultSchema() *TaskResultResultSchemaTaskResultSchema

GetResultSchema returns TaskResult.ResultSchema, and is useful for accessing the field via an interface.

func (*TaskResult) GetStageId

func (v *TaskResult) GetStageId() *string

GetStageId returns TaskResult.StageId, and is useful for accessing the field via an interface.

func (*TaskResult) GetStartTime

func (v *TaskResult) GetStartTime() *types.TimeScalar

GetStartTime returns TaskResult.StartTime, and is useful for accessing the field via an interface.

type TaskResultResultSchemaTaskResultSchema

type TaskResultResultSchemaTaskResultSchema struct {
	// this is the same schema as Typedef.definition
	TypedefDefinition *types.JsonObject `json:"typedefDefinition"`
}

TaskResultResultSchemaTaskResultSchema includes the requested fields of the GraphQL type TaskResultSchema.

func (*TaskResultResultSchemaTaskResultSchema) GetTypedefDefinition

func (v *TaskResultResultSchemaTaskResultSchema) GetTypedefDefinition() *types.JsonObject

GetTypedefDefinition returns TaskResultResultSchemaTaskResultSchema.TypedefDefinition, and is useful for accessing the field via an interface.

type TerraformDefinition

type TerraformDefinition struct {
	DataSource *string `json:"dataSource"`
	Resource   *string `json:"resource"`
	ImportId   *string `json:"importId"`
	ImportName *string `json:"importName"`
}

TerraformDefinition includes the GraphQL fields of TerraformDefinition requested by the fragment TerraformDefinition.

func (*TerraformDefinition) GetDataSource

func (v *TerraformDefinition) GetDataSource() *string

GetDataSource returns TerraformDefinition.DataSource, and is useful for accessing the field via an interface.

func (*TerraformDefinition) GetImportId

func (v *TerraformDefinition) GetImportId() *string

GetImportId returns TerraformDefinition.ImportId, and is useful for accessing the field via an interface.

func (*TerraformDefinition) GetImportName

func (v *TerraformDefinition) GetImportName() *string

GetImportName returns TerraformDefinition.ImportName, and is useful for accessing the field via an interface.

func (*TerraformDefinition) GetResource

func (v *TerraformDefinition) GetResource() *string

GetResource returns TerraformDefinition.Resource, and is useful for accessing the field via an interface.

type TerraformObjectType

type TerraformObjectType string
const (
	TerraformObjectTypeDataset   TerraformObjectType = "Dataset"
	TerraformObjectTypeBoard     TerraformObjectType = "Board"
	TerraformObjectTypeMonitor   TerraformObjectType = "Monitor"
	TerraformObjectTypeDashboard TerraformObjectType = "Dashboard"
)

type ThresholdAggFunction

type ThresholdAggFunction string
const (
	ThresholdAggFunctionAtalltimes  ThresholdAggFunction = "AtAllTimes"
	ThresholdAggFunctionAtleastonce ThresholdAggFunction = "AtLeastOnce"
	ThresholdAggFunctionOnaverage   ThresholdAggFunction = "OnAverage"
	ThresholdAggFunctionIntotal     ThresholdAggFunction = "InTotal"
)

type TimeFunction

type TimeFunction string
const (
	TimeFunctionNever                  TimeFunction = "Never"
	TimeFunctionAtleastonce            TimeFunction = "AtLeastOnce"
	TimeFunctionAtalltimes             TimeFunction = "AtAllTimes"
	TimeFunctionAtleastpercentagetime  TimeFunction = "AtLeastPercentageTime"
	TimeFunctionLessthanpercentagetime TimeFunction = "LessThanPercentageTime"
	TimeFunctionNoevents               TimeFunction = "NoEvents"
	TimeFunctionAllevents              TimeFunction = "AllEvents"
	TimeFunctionCounttimes             TimeFunction = "CountTimes"
)

type TimeRangeInput

type TimeRangeInput struct {
	Start *types.TimeScalar `json:"start"`
	End   *types.TimeScalar `json:"end"`
}

func (*TimeRangeInput) GetEnd

func (v *TimeRangeInput) GetEnd() *types.TimeScalar

GetEnd returns TimeRangeInput.End, and is useful for accessing the field via an interface.

func (*TimeRangeInput) GetStart

func (v *TimeRangeInput) GetStart() *types.TimeScalar

GetStart returns TimeRangeInput.Start, and is useful for accessing the field via an interface.

type TimeSinceEpoch

type TimeSinceEpoch struct {
	Value *types.Int64Scalar `json:"value"`
	Unit  *TimeUnit          `json:"unit"`
}

func (*TimeSinceEpoch) GetUnit

func (v *TimeSinceEpoch) GetUnit() *TimeUnit

GetUnit returns TimeSinceEpoch.Unit, and is useful for accessing the field via an interface.

func (*TimeSinceEpoch) GetValue

func (v *TimeSinceEpoch) GetValue() *types.Int64Scalar

GetValue returns TimeSinceEpoch.Value, and is useful for accessing the field via an interface.

type TimeUnit

type TimeUnit string
const (
	TimeUnitSecond      TimeUnit = "Second"
	TimeUnitMillisecond TimeUnit = "Millisecond"
	TimeUnitMicrosecond TimeUnit = "Microsecond"
	TimeUnitNanosecond  TimeUnit = "Nanosecond"
)

type User

type User struct {
	Id      types.UserIdScalar `json:"id"`
	Email   string             `json:"email"`
	Comment *string            `json:"comment"`
}

User includes the GraphQL fields of User requested by the fragment User.

func (*User) GetComment

func (v *User) GetComment() *string

GetComment returns User.Comment, and is useful for accessing the field via an interface.

func (*User) GetEmail

func (v *User) GetEmail() string

GetEmail returns User.Email, and is useful for accessing the field via an interface.

func (*User) GetId

func (v *User) GetId() types.UserIdScalar

GetId returns User.Id, and is useful for accessing the field via an interface.

func (*User) Oid

func (u *User) Oid() *oid.OID

type ValueType

type ValueType string

These are the OPAL native types that can go into worksheet parameters. Some of the native OPAL types aren't (currently?) exposed to the worksheet parameters, but it's likely we will expand this to the full roster over time. Also, there will be other places where we send "values" into the API. For example, we've dodged it so far in places like monitors, by saying "threshold is always float, and facet is always string," but a generic monitor specification should absolutely use ValueInput / ValueType.

const (
	// be explicit about the "empty" value for the null/unknown case
	ValueTypeNone       ValueType = "NONE"
	ValueTypeBool       ValueType = "BOOL"
	ValueTypeFloat64    ValueType = "FLOAT64"
	ValueTypeInt64      ValueType = "INT64"
	ValueTypeString     ValueType = "STRING"
	ValueTypeTimestamp  ValueType = "TIMESTAMP"
	ValueTypeDuration   ValueType = "DURATION"
	ValueTypeArray      ValueType = "ARRAY"
	ValueTypeLink       ValueType = "LINK"
	ValueTypeDatasetref ValueType = "DATASETREF"
)

type ValueTypeSpecInput

type ValueTypeSpecInput struct {
	Type            ValueType           `json:"type"`
	ArrayItemType   *ValueTypeSpecInput `json:"arrayItemType"`
	KeyForDatasetId *string             `json:"keyForDatasetId"`
}

func (*ValueTypeSpecInput) GetArrayItemType

func (v *ValueTypeSpecInput) GetArrayItemType() *ValueTypeSpecInput

GetArrayItemType returns ValueTypeSpecInput.ArrayItemType, and is useful for accessing the field via an interface.

func (*ValueTypeSpecInput) GetKeyForDatasetId

func (v *ValueTypeSpecInput) GetKeyForDatasetId() *string

GetKeyForDatasetId returns ValueTypeSpecInput.KeyForDatasetId, and is useful for accessing the field via an interface.

func (*ValueTypeSpecInput) GetType

func (v *ValueTypeSpecInput) GetType() ValueType

GetType returns ValueTypeSpecInput.Type, and is useful for accessing the field via an interface.

type WebhookActionInput

type WebhookActionInput struct {
	UrlTemplate  *string              `json:"urlTemplate"`
	Method       *string              `json:"method"`
	Headers      []WebhookHeaderInput `json:"headers"`
	BodyTemplate *string              `json:"bodyTemplate"`
}

func (*WebhookActionInput) GetBodyTemplate

func (v *WebhookActionInput) GetBodyTemplate() *string

GetBodyTemplate returns WebhookActionInput.BodyTemplate, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetHeaders

func (v *WebhookActionInput) GetHeaders() []WebhookHeaderInput

GetHeaders returns WebhookActionInput.Headers, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetMethod

func (v *WebhookActionInput) GetMethod() *string

GetMethod returns WebhookActionInput.Method, and is useful for accessing the field via an interface.

func (*WebhookActionInput) GetUrlTemplate

func (v *WebhookActionInput) GetUrlTemplate() *string

GetUrlTemplate returns WebhookActionInput.UrlTemplate, and is useful for accessing the field via an interface.

type WebhookHeaderInput

type WebhookHeaderInput struct {
	Header        string `json:"header"`
	ValueTemplate string `json:"valueTemplate"`
}

func (*WebhookHeaderInput) GetHeader

func (v *WebhookHeaderInput) GetHeader() string

GetHeader returns WebhookHeaderInput.Header, and is useful for accessing the field via an interface.

func (*WebhookHeaderInput) GetValueTemplate

func (v *WebhookHeaderInput) GetValueTemplate() string

GetValueTemplate returns WebhookHeaderInput.ValueTemplate, and is useful for accessing the field via an interface.

type Worksheet

type Worksheet struct {
	Id          string       `json:"id"`
	Label       string       `json:"label"`
	Icon        *string      `json:"icon"`
	ManagedById *string      `json:"managedById"`
	WorkspaceId string       `json:"workspaceId"`
	Stages      []StageQuery `json:"stages"`
}

Worksheet includes the GraphQL fields of Worksheet requested by the fragment Worksheet.

func (*Worksheet) GetIcon

func (v *Worksheet) GetIcon() *string

GetIcon returns Worksheet.Icon, and is useful for accessing the field via an interface.

func (*Worksheet) GetId

func (v *Worksheet) GetId() string

GetId returns Worksheet.Id, and is useful for accessing the field via an interface.

func (*Worksheet) GetLabel

func (v *Worksheet) GetLabel() string

GetLabel returns Worksheet.Label, and is useful for accessing the field via an interface.

func (*Worksheet) GetManagedById

func (v *Worksheet) GetManagedById() *string

GetManagedById returns Worksheet.ManagedById, and is useful for accessing the field via an interface.

func (*Worksheet) GetStages

func (v *Worksheet) GetStages() []StageQuery

GetStages returns Worksheet.Stages, and is useful for accessing the field via an interface.

func (*Worksheet) GetWorkspaceId

func (v *Worksheet) GetWorkspaceId() string

GetWorkspaceId returns Worksheet.WorkspaceId, and is useful for accessing the field via an interface.

func (*Worksheet) Oid

func (w *Worksheet) Oid() *oid.OID

type WorksheetInput

type WorksheetInput struct {
	// if id is not specified, a new worksheet is created
	Id              *string                 `json:"id"`
	Name            *string                 `json:"name"`
	WorkspaceId     string                  `json:"workspaceId"`
	ManagedById     *string                 `json:"managedById"`
	Layout          *types.JsonObject       `json:"layout"`
	IconUrl         *string                 `json:"iconUrl"`
	Stages          []StageQueryInput       `json:"stages"`
	Parameters      []ParameterSpecInput    `json:"parameters"`
	ParameterValues []ParameterBindingInput `json:"parameterValues"`
	Label           *string                 `json:"label"`
	Icon            *string                 `json:"icon"`
}

func (*WorksheetInput) GetIcon

func (v *WorksheetInput) GetIcon() *string

GetIcon returns WorksheetInput.Icon, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetIconUrl

func (v *WorksheetInput) GetIconUrl() *string

GetIconUrl returns WorksheetInput.IconUrl, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetId

func (v *WorksheetInput) GetId() *string

GetId returns WorksheetInput.Id, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetLabel

func (v *WorksheetInput) GetLabel() *string

GetLabel returns WorksheetInput.Label, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetLayout

func (v *WorksheetInput) GetLayout() *types.JsonObject

GetLayout returns WorksheetInput.Layout, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetManagedById

func (v *WorksheetInput) GetManagedById() *string

GetManagedById returns WorksheetInput.ManagedById, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetName

func (v *WorksheetInput) GetName() *string

GetName returns WorksheetInput.Name, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetParameterValues

func (v *WorksheetInput) GetParameterValues() []ParameterBindingInput

GetParameterValues returns WorksheetInput.ParameterValues, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetParameters

func (v *WorksheetInput) GetParameters() []ParameterSpecInput

GetParameters returns WorksheetInput.Parameters, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetStages

func (v *WorksheetInput) GetStages() []StageQueryInput

GetStages returns WorksheetInput.Stages, and is useful for accessing the field via an interface.

func (*WorksheetInput) GetWorkspaceId

func (v *WorksheetInput) GetWorkspaceId() string

GetWorkspaceId returns WorksheetInput.WorkspaceId, and is useful for accessing the field via an interface.

type Workspace

type Workspace struct {
	Id    string `json:"id"`
	Label string `json:"label"`
}

Workspace includes the GraphQL fields of Project requested by the fragment Workspace. The GraphQL type's documentation follows.

Project and Workspace are the same thing We call it Workspace in the UI design now, so at some point, maybe update the API to match the updated design?

func (*Workspace) GetId

func (v *Workspace) GetId() string

GetId returns Workspace.Id, and is useful for accessing the field via an interface.

func (*Workspace) GetLabel

func (v *Workspace) GetLabel() string

GetLabel returns Workspace.Label, and is useful for accessing the field via an interface.

func (*Workspace) Oid

func (w *Workspace) Oid() *oid.OID

type WorkspaceInput

type WorkspaceInput struct {
	Label    *string           `json:"label"`
	Timezone *string           `json:"timezone"`
	Layout   *types.JsonObject `json:"layout"`
}

func (*WorkspaceInput) GetLabel

func (v *WorkspaceInput) GetLabel() *string

GetLabel returns WorkspaceInput.Label, and is useful for accessing the field via an interface.

func (*WorkspaceInput) GetLayout

func (v *WorkspaceInput) GetLayout() *types.JsonObject

GetLayout returns WorkspaceInput.Layout, and is useful for accessing the field via an interface.

func (*WorkspaceInput) GetTimezone

func (v *WorkspaceInput) GetTimezone() *string

GetTimezone returns WorkspaceInput.Timezone, and is useful for accessing the field via an interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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