api

package module
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 7 Imported by: 0

README

Flatfile Go Library

fern shield go shield

The Flatfile Go library provides convenient access to the Flatfile API from Go.

Documentation

API reference documentation is available here.

Requirements

This module requires Go version >= 1.13.

Installation

Run the following command to use the Flatfile Go library in your module:

go get github.com/FlatFilers/flatfile-go

Usage

import flatfileclient "github.com/FlatFilers/flatfile-go/client"

client := flatfileclient.NewClient(flatfileclient.WithToken("<YOUR_AUTH_TOKEN>"))

Create Environment

import (
  flatfile       "github.com/FlatFilers/flatfile-go"
  flatfileclient "github.com/FlatFilers/flatfile-go/client"
)

client := flatfileclient.NewClient(flatfileclient.WithToken("<YOUR_AUTH_TOKEN>"))
response, err := client.Environments.Create(
  context.TODO(),
  &flatfile.EnvironmentConfigCreate{
    Name:   "development",
    IsProd: false,
  },
)

Timeouts

Setting a timeout for each individual request is as simple as using the standard context library. Setting a one second timeout for an individual API call looks like the following:

ctx, cancel := context.WithTimeout(context.TODO(), time.Second)
defer cancel()

response, err := client.Environments.Create(
  context.TODO(),
  &flatfile.EnvironmentConfigCreate{
    Name:   "development",
    IsProd: false,
  },
)

Client Options

A variety of client options are included to adapt the behavior of the library, which includes configuring authorization tokens to be sent on every request, or providing your own instrumented *http.Client. Both of these options are shown below:

client := flatfileclient.NewClient(
  flatfileclient.WithToken("<YOUR_AUTH_TOKEN>"),
  flatfileclient.WithHTTPClient(
    &http.Client{
      Timeout: 5 * time.Second,
    },
  ),
)

Providing your own *http.Client is recommended. Otherwise, the http.DefaultClient will be used, and your client will wait indefinitely for a response (unless the per-request, context-based timeout is used).

Errors

Structured error types are returned from API calls that return non-success status codes. For example, you can check if the error was due to a bad request (i.e. status code 400) with the following:

response, err := client.Environments.GetEnvironmentEventToken(
  context.TODO(),
  &flatfile.GetEnvironmentEventTokenRequest{
    EnvironmentId: "invalid-id",
  },
)
if err != nil {
  if badRequestErr, ok := err.(*flatfile.BadRequestError);
    // Do something with the bad request ...
  }
  return err
}

These errors are also compatible with the errors.Is and errors.As APIs, so you can access the error like so:

response, err := client.Environments.GetEnvironmentEventToken(
  context.TODO(),
  &flatfile.GetEnvironmentEventTokenRequest{
    EnvironmentId: "invalid-id",
  },
)
if err != nil {
  var badRequestErr *flatfile.BadRequestError
  if errors.As(err, badRequestErr) {
    // Do something with the bad request ...
  }
  return err
}

If you'd like to wrap the errors with additional information and still retain the ability to access the type with errors.Is and errors.As, you can use the %w directive:

response, err := client.Environments.GetEnvironmentEventToken(
  context.TODO(),
  &flatfile.GetEnvironmentEventTokenRequest{
    EnvironmentId: "invalid-id",
  },
)
if err != nil {
  return fmt.Errorf("failed to generate response: %w", err)
}

Beta Status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version. This way, you can install the same version each time without breaking changes.

Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func MustParseDate added in v0.0.8

func MustParseDate(date string) time.Time

MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.

func MustParseDateTime added in v0.0.8

func MustParseDateTime(datetime string) time.Time

MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func Time

func Time(t time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func UUID added in v0.0.8

func UUID(u uuid.UUID) *uuid.UUID

UUID returns a pointer to the given uuid.UUID value.

func Uint

func Uint(u uint) *uint

Uint returns a pointer to the given uint value.

func Uint16

func Uint16(u uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(u uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(u uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

Types

type Account added in v0.0.9

type Account struct {
	Id                      AccountId              `json:"id" url:"id"`
	Name                    string                 `json:"name" url:"name"`
	Subdomain               *string                `json:"subdomain,omitempty" url:"subdomain,omitempty"`
	VanityDomainDashboard   *string                `json:"vanityDomainDashboard,omitempty" url:"vanityDomainDashboard,omitempty"`
	VanityDomainSpaces      *string                `json:"vanityDomainSpaces,omitempty" url:"vanityDomainSpaces,omitempty"`
	EmbeddedDomainWhitelist []string               `json:"embeddedDomainWhitelist,omitempty" url:"embeddedDomainWhitelist,omitempty"`
	CustomFromEmail         *string                `json:"customFromEmail,omitempty" url:"customFromEmail,omitempty"`
	StripeCustomerId        *string                `json:"stripeCustomerId,omitempty" url:"stripeCustomerId,omitempty"`
	Metadata                map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	CreatedAt               time.Time              `json:"createdAt" url:"createdAt"`
	UpdatedAt               time.Time              `json:"updatedAt" url:"updatedAt"`
	DefaultAppId            *AppId                 `json:"defaultAppId,omitempty" url:"defaultAppId,omitempty"`
	Dashboard               *int                   `json:"dashboard,omitempty" url:"dashboard,omitempty"`
	// contains filtered or unexported fields
}

An account

func (*Account) GetCreatedAt added in v0.0.21

func (a *Account) GetCreatedAt() time.Time

func (*Account) GetCustomFromEmail added in v0.0.21

func (a *Account) GetCustomFromEmail() *string

func (*Account) GetDashboard added in v0.0.21

func (a *Account) GetDashboard() *int

func (*Account) GetDefaultAppId added in v0.0.21

func (a *Account) GetDefaultAppId() *AppId

func (*Account) GetEmbeddedDomainWhitelist added in v0.0.21

func (a *Account) GetEmbeddedDomainWhitelist() []string

func (*Account) GetExtraProperties added in v0.0.14

func (a *Account) GetExtraProperties() map[string]interface{}

func (*Account) GetId added in v0.0.21

func (a *Account) GetId() AccountId

func (*Account) GetMetadata added in v0.0.21

func (a *Account) GetMetadata() map[string]interface{}

func (*Account) GetName added in v0.0.21

func (a *Account) GetName() string

func (*Account) GetStripeCustomerId added in v0.0.21

func (a *Account) GetStripeCustomerId() *string

func (*Account) GetSubdomain added in v0.0.21

func (a *Account) GetSubdomain() *string

func (*Account) GetUpdatedAt added in v0.0.21

func (a *Account) GetUpdatedAt() time.Time

func (*Account) GetVanityDomainDashboard added in v0.0.21

func (a *Account) GetVanityDomainDashboard() *string

func (*Account) GetVanityDomainSpaces added in v0.0.21

func (a *Account) GetVanityDomainSpaces() *string

func (*Account) MarshalJSON added in v0.0.9

func (a *Account) MarshalJSON() ([]byte, error)

func (*Account) String added in v0.0.9

func (a *Account) String() string

func (*Account) UnmarshalJSON added in v0.0.9

func (a *Account) UnmarshalJSON(data []byte) error

type AccountId

type AccountId = string

Account ID

type AccountPatch added in v0.0.9

type AccountPatch struct {
	DefaultAppId AppId `json:"defaultAppId" url:"defaultAppId"`
	// contains filtered or unexported fields
}

Properties used to update an account

func (*AccountPatch) GetDefaultAppId added in v0.0.21

func (a *AccountPatch) GetDefaultAppId() AppId

func (*AccountPatch) GetExtraProperties added in v0.0.14

func (a *AccountPatch) GetExtraProperties() map[string]interface{}

func (*AccountPatch) String added in v0.0.9

func (a *AccountPatch) String() string

func (*AccountPatch) UnmarshalJSON added in v0.0.9

func (a *AccountPatch) UnmarshalJSON(data []byte) error

type AccountResponse added in v0.0.9

type AccountResponse struct {
	Data *Account `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountResponse) GetData added in v0.0.21

func (a *AccountResponse) GetData() *Account

func (*AccountResponse) GetExtraProperties added in v0.0.14

func (a *AccountResponse) GetExtraProperties() map[string]interface{}

func (*AccountResponse) String added in v0.0.9

func (a *AccountResponse) String() string

func (*AccountResponse) UnmarshalJSON added in v0.0.9

func (a *AccountResponse) UnmarshalJSON(data []byte) error

type Action

type Action struct {
	// **This is deprecated. Use `operation` instead.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// This will become the job operation that is triggered
	Operation *string `json:"operation,omitempty" url:"operation,omitempty"`
	// Foreground and toolbarBlocking action mode will prevent interacting with the resource until complete
	Mode *ActionMode `json:"mode,omitempty" url:"mode,omitempty"`
	// A tooltip that appears when hovering the action button
	Tooltip  *string          `json:"tooltip,omitempty" url:"tooltip,omitempty"`
	Messages []*ActionMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// **This is deprecated.**
	Type *string `json:"type,omitempty" url:"type,omitempty"`
	// The text that appears in the dialog after the action is clicked.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// Determines if the action should happen on a regular cadence.
	Schedule *ActionSchedule `json:"schedule,omitempty" url:"schedule,omitempty"`
	// A primary action will be more visibly present, whether in Sheet or Workbook.
	Primary *bool `json:"primary,omitempty" url:"primary,omitempty"`
	// Whether to show a modal to confirm the action
	Confirm *bool `json:"confirm,omitempty" url:"confirm,omitempty"`
	// Icon will work on primary actions. It will only accept an already existing Flatfile design system icon.
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireAllValid *bool `json:"requireAllValid,omitempty" url:"requireAllValid,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireSelection *bool `json:"requireSelection,omitempty" url:"requireSelection,omitempty"`
	// Adds an input form for this action after it is clicked.
	InputForm *InputForm `json:"inputForm,omitempty" url:"inputForm,omitempty"`
	// A limitation or restriction on the action.
	Constraints []*ActionConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	Mount       *ActionMount        `json:"mount,omitempty" url:"mount,omitempty"`
	Guide       *Guide              `json:"guide,omitempty" url:"guide,omitempty"`
	Guardrail   *Guardrail          `json:"guardrail,omitempty" url:"guardrail,omitempty"`
	// The text on the Button itself
	Label string `json:"label" url:"label"`
	// contains filtered or unexported fields
}

func (*Action) GetConfirm added in v0.0.21

func (a *Action) GetConfirm() *bool

func (*Action) GetConstraints added in v0.0.21

func (a *Action) GetConstraints() []*ActionConstraint

func (*Action) GetDescription added in v0.0.21

func (a *Action) GetDescription() *string

func (*Action) GetExtraProperties added in v0.0.14

func (a *Action) GetExtraProperties() map[string]interface{}

func (*Action) GetGuardrail added in v0.0.21

func (a *Action) GetGuardrail() *Guardrail

func (*Action) GetGuide added in v0.0.21

func (a *Action) GetGuide() *Guide

func (*Action) GetIcon added in v0.0.21

func (a *Action) GetIcon() *string

func (*Action) GetInputForm added in v0.0.21

func (a *Action) GetInputForm() *InputForm

func (*Action) GetLabel added in v0.0.21

func (a *Action) GetLabel() string

func (*Action) GetMessages added in v0.0.21

func (a *Action) GetMessages() []*ActionMessage

func (*Action) GetMode added in v0.0.21

func (a *Action) GetMode() *ActionMode

func (*Action) GetMount added in v0.0.21

func (a *Action) GetMount() *ActionMount

func (*Action) GetOperation added in v0.0.21

func (a *Action) GetOperation() *string

func (*Action) GetPrimary added in v0.0.21

func (a *Action) GetPrimary() *bool

func (*Action) GetRequireAllValid added in v0.0.21

func (a *Action) GetRequireAllValid() *bool

func (*Action) GetRequireSelection added in v0.0.21

func (a *Action) GetRequireSelection() *bool

func (*Action) GetSchedule added in v0.0.21

func (a *Action) GetSchedule() *ActionSchedule

func (*Action) GetSlug added in v0.0.21

func (a *Action) GetSlug() *string

func (*Action) GetTooltip added in v0.0.21

func (a *Action) GetTooltip() *string

func (*Action) GetType added in v0.0.21

func (a *Action) GetType() *string

func (*Action) String

func (a *Action) String() string

func (*Action) UnmarshalJSON

func (a *Action) UnmarshalJSON(data []byte) error

type ActionConstraint

type ActionConstraint struct {
	Type             string
	HasAllValid      *ActionConstraintHasAllValid
	HasSelection     *ActionConstraintHasSelection
	HasData          *ActionConstraintHasData
	HasColumnEnabled *ActionConstraintHasColumnEnabled
}

func NewActionConstraintFromHasAllValid added in v0.0.16

func NewActionConstraintFromHasAllValid(value *ActionConstraintHasAllValid) *ActionConstraint

func NewActionConstraintFromHasColumnEnabled added in v0.0.19

func NewActionConstraintFromHasColumnEnabled(value *ActionConstraintHasColumnEnabled) *ActionConstraint

func NewActionConstraintFromHasData added in v0.0.16

func NewActionConstraintFromHasData(value *ActionConstraintHasData) *ActionConstraint

func NewActionConstraintFromHasSelection added in v0.0.16

func NewActionConstraintFromHasSelection(value *ActionConstraintHasSelection) *ActionConstraint

func (*ActionConstraint) Accept added in v0.0.16

func (a *ActionConstraint) Accept(visitor ActionConstraintVisitor) error

func (*ActionConstraint) GetHasAllValid added in v0.0.21

func (a *ActionConstraint) GetHasAllValid() *ActionConstraintHasAllValid

func (*ActionConstraint) GetHasColumnEnabled added in v0.0.21

func (a *ActionConstraint) GetHasColumnEnabled() *ActionConstraintHasColumnEnabled

func (*ActionConstraint) GetHasData added in v0.0.21

func (a *ActionConstraint) GetHasData() *ActionConstraintHasData

func (*ActionConstraint) GetHasSelection added in v0.0.21

func (a *ActionConstraint) GetHasSelection() *ActionConstraintHasSelection

func (*ActionConstraint) GetType added in v0.0.21

func (a *ActionConstraint) GetType() string

func (ActionConstraint) MarshalJSON added in v0.0.16

func (a ActionConstraint) MarshalJSON() ([]byte, error)

func (*ActionConstraint) UnmarshalJSON

func (a *ActionConstraint) UnmarshalJSON(data []byte) error

type ActionConstraintHasAllValid added in v0.0.16

type ActionConstraintHasAllValid struct {
	IgnoreSelection *bool `json:"ignoreSelection,omitempty" url:"ignoreSelection,omitempty"`
	// contains filtered or unexported fields
}

This constraint requires that all records are valid before the action can be performed.

func (*ActionConstraintHasAllValid) GetExtraProperties added in v0.0.16

func (a *ActionConstraintHasAllValid) GetExtraProperties() map[string]interface{}

func (*ActionConstraintHasAllValid) GetIgnoreSelection added in v0.0.21

func (a *ActionConstraintHasAllValid) GetIgnoreSelection() *bool

func (*ActionConstraintHasAllValid) String added in v0.0.16

func (a *ActionConstraintHasAllValid) String() string

func (*ActionConstraintHasAllValid) UnmarshalJSON added in v0.0.16

func (a *ActionConstraintHasAllValid) UnmarshalJSON(data []byte) error

type ActionConstraintHasColumnEnabled added in v0.0.19

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

This constraint requires the column to be enabled and not readonly before the action can be performed.

func (*ActionConstraintHasColumnEnabled) GetExtraProperties added in v0.0.19

func (a *ActionConstraintHasColumnEnabled) GetExtraProperties() map[string]interface{}

func (*ActionConstraintHasColumnEnabled) String added in v0.0.19

func (*ActionConstraintHasColumnEnabled) UnmarshalJSON added in v0.0.19

func (a *ActionConstraintHasColumnEnabled) UnmarshalJSON(data []byte) error

type ActionConstraintHasData added in v0.0.16

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

This constraint requires that at least one record exists before the action can be performed.

func (*ActionConstraintHasData) GetExtraProperties added in v0.0.16

func (a *ActionConstraintHasData) GetExtraProperties() map[string]interface{}

func (*ActionConstraintHasData) String added in v0.0.16

func (a *ActionConstraintHasData) String() string

func (*ActionConstraintHasData) UnmarshalJSON added in v0.0.16

func (a *ActionConstraintHasData) UnmarshalJSON(data []byte) error

type ActionConstraintHasSelection added in v0.0.16

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

This constraint requires that at least one record is selected before the action can be performed.

func (*ActionConstraintHasSelection) GetExtraProperties added in v0.0.16

func (a *ActionConstraintHasSelection) GetExtraProperties() map[string]interface{}

func (*ActionConstraintHasSelection) String added in v0.0.16

func (*ActionConstraintHasSelection) UnmarshalJSON added in v0.0.16

func (a *ActionConstraintHasSelection) UnmarshalJSON(data []byte) error

type ActionConstraintVisitor added in v0.0.16

type ActionConstraintVisitor interface {
	VisitHasAllValid(*ActionConstraintHasAllValid) error
	VisitHasSelection(*ActionConstraintHasSelection) error
	VisitHasData(*ActionConstraintHasData) error
	VisitHasColumnEnabled(*ActionConstraintHasColumnEnabled) error
}

type ActionCreateRequest added in v0.0.23

type ActionCreateRequest struct {
	// The Space ID for which to create the Action.
	SpaceId SpaceId          `json:"-" url:"spaceId"`
	Body    *ApiActionConfig `json:"-" url:"-"`
}

func (*ActionCreateRequest) MarshalJSON added in v0.0.23

func (a *ActionCreateRequest) MarshalJSON() ([]byte, error)

func (*ActionCreateRequest) UnmarshalJSON added in v0.0.23

func (a *ActionCreateRequest) UnmarshalJSON(data []byte) error

type ActionId added in v0.0.17

type ActionId = string

Action ID

type ActionMessage added in v0.0.6

type ActionMessage struct {
	Type    ActionMessageType `json:"type" url:"type"`
	Content string            `json:"content" url:"content"`
	// contains filtered or unexported fields
}

func (*ActionMessage) GetContent added in v0.0.21

func (a *ActionMessage) GetContent() string

func (*ActionMessage) GetExtraProperties added in v0.0.14

func (a *ActionMessage) GetExtraProperties() map[string]interface{}

func (*ActionMessage) GetType added in v0.0.21

func (a *ActionMessage) GetType() ActionMessageType

func (*ActionMessage) String added in v0.0.6

func (a *ActionMessage) String() string

func (*ActionMessage) UnmarshalJSON added in v0.0.6

func (a *ActionMessage) UnmarshalJSON(data []byte) error

type ActionMessageType added in v0.0.6

type ActionMessageType string
const (
	ActionMessageTypeError ActionMessageType = "error"
	ActionMessageTypeInfo  ActionMessageType = "info"
)

func NewActionMessageTypeFromString added in v0.0.6

func NewActionMessageTypeFromString(s string) (ActionMessageType, error)

func (ActionMessageType) Ptr added in v0.0.6

type ActionMode

type ActionMode string

Foreground actions will prevent interacting with the resource until complete

const (
	ActionModeForeground      ActionMode = "foreground"
	ActionModeBackground      ActionMode = "background"
	ActionModeToolbarBlocking ActionMode = "toolbarBlocking"
)

func NewActionModeFromString

func NewActionModeFromString(s string) (ActionMode, error)

func (ActionMode) Ptr

func (a ActionMode) Ptr() *ActionMode

type ActionMount added in v0.0.17

type ActionMount struct {
	Type     string
	Sheet    *ActionMountSheet
	Workbook *ActionMountWorkbook
	Field    *ActionMountField
	Document *ActionMountDocument
	File     *ActionMountFile
}

func NewActionMountFromDocument added in v0.0.17

func NewActionMountFromDocument(value *ActionMountDocument) *ActionMount

func NewActionMountFromField added in v0.0.17

func NewActionMountFromField(value *ActionMountField) *ActionMount

func NewActionMountFromFile added in v0.0.17

func NewActionMountFromFile(value *ActionMountFile) *ActionMount

func NewActionMountFromSheet added in v0.0.17

func NewActionMountFromSheet(value *ActionMountSheet) *ActionMount

func NewActionMountFromWorkbook added in v0.0.17

func NewActionMountFromWorkbook(value *ActionMountWorkbook) *ActionMount

func (*ActionMount) Accept added in v0.0.17

func (a *ActionMount) Accept(visitor ActionMountVisitor) error

func (*ActionMount) GetDocument added in v0.0.21

func (a *ActionMount) GetDocument() *ActionMountDocument

func (*ActionMount) GetField added in v0.0.21

func (a *ActionMount) GetField() *ActionMountField

func (*ActionMount) GetFile added in v0.0.21

func (a *ActionMount) GetFile() *ActionMountFile

func (*ActionMount) GetSheet added in v0.0.21

func (a *ActionMount) GetSheet() *ActionMountSheet

func (*ActionMount) GetType added in v0.0.21

func (a *ActionMount) GetType() string

func (*ActionMount) GetWorkbook added in v0.0.21

func (a *ActionMount) GetWorkbook() *ActionMountWorkbook

func (ActionMount) MarshalJSON added in v0.0.17

func (a ActionMount) MarshalJSON() ([]byte, error)

func (*ActionMount) UnmarshalJSON added in v0.0.17

func (a *ActionMount) UnmarshalJSON(data []byte) error

type ActionMountDocument added in v0.0.17

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

Used to mount this action on documents.

func (*ActionMountDocument) GetExtraProperties added in v0.0.17

func (a *ActionMountDocument) GetExtraProperties() map[string]interface{}

func (*ActionMountDocument) String added in v0.0.17

func (a *ActionMountDocument) String() string

func (*ActionMountDocument) UnmarshalJSON added in v0.0.17

func (a *ActionMountDocument) UnmarshalJSON(data []byte) error

type ActionMountField added in v0.0.17

type ActionMountField struct {
	Keys []string `json:"keys,omitempty" url:"keys,omitempty"`
	// contains filtered or unexported fields
}

Used to mount this action on Sheet Columns.

func (*ActionMountField) GetExtraProperties added in v0.0.17

func (a *ActionMountField) GetExtraProperties() map[string]interface{}

func (*ActionMountField) GetKeys added in v0.0.21

func (a *ActionMountField) GetKeys() []string

func (*ActionMountField) String added in v0.0.17

func (a *ActionMountField) String() string

func (*ActionMountField) UnmarshalJSON added in v0.0.17

func (a *ActionMountField) UnmarshalJSON(data []byte) error

type ActionMountFile added in v0.0.17

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

Used to mount this action on files.

func (*ActionMountFile) GetExtraProperties added in v0.0.17

func (a *ActionMountFile) GetExtraProperties() map[string]interface{}

func (*ActionMountFile) String added in v0.0.17

func (a *ActionMountFile) String() string

func (*ActionMountFile) UnmarshalJSON added in v0.0.17

func (a *ActionMountFile) UnmarshalJSON(data []byte) error

type ActionMountSheet added in v0.0.17

type ActionMountSheet struct {
	Slugs []string `json:"slugs,omitempty" url:"slugs,omitempty"`
	// contains filtered or unexported fields
}

Used to mount this action on Sheets.

func (*ActionMountSheet) GetExtraProperties added in v0.0.17

func (a *ActionMountSheet) GetExtraProperties() map[string]interface{}

func (*ActionMountSheet) GetSlugs added in v0.0.21

func (a *ActionMountSheet) GetSlugs() []string

func (*ActionMountSheet) String added in v0.0.17

func (a *ActionMountSheet) String() string

func (*ActionMountSheet) UnmarshalJSON added in v0.0.17

func (a *ActionMountSheet) UnmarshalJSON(data []byte) error

type ActionMountVisitor added in v0.0.17

type ActionMountVisitor interface {
	VisitSheet(*ActionMountSheet) error
	VisitWorkbook(*ActionMountWorkbook) error
	VisitField(*ActionMountField) error
	VisitDocument(*ActionMountDocument) error
	VisitFile(*ActionMountFile) error
}

type ActionMountWorkbook added in v0.0.17

type ActionMountWorkbook struct {
	Slugs []string `json:"slugs,omitempty" url:"slugs,omitempty"`
	// contains filtered or unexported fields
}

Used to mount this action on Workbooks.

func (*ActionMountWorkbook) GetExtraProperties added in v0.0.17

func (a *ActionMountWorkbook) GetExtraProperties() map[string]interface{}

func (*ActionMountWorkbook) GetSlugs added in v0.0.21

func (a *ActionMountWorkbook) GetSlugs() []string

func (*ActionMountWorkbook) String added in v0.0.17

func (a *ActionMountWorkbook) String() string

func (*ActionMountWorkbook) UnmarshalJSON added in v0.0.17

func (a *ActionMountWorkbook) UnmarshalJSON(data []byte) error

type ActionName

type ActionName = string

Name of an action

type ActionSchedule

type ActionSchedule string
const (
	ActionScheduleWeekly ActionSchedule = "weekly"
	ActionScheduleDaily  ActionSchedule = "daily"
	ActionScheduleHourly ActionSchedule = "hourly"
)

func NewActionScheduleFromString

func NewActionScheduleFromString(s string) (ActionSchedule, error)

func (ActionSchedule) Ptr

func (a ActionSchedule) Ptr() *ActionSchedule

type ActionUpdate added in v0.0.17

type ActionUpdate struct {
	// **This is deprecated. Use `operation` instead.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// This will become the job operation that is triggered
	Operation *string `json:"operation,omitempty" url:"operation,omitempty"`
	// Foreground and toolbarBlocking action mode will prevent interacting with the resource until complete
	Mode *ActionMode `json:"mode,omitempty" url:"mode,omitempty"`
	// A tooltip that appears when hovering the action button
	Tooltip  *string          `json:"tooltip,omitempty" url:"tooltip,omitempty"`
	Messages []*ActionMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// **This is deprecated.**
	Type *string `json:"type,omitempty" url:"type,omitempty"`
	// The text that appears in the dialog after the action is clicked.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// Determines if the action should happen on a regular cadence.
	Schedule *ActionSchedule `json:"schedule,omitempty" url:"schedule,omitempty"`
	// A primary action will be more visibly present, whether in Sheet or Workbook.
	Primary *bool `json:"primary,omitempty" url:"primary,omitempty"`
	// Whether to show a modal to confirm the action
	Confirm *bool `json:"confirm,omitempty" url:"confirm,omitempty"`
	// Icon will work on primary actions. It will only accept an already existing Flatfile design system icon.
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireAllValid *bool `json:"requireAllValid,omitempty" url:"requireAllValid,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireSelection *bool `json:"requireSelection,omitempty" url:"requireSelection,omitempty"`
	// Adds an input form for this action after it is clicked.
	InputForm *InputForm `json:"inputForm,omitempty" url:"inputForm,omitempty"`
	// A limitation or restriction on the action.
	Constraints []*ActionConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	Mount       *ActionMount        `json:"mount,omitempty" url:"mount,omitempty"`
	Guide       *Guide              `json:"guide,omitempty" url:"guide,omitempty"`
	Guardrail   *Guardrail          `json:"guardrail,omitempty" url:"guardrail,omitempty"`
	Label       *string             `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionUpdate) GetConfirm added in v0.0.21

func (a *ActionUpdate) GetConfirm() *bool

func (*ActionUpdate) GetConstraints added in v0.0.21

func (a *ActionUpdate) GetConstraints() []*ActionConstraint

func (*ActionUpdate) GetDescription added in v0.0.21

func (a *ActionUpdate) GetDescription() *string

func (*ActionUpdate) GetExtraProperties added in v0.0.17

func (a *ActionUpdate) GetExtraProperties() map[string]interface{}

func (*ActionUpdate) GetGuardrail added in v0.0.21

func (a *ActionUpdate) GetGuardrail() *Guardrail

func (*ActionUpdate) GetGuide added in v0.0.21

func (a *ActionUpdate) GetGuide() *Guide

func (*ActionUpdate) GetIcon added in v0.0.21

func (a *ActionUpdate) GetIcon() *string

func (*ActionUpdate) GetInputForm added in v0.0.21

func (a *ActionUpdate) GetInputForm() *InputForm

func (*ActionUpdate) GetLabel added in v0.0.21

func (a *ActionUpdate) GetLabel() *string

func (*ActionUpdate) GetMessages added in v0.0.21

func (a *ActionUpdate) GetMessages() []*ActionMessage

func (*ActionUpdate) GetMode added in v0.0.21

func (a *ActionUpdate) GetMode() *ActionMode

func (*ActionUpdate) GetMount added in v0.0.21

func (a *ActionUpdate) GetMount() *ActionMount

func (*ActionUpdate) GetOperation added in v0.0.21

func (a *ActionUpdate) GetOperation() *string

func (*ActionUpdate) GetPrimary added in v0.0.21

func (a *ActionUpdate) GetPrimary() *bool

func (*ActionUpdate) GetRequireAllValid added in v0.0.21

func (a *ActionUpdate) GetRequireAllValid() *bool

func (*ActionUpdate) GetRequireSelection added in v0.0.21

func (a *ActionUpdate) GetRequireSelection() *bool

func (*ActionUpdate) GetSchedule added in v0.0.21

func (a *ActionUpdate) GetSchedule() *ActionSchedule

func (*ActionUpdate) GetSlug added in v0.0.21

func (a *ActionUpdate) GetSlug() *string

func (*ActionUpdate) GetTooltip added in v0.0.21

func (a *ActionUpdate) GetTooltip() *string

func (*ActionUpdate) GetType added in v0.0.21

func (a *ActionUpdate) GetType() *string

func (*ActionUpdate) String added in v0.0.17

func (a *ActionUpdate) String() string

func (*ActionUpdate) UnmarshalJSON added in v0.0.17

func (a *ActionUpdate) UnmarshalJSON(data []byte) error

type ActionWithoutLabel added in v0.0.17

type ActionWithoutLabel struct {
	// **This is deprecated. Use `operation` instead.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// This will become the job operation that is triggered
	Operation *string `json:"operation,omitempty" url:"operation,omitempty"`
	// Foreground and toolbarBlocking action mode will prevent interacting with the resource until complete
	Mode *ActionMode `json:"mode,omitempty" url:"mode,omitempty"`
	// A tooltip that appears when hovering the action button
	Tooltip  *string          `json:"tooltip,omitempty" url:"tooltip,omitempty"`
	Messages []*ActionMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// **This is deprecated.**
	Type *string `json:"type,omitempty" url:"type,omitempty"`
	// The text that appears in the dialog after the action is clicked.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// Determines if the action should happen on a regular cadence.
	Schedule *ActionSchedule `json:"schedule,omitempty" url:"schedule,omitempty"`
	// A primary action will be more visibly present, whether in Sheet or Workbook.
	Primary *bool `json:"primary,omitempty" url:"primary,omitempty"`
	// Whether to show a modal to confirm the action
	Confirm *bool `json:"confirm,omitempty" url:"confirm,omitempty"`
	// Icon will work on primary actions. It will only accept an already existing Flatfile design system icon.
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireAllValid *bool `json:"requireAllValid,omitempty" url:"requireAllValid,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireSelection *bool `json:"requireSelection,omitempty" url:"requireSelection,omitempty"`
	// Adds an input form for this action after it is clicked.
	InputForm *InputForm `json:"inputForm,omitempty" url:"inputForm,omitempty"`
	// A limitation or restriction on the action.
	Constraints []*ActionConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	Mount       *ActionMount        `json:"mount,omitempty" url:"mount,omitempty"`
	Guide       *Guide              `json:"guide,omitempty" url:"guide,omitempty"`
	Guardrail   *Guardrail          `json:"guardrail,omitempty" url:"guardrail,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionWithoutLabel) GetConfirm added in v0.0.21

func (a *ActionWithoutLabel) GetConfirm() *bool

func (*ActionWithoutLabel) GetConstraints added in v0.0.21

func (a *ActionWithoutLabel) GetConstraints() []*ActionConstraint

func (*ActionWithoutLabel) GetDescription added in v0.0.21

func (a *ActionWithoutLabel) GetDescription() *string

func (*ActionWithoutLabel) GetExtraProperties added in v0.0.17

func (a *ActionWithoutLabel) GetExtraProperties() map[string]interface{}

func (*ActionWithoutLabel) GetGuardrail added in v0.0.21

func (a *ActionWithoutLabel) GetGuardrail() *Guardrail

func (*ActionWithoutLabel) GetGuide added in v0.0.21

func (a *ActionWithoutLabel) GetGuide() *Guide

func (*ActionWithoutLabel) GetIcon added in v0.0.21

func (a *ActionWithoutLabel) GetIcon() *string

func (*ActionWithoutLabel) GetInputForm added in v0.0.21

func (a *ActionWithoutLabel) GetInputForm() *InputForm

func (*ActionWithoutLabel) GetMessages added in v0.0.21

func (a *ActionWithoutLabel) GetMessages() []*ActionMessage

func (*ActionWithoutLabel) GetMode added in v0.0.21

func (a *ActionWithoutLabel) GetMode() *ActionMode

func (*ActionWithoutLabel) GetMount added in v0.0.21

func (a *ActionWithoutLabel) GetMount() *ActionMount

func (*ActionWithoutLabel) GetOperation added in v0.0.21

func (a *ActionWithoutLabel) GetOperation() *string

func (*ActionWithoutLabel) GetPrimary added in v0.0.21

func (a *ActionWithoutLabel) GetPrimary() *bool

func (*ActionWithoutLabel) GetRequireAllValid added in v0.0.21

func (a *ActionWithoutLabel) GetRequireAllValid() *bool

func (*ActionWithoutLabel) GetRequireSelection added in v0.0.21

func (a *ActionWithoutLabel) GetRequireSelection() *bool

func (*ActionWithoutLabel) GetSchedule added in v0.0.21

func (a *ActionWithoutLabel) GetSchedule() *ActionSchedule

func (*ActionWithoutLabel) GetSlug added in v0.0.21

func (a *ActionWithoutLabel) GetSlug() *string

func (*ActionWithoutLabel) GetTooltip added in v0.0.21

func (a *ActionWithoutLabel) GetTooltip() *string

func (*ActionWithoutLabel) GetType added in v0.0.21

func (a *ActionWithoutLabel) GetType() *string

func (*ActionWithoutLabel) String added in v0.0.17

func (a *ActionWithoutLabel) String() string

func (*ActionWithoutLabel) UnmarshalJSON added in v0.0.17

func (a *ActionWithoutLabel) UnmarshalJSON(data []byte) error

type ActionsBulkCreateRequest added in v0.0.23

type ActionsBulkCreateRequest struct {
	// The Space ID for which to create the Actions.
	SpaceId SpaceId          `json:"-" url:"spaceId"`
	Body    ApiActionConfigs `json:"-" url:"-"`
}

func (*ActionsBulkCreateRequest) MarshalJSON added in v0.0.23

func (a *ActionsBulkCreateRequest) MarshalJSON() ([]byte, error)

func (*ActionsBulkCreateRequest) UnmarshalJSON added in v0.0.23

func (a *ActionsBulkCreateRequest) UnmarshalJSON(data []byte) error

type ActorIdUnion

type ActorIdUnion struct {
	UserId  UserId
	AgentId AgentId
	GuestId GuestId
	// contains filtered or unexported fields
}

func NewActorIdUnionFromAgentId

func NewActorIdUnionFromAgentId(value AgentId) *ActorIdUnion

func NewActorIdUnionFromGuestId

func NewActorIdUnionFromGuestId(value GuestId) *ActorIdUnion

func NewActorIdUnionFromUserId

func NewActorIdUnionFromUserId(value UserId) *ActorIdUnion

func (*ActorIdUnion) Accept

func (a *ActorIdUnion) Accept(visitor ActorIdUnionVisitor) error

func (*ActorIdUnion) GetAgentId added in v0.0.21

func (a *ActorIdUnion) GetAgentId() AgentId

func (*ActorIdUnion) GetGuestId added in v0.0.21

func (a *ActorIdUnion) GetGuestId() GuestId

func (*ActorIdUnion) GetUserId added in v0.0.21

func (a *ActorIdUnion) GetUserId() UserId

func (ActorIdUnion) MarshalJSON

func (a ActorIdUnion) MarshalJSON() ([]byte, error)

func (*ActorIdUnion) UnmarshalJSON

func (a *ActorIdUnion) UnmarshalJSON(data []byte) error

type ActorIdUnionVisitor

type ActorIdUnionVisitor interface {
	VisitUserId(UserId) error
	VisitAgentId(AgentId) error
	VisitGuestId(GuestId) error
}

type ActorRoleId added in v0.0.8

type ActorRoleId = string

Actor Role ID

type ActorRoleResponse added in v0.0.8

type ActorRoleResponse struct {
	Id         ActorRoleId      `json:"id" url:"id"`
	RoleId     RoleId           `json:"roleId" url:"roleId"`
	ActorId    *ActorIdUnion    `json:"actorId,omitempty" url:"actorId,omitempty"`
	ResourceId *ResourceIdUnion `json:"resourceId,omitempty" url:"resourceId,omitempty"`
	CreatedAt  time.Time        `json:"createdAt" url:"createdAt"`
	UpdatedAt  time.Time        `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

func (*ActorRoleResponse) GetActorId added in v0.0.21

func (a *ActorRoleResponse) GetActorId() *ActorIdUnion

func (*ActorRoleResponse) GetCreatedAt added in v0.0.21

func (a *ActorRoleResponse) GetCreatedAt() time.Time

func (*ActorRoleResponse) GetExtraProperties added in v0.0.14

func (a *ActorRoleResponse) GetExtraProperties() map[string]interface{}

func (*ActorRoleResponse) GetId added in v0.0.21

func (a *ActorRoleResponse) GetId() ActorRoleId

func (*ActorRoleResponse) GetResourceId added in v0.0.21

func (a *ActorRoleResponse) GetResourceId() *ResourceIdUnion

func (*ActorRoleResponse) GetRoleId added in v0.0.21

func (a *ActorRoleResponse) GetRoleId() RoleId

func (*ActorRoleResponse) GetUpdatedAt added in v0.0.21

func (a *ActorRoleResponse) GetUpdatedAt() time.Time

func (*ActorRoleResponse) MarshalJSON added in v0.0.8

func (a *ActorRoleResponse) MarshalJSON() ([]byte, error)

func (*ActorRoleResponse) String added in v0.0.8

func (a *ActorRoleResponse) String() string

func (*ActorRoleResponse) UnmarshalJSON added in v0.0.8

func (a *ActorRoleResponse) UnmarshalJSON(data []byte) error

type AddRecordsToDataClipJobConfig added in v0.0.19

type AddRecordsToDataClipJobConfig struct {
	DataClipId DataClipId `json:"dataClipId" url:"dataClipId"`
	SheetId    SheetId    `json:"sheetId" url:"sheetId"`
	// contains filtered or unexported fields
}

The configuration for an add records to DataClip job

func (*AddRecordsToDataClipJobConfig) GetDataClipId added in v0.0.21

func (a *AddRecordsToDataClipJobConfig) GetDataClipId() DataClipId

func (*AddRecordsToDataClipJobConfig) GetExtraProperties added in v0.0.19

func (a *AddRecordsToDataClipJobConfig) GetExtraProperties() map[string]interface{}

func (*AddRecordsToDataClipJobConfig) GetSheetId added in v0.0.21

func (a *AddRecordsToDataClipJobConfig) GetSheetId() SheetId

func (*AddRecordsToDataClipJobConfig) String added in v0.0.19

func (*AddRecordsToDataClipJobConfig) UnmarshalJSON added in v0.0.19

func (a *AddRecordsToDataClipJobConfig) UnmarshalJSON(data []byte) error

type Agent

type Agent struct {
	// The topics the agent should listen for
	Topics []EventTopic `json:"topics,omitempty" url:"topics,omitempty"`
	// The compiler of the agent
	Compiler *Compiler `json:"compiler,omitempty" url:"compiler,omitempty"`
	// The source of the agent
	Source *string `json:"source,omitempty" url:"source,omitempty"`
	// The source map of the agent
	SourceMap *string `json:"sourceMap,omitempty" url:"sourceMap,omitempty"`
	// The slug of the agent
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// Options for the agent
	Options       map[string]interface{} `json:"options,omitempty" url:"options,omitempty"`
	Id            AgentId                `json:"id" url:"id"`
	CreatedAt     time.Time              `json:"createdAt" url:"createdAt"`
	UpdatedAt     time.Time              `json:"updatedAt" url:"updatedAt"`
	AccountId     AccountId              `json:"accountId" url:"accountId"`
	EnvironmentId EnvironmentId          `json:"environmentId" url:"environmentId"`
	// contains filtered or unexported fields
}

func (*Agent) GetAccountId added in v0.0.21

func (a *Agent) GetAccountId() AccountId

func (*Agent) GetCompiler added in v0.0.21

func (a *Agent) GetCompiler() *Compiler

func (*Agent) GetCreatedAt added in v0.0.21

func (a *Agent) GetCreatedAt() time.Time

func (*Agent) GetEnvironmentId added in v0.0.21

func (a *Agent) GetEnvironmentId() EnvironmentId

func (*Agent) GetExtraProperties added in v0.0.14

func (a *Agent) GetExtraProperties() map[string]interface{}

func (*Agent) GetId added in v0.0.21

func (a *Agent) GetId() AgentId

func (*Agent) GetOptions added in v0.0.21

func (a *Agent) GetOptions() map[string]interface{}

func (*Agent) GetSlug added in v0.0.21

func (a *Agent) GetSlug() *string

func (*Agent) GetSource added in v0.0.21

func (a *Agent) GetSource() *string

func (*Agent) GetSourceMap added in v0.0.21

func (a *Agent) GetSourceMap() *string

func (*Agent) GetTopics added in v0.0.21

func (a *Agent) GetTopics() []EventTopic

func (*Agent) GetUpdatedAt added in v0.0.21

func (a *Agent) GetUpdatedAt() time.Time

func (*Agent) MarshalJSON added in v0.0.15

func (a *Agent) MarshalJSON() ([]byte, error)

func (*Agent) String

func (a *Agent) String() string

func (*Agent) UnmarshalJSON

func (a *Agent) UnmarshalJSON(data []byte) error

type AgentConfig

type AgentConfig struct {
	// The topics the agent should listen for
	Topics []EventTopic `json:"topics,omitempty" url:"topics,omitempty"`
	// The compiler of the agent
	Compiler *Compiler `json:"compiler,omitempty" url:"compiler,omitempty"`
	// The source of the agent
	Source *string `json:"source,omitempty" url:"source,omitempty"`
	// The source map of the agent
	SourceMap *string `json:"sourceMap,omitempty" url:"sourceMap,omitempty"`
	// The slug of the agent
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// Options for the agent
	Options map[string]interface{} `json:"options,omitempty" url:"options,omitempty"`
	// contains filtered or unexported fields
}

Properties used to create a new agent

func (*AgentConfig) GetCompiler added in v0.0.21

func (a *AgentConfig) GetCompiler() *Compiler

func (*AgentConfig) GetExtraProperties added in v0.0.14

func (a *AgentConfig) GetExtraProperties() map[string]interface{}

func (*AgentConfig) GetOptions added in v0.0.21

func (a *AgentConfig) GetOptions() map[string]interface{}

func (*AgentConfig) GetSlug added in v0.0.21

func (a *AgentConfig) GetSlug() *string

func (*AgentConfig) GetSource added in v0.0.21

func (a *AgentConfig) GetSource() *string

func (*AgentConfig) GetSourceMap added in v0.0.21

func (a *AgentConfig) GetSourceMap() *string

func (*AgentConfig) GetTopics added in v0.0.21

func (a *AgentConfig) GetTopics() []EventTopic

func (*AgentConfig) String

func (a *AgentConfig) String() string

func (*AgentConfig) UnmarshalJSON

func (a *AgentConfig) UnmarshalJSON(data []byte) error

type AgentId

type AgentId = string

Agent ID

type AgentLog

type AgentLog struct {
	EventId EventId `json:"eventId" url:"eventId"`
	// Whether the agent execution was successful
	Success     bool   `json:"success" url:"success"`
	CreatedAt   string `json:"createdAt" url:"createdAt"`
	CompletedAt string `json:"completedAt" url:"completedAt"`
	// The log of the agent execution
	Log *string `json:"log,omitempty" url:"log,omitempty"`
	// contains filtered or unexported fields
}

A log of an agent execution

func (*AgentLog) GetCompletedAt added in v0.0.21

func (a *AgentLog) GetCompletedAt() string

func (*AgentLog) GetCreatedAt added in v0.0.21

func (a *AgentLog) GetCreatedAt() string

func (*AgentLog) GetEventId added in v0.0.21

func (a *AgentLog) GetEventId() EventId

func (*AgentLog) GetExtraProperties added in v0.0.14

func (a *AgentLog) GetExtraProperties() map[string]interface{}

func (*AgentLog) GetLog added in v0.0.21

func (a *AgentLog) GetLog() *string

func (*AgentLog) GetSuccess added in v0.0.21

func (a *AgentLog) GetSuccess() bool

func (*AgentLog) String

func (a *AgentLog) String() string

func (*AgentLog) UnmarshalJSON

func (a *AgentLog) UnmarshalJSON(data []byte) error

type AgentResponse

type AgentResponse struct {
	Data *Agent `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentResponse) GetData added in v0.0.21

func (a *AgentResponse) GetData() *Agent

func (*AgentResponse) GetExtraProperties added in v0.0.14

func (a *AgentResponse) GetExtraProperties() map[string]interface{}

func (*AgentResponse) String

func (a *AgentResponse) String() string

func (*AgentResponse) UnmarshalJSON

func (a *AgentResponse) UnmarshalJSON(data []byte) error

type AgentVersion added in v0.0.16

type AgentVersion struct {
	// The topics the agent should listen for
	Topics []EventTopic `json:"topics,omitempty" url:"topics,omitempty"`
	// The compiler of the agent
	Compiler *Compiler `json:"compiler,omitempty" url:"compiler,omitempty"`
	// The source of the agent
	Source *string `json:"source,omitempty" url:"source,omitempty"`
	// The source map of the agent
	SourceMap *string `json:"sourceMap,omitempty" url:"sourceMap,omitempty"`
	// The slug of the agent
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// Options for the agent
	Options   map[string]interface{} `json:"options,omitempty" url:"options,omitempty"`
	Id        AgentVersionId         `json:"id" url:"id"`
	Version   int                    `json:"version" url:"version"`
	Origin    int                    `json:"origin" url:"origin"`
	CreatedAt time.Time              `json:"createdAt" url:"createdAt"`
	UpdatedAt time.Time              `json:"updatedAt" url:"updatedAt"`
	AgentId   AgentId                `json:"agent_id" url:"agent_id"`
	// contains filtered or unexported fields
}

func (*AgentVersion) GetAgentId added in v0.0.21

func (a *AgentVersion) GetAgentId() AgentId

func (*AgentVersion) GetCompiler added in v0.0.21

func (a *AgentVersion) GetCompiler() *Compiler

func (*AgentVersion) GetCreatedAt added in v0.0.21

func (a *AgentVersion) GetCreatedAt() time.Time

func (*AgentVersion) GetExtraProperties added in v0.0.16

func (a *AgentVersion) GetExtraProperties() map[string]interface{}

func (*AgentVersion) GetId added in v0.0.21

func (a *AgentVersion) GetId() AgentVersionId

func (*AgentVersion) GetOptions added in v0.0.21

func (a *AgentVersion) GetOptions() map[string]interface{}

func (*AgentVersion) GetOrigin added in v0.0.21

func (a *AgentVersion) GetOrigin() int

func (*AgentVersion) GetSlug added in v0.0.21

func (a *AgentVersion) GetSlug() *string

func (*AgentVersion) GetSource added in v0.0.21

func (a *AgentVersion) GetSource() *string

func (*AgentVersion) GetSourceMap added in v0.0.21

func (a *AgentVersion) GetSourceMap() *string

func (*AgentVersion) GetTopics added in v0.0.21

func (a *AgentVersion) GetTopics() []EventTopic

func (*AgentVersion) GetUpdatedAt added in v0.0.21

func (a *AgentVersion) GetUpdatedAt() time.Time

func (*AgentVersion) GetVersion added in v0.0.21

func (a *AgentVersion) GetVersion() int

func (*AgentVersion) MarshalJSON added in v0.0.16

func (a *AgentVersion) MarshalJSON() ([]byte, error)

func (*AgentVersion) String added in v0.0.16

func (a *AgentVersion) String() string

func (*AgentVersion) UnmarshalJSON added in v0.0.16

func (a *AgentVersion) UnmarshalJSON(data []byte) error

type AgentVersionId added in v0.0.16

type AgentVersionId = string

Agent version ID

type AgentVersionResponse added in v0.0.16

type AgentVersionResponse struct {
	Data *AgentVersion `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentVersionResponse) GetData added in v0.0.21

func (a *AgentVersionResponse) GetData() *AgentVersion

func (*AgentVersionResponse) GetExtraProperties added in v0.0.16

func (a *AgentVersionResponse) GetExtraProperties() map[string]interface{}

func (*AgentVersionResponse) String added in v0.0.16

func (a *AgentVersionResponse) String() string

func (*AgentVersionResponse) UnmarshalJSON added in v0.0.16

func (a *AgentVersionResponse) UnmarshalJSON(data []byte) error

type AiGenerateBlueprintConstraintsJobConfig added in v0.0.17

type AiGenerateBlueprintConstraintsJobConfig struct {
	SpaceId    SpaceId    `json:"spaceId" url:"spaceId"`
	WorkbookId WorkbookId `json:"workbookId" url:"workbookId"`
	// contains filtered or unexported fields
}

func (*AiGenerateBlueprintConstraintsJobConfig) GetExtraProperties added in v0.0.17

func (a *AiGenerateBlueprintConstraintsJobConfig) GetExtraProperties() map[string]interface{}

func (*AiGenerateBlueprintConstraintsJobConfig) GetSpaceId added in v0.0.21

func (*AiGenerateBlueprintConstraintsJobConfig) GetWorkbookId added in v0.0.21

func (*AiGenerateBlueprintConstraintsJobConfig) String added in v0.0.17

func (*AiGenerateBlueprintConstraintsJobConfig) UnmarshalJSON added in v0.0.17

func (a *AiGenerateBlueprintConstraintsJobConfig) UnmarshalJSON(data []byte) error

type AiGenerateBlueprintJobConfig added in v0.0.16

type AiGenerateBlueprintJobConfig struct {
	SpaceId SpaceId `json:"spaceId" url:"spaceId"`
	AppId   AppId   `json:"appId" url:"appId"`
	// contains filtered or unexported fields
}

func (*AiGenerateBlueprintJobConfig) GetAppId added in v0.0.21

func (a *AiGenerateBlueprintJobConfig) GetAppId() AppId

func (*AiGenerateBlueprintJobConfig) GetExtraProperties added in v0.0.16

func (a *AiGenerateBlueprintJobConfig) GetExtraProperties() map[string]interface{}

func (*AiGenerateBlueprintJobConfig) GetSpaceId added in v0.0.21

func (a *AiGenerateBlueprintJobConfig) GetSpaceId() SpaceId

func (*AiGenerateBlueprintJobConfig) String added in v0.0.16

func (*AiGenerateBlueprintJobConfig) UnmarshalJSON added in v0.0.16

func (a *AiGenerateBlueprintJobConfig) UnmarshalJSON(data []byte) error

type AiGenerateConstraintJobConfig added in v0.0.17

type AiGenerateConstraintJobConfig struct {
	SpaceId     SpaceId             `json:"spaceId" url:"spaceId"`
	Constraints []*StoredConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	// A description of what the constraint to be generated should do
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AiGenerateConstraintJobConfig) GetConstraints added in v0.0.21

func (a *AiGenerateConstraintJobConfig) GetConstraints() []*StoredConstraint

func (*AiGenerateConstraintJobConfig) GetDescription added in v0.0.21

func (a *AiGenerateConstraintJobConfig) GetDescription() *string

func (*AiGenerateConstraintJobConfig) GetExtraProperties added in v0.0.17

func (a *AiGenerateConstraintJobConfig) GetExtraProperties() map[string]interface{}

func (*AiGenerateConstraintJobConfig) GetSpaceId added in v0.0.21

func (a *AiGenerateConstraintJobConfig) GetSpaceId() SpaceId

func (*AiGenerateConstraintJobConfig) String added in v0.0.17

func (*AiGenerateConstraintJobConfig) UnmarshalJSON added in v0.0.17

func (a *AiGenerateConstraintJobConfig) UnmarshalJSON(data []byte) error

type AiGenerateSampleDataJobConfig added in v0.0.17

type AiGenerateSampleDataJobConfig struct {
	SpaceId SpaceId `json:"spaceId" url:"spaceId"`
	AppId   AppId   `json:"appId" url:"appId"`
	// contains filtered or unexported fields
}

func (*AiGenerateSampleDataJobConfig) GetAppId added in v0.0.21

func (a *AiGenerateSampleDataJobConfig) GetAppId() AppId

func (*AiGenerateSampleDataJobConfig) GetExtraProperties added in v0.0.17

func (a *AiGenerateSampleDataJobConfig) GetExtraProperties() map[string]interface{}

func (*AiGenerateSampleDataJobConfig) GetSpaceId added in v0.0.21

func (a *AiGenerateSampleDataJobConfig) GetSpaceId() SpaceId

func (*AiGenerateSampleDataJobConfig) String added in v0.0.17

func (*AiGenerateSampleDataJobConfig) UnmarshalJSON added in v0.0.17

func (a *AiGenerateSampleDataJobConfig) UnmarshalJSON(data []byte) error

type AiRuleCreationJobConfig added in v0.0.17

type AiRuleCreationJobConfig struct {
	// Display name for the rule to be created
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// The natural language description of the rule to be created
	Prompt string `json:"prompt" url:"prompt"`
	// The ID of the sheet containing the field to create/update the rule for
	SheetId SheetId `json:"sheetId" url:"sheetId"`
	// The key of the field to create/update the rule for
	FieldKey string `json:"fieldKey" url:"fieldKey"`
	// To edit an existing rule, provide the index of the constraint in the constraints array for the field and that constraint will be replaced.
	Index *int `json:"index,omitempty" url:"index,omitempty"`
	// contains filtered or unexported fields
}

Configuration for AI-powered rule creation jobs that generate or replace field constraints

func (*AiRuleCreationJobConfig) GetExtraProperties added in v0.0.17

func (a *AiRuleCreationJobConfig) GetExtraProperties() map[string]interface{}

func (*AiRuleCreationJobConfig) GetFieldKey added in v0.0.21

func (a *AiRuleCreationJobConfig) GetFieldKey() string

func (*AiRuleCreationJobConfig) GetIndex added in v0.0.21

func (a *AiRuleCreationJobConfig) GetIndex() *int

func (*AiRuleCreationJobConfig) GetLabel added in v0.0.21

func (a *AiRuleCreationJobConfig) GetLabel() *string

func (*AiRuleCreationJobConfig) GetPrompt added in v0.0.21

func (a *AiRuleCreationJobConfig) GetPrompt() string

func (*AiRuleCreationJobConfig) GetSheetId added in v0.0.21

func (a *AiRuleCreationJobConfig) GetSheetId() SheetId

func (*AiRuleCreationJobConfig) String added in v0.0.17

func (a *AiRuleCreationJobConfig) String() string

func (*AiRuleCreationJobConfig) UnmarshalJSON added in v0.0.17

func (a *AiRuleCreationJobConfig) UnmarshalJSON(data []byte) error

type ApiAction added in v0.0.17

type ApiAction struct {
	// **This is deprecated. Use `operation` instead.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// This will become the job operation that is triggered
	Operation *string `json:"operation,omitempty" url:"operation,omitempty"`
	// Foreground and toolbarBlocking action mode will prevent interacting with the resource until complete
	Mode *ActionMode `json:"mode,omitempty" url:"mode,omitempty"`
	// A tooltip that appears when hovering the action button
	Tooltip  *string          `json:"tooltip,omitempty" url:"tooltip,omitempty"`
	Messages []*ActionMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// **This is deprecated.**
	Type *string `json:"type,omitempty" url:"type,omitempty"`
	// The text that appears in the dialog after the action is clicked.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// Determines if the action should happen on a regular cadence.
	Schedule *ActionSchedule `json:"schedule,omitempty" url:"schedule,omitempty"`
	// A primary action will be more visibly present, whether in Sheet or Workbook.
	Primary *bool `json:"primary,omitempty" url:"primary,omitempty"`
	// Whether to show a modal to confirm the action
	Confirm *bool `json:"confirm,omitempty" url:"confirm,omitempty"`
	// Icon will work on primary actions. It will only accept an already existing Flatfile design system icon.
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireAllValid *bool `json:"requireAllValid,omitempty" url:"requireAllValid,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireSelection *bool `json:"requireSelection,omitempty" url:"requireSelection,omitempty"`
	// Adds an input form for this action after it is clicked.
	InputForm *InputForm `json:"inputForm,omitempty" url:"inputForm,omitempty"`
	// A limitation or restriction on the action.
	Constraints []*ActionConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	Mount       *ActionMount        `json:"mount,omitempty" url:"mount,omitempty"`
	Guide       *Guide              `json:"guide,omitempty" url:"guide,omitempty"`
	Guardrail   *Guardrail          `json:"guardrail,omitempty" url:"guardrail,omitempty"`
	// The text on the Button itself
	Label     string    `json:"label" url:"label"`
	Id        ActionId  `json:"id" url:"id"`
	TargetId  string    `json:"targetId" url:"targetId"`
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// contains filtered or unexported fields
}

func (*ApiAction) GetConfirm added in v0.0.21

func (a *ApiAction) GetConfirm() *bool

func (*ApiAction) GetConstraints added in v0.0.21

func (a *ApiAction) GetConstraints() []*ActionConstraint

func (*ApiAction) GetCreatedAt added in v0.0.21

func (a *ApiAction) GetCreatedAt() time.Time

func (*ApiAction) GetDescription added in v0.0.21

func (a *ApiAction) GetDescription() *string

func (*ApiAction) GetExtraProperties added in v0.0.17

func (a *ApiAction) GetExtraProperties() map[string]interface{}

func (*ApiAction) GetGuardrail added in v0.0.21

func (a *ApiAction) GetGuardrail() *Guardrail

func (*ApiAction) GetGuide added in v0.0.21

func (a *ApiAction) GetGuide() *Guide

func (*ApiAction) GetIcon added in v0.0.21

func (a *ApiAction) GetIcon() *string

func (*ApiAction) GetId added in v0.0.21

func (a *ApiAction) GetId() ActionId

func (*ApiAction) GetInputForm added in v0.0.21

func (a *ApiAction) GetInputForm() *InputForm

func (*ApiAction) GetLabel added in v0.0.21

func (a *ApiAction) GetLabel() string

func (*ApiAction) GetMessages added in v0.0.21

func (a *ApiAction) GetMessages() []*ActionMessage

func (*ApiAction) GetMode added in v0.0.21

func (a *ApiAction) GetMode() *ActionMode

func (*ApiAction) GetMount added in v0.0.21

func (a *ApiAction) GetMount() *ActionMount

func (*ApiAction) GetOperation added in v0.0.21

func (a *ApiAction) GetOperation() *string

func (*ApiAction) GetPrimary added in v0.0.21

func (a *ApiAction) GetPrimary() *bool

func (*ApiAction) GetRequireAllValid added in v0.0.21

func (a *ApiAction) GetRequireAllValid() *bool

func (*ApiAction) GetRequireSelection added in v0.0.21

func (a *ApiAction) GetRequireSelection() *bool

func (*ApiAction) GetSchedule added in v0.0.21

func (a *ApiAction) GetSchedule() *ActionSchedule

func (*ApiAction) GetSlug added in v0.0.21

func (a *ApiAction) GetSlug() *string

func (*ApiAction) GetTargetId added in v0.0.21

func (a *ApiAction) GetTargetId() string

func (*ApiAction) GetTooltip added in v0.0.21

func (a *ApiAction) GetTooltip() *string

func (*ApiAction) GetType added in v0.0.21

func (a *ApiAction) GetType() *string

func (*ApiAction) GetUpdatedAt added in v0.0.21

func (a *ApiAction) GetUpdatedAt() time.Time

func (*ApiAction) MarshalJSON added in v0.0.17

func (a *ApiAction) MarshalJSON() ([]byte, error)

func (*ApiAction) String added in v0.0.17

func (a *ApiAction) String() string

func (*ApiAction) UnmarshalJSON added in v0.0.17

func (a *ApiAction) UnmarshalJSON(data []byte) error

type ApiActionConfig added in v0.0.23

type ApiActionConfig struct {
	// **This is deprecated. Use `operation` instead.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// This will become the job operation that is triggered
	Operation *string `json:"operation,omitempty" url:"operation,omitempty"`
	// Foreground and toolbarBlocking action mode will prevent interacting with the resource until complete
	Mode *ActionMode `json:"mode,omitempty" url:"mode,omitempty"`
	// A tooltip that appears when hovering the action button
	Tooltip  *string          `json:"tooltip,omitempty" url:"tooltip,omitempty"`
	Messages []*ActionMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// **This is deprecated.**
	Type *string `json:"type,omitempty" url:"type,omitempty"`
	// The text that appears in the dialog after the action is clicked.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// Determines if the action should happen on a regular cadence.
	Schedule *ActionSchedule `json:"schedule,omitempty" url:"schedule,omitempty"`
	// A primary action will be more visibly present, whether in Sheet or Workbook.
	Primary *bool `json:"primary,omitempty" url:"primary,omitempty"`
	// Whether to show a modal to confirm the action
	Confirm *bool `json:"confirm,omitempty" url:"confirm,omitempty"`
	// Icon will work on primary actions. It will only accept an already existing Flatfile design system icon.
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireAllValid *bool `json:"requireAllValid,omitempty" url:"requireAllValid,omitempty"`
	// **This is deprecated. Use `constraints` instead.**
	RequireSelection *bool `json:"requireSelection,omitempty" url:"requireSelection,omitempty"`
	// Adds an input form for this action after it is clicked.
	InputForm *InputForm `json:"inputForm,omitempty" url:"inputForm,omitempty"`
	// A limitation or restriction on the action.
	Constraints []*ActionConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	Mount       *ActionMount        `json:"mount,omitempty" url:"mount,omitempty"`
	Guide       *Guide              `json:"guide,omitempty" url:"guide,omitempty"`
	Guardrail   *Guardrail          `json:"guardrail,omitempty" url:"guardrail,omitempty"`
	// The text on the Button itself
	Label    string `json:"label" url:"label"`
	TargetId string `json:"targetId" url:"targetId"`
	// contains filtered or unexported fields
}

func (*ApiActionConfig) GetConfirm added in v0.0.23

func (a *ApiActionConfig) GetConfirm() *bool

func (*ApiActionConfig) GetConstraints added in v0.0.23

func (a *ApiActionConfig) GetConstraints() []*ActionConstraint

func (*ApiActionConfig) GetDescription added in v0.0.23

func (a *ApiActionConfig) GetDescription() *string

func (*ApiActionConfig) GetExtraProperties added in v0.0.23

func (a *ApiActionConfig) GetExtraProperties() map[string]interface{}

func (*ApiActionConfig) GetGuardrail added in v0.0.23

func (a *ApiActionConfig) GetGuardrail() *Guardrail

func (*ApiActionConfig) GetGuide added in v0.0.23

func (a *ApiActionConfig) GetGuide() *Guide

func (*ApiActionConfig) GetIcon added in v0.0.23

func (a *ApiActionConfig) GetIcon() *string

func (*ApiActionConfig) GetInputForm added in v0.0.23

func (a *ApiActionConfig) GetInputForm() *InputForm

func (*ApiActionConfig) GetLabel added in v0.0.23

func (a *ApiActionConfig) GetLabel() string

func (*ApiActionConfig) GetMessages added in v0.0.23

func (a *ApiActionConfig) GetMessages() []*ActionMessage

func (*ApiActionConfig) GetMode added in v0.0.23

func (a *ApiActionConfig) GetMode() *ActionMode

func (*ApiActionConfig) GetMount added in v0.0.23

func (a *ApiActionConfig) GetMount() *ActionMount

func (*ApiActionConfig) GetOperation added in v0.0.23

func (a *ApiActionConfig) GetOperation() *string

func (*ApiActionConfig) GetPrimary added in v0.0.23

func (a *ApiActionConfig) GetPrimary() *bool

func (*ApiActionConfig) GetRequireAllValid added in v0.0.23

func (a *ApiActionConfig) GetRequireAllValid() *bool

func (*ApiActionConfig) GetRequireSelection added in v0.0.23

func (a *ApiActionConfig) GetRequireSelection() *bool

func (*ApiActionConfig) GetSchedule added in v0.0.23

func (a *ApiActionConfig) GetSchedule() *ActionSchedule

func (*ApiActionConfig) GetSlug added in v0.0.23

func (a *ApiActionConfig) GetSlug() *string

func (*ApiActionConfig) GetTargetId added in v0.0.23

func (a *ApiActionConfig) GetTargetId() string

func (*ApiActionConfig) GetTooltip added in v0.0.23

func (a *ApiActionConfig) GetTooltip() *string

func (*ApiActionConfig) GetType added in v0.0.23

func (a *ApiActionConfig) GetType() *string

func (*ApiActionConfig) String added in v0.0.23

func (a *ApiActionConfig) String() string

func (*ApiActionConfig) UnmarshalJSON added in v0.0.23

func (a *ApiActionConfig) UnmarshalJSON(data []byte) error

type ApiActionConfigs added in v0.0.23

type ApiActionConfigs = []*ApiActionConfig

type ApiActionResponse added in v0.0.23

type ApiActionResponse = *ApiAction

type ApiActionsResponse added in v0.0.23

type ApiActionsResponse = []*ApiAction

type App added in v0.0.6

type App struct {
	Id                 AppId       `json:"id" url:"id"`
	Name               string      `json:"name" url:"name"`
	Namespace          string      `json:"namespace" url:"namespace"`
	Type               AppType     `json:"type" url:"type"`
	Entity             string      `json:"entity" url:"entity"`
	EntityPlural       string      `json:"entityPlural" url:"entityPlural"`
	Icon               *string     `json:"icon,omitempty" url:"icon,omitempty"`
	Metadata           interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	EnvironmentFilters interface{} `json:"environmentFilters,omitempty" url:"environmentFilters,omitempty"`
	Blueprint          interface{} `json:"blueprint,omitempty" url:"blueprint,omitempty"`
	CreatedAt          time.Time   `json:"createdAt" url:"createdAt"`
	UpdatedAt          time.Time   `json:"updatedAt" url:"updatedAt"`
	DeletedAt          *time.Time  `json:"deletedAt,omitempty" url:"deletedAt,omitempty"`
	ActivatedAt        *time.Time  `json:"activatedAt,omitempty" url:"activatedAt,omitempty"`
	// contains filtered or unexported fields
}

An app

func (*App) GetActivatedAt added in v0.0.21

func (a *App) GetActivatedAt() *time.Time

func (*App) GetBlueprint added in v0.0.21

func (a *App) GetBlueprint() interface{}

func (*App) GetCreatedAt added in v0.0.21

func (a *App) GetCreatedAt() time.Time

func (*App) GetDeletedAt added in v0.0.21

func (a *App) GetDeletedAt() *time.Time

func (*App) GetEntity added in v0.0.21

func (a *App) GetEntity() string

func (*App) GetEntityPlural added in v0.0.21

func (a *App) GetEntityPlural() string

func (*App) GetEnvironmentFilters added in v0.0.21

func (a *App) GetEnvironmentFilters() interface{}

func (*App) GetExtraProperties added in v0.0.14

func (a *App) GetExtraProperties() map[string]interface{}

func (*App) GetIcon added in v0.0.21

func (a *App) GetIcon() *string

func (*App) GetId added in v0.0.21

func (a *App) GetId() AppId

func (*App) GetMetadata added in v0.0.21

func (a *App) GetMetadata() interface{}

func (*App) GetName added in v0.0.21

func (a *App) GetName() string

func (*App) GetNamespace added in v0.0.21

func (a *App) GetNamespace() string

func (*App) GetType added in v0.0.21

func (a *App) GetType() AppType

func (*App) GetUpdatedAt added in v0.0.21

func (a *App) GetUpdatedAt() time.Time

func (*App) MarshalJSON added in v0.0.8

func (a *App) MarshalJSON() ([]byte, error)

func (*App) String added in v0.0.6

func (a *App) String() string

func (*App) UnmarshalJSON added in v0.0.6

func (a *App) UnmarshalJSON(data []byte) error

type AppAutobuildDeployJobConfig added in v0.0.16

type AppAutobuildDeployJobConfig struct {
	SpaceId SpaceId `json:"spaceId" url:"spaceId"`
	AppId   AppId   `json:"appId" url:"appId"`
	// contains filtered or unexported fields
}

func (*AppAutobuildDeployJobConfig) GetAppId added in v0.0.21

func (a *AppAutobuildDeployJobConfig) GetAppId() AppId

func (*AppAutobuildDeployJobConfig) GetExtraProperties added in v0.0.16

func (a *AppAutobuildDeployJobConfig) GetExtraProperties() map[string]interface{}

func (*AppAutobuildDeployJobConfig) GetSpaceId added in v0.0.21

func (a *AppAutobuildDeployJobConfig) GetSpaceId() SpaceId

func (*AppAutobuildDeployJobConfig) String added in v0.0.16

func (a *AppAutobuildDeployJobConfig) String() string

func (*AppAutobuildDeployJobConfig) UnmarshalJSON added in v0.0.16

func (a *AppAutobuildDeployJobConfig) UnmarshalJSON(data []byte) error

type AppCreate added in v0.0.6

type AppCreate struct {
	Name               string      `json:"name" url:"name"`
	Namespace          string      `json:"namespace" url:"namespace"`
	Type               AppType     `json:"type" url:"type"`
	Entity             *string     `json:"entity,omitempty" url:"entity,omitempty"`
	EntityPlural       *string     `json:"entityPlural,omitempty" url:"entityPlural,omitempty"`
	Icon               *string     `json:"icon,omitempty" url:"icon,omitempty"`
	Metadata           interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	EnvironmentFilters interface{} `json:"environmentFilters,omitempty" url:"environmentFilters,omitempty"`
	Blueprint          interface{} `json:"blueprint,omitempty" url:"blueprint,omitempty"`
	// contains filtered or unexported fields
}

Create an app

func (*AppCreate) GetBlueprint added in v0.0.21

func (a *AppCreate) GetBlueprint() interface{}

func (*AppCreate) GetEntity added in v0.0.21

func (a *AppCreate) GetEntity() *string

func (*AppCreate) GetEntityPlural added in v0.0.21

func (a *AppCreate) GetEntityPlural() *string

func (*AppCreate) GetEnvironmentFilters added in v0.0.21

func (a *AppCreate) GetEnvironmentFilters() interface{}

func (*AppCreate) GetExtraProperties added in v0.0.14

func (a *AppCreate) GetExtraProperties() map[string]interface{}

func (*AppCreate) GetIcon added in v0.0.21

func (a *AppCreate) GetIcon() *string

func (*AppCreate) GetMetadata added in v0.0.21

func (a *AppCreate) GetMetadata() interface{}

func (*AppCreate) GetName added in v0.0.21

func (a *AppCreate) GetName() string

func (*AppCreate) GetNamespace added in v0.0.21

func (a *AppCreate) GetNamespace() string

func (*AppCreate) GetType added in v0.0.21

func (a *AppCreate) GetType() AppType

func (*AppCreate) String added in v0.0.6

func (a *AppCreate) String() string

func (*AppCreate) UnmarshalJSON added in v0.0.6

func (a *AppCreate) UnmarshalJSON(data []byte) error

type AppId added in v0.0.6

type AppId = string

App ID

type AppPatch added in v0.0.6

type AppPatch struct {
	Name               *string     `json:"name,omitempty" url:"name,omitempty"`
	Namespace          *string     `json:"namespace,omitempty" url:"namespace,omitempty"`
	Entity             *string     `json:"entity,omitempty" url:"entity,omitempty"`
	EntityPlural       *string     `json:"entityPlural,omitempty" url:"entityPlural,omitempty"`
	Icon               *string     `json:"icon,omitempty" url:"icon,omitempty"`
	Metadata           interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	EnvironmentFilters interface{} `json:"environmentFilters,omitempty" url:"environmentFilters,omitempty"`
	Blueprint          interface{} `json:"blueprint,omitempty" url:"blueprint,omitempty"`
	ActivatedAt        *time.Time  `json:"activatedAt,omitempty" url:"activatedAt,omitempty"`
	// contains filtered or unexported fields
}

Update an app

func (*AppPatch) GetActivatedAt added in v0.0.21

func (a *AppPatch) GetActivatedAt() *time.Time

func (*AppPatch) GetBlueprint added in v0.0.21

func (a *AppPatch) GetBlueprint() interface{}

func (*AppPatch) GetEntity added in v0.0.21

func (a *AppPatch) GetEntity() *string

func (*AppPatch) GetEntityPlural added in v0.0.21

func (a *AppPatch) GetEntityPlural() *string

func (*AppPatch) GetEnvironmentFilters added in v0.0.21

func (a *AppPatch) GetEnvironmentFilters() interface{}

func (*AppPatch) GetExtraProperties added in v0.0.14

func (a *AppPatch) GetExtraProperties() map[string]interface{}

func (*AppPatch) GetIcon added in v0.0.21

func (a *AppPatch) GetIcon() *string

func (*AppPatch) GetMetadata added in v0.0.21

func (a *AppPatch) GetMetadata() interface{}

func (*AppPatch) GetName added in v0.0.21

func (a *AppPatch) GetName() *string

func (*AppPatch) GetNamespace added in v0.0.21

func (a *AppPatch) GetNamespace() *string

func (*AppPatch) MarshalJSON added in v0.0.8

func (a *AppPatch) MarshalJSON() ([]byte, error)

func (*AppPatch) String added in v0.0.6

func (a *AppPatch) String() string

func (*AppPatch) UnmarshalJSON added in v0.0.6

func (a *AppPatch) UnmarshalJSON(data []byte) error

type AppResponse added in v0.0.6

type AppResponse struct {
	Data *App `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AppResponse) GetData added in v0.0.21

func (a *AppResponse) GetData() *App

func (*AppResponse) GetExtraProperties added in v0.0.14

func (a *AppResponse) GetExtraProperties() map[string]interface{}

func (*AppResponse) String added in v0.0.6

func (a *AppResponse) String() string

func (*AppResponse) UnmarshalJSON added in v0.0.6

func (a *AppResponse) UnmarshalJSON(data []byte) error

type AppType added in v0.0.6

type AppType string
const (
	AppTypePortal    AppType = "PORTAL"
	AppTypeProjects  AppType = "PROJECTS"
	AppTypeMapping   AppType = "MAPPING"
	AppTypeWorkbooks AppType = "WORKBOOKS"
	AppTypeCustom    AppType = "CUSTOM"
)

func NewAppTypeFromString added in v0.0.6

func NewAppTypeFromString(s string) (AppType, error)

func (AppType) Ptr added in v0.0.6

func (a AppType) Ptr() *AppType

type AppsResponse added in v0.0.6

type AppsResponse struct {
	Data []*App `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AppsResponse) GetData added in v0.0.21

func (a *AppsResponse) GetData() []*App

func (*AppsResponse) GetExtraProperties added in v0.0.14

func (a *AppsResponse) GetExtraProperties() map[string]interface{}

func (*AppsResponse) String added in v0.0.6

func (a *AppsResponse) String() string

func (*AppsResponse) UnmarshalJSON added in v0.0.6

func (a *AppsResponse) UnmarshalJSON(data []byte) error

type ArrayableProperty

type ArrayableProperty struct {
	// Will allow multiple values and store as an array
	IsArray *bool `json:"isArray,omitempty" url:"isArray,omitempty"`
	// contains filtered or unexported fields
}

func (*ArrayableProperty) GetExtraProperties added in v0.0.14

func (a *ArrayableProperty) GetExtraProperties() map[string]interface{}

func (*ArrayableProperty) GetIsArray added in v0.0.21

func (a *ArrayableProperty) GetIsArray() *bool

func (*ArrayableProperty) String

func (a *ArrayableProperty) String() string

func (*ArrayableProperty) UnmarshalJSON

func (a *ArrayableProperty) UnmarshalJSON(data []byte) error

type AssignActorRoleRequest added in v0.0.8

type AssignActorRoleRequest struct {
	RoleId     RoleId           `json:"roleId" url:"roleId"`
	ResourceId *ResourceIdUnion `json:"resourceId,omitempty" url:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignActorRoleRequest) GetExtraProperties added in v0.0.14

func (a *AssignActorRoleRequest) GetExtraProperties() map[string]interface{}

func (*AssignActorRoleRequest) GetResourceId added in v0.0.21

func (a *AssignActorRoleRequest) GetResourceId() *ResourceIdUnion

func (*AssignActorRoleRequest) GetRoleId added in v0.0.21

func (a *AssignActorRoleRequest) GetRoleId() RoleId

func (*AssignActorRoleRequest) String added in v0.0.8

func (a *AssignActorRoleRequest) String() string

func (*AssignActorRoleRequest) UnmarshalJSON added in v0.0.8

func (a *AssignActorRoleRequest) UnmarshalJSON(data []byte) error

type AssignRoleResponse

type AssignRoleResponse struct {
	Data *AssignRoleResponseData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignRoleResponse) GetData added in v0.0.21

func (*AssignRoleResponse) GetExtraProperties added in v0.0.14

func (a *AssignRoleResponse) GetExtraProperties() map[string]interface{}

func (*AssignRoleResponse) String

func (a *AssignRoleResponse) String() string

func (*AssignRoleResponse) UnmarshalJSON

func (a *AssignRoleResponse) UnmarshalJSON(data []byte) error

type AssignRoleResponseData

type AssignRoleResponseData struct {
	Id         ActorRoleId      `json:"id" url:"id"`
	RoleId     RoleId           `json:"roleId" url:"roleId"`
	ActorId    *ActorIdUnion    `json:"actorId,omitempty" url:"actorId,omitempty"`
	ResourceId *ResourceIdUnion `json:"resourceId,omitempty" url:"resourceId,omitempty"`
	CreatedAt  time.Time        `json:"createdAt" url:"createdAt"`
	UpdatedAt  time.Time        `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

func (*AssignRoleResponseData) GetActorId added in v0.0.21

func (a *AssignRoleResponseData) GetActorId() *ActorIdUnion

func (*AssignRoleResponseData) GetCreatedAt added in v0.0.21

func (a *AssignRoleResponseData) GetCreatedAt() time.Time

func (*AssignRoleResponseData) GetExtraProperties added in v0.0.14

func (a *AssignRoleResponseData) GetExtraProperties() map[string]interface{}

func (*AssignRoleResponseData) GetId added in v0.0.21

func (*AssignRoleResponseData) GetResourceId added in v0.0.21

func (a *AssignRoleResponseData) GetResourceId() *ResourceIdUnion

func (*AssignRoleResponseData) GetRoleId added in v0.0.21

func (a *AssignRoleResponseData) GetRoleId() RoleId

func (*AssignRoleResponseData) GetUpdatedAt added in v0.0.21

func (a *AssignRoleResponseData) GetUpdatedAt() time.Time

func (*AssignRoleResponseData) MarshalJSON added in v0.0.8

func (a *AssignRoleResponseData) MarshalJSON() ([]byte, error)

func (*AssignRoleResponseData) String

func (a *AssignRoleResponseData) String() string

func (*AssignRoleResponseData) UnmarshalJSON

func (a *AssignRoleResponseData) UnmarshalJSON(data []byte) error

type BadRequestError

type BadRequestError struct {
	*core.APIError
	Body *Errors
}

func (*BadRequestError) MarshalJSON

func (b *BadRequestError) MarshalJSON() ([]byte, error)

func (*BadRequestError) UnmarshalJSON

func (b *BadRequestError) UnmarshalJSON(data []byte) error

func (*BadRequestError) Unwrap

func (b *BadRequestError) Unwrap() error

type BaseEvent

type BaseEvent struct {
	// The domain of the event
	Domain Domain `json:"domain" url:"domain"`
	// The context of the event
	Context *Context `json:"context,omitempty" url:"context,omitempty"`
	// The attributes of the event
	Attributes *EventAttributes `json:"attributes,omitempty" url:"attributes,omitempty"`
	// The callback url to acknowledge the event
	CallbackUrl *string `json:"callbackUrl,omitempty" url:"callbackUrl,omitempty"`
	// The url to retrieve the data associated with the event
	DataUrl    *string  `json:"dataUrl,omitempty" url:"dataUrl,omitempty"`
	Target     *string  `json:"target,omitempty" url:"target,omitempty"`
	Origin     *Origin  `json:"origin,omitempty" url:"origin,omitempty"`
	Namespaces []string `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseEvent) GetAttributes added in v0.0.21

func (b *BaseEvent) GetAttributes() *EventAttributes

func (*BaseEvent) GetCallbackUrl added in v0.0.21

func (b *BaseEvent) GetCallbackUrl() *string

func (*BaseEvent) GetContext added in v0.0.21

func (b *BaseEvent) GetContext() *Context

func (*BaseEvent) GetDataUrl added in v0.0.21

func (b *BaseEvent) GetDataUrl() *string

func (*BaseEvent) GetDomain added in v0.0.21

func (b *BaseEvent) GetDomain() Domain

func (*BaseEvent) GetExtraProperties added in v0.0.14

func (b *BaseEvent) GetExtraProperties() map[string]interface{}

func (*BaseEvent) GetNamespaces added in v0.0.21

func (b *BaseEvent) GetNamespaces() []string

func (*BaseEvent) GetOrigin added in v0.0.21

func (b *BaseEvent) GetOrigin() *Origin

func (*BaseEvent) GetTarget added in v0.0.21

func (b *BaseEvent) GetTarget() *string

func (*BaseEvent) String

func (b *BaseEvent) String() string

func (*BaseEvent) UnmarshalJSON

func (b *BaseEvent) UnmarshalJSON(data []byte) error

type BaseProperty

type BaseProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseProperty) GetActions added in v0.0.21

func (b *BaseProperty) GetActions() []*Action

func (*BaseProperty) GetAlternativeNames added in v0.0.21

func (b *BaseProperty) GetAlternativeNames() []string

func (*BaseProperty) GetAppearance added in v0.0.21

func (b *BaseProperty) GetAppearance() *FieldAppearance

func (*BaseProperty) GetConstraints added in v0.0.21

func (b *BaseProperty) GetConstraints() []*Constraint

func (*BaseProperty) GetDescription added in v0.0.21

func (b *BaseProperty) GetDescription() *string

func (*BaseProperty) GetExtraProperties added in v0.0.14

func (b *BaseProperty) GetExtraProperties() map[string]interface{}

func (*BaseProperty) GetKey added in v0.0.21

func (b *BaseProperty) GetKey() string

func (*BaseProperty) GetLabel added in v0.0.21

func (b *BaseProperty) GetLabel() *string

func (*BaseProperty) GetMetadata added in v0.0.21

func (b *BaseProperty) GetMetadata() interface{}

func (*BaseProperty) GetReadonly added in v0.0.21

func (b *BaseProperty) GetReadonly() *bool

func (*BaseProperty) GetTreatments added in v0.0.21

func (b *BaseProperty) GetTreatments() []string

func (*BaseProperty) String

func (b *BaseProperty) String() string

func (*BaseProperty) UnmarshalJSON

func (b *BaseProperty) UnmarshalJSON(data []byte) error

type BooleanProperty

type BooleanProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string               `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string               `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	Config           *BooleanPropertyConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

A `true` or `false` value type. Matching engines should attempt to resolve all common ways of representing this value and it should usually be displayed as a checkbox.

func (*BooleanProperty) GetActions added in v0.0.21

func (b *BooleanProperty) GetActions() []*Action

func (*BooleanProperty) GetAlternativeNames added in v0.0.21

func (b *BooleanProperty) GetAlternativeNames() []string

func (*BooleanProperty) GetAppearance added in v0.0.21

func (b *BooleanProperty) GetAppearance() *FieldAppearance

func (*BooleanProperty) GetConfig added in v0.0.21

func (b *BooleanProperty) GetConfig() *BooleanPropertyConfig

func (*BooleanProperty) GetConstraints added in v0.0.21

func (b *BooleanProperty) GetConstraints() []*Constraint

func (*BooleanProperty) GetDescription added in v0.0.21

func (b *BooleanProperty) GetDescription() *string

func (*BooleanProperty) GetExtraProperties added in v0.0.14

func (b *BooleanProperty) GetExtraProperties() map[string]interface{}

func (*BooleanProperty) GetKey added in v0.0.21

func (b *BooleanProperty) GetKey() string

func (*BooleanProperty) GetLabel added in v0.0.21

func (b *BooleanProperty) GetLabel() *string

func (*BooleanProperty) GetMetadata added in v0.0.21

func (b *BooleanProperty) GetMetadata() interface{}

func (*BooleanProperty) GetReadonly added in v0.0.21

func (b *BooleanProperty) GetReadonly() *bool

func (*BooleanProperty) GetTreatments added in v0.0.21

func (b *BooleanProperty) GetTreatments() []string

func (*BooleanProperty) String

func (b *BooleanProperty) String() string

func (*BooleanProperty) UnmarshalJSON

func (b *BooleanProperty) UnmarshalJSON(data []byte) error

type BooleanPropertyConfig

type BooleanPropertyConfig struct {
	// Allow a neither true or false state to be stored as `null`
	AllowIndeterminate bool `json:"allowIndeterminate" url:"allowIndeterminate"`
	// contains filtered or unexported fields
}

func (*BooleanPropertyConfig) GetAllowIndeterminate added in v0.0.21

func (b *BooleanPropertyConfig) GetAllowIndeterminate() bool

func (*BooleanPropertyConfig) GetExtraProperties added in v0.0.14

func (b *BooleanPropertyConfig) GetExtraProperties() map[string]interface{}

func (*BooleanPropertyConfig) String

func (b *BooleanPropertyConfig) String() string

func (*BooleanPropertyConfig) UnmarshalJSON

func (b *BooleanPropertyConfig) UnmarshalJSON(data []byte) error

type CategoryMapping

type CategoryMapping struct {
	// The source value to map from
	SourceValue *EnumValue `json:"sourceValue,omitempty" url:"sourceValue,omitempty"`
	// The destination value to map to
	DestinationValue *EnumValue `json:"destinationValue,omitempty" url:"destinationValue,omitempty"`
	// contains filtered or unexported fields
}

func (*CategoryMapping) GetDestinationValue added in v0.0.21

func (c *CategoryMapping) GetDestinationValue() *EnumValue

func (*CategoryMapping) GetExtraProperties added in v0.0.14

func (c *CategoryMapping) GetExtraProperties() map[string]interface{}

func (*CategoryMapping) GetSourceValue added in v0.0.21

func (c *CategoryMapping) GetSourceValue() *EnumValue

func (*CategoryMapping) String

func (c *CategoryMapping) String() string

func (*CategoryMapping) UnmarshalJSON

func (c *CategoryMapping) UnmarshalJSON(data []byte) error

type CellConfig added in v0.0.10

type CellConfig struct {
	Readonly *bool `json:"readonly,omitempty" url:"readonly,omitempty"`
	// contains filtered or unexported fields
}

CellConfig

func (*CellConfig) GetExtraProperties added in v0.0.14

func (c *CellConfig) GetExtraProperties() map[string]interface{}

func (*CellConfig) GetReadonly added in v0.0.21

func (c *CellConfig) GetReadonly() *bool

func (*CellConfig) String added in v0.0.10

func (c *CellConfig) String() string

func (*CellConfig) UnmarshalJSON added in v0.0.10

func (c *CellConfig) UnmarshalJSON(data []byte) error

type CellValue

type CellValue struct {
	Valid    *bool                `json:"valid,omitempty" url:"valid,omitempty"`
	Messages []*ValidationMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// Deprecated, use record level metadata instead.
	Metadata  map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Value     *CellValueUnion        `json:"value,omitempty" url:"value,omitempty"`
	Layer     *string                `json:"layer,omitempty" url:"layer,omitempty"`
	UpdatedAt *time.Time             `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*CellValue) GetExtraProperties added in v0.0.14

func (c *CellValue) GetExtraProperties() map[string]interface{}

func (*CellValue) GetLayer added in v0.0.21

func (c *CellValue) GetLayer() *string

func (*CellValue) GetMessages added in v0.0.21

func (c *CellValue) GetMessages() []*ValidationMessage

func (*CellValue) GetMetadata added in v0.0.21

func (c *CellValue) GetMetadata() map[string]interface{}

func (*CellValue) GetUpdatedAt added in v0.0.21

func (c *CellValue) GetUpdatedAt() *time.Time

func (*CellValue) GetValid added in v0.0.21

func (c *CellValue) GetValid() *bool

func (*CellValue) GetValue added in v0.0.21

func (c *CellValue) GetValue() *CellValueUnion

func (*CellValue) MarshalJSON added in v0.0.8

func (c *CellValue) MarshalJSON() ([]byte, error)

func (*CellValue) String

func (c *CellValue) String() string

func (*CellValue) UnmarshalJSON

func (c *CellValue) UnmarshalJSON(data []byte) error

type CellValueUnion

type CellValueUnion struct {
	String     string
	Integer    int
	Long       int64
	Double     float64
	Boolean    bool
	Date       time.Time
	DateTime   time.Time
	StringList []string
	// contains filtered or unexported fields
}

func NewCellValueUnionFromBoolean

func NewCellValueUnionFromBoolean(value bool) *CellValueUnion

func NewCellValueUnionFromDate

func NewCellValueUnionFromDate(value time.Time) *CellValueUnion

func NewCellValueUnionFromDateTime

func NewCellValueUnionFromDateTime(value time.Time) *CellValueUnion

func NewCellValueUnionFromDouble

func NewCellValueUnionFromDouble(value float64) *CellValueUnion

func NewCellValueUnionFromInteger

func NewCellValueUnionFromInteger(value int) *CellValueUnion

func NewCellValueUnionFromLong

func NewCellValueUnionFromLong(value int64) *CellValueUnion

func NewCellValueUnionFromString

func NewCellValueUnionFromString(value string) *CellValueUnion

func NewCellValueUnionFromStringList added in v0.0.16

func NewCellValueUnionFromStringList(value []string) *CellValueUnion

func (*CellValueUnion) Accept

func (c *CellValueUnion) Accept(visitor CellValueUnionVisitor) error

func (*CellValueUnion) GetBoolean added in v0.0.21

func (c *CellValueUnion) GetBoolean() bool

func (*CellValueUnion) GetDate added in v0.0.21

func (c *CellValueUnion) GetDate() time.Time

func (*CellValueUnion) GetDateTime added in v0.0.21

func (c *CellValueUnion) GetDateTime() time.Time

func (*CellValueUnion) GetDouble added in v0.0.21

func (c *CellValueUnion) GetDouble() float64

func (*CellValueUnion) GetInteger added in v0.0.21

func (c *CellValueUnion) GetInteger() int

func (*CellValueUnion) GetLong added in v0.0.21

func (c *CellValueUnion) GetLong() int64

func (*CellValueUnion) GetString added in v0.0.21

func (c *CellValueUnion) GetString() string

func (*CellValueUnion) GetStringList added in v0.0.21

func (c *CellValueUnion) GetStringList() []string

func (CellValueUnion) MarshalJSON

func (c CellValueUnion) MarshalJSON() ([]byte, error)

func (*CellValueUnion) UnmarshalJSON

func (c *CellValueUnion) UnmarshalJSON(data []byte) error

type CellValueUnionVisitor

type CellValueUnionVisitor interface {
	VisitString(string) error
	VisitInteger(int) error
	VisitLong(int64) error
	VisitDouble(float64) error
	VisitBoolean(bool) error
	VisitDate(time.Time) error
	VisitDateTime(time.Time) error
	VisitStringList([]string) error
}

type CellValueWithCounts

type CellValueWithCounts struct {
	Valid    *bool                `json:"valid,omitempty" url:"valid,omitempty"`
	Messages []*ValidationMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// Deprecated, use record level metadata instead.
	Metadata  map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Value     *CellValueUnion        `json:"value,omitempty" url:"value,omitempty"`
	Layer     *string                `json:"layer,omitempty" url:"layer,omitempty"`
	UpdatedAt *time.Time             `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	Counts    *RecordCounts          `json:"counts,omitempty" url:"counts,omitempty"`
	// contains filtered or unexported fields
}

func (*CellValueWithCounts) GetCounts added in v0.0.21

func (c *CellValueWithCounts) GetCounts() *RecordCounts

func (*CellValueWithCounts) GetExtraProperties added in v0.0.14

func (c *CellValueWithCounts) GetExtraProperties() map[string]interface{}

func (*CellValueWithCounts) GetLayer added in v0.0.21

func (c *CellValueWithCounts) GetLayer() *string

func (*CellValueWithCounts) GetMessages added in v0.0.21

func (c *CellValueWithCounts) GetMessages() []*ValidationMessage

func (*CellValueWithCounts) GetMetadata added in v0.0.21

func (c *CellValueWithCounts) GetMetadata() map[string]interface{}

func (*CellValueWithCounts) GetUpdatedAt added in v0.0.21

func (c *CellValueWithCounts) GetUpdatedAt() *time.Time

func (*CellValueWithCounts) GetValid added in v0.0.21

func (c *CellValueWithCounts) GetValid() *bool

func (*CellValueWithCounts) GetValue added in v0.0.21

func (c *CellValueWithCounts) GetValue() *CellValueUnion

func (*CellValueWithCounts) MarshalJSON added in v0.0.8

func (c *CellValueWithCounts) MarshalJSON() ([]byte, error)

func (*CellValueWithCounts) String

func (c *CellValueWithCounts) String() string

func (*CellValueWithCounts) UnmarshalJSON

func (c *CellValueWithCounts) UnmarshalJSON(data []byte) error
type CellValueWithLinks struct {
	Valid    *bool                `json:"valid,omitempty" url:"valid,omitempty"`
	Messages []*ValidationMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// Deprecated, use record level metadata instead.
	Metadata  map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Value     *CellValueUnion        `json:"value,omitempty" url:"value,omitempty"`
	Layer     *string                `json:"layer,omitempty" url:"layer,omitempty"`
	UpdatedAt *time.Time             `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	Links     *Records               `json:"links,omitempty" url:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*CellValueWithLinks) GetExtraProperties added in v0.0.14

func (c *CellValueWithLinks) GetExtraProperties() map[string]interface{}

func (*CellValueWithLinks) GetLayer added in v0.0.21

func (c *CellValueWithLinks) GetLayer() *string
func (c *CellValueWithLinks) GetLinks() *Records

func (*CellValueWithLinks) GetMessages added in v0.0.21

func (c *CellValueWithLinks) GetMessages() []*ValidationMessage

func (*CellValueWithLinks) GetMetadata added in v0.0.21

func (c *CellValueWithLinks) GetMetadata() map[string]interface{}

func (*CellValueWithLinks) GetUpdatedAt added in v0.0.21

func (c *CellValueWithLinks) GetUpdatedAt() *time.Time

func (*CellValueWithLinks) GetValid added in v0.0.21

func (c *CellValueWithLinks) GetValid() *bool

func (*CellValueWithLinks) GetValue added in v0.0.21

func (c *CellValueWithLinks) GetValue() *CellValueUnion

func (*CellValueWithLinks) MarshalJSON added in v0.0.8

func (c *CellValueWithLinks) MarshalJSON() ([]byte, error)

func (*CellValueWithLinks) String

func (c *CellValueWithLinks) String() string

func (*CellValueWithLinks) UnmarshalJSON

func (c *CellValueWithLinks) UnmarshalJSON(data []byte) error

type CellsResponse

type CellsResponse struct {
	Data CellsResponseData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CellsResponse) GetData added in v0.0.21

func (c *CellsResponse) GetData() CellsResponseData

func (*CellsResponse) GetExtraProperties added in v0.0.14

func (c *CellsResponse) GetExtraProperties() map[string]interface{}

func (*CellsResponse) String

func (c *CellsResponse) String() string

func (*CellsResponse) UnmarshalJSON

func (c *CellsResponse) UnmarshalJSON(data []byte) error

type CellsResponseData

type CellsResponseData = map[string][]*CellValueWithCounts

Cell values grouped by field key

type Certainty

type Certainty string
const (
	CertaintyAbsolute Certainty = "absolute"
	CertaintyStrong   Certainty = "strong"
	CertaintyModerate Certainty = "moderate"
	CertaintyWeak     Certainty = "weak"
)

func NewCertaintyFromString

func NewCertaintyFromString(s string) (Certainty, error)

func (Certainty) Ptr

func (c Certainty) Ptr() *Certainty

type ChangeType

type ChangeType string

Options to filter records in a snapshot

const (
	ChangeTypeCreatedSince ChangeType = "createdSince"
	ChangeTypeUpdatedSince ChangeType = "updatedSince"
	ChangeTypeDeletedSince ChangeType = "deletedSince"
)

func NewChangeTypeFromString

func NewChangeTypeFromString(s string) (ChangeType, error)

func (ChangeType) Ptr

func (c ChangeType) Ptr() *ChangeType

type CollectionJobSubject

type CollectionJobSubject struct {
	Resource string                 `json:"resource" url:"resource"`
	Params   map[string]interface{} `json:"params,omitempty" url:"params,omitempty"`
	Query    map[string]interface{} `json:"query,omitempty" url:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionJobSubject) GetExtraProperties added in v0.0.14

func (c *CollectionJobSubject) GetExtraProperties() map[string]interface{}

func (*CollectionJobSubject) GetParams added in v0.0.21

func (c *CollectionJobSubject) GetParams() map[string]interface{}

func (*CollectionJobSubject) GetQuery added in v0.0.21

func (c *CollectionJobSubject) GetQuery() map[string]interface{}

func (*CollectionJobSubject) GetResource added in v0.0.21

func (c *CollectionJobSubject) GetResource() string

func (*CollectionJobSubject) String

func (c *CollectionJobSubject) String() string

func (*CollectionJobSubject) UnmarshalJSON

func (c *CollectionJobSubject) UnmarshalJSON(data []byte) error

type Commit

type Commit struct {
	Id      CommitId `json:"id" url:"id"`
	SheetId SheetId  `json:"sheetId" url:"sheetId"`
	// The actor (user or system) who created the commit
	CreatedBy string `json:"createdBy" url:"createdBy"`
	// The actor (user or system) who completed the commit
	CompletedBy *string `json:"completedBy,omitempty" url:"completedBy,omitempty"`
	// The time the commit was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// The time the commit was acknowledged
	CompletedAt *time.Time `json:"completedAt,omitempty" url:"completedAt,omitempty"`
	// contains filtered or unexported fields
}

A commit version

func (*Commit) GetCompletedAt added in v0.0.21

func (c *Commit) GetCompletedAt() *time.Time

func (*Commit) GetCompletedBy added in v0.0.21

func (c *Commit) GetCompletedBy() *string

func (*Commit) GetCreatedAt added in v0.0.21

func (c *Commit) GetCreatedAt() time.Time

func (*Commit) GetCreatedBy added in v0.0.21

func (c *Commit) GetCreatedBy() string

func (*Commit) GetExtraProperties added in v0.0.14

func (c *Commit) GetExtraProperties() map[string]interface{}

func (*Commit) GetId added in v0.0.21

func (c *Commit) GetId() CommitId

func (*Commit) GetSheetId added in v0.0.21

func (c *Commit) GetSheetId() SheetId

func (*Commit) MarshalJSON added in v0.0.8

func (c *Commit) MarshalJSON() ([]byte, error)

func (*Commit) String

func (c *Commit) String() string

func (*Commit) UnmarshalJSON

func (c *Commit) UnmarshalJSON(data []byte) error

type CommitId

type CommitId = string

Commit ID

type CommitResponse

type CommitResponse struct {
	Data *Commit `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitResponse) GetData added in v0.0.21

func (c *CommitResponse) GetData() *Commit

func (*CommitResponse) GetExtraProperties added in v0.0.14

func (c *CommitResponse) GetExtraProperties() map[string]interface{}

func (*CommitResponse) String

func (c *CommitResponse) String() string

func (*CommitResponse) UnmarshalJSON

func (c *CommitResponse) UnmarshalJSON(data []byte) error

type Compiler

type Compiler string

The compiler of the agent

const (
	CompilerJs Compiler = "js"
)

func NewCompilerFromString

func NewCompilerFromString(s string) (Compiler, error)

func (Compiler) Ptr

func (c Compiler) Ptr() *Compiler

type CompositeUniqueConstraint added in v0.0.6

type CompositeUniqueConstraint struct {
	// The name of the constraint
	Name string `json:"name" url:"name"`
	// The fields that must be unique together
	Fields []string `json:"fields,omitempty" url:"fields,omitempty"`
	// Fields that, when empty, will cause this unique constraint to be ignored
	RequiredFields []string                          `json:"requiredFields,omitempty" url:"requiredFields,omitempty"`
	Strategy       CompositeUniqueConstraintStrategy `json:"strategy" url:"strategy"`
	// contains filtered or unexported fields
}

func (*CompositeUniqueConstraint) GetExtraProperties added in v0.0.14

func (c *CompositeUniqueConstraint) GetExtraProperties() map[string]interface{}

func (*CompositeUniqueConstraint) GetFields added in v0.0.21

func (c *CompositeUniqueConstraint) GetFields() []string

func (*CompositeUniqueConstraint) GetName added in v0.0.21

func (c *CompositeUniqueConstraint) GetName() string

func (*CompositeUniqueConstraint) GetRequiredFields added in v0.0.21

func (c *CompositeUniqueConstraint) GetRequiredFields() []string

func (*CompositeUniqueConstraint) GetStrategy added in v0.0.21

func (*CompositeUniqueConstraint) String added in v0.0.6

func (c *CompositeUniqueConstraint) String() string

func (*CompositeUniqueConstraint) UnmarshalJSON added in v0.0.6

func (c *CompositeUniqueConstraint) UnmarshalJSON(data []byte) error

type CompositeUniqueConstraintStrategy added in v0.0.6

type CompositeUniqueConstraintStrategy string
const (
	// A hash of the fields will be used to determine uniqueness
	CompositeUniqueConstraintStrategyHash CompositeUniqueConstraintStrategy = "hash"
	// The values of the fields will be concatenated to determine uniqueness
	CompositeUniqueConstraintStrategyConcat CompositeUniqueConstraintStrategy = "concat"
)

func NewCompositeUniqueConstraintStrategyFromString added in v0.0.6

func NewCompositeUniqueConstraintStrategyFromString(s string) (CompositeUniqueConstraintStrategy, error)

func (CompositeUniqueConstraintStrategy) Ptr added in v0.0.6

type Constraint

type Constraint struct {
	Type     string
	Required interface{}
	Unique   *UniqueConstraint
	Computed interface{}
	External *ExternalConstraint
	Stored   *StoredConstraint
}

func NewConstraintFromComputed

func NewConstraintFromComputed(value interface{}) *Constraint

func NewConstraintFromExternal added in v0.0.8

func NewConstraintFromExternal(value *ExternalConstraint) *Constraint

func NewConstraintFromRequired

func NewConstraintFromRequired(value interface{}) *Constraint

func NewConstraintFromStored added in v0.0.17

func NewConstraintFromStored(value *StoredConstraint) *Constraint

func NewConstraintFromUnique

func NewConstraintFromUnique(value *UniqueConstraint) *Constraint

func (*Constraint) Accept

func (c *Constraint) Accept(visitor ConstraintVisitor) error

func (*Constraint) GetComputed added in v0.0.21

func (c *Constraint) GetComputed() interface{}

func (*Constraint) GetExternal added in v0.0.21

func (c *Constraint) GetExternal() *ExternalConstraint

func (*Constraint) GetRequired added in v0.0.21

func (c *Constraint) GetRequired() interface{}

func (*Constraint) GetStored added in v0.0.21

func (c *Constraint) GetStored() *StoredConstraint

func (*Constraint) GetType added in v0.0.21

func (c *Constraint) GetType() string

func (*Constraint) GetUnique added in v0.0.21

func (c *Constraint) GetUnique() *UniqueConstraint

func (Constraint) MarshalJSON

func (c Constraint) MarshalJSON() ([]byte, error)

func (*Constraint) UnmarshalJSON

func (c *Constraint) UnmarshalJSON(data []byte) error

type ConstraintCreate added in v0.0.17

type ConstraintCreate struct {
	Description *string     `json:"description,omitempty" url:"description,omitempty"`
	Function    *string     `json:"function,omitempty" url:"function,omitempty"`
	Options     interface{} `json:"options,omitempty" url:"options,omitempty"`
	Label       *string     `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintCreate) GetDescription added in v0.0.21

func (c *ConstraintCreate) GetDescription() *string

func (*ConstraintCreate) GetExtraProperties added in v0.0.17

func (c *ConstraintCreate) GetExtraProperties() map[string]interface{}

func (*ConstraintCreate) GetFunction added in v0.0.21

func (c *ConstraintCreate) GetFunction() *string

func (*ConstraintCreate) GetLabel added in v0.0.21

func (c *ConstraintCreate) GetLabel() *string

func (*ConstraintCreate) GetOptions added in v0.0.21

func (c *ConstraintCreate) GetOptions() interface{}

func (*ConstraintCreate) String added in v0.0.17

func (c *ConstraintCreate) String() string

func (*ConstraintCreate) UnmarshalJSON added in v0.0.17

func (c *ConstraintCreate) UnmarshalJSON(data []byte) error

type ConstraintId added in v0.0.17

type ConstraintId = string

Constraint ID

type ConstraintResource added in v0.0.17

type ConstraintResource struct {
	Id          ConstraintId `json:"id" url:"id"`
	AppId       AppId        `json:"appId" url:"appId"`
	Validator   string       `json:"validator" url:"validator"`
	Description *string      `json:"description,omitempty" url:"description,omitempty"`
	Function    *string      `json:"function,omitempty" url:"function,omitempty"`
	Options     interface{}  `json:"options,omitempty" url:"options,omitempty"`
	Label       *string      `json:"label,omitempty" url:"label,omitempty"`
	CreatedAt   time.Time    `json:"createdAt" url:"createdAt"`
	UpdatedAt   time.Time    `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

func (*ConstraintResource) GetAppId added in v0.0.21

func (c *ConstraintResource) GetAppId() AppId

func (*ConstraintResource) GetCreatedAt added in v0.0.21

func (c *ConstraintResource) GetCreatedAt() time.Time

func (*ConstraintResource) GetDescription added in v0.0.21

func (c *ConstraintResource) GetDescription() *string

func (*ConstraintResource) GetExtraProperties added in v0.0.17

func (c *ConstraintResource) GetExtraProperties() map[string]interface{}

func (*ConstraintResource) GetFunction added in v0.0.21

func (c *ConstraintResource) GetFunction() *string

func (*ConstraintResource) GetId added in v0.0.21

func (c *ConstraintResource) GetId() ConstraintId

func (*ConstraintResource) GetLabel added in v0.0.21

func (c *ConstraintResource) GetLabel() *string

func (*ConstraintResource) GetOptions added in v0.0.21

func (c *ConstraintResource) GetOptions() interface{}

func (*ConstraintResource) GetUpdatedAt added in v0.0.21

func (c *ConstraintResource) GetUpdatedAt() time.Time

func (*ConstraintResource) GetValidator added in v0.0.21

func (c *ConstraintResource) GetValidator() string

func (*ConstraintResource) MarshalJSON added in v0.0.17

func (c *ConstraintResource) MarshalJSON() ([]byte, error)

func (*ConstraintResource) String added in v0.0.17

func (c *ConstraintResource) String() string

func (*ConstraintResource) UnmarshalJSON added in v0.0.17

func (c *ConstraintResource) UnmarshalJSON(data []byte) error

type ConstraintResponse added in v0.0.17

type ConstraintResponse struct {
	Data *ConstraintResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintResponse) GetData added in v0.0.21

func (c *ConstraintResponse) GetData() *ConstraintResource

func (*ConstraintResponse) GetExtraProperties added in v0.0.17

func (c *ConstraintResponse) GetExtraProperties() map[string]interface{}

func (*ConstraintResponse) String added in v0.0.17

func (c *ConstraintResponse) String() string

func (*ConstraintResponse) UnmarshalJSON added in v0.0.17

func (c *ConstraintResponse) UnmarshalJSON(data []byte) error

type ConstraintUpdate added in v0.0.17

type ConstraintUpdate struct {
	Description *string     `json:"description,omitempty" url:"description,omitempty"`
	Function    *string     `json:"function,omitempty" url:"function,omitempty"`
	Options     interface{} `json:"options,omitempty" url:"options,omitempty"`
	Label       *string     `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintUpdate) GetDescription added in v0.0.21

func (c *ConstraintUpdate) GetDescription() *string

func (*ConstraintUpdate) GetExtraProperties added in v0.0.17

func (c *ConstraintUpdate) GetExtraProperties() map[string]interface{}

func (*ConstraintUpdate) GetFunction added in v0.0.21

func (c *ConstraintUpdate) GetFunction() *string

func (*ConstraintUpdate) GetLabel added in v0.0.21

func (c *ConstraintUpdate) GetLabel() *string

func (*ConstraintUpdate) GetOptions added in v0.0.21

func (c *ConstraintUpdate) GetOptions() interface{}

func (*ConstraintUpdate) String added in v0.0.17

func (c *ConstraintUpdate) String() string

func (*ConstraintUpdate) UnmarshalJSON added in v0.0.17

func (c *ConstraintUpdate) UnmarshalJSON(data []byte) error

type ConstraintVersionResource added in v0.0.17

type ConstraintVersionResource struct {
	Id          ConstraintId `json:"id" url:"id"`
	AppId       AppId        `json:"appId" url:"appId"`
	Validator   string       `json:"validator" url:"validator"`
	Description *string      `json:"description,omitempty" url:"description,omitempty"`
	Function    *string      `json:"function,omitempty" url:"function,omitempty"`
	Options     interface{}  `json:"options,omitempty" url:"options,omitempty"`
	Label       *string      `json:"label,omitempty" url:"label,omitempty"`
	CreatedAt   time.Time    `json:"createdAt" url:"createdAt"`
	UpdatedAt   time.Time    `json:"updatedAt" url:"updatedAt"`
	Version     int          `json:"version" url:"version"`
	Prompt      *string      `json:"prompt,omitempty" url:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintVersionResource) GetAppId added in v0.0.21

func (c *ConstraintVersionResource) GetAppId() AppId

func (*ConstraintVersionResource) GetCreatedAt added in v0.0.21

func (c *ConstraintVersionResource) GetCreatedAt() time.Time

func (*ConstraintVersionResource) GetDescription added in v0.0.21

func (c *ConstraintVersionResource) GetDescription() *string

func (*ConstraintVersionResource) GetExtraProperties added in v0.0.17

func (c *ConstraintVersionResource) GetExtraProperties() map[string]interface{}

func (*ConstraintVersionResource) GetFunction added in v0.0.21

func (c *ConstraintVersionResource) GetFunction() *string

func (*ConstraintVersionResource) GetId added in v0.0.21

func (*ConstraintVersionResource) GetLabel added in v0.0.21

func (c *ConstraintVersionResource) GetLabel() *string

func (*ConstraintVersionResource) GetOptions added in v0.0.21

func (c *ConstraintVersionResource) GetOptions() interface{}

func (*ConstraintVersionResource) GetPrompt added in v0.0.21

func (c *ConstraintVersionResource) GetPrompt() *string

func (*ConstraintVersionResource) GetUpdatedAt added in v0.0.21

func (c *ConstraintVersionResource) GetUpdatedAt() time.Time

func (*ConstraintVersionResource) GetValidator added in v0.0.21

func (c *ConstraintVersionResource) GetValidator() string

func (*ConstraintVersionResource) GetVersion added in v0.0.21

func (c *ConstraintVersionResource) GetVersion() int

func (*ConstraintVersionResource) MarshalJSON added in v0.0.17

func (c *ConstraintVersionResource) MarshalJSON() ([]byte, error)

func (*ConstraintVersionResource) String added in v0.0.17

func (c *ConstraintVersionResource) String() string

func (*ConstraintVersionResource) UnmarshalJSON added in v0.0.17

func (c *ConstraintVersionResource) UnmarshalJSON(data []byte) error

type ConstraintVersionResponse added in v0.0.17

type ConstraintVersionResponse struct {
	Data *ConstraintVersionResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintVersionResponse) GetData added in v0.0.21

func (*ConstraintVersionResponse) GetExtraProperties added in v0.0.17

func (c *ConstraintVersionResponse) GetExtraProperties() map[string]interface{}

func (*ConstraintVersionResponse) String added in v0.0.17

func (c *ConstraintVersionResponse) String() string

func (*ConstraintVersionResponse) UnmarshalJSON added in v0.0.17

func (c *ConstraintVersionResponse) UnmarshalJSON(data []byte) error

type ConstraintVersionsResponse added in v0.0.17

type ConstraintVersionsResponse struct {
	Data []*ConstraintVersionResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintVersionsResponse) GetData added in v0.0.21

func (*ConstraintVersionsResponse) GetExtraProperties added in v0.0.17

func (c *ConstraintVersionsResponse) GetExtraProperties() map[string]interface{}

func (*ConstraintVersionsResponse) String added in v0.0.17

func (c *ConstraintVersionsResponse) String() string

func (*ConstraintVersionsResponse) UnmarshalJSON added in v0.0.17

func (c *ConstraintVersionsResponse) UnmarshalJSON(data []byte) error

type ConstraintVisitor

type ConstraintVisitor interface {
	VisitRequired(interface{}) error
	VisitUnique(*UniqueConstraint) error
	VisitComputed(interface{}) error
	VisitExternal(*ExternalConstraint) error
	VisitStored(*StoredConstraint) error
}

type ConstraintsResponse added in v0.0.17

type ConstraintsResponse struct {
	Data []*ConstraintResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ConstraintsResponse) GetData added in v0.0.21

func (c *ConstraintsResponse) GetData() []*ConstraintResource

func (*ConstraintsResponse) GetExtraProperties added in v0.0.17

func (c *ConstraintsResponse) GetExtraProperties() map[string]interface{}

func (*ConstraintsResponse) String added in v0.0.17

func (c *ConstraintsResponse) String() string

func (*ConstraintsResponse) UnmarshalJSON added in v0.0.17

func (c *ConstraintsResponse) UnmarshalJSON(data []byte) error

type Context

type Context struct {
	// The namespaces of the event
	Namespaces []string `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	// The slugs of related resources
	Slugs         *EventContextSlugs `json:"slugs,omitempty" url:"slugs,omitempty"`
	ActionName    *ActionName        `json:"actionName,omitempty" url:"actionName,omitempty"`
	AccountId     AccountId          `json:"accountId" url:"accountId"`
	EnvironmentId EnvironmentId      `json:"environmentId" url:"environmentId"`
	SpaceId       *SpaceId           `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	WorkbookId    *WorkbookId        `json:"workbookId,omitempty" url:"workbookId,omitempty"`
	SheetId       *SheetId           `json:"sheetId,omitempty" url:"sheetId,omitempty"`
	SheetSlug     *SheetSlug         `json:"sheetSlug,omitempty" url:"sheetSlug,omitempty"`
	SnapshotId    *SnapshotId        `json:"snapshotId,omitempty" url:"snapshotId,omitempty"`
	// Deprecated, use `commitId` instead.
	VersionId        *VersionId  `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId         *CommitId   `json:"commitId,omitempty" url:"commitId,omitempty"`
	JobId            *JobId      `json:"jobId,omitempty" url:"jobId,omitempty"`
	ProgramId        *ProgramId  `json:"programId,omitempty" url:"programId,omitempty"`
	FileId           *FileId     `json:"fileId,omitempty" url:"fileId,omitempty"`
	DocumentId       *DocumentId `json:"documentId,omitempty" url:"documentId,omitempty"`
	PrecedingEventId *EventId    `json:"precedingEventId,omitempty" url:"precedingEventId,omitempty"`
	// Can be a UserId, GuestId, or AgentId
	ActorId    *string     `json:"actorId,omitempty" url:"actorId,omitempty"`
	AppId      *AppId      `json:"appId,omitempty" url:"appId,omitempty"`
	ActionId   *ActionId   `json:"actionId,omitempty" url:"actionId,omitempty"`
	DataClipId *DataClipId `json:"dataClipId,omitempty" url:"dataClipId,omitempty"`
	// contains filtered or unexported fields
}

The context of the event

func (*Context) GetAccountId added in v0.0.21

func (c *Context) GetAccountId() AccountId

func (*Context) GetActionId added in v0.0.21

func (c *Context) GetActionId() *ActionId

func (*Context) GetActionName added in v0.0.21

func (c *Context) GetActionName() *ActionName

func (*Context) GetActorId added in v0.0.21

func (c *Context) GetActorId() *string

func (*Context) GetAppId added in v0.0.21

func (c *Context) GetAppId() *AppId

func (*Context) GetCommitId added in v0.0.21

func (c *Context) GetCommitId() *CommitId

func (*Context) GetDataClipId added in v0.0.21

func (c *Context) GetDataClipId() *DataClipId

func (*Context) GetDocumentId added in v0.0.21

func (c *Context) GetDocumentId() *DocumentId

func (*Context) GetEnvironmentId added in v0.0.21

func (c *Context) GetEnvironmentId() EnvironmentId

func (*Context) GetExtraProperties added in v0.0.14

func (c *Context) GetExtraProperties() map[string]interface{}

func (*Context) GetFileId added in v0.0.21

func (c *Context) GetFileId() *FileId

func (*Context) GetJobId added in v0.0.21

func (c *Context) GetJobId() *JobId

func (*Context) GetNamespaces added in v0.0.21

func (c *Context) GetNamespaces() []string

func (*Context) GetPrecedingEventId added in v0.0.21

func (c *Context) GetPrecedingEventId() *EventId

func (*Context) GetProgramId added in v0.0.21

func (c *Context) GetProgramId() *ProgramId

func (*Context) GetSheetId added in v0.0.21

func (c *Context) GetSheetId() *SheetId

func (*Context) GetSheetSlug added in v0.0.21

func (c *Context) GetSheetSlug() *SheetSlug

func (*Context) GetSlugs added in v0.0.21

func (c *Context) GetSlugs() *EventContextSlugs

func (*Context) GetSnapshotId added in v0.0.21

func (c *Context) GetSnapshotId() *SnapshotId

func (*Context) GetSpaceId added in v0.0.21

func (c *Context) GetSpaceId() *SpaceId

func (*Context) GetVersionId added in v0.0.21

func (c *Context) GetVersionId() *VersionId

func (*Context) GetWorkbookId added in v0.0.21

func (c *Context) GetWorkbookId() *WorkbookId

func (*Context) String

func (c *Context) String() string

func (*Context) UnmarshalJSON

func (c *Context) UnmarshalJSON(data []byte) error

type CreateAgentsRequest

type CreateAgentsRequest struct {
	EnvironmentId EnvironmentId `json:"-" url:"environmentId"`
	Body          *AgentConfig  `json:"-" url:"-"`
}

func (*CreateAgentsRequest) MarshalJSON

func (c *CreateAgentsRequest) MarshalJSON() ([]byte, error)

func (*CreateAgentsRequest) UnmarshalJSON

func (c *CreateAgentsRequest) UnmarshalJSON(data []byte) error

type CreateEventConfig

type CreateEventConfig struct {
	// The domain of the event
	Domain Domain `json:"domain" url:"domain"`
	// The context of the event
	Context *Context `json:"context,omitempty" url:"context,omitempty"`
	// The attributes of the event
	Attributes *EventAttributes `json:"attributes,omitempty" url:"attributes,omitempty"`
	// The callback url to acknowledge the event
	CallbackUrl *string `json:"callbackUrl,omitempty" url:"callbackUrl,omitempty"`
	// The url to retrieve the data associated with the event
	DataUrl    *string                `json:"dataUrl,omitempty" url:"dataUrl,omitempty"`
	Target     *string                `json:"target,omitempty" url:"target,omitempty"`
	Origin     *Origin                `json:"origin,omitempty" url:"origin,omitempty"`
	Namespaces []string               `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	Topic      EventTopic             `json:"topic" url:"topic"`
	Payload    map[string]interface{} `json:"payload,omitempty" url:"payload,omitempty"`
	// Date the event was deleted
	DeletedAt *time.Time `json:"deletedAt,omitempty" url:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

Properties used to create a new event

func (*CreateEventConfig) GetAttributes added in v0.0.21

func (c *CreateEventConfig) GetAttributes() *EventAttributes

func (*CreateEventConfig) GetCallbackUrl added in v0.0.21

func (c *CreateEventConfig) GetCallbackUrl() *string

func (*CreateEventConfig) GetContext added in v0.0.21

func (c *CreateEventConfig) GetContext() *Context

func (*CreateEventConfig) GetDataUrl added in v0.0.21

func (c *CreateEventConfig) GetDataUrl() *string

func (*CreateEventConfig) GetDeletedAt added in v0.0.21

func (c *CreateEventConfig) GetDeletedAt() *time.Time

func (*CreateEventConfig) GetDomain added in v0.0.21

func (c *CreateEventConfig) GetDomain() Domain

func (*CreateEventConfig) GetExtraProperties added in v0.0.14

func (c *CreateEventConfig) GetExtraProperties() map[string]interface{}

func (*CreateEventConfig) GetNamespaces added in v0.0.21

func (c *CreateEventConfig) GetNamespaces() []string

func (*CreateEventConfig) GetOrigin added in v0.0.21

func (c *CreateEventConfig) GetOrigin() *Origin

func (*CreateEventConfig) GetPayload added in v0.0.21

func (c *CreateEventConfig) GetPayload() map[string]interface{}

func (*CreateEventConfig) GetTarget added in v0.0.21

func (c *CreateEventConfig) GetTarget() *string

func (*CreateEventConfig) GetTopic added in v0.0.21

func (c *CreateEventConfig) GetTopic() EventTopic

func (*CreateEventConfig) MarshalJSON added in v0.0.8

func (c *CreateEventConfig) MarshalJSON() ([]byte, error)

func (*CreateEventConfig) String

func (c *CreateEventConfig) String() string

func (*CreateEventConfig) UnmarshalJSON

func (c *CreateEventConfig) UnmarshalJSON(data []byte) error

type CreateFileRequest

type CreateFileRequest struct {
	SpaceId       SpaceId       `json:"spaceId" url:"-"`
	EnvironmentId EnvironmentId `json:"environmentId" url:"-"`
	// The storage mode of file to insert, defaults to "import"
	Mode *Mode `json:"mode,omitempty" url:"-"`
	// The actions attached to the file
	Actions []*Action `json:"actions,omitempty" url:"-"`
	// The origin of the file, ie filesystem
	Origin *FileOrigin `json:"origin,omitempty" url:"-"`
}

type CreateGuestResponse

type CreateGuestResponse struct {
	Data []*Guest `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGuestResponse) GetData added in v0.0.21

func (c *CreateGuestResponse) GetData() []*Guest

func (*CreateGuestResponse) GetExtraProperties added in v0.0.14

func (c *CreateGuestResponse) GetExtraProperties() map[string]interface{}

func (*CreateGuestResponse) String

func (c *CreateGuestResponse) String() string

func (*CreateGuestResponse) UnmarshalJSON

func (c *CreateGuestResponse) UnmarshalJSON(data []byte) error

type CreateMappingRulesRequest added in v0.0.6

type CreateMappingRulesRequest = []*MappingRuleConfig

type CreateSnapshotRequest

type CreateSnapshotRequest struct {
	// ID of sheet
	SheetId SheetId `json:"sheetId" url:"-"`
	// Label for the snapshot
	Label *string `json:"label,omitempty" url:"-"`
	// ThreadId for the snapshot
	ThreadId *string `json:"threadId,omitempty" url:"-"`
}

type CreateWorkbookConfig

type CreateWorkbookConfig struct {
	// The name of the Workbook.
	Name string `json:"name" url:"name"`
	// An optional list of labels for the Workbook.
	Labels []string `json:"labels,omitempty" url:"labels,omitempty"`
	// Space to associate with the Workbook.
	SpaceId *SpaceId `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	// Environment to associate with the Workbook
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// Optional namespace to apply to the Workbook.
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Sheets to create on the Workbook.
	Sheets []*SheetConfig `json:"sheets,omitempty" url:"sheets,omitempty"`
	// Actions to create on the Workbook.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// The Workbook settings.
	Settings *WorkbookConfigSettings `json:"settings,omitempty" url:"settings,omitempty"`
	// Metadata for the workbook
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// Treatments for the workbook
	Treatments []WorkbookTreatments `json:"treatments,omitempty" url:"treatments,omitempty"`
	// contains filtered or unexported fields
}

Properties used to create a new Workbook

func (*CreateWorkbookConfig) GetActions added in v0.0.21

func (c *CreateWorkbookConfig) GetActions() []*Action

func (*CreateWorkbookConfig) GetEnvironmentId added in v0.0.21

func (c *CreateWorkbookConfig) GetEnvironmentId() *EnvironmentId

func (*CreateWorkbookConfig) GetExtraProperties added in v0.0.14

func (c *CreateWorkbookConfig) GetExtraProperties() map[string]interface{}

func (*CreateWorkbookConfig) GetLabels added in v0.0.21

func (c *CreateWorkbookConfig) GetLabels() []string

func (*CreateWorkbookConfig) GetMetadata added in v0.0.21

func (c *CreateWorkbookConfig) GetMetadata() interface{}

func (*CreateWorkbookConfig) GetName added in v0.0.21

func (c *CreateWorkbookConfig) GetName() string

func (*CreateWorkbookConfig) GetNamespace added in v0.0.21

func (c *CreateWorkbookConfig) GetNamespace() *string

func (*CreateWorkbookConfig) GetSettings added in v0.0.21

func (c *CreateWorkbookConfig) GetSettings() *WorkbookConfigSettings

func (*CreateWorkbookConfig) GetSheets added in v0.0.21

func (c *CreateWorkbookConfig) GetSheets() []*SheetConfig

func (*CreateWorkbookConfig) GetSpaceId added in v0.0.21

func (c *CreateWorkbookConfig) GetSpaceId() *SpaceId

func (*CreateWorkbookConfig) GetTreatments added in v0.0.21

func (c *CreateWorkbookConfig) GetTreatments() []WorkbookTreatments

func (*CreateWorkbookConfig) String

func (c *CreateWorkbookConfig) String() string

func (*CreateWorkbookConfig) UnmarshalJSON

func (c *CreateWorkbookConfig) UnmarshalJSON(data []byte) error

type DataClipId added in v0.0.18

type DataClipId = string

Data Clip ID

type DataRetentionPolicy added in v0.0.6

type DataRetentionPolicy struct {
	Type          DataRetentionPolicyEnum `json:"type" url:"type"`
	Period        int                     `json:"period" url:"period"`
	EnvironmentId EnvironmentId           `json:"environmentId" url:"environmentId"`
	Id            DataRetentionPolicyId   `json:"id" url:"id"`
	// Date the policy was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the policy was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

A data retention policy belonging to an environment

func (*DataRetentionPolicy) GetCreatedAt added in v0.0.21

func (d *DataRetentionPolicy) GetCreatedAt() time.Time

func (*DataRetentionPolicy) GetEnvironmentId added in v0.0.21

func (d *DataRetentionPolicy) GetEnvironmentId() EnvironmentId

func (*DataRetentionPolicy) GetExtraProperties added in v0.0.14

func (d *DataRetentionPolicy) GetExtraProperties() map[string]interface{}

func (*DataRetentionPolicy) GetId added in v0.0.21

func (*DataRetentionPolicy) GetPeriod added in v0.0.21

func (d *DataRetentionPolicy) GetPeriod() int

func (*DataRetentionPolicy) GetType added in v0.0.21

func (*DataRetentionPolicy) GetUpdatedAt added in v0.0.21

func (d *DataRetentionPolicy) GetUpdatedAt() time.Time

func (*DataRetentionPolicy) MarshalJSON added in v0.0.8

func (d *DataRetentionPolicy) MarshalJSON() ([]byte, error)

func (*DataRetentionPolicy) String added in v0.0.6

func (d *DataRetentionPolicy) String() string

func (*DataRetentionPolicy) UnmarshalJSON added in v0.0.6

func (d *DataRetentionPolicy) UnmarshalJSON(data []byte) error

type DataRetentionPolicyConfig added in v0.0.6

type DataRetentionPolicyConfig struct {
	Type          DataRetentionPolicyEnum `json:"type" url:"type"`
	Period        int                     `json:"period" url:"period"`
	EnvironmentId EnvironmentId           `json:"environmentId" url:"environmentId"`
	// contains filtered or unexported fields
}

func (*DataRetentionPolicyConfig) GetEnvironmentId added in v0.0.21

func (d *DataRetentionPolicyConfig) GetEnvironmentId() EnvironmentId

func (*DataRetentionPolicyConfig) GetExtraProperties added in v0.0.14

func (d *DataRetentionPolicyConfig) GetExtraProperties() map[string]interface{}

func (*DataRetentionPolicyConfig) GetPeriod added in v0.0.21

func (d *DataRetentionPolicyConfig) GetPeriod() int

func (*DataRetentionPolicyConfig) GetType added in v0.0.21

func (*DataRetentionPolicyConfig) String added in v0.0.6

func (d *DataRetentionPolicyConfig) String() string

func (*DataRetentionPolicyConfig) UnmarshalJSON added in v0.0.6

func (d *DataRetentionPolicyConfig) UnmarshalJSON(data []byte) error

type DataRetentionPolicyEnum added in v0.0.6

type DataRetentionPolicyEnum string

The type of data retention policy on an environment

const (
	DataRetentionPolicyEnumLastActivity DataRetentionPolicyEnum = "lastActivity"
	DataRetentionPolicyEnumSinceCreated DataRetentionPolicyEnum = "sinceCreated"
)

func NewDataRetentionPolicyEnumFromString added in v0.0.6

func NewDataRetentionPolicyEnumFromString(s string) (DataRetentionPolicyEnum, error)

func (DataRetentionPolicyEnum) Ptr added in v0.0.6

type DataRetentionPolicyId added in v0.0.6

type DataRetentionPolicyId = string

Data Retention Policy ID

type DataRetentionPolicyResponse added in v0.0.6

type DataRetentionPolicyResponse struct {
	Data *DataRetentionPolicy `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DataRetentionPolicyResponse) GetData added in v0.0.21

func (*DataRetentionPolicyResponse) GetExtraProperties added in v0.0.14

func (d *DataRetentionPolicyResponse) GetExtraProperties() map[string]interface{}

func (*DataRetentionPolicyResponse) String added in v0.0.6

func (d *DataRetentionPolicyResponse) String() string

func (*DataRetentionPolicyResponse) UnmarshalJSON added in v0.0.6

func (d *DataRetentionPolicyResponse) UnmarshalJSON(data []byte) error

type DateProperty

type DateProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// contains filtered or unexported fields
}

Store a field as a GMT date. Data hooks must convert this value into a `YYYY-MM-DD` format in order for it to be considered a valid value. Datetime should be a separate and future supported value as it must consider timezone.

func (*DateProperty) GetActions added in v0.0.21

func (d *DateProperty) GetActions() []*Action

func (*DateProperty) GetAlternativeNames added in v0.0.21

func (d *DateProperty) GetAlternativeNames() []string

func (*DateProperty) GetAppearance added in v0.0.21

func (d *DateProperty) GetAppearance() *FieldAppearance

func (*DateProperty) GetConstraints added in v0.0.21

func (d *DateProperty) GetConstraints() []*Constraint

func (*DateProperty) GetDescription added in v0.0.21

func (d *DateProperty) GetDescription() *string

func (*DateProperty) GetExtraProperties added in v0.0.14

func (d *DateProperty) GetExtraProperties() map[string]interface{}

func (*DateProperty) GetKey added in v0.0.21

func (d *DateProperty) GetKey() string

func (*DateProperty) GetLabel added in v0.0.21

func (d *DateProperty) GetLabel() *string

func (*DateProperty) GetMetadata added in v0.0.21

func (d *DateProperty) GetMetadata() interface{}

func (*DateProperty) GetReadonly added in v0.0.21

func (d *DateProperty) GetReadonly() *bool

func (*DateProperty) GetTreatments added in v0.0.21

func (d *DateProperty) GetTreatments() []string

func (*DateProperty) String

func (d *DateProperty) String() string

func (*DateProperty) UnmarshalJSON

func (d *DateProperty) UnmarshalJSON(data []byte) error

type DeleteAgentRequest

type DeleteAgentRequest struct {
	EnvironmentId EnvironmentId `json:"-" url:"environmentId"`
}

type DeleteAllHistoryForUserRequest added in v0.0.10

type DeleteAllHistoryForUserRequest struct {
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"-"`
}

type DeleteMultipleRulesRequest added in v0.0.13

type DeleteMultipleRulesRequest struct {
	// Array of rule IDs to be deleted
	RuleIds []MappingId `json:"ruleIds,omitempty" url:"-"`
}

type DeleteRecordsJobConfig

type DeleteRecordsJobConfig struct {
	// Options to filter records (default=none)
	Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
	// Use this to narrow the valid/error filter results to a specific field (Requires filter to be set)
	FilterField *FilterField `json:"filterField,omitempty" url:"filterField,omitempty"`
	SearchValue *SearchValue `json:"searchValue,omitempty" url:"searchValue,omitempty"`
	SearchField *SearchField `json:"searchField,omitempty" url:"searchField,omitempty"`
	// FFQL query to filter records
	Q     *string `json:"q,omitempty" url:"q,omitempty"`
	Sheet SheetId `json:"sheet" url:"sheet"`
	// List of record ids to exclude from deletion
	Exceptions []RecordId `json:"exceptions,omitempty" url:"exceptions,omitempty"`
	// If specified, a snapshot will be generated with this label
	SnapshotLabel *string `json:"snapshotLabel,omitempty" url:"snapshotLabel,omitempty"`
	// contains filtered or unexported fields
}

The configuration for a delete job

func (*DeleteRecordsJobConfig) GetExceptions added in v0.0.21

func (d *DeleteRecordsJobConfig) GetExceptions() []RecordId

func (*DeleteRecordsJobConfig) GetExtraProperties added in v0.0.14

func (d *DeleteRecordsJobConfig) GetExtraProperties() map[string]interface{}

func (*DeleteRecordsJobConfig) GetFilter added in v0.0.21

func (d *DeleteRecordsJobConfig) GetFilter() *Filter

func (*DeleteRecordsJobConfig) GetFilterField added in v0.0.21

func (d *DeleteRecordsJobConfig) GetFilterField() *FilterField

func (*DeleteRecordsJobConfig) GetQ added in v0.0.21

func (d *DeleteRecordsJobConfig) GetQ() *string

func (*DeleteRecordsJobConfig) GetSearchField added in v0.0.21

func (d *DeleteRecordsJobConfig) GetSearchField() *SearchField

func (*DeleteRecordsJobConfig) GetSearchValue added in v0.0.21

func (d *DeleteRecordsJobConfig) GetSearchValue() *SearchValue

func (*DeleteRecordsJobConfig) GetSheet added in v0.0.21

func (d *DeleteRecordsJobConfig) GetSheet() SheetId

func (*DeleteRecordsJobConfig) GetSnapshotLabel added in v0.0.21

func (d *DeleteRecordsJobConfig) GetSnapshotLabel() *string

func (*DeleteRecordsJobConfig) String

func (d *DeleteRecordsJobConfig) String() string

func (*DeleteRecordsJobConfig) UnmarshalJSON

func (d *DeleteRecordsJobConfig) UnmarshalJSON(data []byte) error

type DeleteRecordsRequest

type DeleteRecordsRequest struct {
	// A list of record IDs to delete. Maximum of 100 allowed.
	Ids []RecordId `json:"-" url:"ids"`
}

type DeleteSpacesRequest

type DeleteSpacesRequest struct {
	// List of ids for the spaces to be deleted
	SpaceIds []SpaceId `json:"-" url:"spaceIds"`
}

type DestinationField

type DestinationField struct {
	// The description of the destination field
	DestinationField *Property `json:"destinationField,omitempty" url:"destinationField,omitempty"`
	// A list of preview values of the data in the destination field
	Preview []string `json:"preview,omitempty" url:"preview,omitempty"`
	// contains filtered or unexported fields
}

func (*DestinationField) GetDestinationField added in v0.0.21

func (d *DestinationField) GetDestinationField() *Property

func (*DestinationField) GetExtraProperties added in v0.0.14

func (d *DestinationField) GetExtraProperties() map[string]interface{}

func (*DestinationField) GetPreview added in v0.0.21

func (d *DestinationField) GetPreview() []string

func (*DestinationField) String

func (d *DestinationField) String() string

func (*DestinationField) UnmarshalJSON

func (d *DestinationField) UnmarshalJSON(data []byte) error

type DetailedAgentLog

type DetailedAgentLog struct {
	EventId EventId `json:"eventId" url:"eventId"`
	// Whether the agent execution was successful
	Success     bool      `json:"success" url:"success"`
	CreatedAt   time.Time `json:"createdAt" url:"createdAt"`
	CompletedAt time.Time `json:"completedAt" url:"completedAt"`
	// The duration of the agent execution
	Duration int `json:"duration" url:"duration"`
	// The topics of the agent execution
	Topic string `json:"topic" url:"topic"`
	// The context of the agent execution
	Context map[string]interface{} `json:"context,omitempty" url:"context,omitempty"`
	// The log of the agent execution
	Log *string `json:"log,omitempty" url:"log,omitempty"`
	// contains filtered or unexported fields
}

A log of an agent execution

func (*DetailedAgentLog) GetCompletedAt added in v0.0.21

func (d *DetailedAgentLog) GetCompletedAt() time.Time

func (*DetailedAgentLog) GetContext added in v0.0.21

func (d *DetailedAgentLog) GetContext() map[string]interface{}

func (*DetailedAgentLog) GetCreatedAt added in v0.0.21

func (d *DetailedAgentLog) GetCreatedAt() time.Time

func (*DetailedAgentLog) GetDuration added in v0.0.21

func (d *DetailedAgentLog) GetDuration() int

func (*DetailedAgentLog) GetEventId added in v0.0.21

func (d *DetailedAgentLog) GetEventId() EventId

func (*DetailedAgentLog) GetExtraProperties added in v0.0.14

func (d *DetailedAgentLog) GetExtraProperties() map[string]interface{}

func (*DetailedAgentLog) GetLog added in v0.0.21

func (d *DetailedAgentLog) GetLog() *string

func (*DetailedAgentLog) GetSuccess added in v0.0.21

func (d *DetailedAgentLog) GetSuccess() bool

func (*DetailedAgentLog) GetTopic added in v0.0.21

func (d *DetailedAgentLog) GetTopic() string

func (*DetailedAgentLog) MarshalJSON added in v0.0.8

func (d *DetailedAgentLog) MarshalJSON() ([]byte, error)

func (*DetailedAgentLog) String

func (d *DetailedAgentLog) String() string

func (*DetailedAgentLog) UnmarshalJSON

func (d *DetailedAgentLog) UnmarshalJSON(data []byte) error

type DiffData

type DiffData = map[string]*DiffValue

type DiffRecord

type DiffRecord struct {
	Id RecordId `json:"id" url:"id"`
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"commitId,omitempty" url:"commitId,omitempty"`
	// Auto-generated value based on whether the record contains a field with an error message. Cannot be set via the API.
	Valid *bool `json:"valid,omitempty" url:"valid,omitempty"`
	// This record level `messages` property is deprecated and no longer stored or used. Use the `messages` property on the individual cell values instead. This property will be removed in a future release.
	Messages []*ValidationMessage   `json:"messages,omitempty" url:"messages,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Config   *RecordConfig          `json:"config,omitempty" url:"config,omitempty"`
	Values   DiffData               `json:"values,omitempty" url:"values,omitempty"`
	Resolves []*Resolve             `json:"resolves,omitempty" url:"resolves,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffRecord) GetCommitId added in v0.0.21

func (d *DiffRecord) GetCommitId() *CommitId

func (*DiffRecord) GetConfig added in v0.0.21

func (d *DiffRecord) GetConfig() *RecordConfig

func (*DiffRecord) GetExtraProperties added in v0.0.14

func (d *DiffRecord) GetExtraProperties() map[string]interface{}

func (*DiffRecord) GetId added in v0.0.21

func (d *DiffRecord) GetId() RecordId

func (*DiffRecord) GetMessages added in v0.0.21

func (d *DiffRecord) GetMessages() []*ValidationMessage

func (*DiffRecord) GetMetadata added in v0.0.21

func (d *DiffRecord) GetMetadata() map[string]interface{}

func (*DiffRecord) GetResolves added in v0.0.21

func (d *DiffRecord) GetResolves() []*Resolve

func (*DiffRecord) GetValid added in v0.0.21

func (d *DiffRecord) GetValid() *bool

func (*DiffRecord) GetValues added in v0.0.21

func (d *DiffRecord) GetValues() DiffData

func (*DiffRecord) GetVersionId added in v0.0.21

func (d *DiffRecord) GetVersionId() *VersionId

func (*DiffRecord) String

func (d *DiffRecord) String() string

func (*DiffRecord) UnmarshalJSON

func (d *DiffRecord) UnmarshalJSON(data []byte) error

type DiffRecords

type DiffRecords = []*DiffRecord

List of DiffRecord objects

type DiffRecordsResponse

type DiffRecordsResponse struct {
	Data DiffRecords `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffRecordsResponse) GetData added in v0.0.21

func (d *DiffRecordsResponse) GetData() DiffRecords

func (*DiffRecordsResponse) GetExtraProperties added in v0.0.14

func (d *DiffRecordsResponse) GetExtraProperties() map[string]interface{}

func (*DiffRecordsResponse) String

func (d *DiffRecordsResponse) String() string

func (*DiffRecordsResponse) UnmarshalJSON

func (d *DiffRecordsResponse) UnmarshalJSON(data []byte) error

type DiffValue

type DiffValue struct {
	Valid    *bool                `json:"valid,omitempty" url:"valid,omitempty"`
	Messages []*ValidationMessage `json:"messages,omitempty" url:"messages,omitempty"`
	// Deprecated, use record level metadata instead.
	Metadata      map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Value         *CellValueUnion        `json:"value,omitempty" url:"value,omitempty"`
	Layer         *string                `json:"layer,omitempty" url:"layer,omitempty"`
	UpdatedAt     *time.Time             `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	SnapshotValue *CellValueUnion        `json:"snapshotValue,omitempty" url:"snapshotValue,omitempty"`
	ClipValue     *CellValueUnion        `json:"clipValue,omitempty" url:"clipValue,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffValue) GetClipValue added in v0.0.21

func (d *DiffValue) GetClipValue() *CellValueUnion

func (*DiffValue) GetExtraProperties added in v0.0.14

func (d *DiffValue) GetExtraProperties() map[string]interface{}

func (*DiffValue) GetLayer added in v0.0.21

func (d *DiffValue) GetLayer() *string

func (*DiffValue) GetMessages added in v0.0.21

func (d *DiffValue) GetMessages() []*ValidationMessage

func (*DiffValue) GetMetadata added in v0.0.21

func (d *DiffValue) GetMetadata() map[string]interface{}

func (*DiffValue) GetSnapshotValue added in v0.0.21

func (d *DiffValue) GetSnapshotValue() *CellValueUnion

func (*DiffValue) GetUpdatedAt added in v0.0.21

func (d *DiffValue) GetUpdatedAt() *time.Time

func (*DiffValue) GetValid added in v0.0.21

func (d *DiffValue) GetValid() *bool

func (*DiffValue) GetValue added in v0.0.21

func (d *DiffValue) GetValue() *CellValueUnion

func (*DiffValue) MarshalJSON added in v0.0.8

func (d *DiffValue) MarshalJSON() ([]byte, error)

func (*DiffValue) String

func (d *DiffValue) String() string

func (*DiffValue) UnmarshalJSON

func (d *DiffValue) UnmarshalJSON(data []byte) error

type Distinct

type Distinct = bool

When true, excludes duplicate values

type Document

type Document struct {
	Title string `json:"title" url:"title"`
	Body  string `json:"body" url:"body"`
	// Certain treatments will cause your Document to look or behave differently.
	Treatments    []string       `json:"treatments,omitempty" url:"treatments,omitempty"`
	Actions       []*Action      `json:"actions,omitempty" url:"actions,omitempty"`
	Id            DocumentId     `json:"id" url:"id"`
	SpaceId       *SpaceId       `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// Date the document was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the document was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

A document (markdown components) belong to a space

func (*Document) GetActions added in v0.0.21

func (d *Document) GetActions() []*Action

func (*Document) GetBody added in v0.0.21

func (d *Document) GetBody() string

func (*Document) GetCreatedAt added in v0.0.21

func (d *Document) GetCreatedAt() time.Time

func (*Document) GetEnvironmentId added in v0.0.21

func (d *Document) GetEnvironmentId() *EnvironmentId

func (*Document) GetExtraProperties added in v0.0.14

func (d *Document) GetExtraProperties() map[string]interface{}

func (*Document) GetId added in v0.0.21

func (d *Document) GetId() DocumentId

func (*Document) GetSpaceId added in v0.0.21

func (d *Document) GetSpaceId() *SpaceId

func (*Document) GetTitle added in v0.0.21

func (d *Document) GetTitle() string

func (*Document) GetTreatments added in v0.0.21

func (d *Document) GetTreatments() []string

func (*Document) GetUpdatedAt added in v0.0.21

func (d *Document) GetUpdatedAt() time.Time

func (*Document) MarshalJSON added in v0.0.8

func (d *Document) MarshalJSON() ([]byte, error)

func (*Document) String

func (d *Document) String() string

func (*Document) UnmarshalJSON

func (d *Document) UnmarshalJSON(data []byte) error

type DocumentConfig

type DocumentConfig struct {
	Title string `json:"title" url:"title"`
	Body  string `json:"body" url:"body"`
	// Certain treatments will cause your Document to look or behave differently.
	Treatments []string  `json:"treatments,omitempty" url:"treatments,omitempty"`
	Actions    []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentConfig) GetActions added in v0.0.21

func (d *DocumentConfig) GetActions() []*Action

func (*DocumentConfig) GetBody added in v0.0.21

func (d *DocumentConfig) GetBody() string

func (*DocumentConfig) GetExtraProperties added in v0.0.14

func (d *DocumentConfig) GetExtraProperties() map[string]interface{}

func (*DocumentConfig) GetTitle added in v0.0.21

func (d *DocumentConfig) GetTitle() string

func (*DocumentConfig) GetTreatments added in v0.0.21

func (d *DocumentConfig) GetTreatments() []string

func (*DocumentConfig) String

func (d *DocumentConfig) String() string

func (*DocumentConfig) UnmarshalJSON

func (d *DocumentConfig) UnmarshalJSON(data []byte) error

type DocumentId

type DocumentId = string

Document ID

type DocumentResponse

type DocumentResponse struct {
	Data *Document `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentResponse) GetData added in v0.0.21

func (d *DocumentResponse) GetData() *Document

func (*DocumentResponse) GetExtraProperties added in v0.0.14

func (d *DocumentResponse) GetExtraProperties() map[string]interface{}

func (*DocumentResponse) String

func (d *DocumentResponse) String() string

func (*DocumentResponse) UnmarshalJSON

func (d *DocumentResponse) UnmarshalJSON(data []byte) error

type Domain

type Domain string

The domain of the event

const (
	DomainFile        Domain = "file"
	DomainSpace       Domain = "space"
	DomainWorkbook    Domain = "workbook"
	DomainJob         Domain = "job"
	DomainDocument    Domain = "document"
	DomainSheet       Domain = "sheet"
	DomainProgram     Domain = "program"
	DomainSecret      Domain = "secret"
	DomainCron        Domain = "cron"
	DomainEnvironment Domain = "environment"
	DomainDataClip    Domain = "data-clip"
)

func NewDomainFromString

func NewDomainFromString(s string) (Domain, error)

func (Domain) Ptr

func (d Domain) Ptr() *Domain

type Driver

type Driver string

The driver to use for extracting data from the file

const (
	DriverCsv Driver = "csv"
)

func NewDriverFromString

func NewDriverFromString(s string) (Driver, error)

func (Driver) Ptr

func (d Driver) Ptr() *Driver

type Edge

type Edge struct {
	// The description of the source field
	SourceField *Property `json:"sourceField,omitempty" url:"sourceField,omitempty"`
	// The description of the destination field
	DestinationField *Property `json:"destinationField,omitempty" url:"destinationField,omitempty"`
	// A list of preview values of the data in the destination field
	Preview []string `json:"preview,omitempty" url:"preview,omitempty"`
	// Only available if one or more of the destination fields is of type enum. Provides category mapping.
	EnumDetails *EnumDetails `json:"enumDetails,omitempty" url:"enumDetails,omitempty"`
	// Metadata about the edge
	Metadata *Metadata `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Edge) GetDestinationField added in v0.0.21

func (e *Edge) GetDestinationField() *Property

func (*Edge) GetEnumDetails added in v0.0.21

func (e *Edge) GetEnumDetails() *EnumDetails

func (*Edge) GetExtraProperties added in v0.0.14

func (e *Edge) GetExtraProperties() map[string]interface{}

func (*Edge) GetMetadata added in v0.0.21

func (e *Edge) GetMetadata() *Metadata

func (*Edge) GetPreview added in v0.0.21

func (e *Edge) GetPreview() []string

func (*Edge) GetSourceField added in v0.0.21

func (e *Edge) GetSourceField() *Property

func (*Edge) String

func (e *Edge) String() string

func (*Edge) UnmarshalJSON

func (e *Edge) UnmarshalJSON(data []byte) error

type EmptyObject

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

func (*EmptyObject) GetExtraProperties added in v0.0.14

func (e *EmptyObject) GetExtraProperties() map[string]interface{}

func (*EmptyObject) String

func (e *EmptyObject) String() string

func (*EmptyObject) UnmarshalJSON

func (e *EmptyObject) UnmarshalJSON(data []byte) error

type Entitlement added in v0.0.8

type Entitlement struct {
	// Short name for the entitlement
	Key string `json:"key" url:"key"`
	// Contains conditions or limits for an entitlement
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

An entitlement belonging to a resource

func (*Entitlement) GetExtraProperties added in v0.0.14

func (e *Entitlement) GetExtraProperties() map[string]interface{}

func (*Entitlement) GetKey added in v0.0.21

func (e *Entitlement) GetKey() string

func (*Entitlement) GetMetadata added in v0.0.21

func (e *Entitlement) GetMetadata() interface{}

func (*Entitlement) String added in v0.0.8

func (e *Entitlement) String() string

func (*Entitlement) UnmarshalJSON added in v0.0.8

func (e *Entitlement) UnmarshalJSON(data []byte) error

type EnumDetails

type EnumDetails struct {
	// The mapping of source values to destination values
	Mapping []*CategoryMapping `json:"mapping,omitempty" url:"mapping,omitempty"`
	// A list of source values that are not mapped from
	UnusedSourceValues []*EnumValue `json:"unusedSourceValues,omitempty" url:"unusedSourceValues,omitempty"`
	// A list of destination values that are not mapped to
	UnusedDestinationValues []*EnumValue `json:"unusedDestinationValues,omitempty" url:"unusedDestinationValues,omitempty"`
	// contains filtered or unexported fields
}

Only available if one or more of the destination fields is of type enum. Provides category mapping.

func (*EnumDetails) GetExtraProperties added in v0.0.14

func (e *EnumDetails) GetExtraProperties() map[string]interface{}

func (*EnumDetails) GetMapping added in v0.0.21

func (e *EnumDetails) GetMapping() []*CategoryMapping

func (*EnumDetails) GetUnusedDestinationValues added in v0.0.21

func (e *EnumDetails) GetUnusedDestinationValues() []*EnumValue

func (*EnumDetails) GetUnusedSourceValues added in v0.0.21

func (e *EnumDetails) GetUnusedSourceValues() []*EnumValue

func (*EnumDetails) String

func (e *EnumDetails) String() string

func (*EnumDetails) UnmarshalJSON

func (e *EnumDetails) UnmarshalJSON(data []byte) error

type EnumListProperty added in v0.0.12

type EnumListProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string            `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string            `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	Config           *EnumPropertyConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

Defines an array of values selected from an enumerated list of options. Matching tooling attempts to resolve incoming data assigment to a valid option. The maximum number of items that can be in this list is `100`.

func (*EnumListProperty) GetActions added in v0.0.21

func (e *EnumListProperty) GetActions() []*Action

func (*EnumListProperty) GetAlternativeNames added in v0.0.21

func (e *EnumListProperty) GetAlternativeNames() []string

func (*EnumListProperty) GetAppearance added in v0.0.21

func (e *EnumListProperty) GetAppearance() *FieldAppearance

func (*EnumListProperty) GetConfig added in v0.0.21

func (e *EnumListProperty) GetConfig() *EnumPropertyConfig

func (*EnumListProperty) GetConstraints added in v0.0.21

func (e *EnumListProperty) GetConstraints() []*Constraint

func (*EnumListProperty) GetDescription added in v0.0.21

func (e *EnumListProperty) GetDescription() *string

func (*EnumListProperty) GetExtraProperties added in v0.0.14

func (e *EnumListProperty) GetExtraProperties() map[string]interface{}

func (*EnumListProperty) GetKey added in v0.0.21

func (e *EnumListProperty) GetKey() string

func (*EnumListProperty) GetLabel added in v0.0.21

func (e *EnumListProperty) GetLabel() *string

func (*EnumListProperty) GetMetadata added in v0.0.21

func (e *EnumListProperty) GetMetadata() interface{}

func (*EnumListProperty) GetReadonly added in v0.0.21

func (e *EnumListProperty) GetReadonly() *bool

func (*EnumListProperty) GetTreatments added in v0.0.21

func (e *EnumListProperty) GetTreatments() []string

func (*EnumListProperty) String added in v0.0.12

func (e *EnumListProperty) String() string

func (*EnumListProperty) UnmarshalJSON added in v0.0.12

func (e *EnumListProperty) UnmarshalJSON(data []byte) error

type EnumProperty

type EnumProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// Will allow multiple values and store as an array
	IsArray *bool `json:"isArray,omitempty" url:"isArray,omitempty"`
	// Will allow multiple values and store / provide the values in an array if set. Not all field types support arrays.
	Multi  *bool               `json:"multi,omitempty" url:"multi,omitempty"`
	Config *EnumPropertyConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

Defines an enumerated list of options for the user to select from. Matching tooling attempts to resolve incoming data assigment to a valid option. The maximum number of options for this list is `100`. For larger lists, users should use the reference or future `lookup` types.

func (*EnumProperty) GetActions added in v0.0.21

func (e *EnumProperty) GetActions() []*Action

func (*EnumProperty) GetAlternativeNames added in v0.0.21

func (e *EnumProperty) GetAlternativeNames() []string

func (*EnumProperty) GetAppearance added in v0.0.21

func (e *EnumProperty) GetAppearance() *FieldAppearance

func (*EnumProperty) GetConfig added in v0.0.21

func (e *EnumProperty) GetConfig() *EnumPropertyConfig

func (*EnumProperty) GetConstraints added in v0.0.21

func (e *EnumProperty) GetConstraints() []*Constraint

func (*EnumProperty) GetDescription added in v0.0.21

func (e *EnumProperty) GetDescription() *string

func (*EnumProperty) GetExtraProperties added in v0.0.14

func (e *EnumProperty) GetExtraProperties() map[string]interface{}

func (*EnumProperty) GetIsArray added in v0.0.21

func (e *EnumProperty) GetIsArray() *bool

func (*EnumProperty) GetKey added in v0.0.21

func (e *EnumProperty) GetKey() string

func (*EnumProperty) GetLabel added in v0.0.21

func (e *EnumProperty) GetLabel() *string

func (*EnumProperty) GetMetadata added in v0.0.21

func (e *EnumProperty) GetMetadata() interface{}

func (*EnumProperty) GetMulti added in v0.0.21

func (e *EnumProperty) GetMulti() *bool

func (*EnumProperty) GetReadonly added in v0.0.21

func (e *EnumProperty) GetReadonly() *bool

func (*EnumProperty) GetTreatments added in v0.0.21

func (e *EnumProperty) GetTreatments() []string

func (*EnumProperty) String

func (e *EnumProperty) String() string

func (*EnumProperty) UnmarshalJSON

func (e *EnumProperty) UnmarshalJSON(data []byte) error

type EnumPropertyConfig

type EnumPropertyConfig struct {
	// Permit the user to create new options for this specific field.
	AllowCustom *bool                 `json:"allowCustom,omitempty" url:"allowCustom,omitempty"`
	Options     []*EnumPropertyOption `json:"options,omitempty" url:"options,omitempty"`
	// Sort the options by the value of this property. Defaults to `label`.
	SortBy *EnumPropertySortBy `json:"sortBy,omitempty" url:"sortBy,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumPropertyConfig) GetAllowCustom added in v0.0.21

func (e *EnumPropertyConfig) GetAllowCustom() *bool

func (*EnumPropertyConfig) GetExtraProperties added in v0.0.14

func (e *EnumPropertyConfig) GetExtraProperties() map[string]interface{}

func (*EnumPropertyConfig) GetOptions added in v0.0.21

func (e *EnumPropertyConfig) GetOptions() []*EnumPropertyOption

func (*EnumPropertyConfig) GetSortBy added in v0.0.21

func (e *EnumPropertyConfig) GetSortBy() *EnumPropertySortBy

func (*EnumPropertyConfig) String

func (e *EnumPropertyConfig) String() string

func (*EnumPropertyConfig) UnmarshalJSON

func (e *EnumPropertyConfig) UnmarshalJSON(data []byte) error

type EnumPropertyOption

type EnumPropertyOption struct {
	// A visual label for this option
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description for this option
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// An optional color to assign this option
	Color *string `json:"color,omitempty" url:"color,omitempty"`
	// A reference pointer to a previously registered icon
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// An arbitrary JSON object to be associated with this option and made available to hooks
	Meta map[string]interface{} `json:"meta,omitempty" url:"meta,omitempty"`
	// The value or ID of this option. This value will be sent in egress. The type is a string | integer | boolean.
	Value interface{} `json:"value,omitempty" url:"value,omitempty"`
	// Alternative names to match this enum option to
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// The order of this option in the list. SortBy must be set to `ordinal` to use this.
	Ordinal *int `json:"ordinal,omitempty" url:"ordinal,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumPropertyOption) GetAlternativeNames added in v0.0.21

func (e *EnumPropertyOption) GetAlternativeNames() []string

func (*EnumPropertyOption) GetColor added in v0.0.21

func (e *EnumPropertyOption) GetColor() *string

func (*EnumPropertyOption) GetDescription added in v0.0.21

func (e *EnumPropertyOption) GetDescription() *string

func (*EnumPropertyOption) GetExtraProperties added in v0.0.14

func (e *EnumPropertyOption) GetExtraProperties() map[string]interface{}

func (*EnumPropertyOption) GetIcon added in v0.0.21

func (e *EnumPropertyOption) GetIcon() *string

func (*EnumPropertyOption) GetLabel added in v0.0.21

func (e *EnumPropertyOption) GetLabel() *string

func (*EnumPropertyOption) GetMeta added in v0.0.21

func (e *EnumPropertyOption) GetMeta() map[string]interface{}

func (*EnumPropertyOption) GetOrdinal added in v0.0.21

func (e *EnumPropertyOption) GetOrdinal() *int

func (*EnumPropertyOption) GetValue added in v0.0.21

func (e *EnumPropertyOption) GetValue() interface{}

func (*EnumPropertyOption) String

func (e *EnumPropertyOption) String() string

func (*EnumPropertyOption) UnmarshalJSON

func (e *EnumPropertyOption) UnmarshalJSON(data []byte) error

type EnumPropertySortBy added in v0.0.19

type EnumPropertySortBy string
const (
	EnumPropertySortByLabel   EnumPropertySortBy = "label"
	EnumPropertySortByValue   EnumPropertySortBy = "value"
	EnumPropertySortByOrdinal EnumPropertySortBy = "ordinal"
)

func NewEnumPropertySortByFromString added in v0.0.19

func NewEnumPropertySortByFromString(s string) (EnumPropertySortBy, error)

func (EnumPropertySortBy) Ptr added in v0.0.19

type EnumValue

type EnumValue struct {
	String  string
	Integer int
	Boolean bool
	// contains filtered or unexported fields
}

func NewEnumValueFromBoolean

func NewEnumValueFromBoolean(value bool) *EnumValue

func NewEnumValueFromInteger

func NewEnumValueFromInteger(value int) *EnumValue

func NewEnumValueFromString

func NewEnumValueFromString(value string) *EnumValue

func (*EnumValue) Accept

func (e *EnumValue) Accept(visitor EnumValueVisitor) error

func (*EnumValue) GetBoolean added in v0.0.21

func (e *EnumValue) GetBoolean() bool

func (*EnumValue) GetInteger added in v0.0.21

func (e *EnumValue) GetInteger() int

func (*EnumValue) GetString added in v0.0.21

func (e *EnumValue) GetString() string

func (EnumValue) MarshalJSON

func (e EnumValue) MarshalJSON() ([]byte, error)

func (*EnumValue) UnmarshalJSON

func (e *EnumValue) UnmarshalJSON(data []byte) error

type EnumValueVisitor

type EnumValueVisitor interface {
	VisitString(string) error
	VisitInteger(int) error
	VisitBoolean(bool) error
}

type Environment

type Environment struct {
	Id        EnvironmentId `json:"id" url:"id"`
	AccountId AccountId     `json:"accountId" url:"accountId"`
	// The name of the environment
	Name string `json:"name" url:"name"`
	// Whether or not the environment is a production environment
	IsProd              bool                      `json:"isProd" url:"isProd"`
	GuestAuthentication []GuestAuthenticationEnum `json:"guestAuthentication,omitempty" url:"guestAuthentication,omitempty"`
	Features            map[string]interface{}    `json:"features,omitempty" url:"features,omitempty"`
	Metadata            map[string]interface{}    `json:"metadata,omitempty" url:"metadata,omitempty"`
	TranslationsPath    *string                   `json:"translationsPath,omitempty" url:"translationsPath,omitempty"`
	Namespaces          []string                  `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	LanguageOverride    *string                   `json:"languageOverride,omitempty" url:"languageOverride,omitempty"`
	// contains filtered or unexported fields
}

func (*Environment) GetAccountId added in v0.0.21

func (e *Environment) GetAccountId() AccountId

func (*Environment) GetExtraProperties added in v0.0.14

func (e *Environment) GetExtraProperties() map[string]interface{}

func (*Environment) GetFeatures added in v0.0.21

func (e *Environment) GetFeatures() map[string]interface{}

func (*Environment) GetGuestAuthentication added in v0.0.21

func (e *Environment) GetGuestAuthentication() []GuestAuthenticationEnum

func (*Environment) GetId added in v0.0.21

func (e *Environment) GetId() EnvironmentId

func (*Environment) GetIsProd added in v0.0.21

func (e *Environment) GetIsProd() bool

func (*Environment) GetLanguageOverride added in v0.0.21

func (e *Environment) GetLanguageOverride() *string

func (*Environment) GetMetadata added in v0.0.21

func (e *Environment) GetMetadata() map[string]interface{}

func (*Environment) GetName added in v0.0.21

func (e *Environment) GetName() string

func (*Environment) GetNamespaces added in v0.0.21

func (e *Environment) GetNamespaces() []string

func (*Environment) GetTranslationsPath added in v0.0.21

func (e *Environment) GetTranslationsPath() *string

func (*Environment) String

func (e *Environment) String() string

func (*Environment) UnmarshalJSON

func (e *Environment) UnmarshalJSON(data []byte) error

type EnvironmentConfigCreate

type EnvironmentConfigCreate struct {
	// The name of the environment
	Name string `json:"name" url:"name"`
	// Whether or not the environment is a production environment
	IsProd              bool                      `json:"isProd" url:"isProd"`
	GuestAuthentication []GuestAuthenticationEnum `json:"guestAuthentication,omitempty" url:"guestAuthentication,omitempty"`
	Metadata            map[string]interface{}    `json:"metadata,omitempty" url:"metadata,omitempty"`
	TranslationsPath    *string                   `json:"translationsPath,omitempty" url:"translationsPath,omitempty"`
	Namespaces          []string                  `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	LanguageOverride    *string                   `json:"languageOverride,omitempty" url:"languageOverride,omitempty"`
	// contains filtered or unexported fields
}

Properties used to create a new environment

func (*EnvironmentConfigCreate) GetExtraProperties added in v0.0.14

func (e *EnvironmentConfigCreate) GetExtraProperties() map[string]interface{}

func (*EnvironmentConfigCreate) GetGuestAuthentication added in v0.0.21

func (e *EnvironmentConfigCreate) GetGuestAuthentication() []GuestAuthenticationEnum

func (*EnvironmentConfigCreate) GetIsProd added in v0.0.21

func (e *EnvironmentConfigCreate) GetIsProd() bool

func (*EnvironmentConfigCreate) GetLanguageOverride added in v0.0.21

func (e *EnvironmentConfigCreate) GetLanguageOverride() *string

func (*EnvironmentConfigCreate) GetMetadata added in v0.0.21

func (e *EnvironmentConfigCreate) GetMetadata() map[string]interface{}

func (*EnvironmentConfigCreate) GetName added in v0.0.21

func (e *EnvironmentConfigCreate) GetName() string

func (*EnvironmentConfigCreate) GetNamespaces added in v0.0.21

func (e *EnvironmentConfigCreate) GetNamespaces() []string

func (*EnvironmentConfigCreate) GetTranslationsPath added in v0.0.21

func (e *EnvironmentConfigCreate) GetTranslationsPath() *string

func (*EnvironmentConfigCreate) String

func (e *EnvironmentConfigCreate) String() string

func (*EnvironmentConfigCreate) UnmarshalJSON

func (e *EnvironmentConfigCreate) UnmarshalJSON(data []byte) error

type EnvironmentConfigUpdate

type EnvironmentConfigUpdate struct {
	// The name of the environment
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// Whether or not the environment is a production environment
	IsProd              *bool                     `json:"isProd,omitempty" url:"isProd,omitempty"`
	GuestAuthentication []GuestAuthenticationEnum `json:"guestAuthentication,omitempty" url:"guestAuthentication,omitempty"`
	Metadata            map[string]interface{}    `json:"metadata,omitempty" url:"metadata,omitempty"`
	TranslationsPath    *string                   `json:"translationsPath,omitempty" url:"translationsPath,omitempty"`
	Namespaces          []string                  `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	LanguageOverride    *string                   `json:"languageOverride,omitempty" url:"languageOverride,omitempty"`
	// contains filtered or unexported fields
}

Properties used to update an environment

func (*EnvironmentConfigUpdate) GetExtraProperties added in v0.0.14

func (e *EnvironmentConfigUpdate) GetExtraProperties() map[string]interface{}

func (*EnvironmentConfigUpdate) GetGuestAuthentication added in v0.0.21

func (e *EnvironmentConfigUpdate) GetGuestAuthentication() []GuestAuthenticationEnum

func (*EnvironmentConfigUpdate) GetIsProd added in v0.0.21

func (e *EnvironmentConfigUpdate) GetIsProd() *bool

func (*EnvironmentConfigUpdate) GetLanguageOverride added in v0.0.21

func (e *EnvironmentConfigUpdate) GetLanguageOverride() *string

func (*EnvironmentConfigUpdate) GetMetadata added in v0.0.21

func (e *EnvironmentConfigUpdate) GetMetadata() map[string]interface{}

func (*EnvironmentConfigUpdate) GetName added in v0.0.21

func (e *EnvironmentConfigUpdate) GetName() *string

func (*EnvironmentConfigUpdate) GetNamespaces added in v0.0.21

func (e *EnvironmentConfigUpdate) GetNamespaces() []string

func (*EnvironmentConfigUpdate) GetTranslationsPath added in v0.0.21

func (e *EnvironmentConfigUpdate) GetTranslationsPath() *string

func (*EnvironmentConfigUpdate) String

func (e *EnvironmentConfigUpdate) String() string

func (*EnvironmentConfigUpdate) UnmarshalJSON

func (e *EnvironmentConfigUpdate) UnmarshalJSON(data []byte) error

type EnvironmentId

type EnvironmentId = string

Environment ID

type EnvironmentResponse

type EnvironmentResponse struct {
	Data *Environment `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentResponse) GetData added in v0.0.21

func (e *EnvironmentResponse) GetData() *Environment

func (*EnvironmentResponse) GetExtraProperties added in v0.0.14

func (e *EnvironmentResponse) GetExtraProperties() map[string]interface{}

func (*EnvironmentResponse) String

func (e *EnvironmentResponse) String() string

func (*EnvironmentResponse) UnmarshalJSON

func (e *EnvironmentResponse) UnmarshalJSON(data []byte) error

type Error

type Error struct {
	Key     *string `json:"key,omitempty" url:"key,omitempty"`
	Message string  `json:"message" url:"message"`
	// contains filtered or unexported fields
}

func (*Error) GetExtraProperties added in v0.0.14

func (e *Error) GetExtraProperties() map[string]interface{}

func (*Error) GetKey added in v0.0.21

func (e *Error) GetKey() *string

func (*Error) GetMessage added in v0.0.21

func (e *Error) GetMessage() string

func (*Error) String

func (e *Error) String() string

func (*Error) UnmarshalJSON

func (e *Error) UnmarshalJSON(data []byte) error

type Errors

type Errors struct {
	Errors []*Error `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*Errors) GetErrors added in v0.0.21

func (e *Errors) GetErrors() []*Error

func (*Errors) GetExtraProperties added in v0.0.14

func (e *Errors) GetExtraProperties() map[string]interface{}

func (*Errors) String

func (e *Errors) String() string

func (*Errors) UnmarshalJSON

func (e *Errors) UnmarshalJSON(data []byte) error

type Event

type Event struct {
	Topic                        string
	AgentCreated                 *GenericEvent
	AgentUpdated                 *GenericEvent
	AgentDeleted                 *GenericEvent
	SpaceCreated                 *GenericEvent
	SpaceUpdated                 *GenericEvent
	SpaceDeleted                 *GenericEvent
	SpaceArchived                *GenericEvent
	SpaceExpired                 *GenericEvent
	SpaceGuestAdded              *GenericEvent
	SpaceGuestRemoved            *GenericEvent
	DocumentCreated              *GenericEvent
	DocumentUpdated              *GenericEvent
	DocumentDeleted              *GenericEvent
	WorkbookCreated              *GenericEvent
	WorkbookUpdated              *GenericEvent
	WorkbookDeleted              *GenericEvent
	WorkbookExpired              *GenericEvent
	SheetCreated                 *GenericEvent
	SheetUpdated                 *GenericEvent
	SheetDeleted                 *GenericEvent
	SheetCountsUpdated           *GenericEvent
	SnapshotCreated              *GenericEvent
	RecordsCreated               *GenericEvent
	RecordsUpdated               *GenericEvent
	RecordsDeleted               *GenericEvent
	FileCreated                  *GenericEvent
	FileUpdated                  *GenericEvent
	FileDeleted                  *GenericEvent
	FileExpired                  *GenericEvent
	JobCreated                   *GenericEvent
	JobUpdated                   *GenericEvent
	JobDeleted                   *GenericEvent
	JobFailed                    *GenericEvent
	JobCompleted                 *GenericEvent
	JobReady                     *GenericEvent
	JobScheduled                 *GenericEvent
	JobOutcomeAcknowledged       *GenericEvent
	JobPartsCompleted            *GenericEvent
	ProgramCreated               *GenericEvent
	ProgramUpdated               *GenericEvent
	CommitCreated                *GenericEvent
	CommitUpdated                *GenericEvent
	CommitCompleted              *GenericEvent
	SecretCreated                *GenericEvent
	SecretUpdated                *GenericEvent
	SecretDeleted                *GenericEvent
	LayerCreated                 *GenericEvent
	EnvironmentCreated           *GenericEvent
	EnvironmentUpdated           *GenericEvent
	EnvironmentDeleted           *GenericEvent
	ActionCreated                *GenericEvent
	ActionUpdated                *GenericEvent
	ActionDeleted                *GenericEvent
	DataClipCreated              *GenericEvent
	DataClipUpdated              *GenericEvent
	DataClipDeleted              *GenericEvent
	DataClipCollaboratorUpdated  *GenericEvent
	DataClipResolutionsCreated   *GenericEvent
	DataClipResolutionsUpdated   *GenericEvent
	DataClipResolutionsRefreshed *GenericEvent
}

An event that tracks an activity within an environment

func NewEventFromActionCreated added in v0.0.17

func NewEventFromActionCreated(value *GenericEvent) *Event

func NewEventFromActionDeleted added in v0.0.17

func NewEventFromActionDeleted(value *GenericEvent) *Event

func NewEventFromActionUpdated added in v0.0.17

func NewEventFromActionUpdated(value *GenericEvent) *Event

func NewEventFromAgentCreated

func NewEventFromAgentCreated(value *GenericEvent) *Event

func NewEventFromAgentDeleted

func NewEventFromAgentDeleted(value *GenericEvent) *Event

func NewEventFromAgentUpdated

func NewEventFromAgentUpdated(value *GenericEvent) *Event

func NewEventFromCommitCompleted

func NewEventFromCommitCompleted(value *GenericEvent) *Event

func NewEventFromCommitCreated

func NewEventFromCommitCreated(value *GenericEvent) *Event

func NewEventFromCommitUpdated

func NewEventFromCommitUpdated(value *GenericEvent) *Event

func NewEventFromDataClipCollaboratorUpdated added in v0.0.19

func NewEventFromDataClipCollaboratorUpdated(value *GenericEvent) *Event

func NewEventFromDataClipCreated added in v0.0.17

func NewEventFromDataClipCreated(value *GenericEvent) *Event

func NewEventFromDataClipDeleted added in v0.0.17

func NewEventFromDataClipDeleted(value *GenericEvent) *Event

func NewEventFromDataClipResolutionsCreated added in v0.0.19

func NewEventFromDataClipResolutionsCreated(value *GenericEvent) *Event

func NewEventFromDataClipResolutionsRefreshed added in v0.0.19

func NewEventFromDataClipResolutionsRefreshed(value *GenericEvent) *Event

func NewEventFromDataClipResolutionsUpdated added in v0.0.19

func NewEventFromDataClipResolutionsUpdated(value *GenericEvent) *Event

func NewEventFromDataClipUpdated added in v0.0.17

func NewEventFromDataClipUpdated(value *GenericEvent) *Event

func NewEventFromDocumentCreated

func NewEventFromDocumentCreated(value *GenericEvent) *Event

func NewEventFromDocumentDeleted

func NewEventFromDocumentDeleted(value *GenericEvent) *Event

func NewEventFromDocumentUpdated

func NewEventFromDocumentUpdated(value *GenericEvent) *Event

func NewEventFromEnvironmentCreated added in v0.0.13

func NewEventFromEnvironmentCreated(value *GenericEvent) *Event

func NewEventFromEnvironmentDeleted added in v0.0.13

func NewEventFromEnvironmentDeleted(value *GenericEvent) *Event

func NewEventFromEnvironmentUpdated added in v0.0.13

func NewEventFromEnvironmentUpdated(value *GenericEvent) *Event

func NewEventFromFileCreated

func NewEventFromFileCreated(value *GenericEvent) *Event

func NewEventFromFileDeleted

func NewEventFromFileDeleted(value *GenericEvent) *Event

func NewEventFromFileExpired added in v0.0.5

func NewEventFromFileExpired(value *GenericEvent) *Event

func NewEventFromFileUpdated

func NewEventFromFileUpdated(value *GenericEvent) *Event

func NewEventFromJobCompleted

func NewEventFromJobCompleted(value *GenericEvent) *Event

func NewEventFromJobCreated

func NewEventFromJobCreated(value *GenericEvent) *Event

func NewEventFromJobDeleted

func NewEventFromJobDeleted(value *GenericEvent) *Event

func NewEventFromJobFailed

func NewEventFromJobFailed(value *GenericEvent) *Event

func NewEventFromJobOutcomeAcknowledged

func NewEventFromJobOutcomeAcknowledged(value *GenericEvent) *Event

func NewEventFromJobPartsCompleted

func NewEventFromJobPartsCompleted(value *GenericEvent) *Event

func NewEventFromJobReady

func NewEventFromJobReady(value *GenericEvent) *Event

func NewEventFromJobScheduled

func NewEventFromJobScheduled(value *GenericEvent) *Event

func NewEventFromJobUpdated

func NewEventFromJobUpdated(value *GenericEvent) *Event

func NewEventFromLayerCreated

func NewEventFromLayerCreated(value *GenericEvent) *Event

func NewEventFromProgramCreated added in v0.0.6

func NewEventFromProgramCreated(value *GenericEvent) *Event

func NewEventFromProgramUpdated added in v0.0.6

func NewEventFromProgramUpdated(value *GenericEvent) *Event

func NewEventFromRecordsCreated

func NewEventFromRecordsCreated(value *GenericEvent) *Event

func NewEventFromRecordsDeleted

func NewEventFromRecordsDeleted(value *GenericEvent) *Event

func NewEventFromRecordsUpdated

func NewEventFromRecordsUpdated(value *GenericEvent) *Event

func NewEventFromSecretCreated added in v0.0.6

func NewEventFromSecretCreated(value *GenericEvent) *Event

func NewEventFromSecretDeleted added in v0.0.6

func NewEventFromSecretDeleted(value *GenericEvent) *Event

func NewEventFromSecretUpdated added in v0.0.6

func NewEventFromSecretUpdated(value *GenericEvent) *Event

func NewEventFromSheetCountsUpdated added in v0.0.9

func NewEventFromSheetCountsUpdated(value *GenericEvent) *Event

func NewEventFromSheetCreated

func NewEventFromSheetCreated(value *GenericEvent) *Event

func NewEventFromSheetDeleted

func NewEventFromSheetDeleted(value *GenericEvent) *Event

func NewEventFromSheetUpdated

func NewEventFromSheetUpdated(value *GenericEvent) *Event

func NewEventFromSnapshotCreated

func NewEventFromSnapshotCreated(value *GenericEvent) *Event

func NewEventFromSpaceArchived added in v0.0.6

func NewEventFromSpaceArchived(value *GenericEvent) *Event

func NewEventFromSpaceCreated

func NewEventFromSpaceCreated(value *GenericEvent) *Event

func NewEventFromSpaceDeleted

func NewEventFromSpaceDeleted(value *GenericEvent) *Event

func NewEventFromSpaceExpired added in v0.0.5

func NewEventFromSpaceExpired(value *GenericEvent) *Event

func NewEventFromSpaceGuestAdded added in v0.0.6

func NewEventFromSpaceGuestAdded(value *GenericEvent) *Event

func NewEventFromSpaceGuestRemoved added in v0.0.6

func NewEventFromSpaceGuestRemoved(value *GenericEvent) *Event

func NewEventFromSpaceUpdated

func NewEventFromSpaceUpdated(value *GenericEvent) *Event

func NewEventFromWorkbookCreated

func NewEventFromWorkbookCreated(value *GenericEvent) *Event

func NewEventFromWorkbookDeleted

func NewEventFromWorkbookDeleted(value *GenericEvent) *Event

func NewEventFromWorkbookExpired added in v0.0.5

func NewEventFromWorkbookExpired(value *GenericEvent) *Event

func NewEventFromWorkbookUpdated

func NewEventFromWorkbookUpdated(value *GenericEvent) *Event

func (*Event) Accept

func (e *Event) Accept(visitor EventVisitor) error

func (*Event) GetActionCreated added in v0.0.21

func (e *Event) GetActionCreated() *GenericEvent

func (*Event) GetActionDeleted added in v0.0.21

func (e *Event) GetActionDeleted() *GenericEvent

func (*Event) GetActionUpdated added in v0.0.21

func (e *Event) GetActionUpdated() *GenericEvent

func (*Event) GetAgentCreated added in v0.0.21

func (e *Event) GetAgentCreated() *GenericEvent

func (*Event) GetAgentDeleted added in v0.0.21

func (e *Event) GetAgentDeleted() *GenericEvent

func (*Event) GetAgentUpdated added in v0.0.21

func (e *Event) GetAgentUpdated() *GenericEvent

func (*Event) GetCommitCompleted added in v0.0.21

func (e *Event) GetCommitCompleted() *GenericEvent

func (*Event) GetCommitCreated added in v0.0.21

func (e *Event) GetCommitCreated() *GenericEvent

func (*Event) GetCommitUpdated added in v0.0.21

func (e *Event) GetCommitUpdated() *GenericEvent

func (*Event) GetDataClipCollaboratorUpdated added in v0.0.21

func (e *Event) GetDataClipCollaboratorUpdated() *GenericEvent

func (*Event) GetDataClipCreated added in v0.0.21

func (e *Event) GetDataClipCreated() *GenericEvent

func (*Event) GetDataClipDeleted added in v0.0.21

func (e *Event) GetDataClipDeleted() *GenericEvent

func (*Event) GetDataClipResolutionsCreated added in v0.0.21

func (e *Event) GetDataClipResolutionsCreated() *GenericEvent

func (*Event) GetDataClipResolutionsRefreshed added in v0.0.21

func (e *Event) GetDataClipResolutionsRefreshed() *GenericEvent

func (*Event) GetDataClipResolutionsUpdated added in v0.0.21

func (e *Event) GetDataClipResolutionsUpdated() *GenericEvent

func (*Event) GetDataClipUpdated added in v0.0.21

func (e *Event) GetDataClipUpdated() *GenericEvent

func (*Event) GetDocumentCreated added in v0.0.21

func (e *Event) GetDocumentCreated() *GenericEvent

func (*Event) GetDocumentDeleted added in v0.0.21

func (e *Event) GetDocumentDeleted() *GenericEvent

func (*Event) GetDocumentUpdated added in v0.0.21

func (e *Event) GetDocumentUpdated() *GenericEvent

func (*Event) GetEnvironmentCreated added in v0.0.21

func (e *Event) GetEnvironmentCreated() *GenericEvent

func (*Event) GetEnvironmentDeleted added in v0.0.21

func (e *Event) GetEnvironmentDeleted() *GenericEvent

func (*Event) GetEnvironmentUpdated added in v0.0.21

func (e *Event) GetEnvironmentUpdated() *GenericEvent

func (*Event) GetFileCreated added in v0.0.21

func (e *Event) GetFileCreated() *GenericEvent

func (*Event) GetFileDeleted added in v0.0.21

func (e *Event) GetFileDeleted() *GenericEvent

func (*Event) GetFileExpired added in v0.0.21

func (e *Event) GetFileExpired() *GenericEvent

func (*Event) GetFileUpdated added in v0.0.21

func (e *Event) GetFileUpdated() *GenericEvent

func (*Event) GetJobCompleted added in v0.0.21

func (e *Event) GetJobCompleted() *GenericEvent

func (*Event) GetJobCreated added in v0.0.21

func (e *Event) GetJobCreated() *GenericEvent

func (*Event) GetJobDeleted added in v0.0.21

func (e *Event) GetJobDeleted() *GenericEvent

func (*Event) GetJobFailed added in v0.0.21

func (e *Event) GetJobFailed() *GenericEvent

func (*Event) GetJobOutcomeAcknowledged added in v0.0.21

func (e *Event) GetJobOutcomeAcknowledged() *GenericEvent

func (*Event) GetJobPartsCompleted added in v0.0.21

func (e *Event) GetJobPartsCompleted() *GenericEvent

func (*Event) GetJobReady added in v0.0.21

func (e *Event) GetJobReady() *GenericEvent

func (*Event) GetJobScheduled added in v0.0.21

func (e *Event) GetJobScheduled() *GenericEvent

func (*Event) GetJobUpdated added in v0.0.21

func (e *Event) GetJobUpdated() *GenericEvent

func (*Event) GetLayerCreated added in v0.0.21

func (e *Event) GetLayerCreated() *GenericEvent

func (*Event) GetProgramCreated added in v0.0.21

func (e *Event) GetProgramCreated() *GenericEvent

func (*Event) GetProgramUpdated added in v0.0.21

func (e *Event) GetProgramUpdated() *GenericEvent

func (*Event) GetRecordsCreated added in v0.0.21

func (e *Event) GetRecordsCreated() *GenericEvent

func (*Event) GetRecordsDeleted added in v0.0.21

func (e *Event) GetRecordsDeleted() *GenericEvent

func (*Event) GetRecordsUpdated added in v0.0.21

func (e *Event) GetRecordsUpdated() *GenericEvent

func (*Event) GetSecretCreated added in v0.0.21

func (e *Event) GetSecretCreated() *GenericEvent

func (*Event) GetSecretDeleted added in v0.0.21

func (e *Event) GetSecretDeleted() *GenericEvent

func (*Event) GetSecretUpdated added in v0.0.21

func (e *Event) GetSecretUpdated() *GenericEvent

func (*Event) GetSheetCountsUpdated added in v0.0.21

func (e *Event) GetSheetCountsUpdated() *GenericEvent

func (*Event) GetSheetCreated added in v0.0.21

func (e *Event) GetSheetCreated() *GenericEvent

func (*Event) GetSheetDeleted added in v0.0.21

func (e *Event) GetSheetDeleted() *GenericEvent

func (*Event) GetSheetUpdated added in v0.0.21

func (e *Event) GetSheetUpdated() *GenericEvent

func (*Event) GetSnapshotCreated added in v0.0.21

func (e *Event) GetSnapshotCreated() *GenericEvent

func (*Event) GetSpaceArchived added in v0.0.21

func (e *Event) GetSpaceArchived() *GenericEvent

func (*Event) GetSpaceCreated added in v0.0.21

func (e *Event) GetSpaceCreated() *GenericEvent

func (*Event) GetSpaceDeleted added in v0.0.21

func (e *Event) GetSpaceDeleted() *GenericEvent

func (*Event) GetSpaceExpired added in v0.0.21

func (e *Event) GetSpaceExpired() *GenericEvent

func (*Event) GetSpaceGuestAdded added in v0.0.21

func (e *Event) GetSpaceGuestAdded() *GenericEvent

func (*Event) GetSpaceGuestRemoved added in v0.0.21

func (e *Event) GetSpaceGuestRemoved() *GenericEvent

func (*Event) GetSpaceUpdated added in v0.0.21

func (e *Event) GetSpaceUpdated() *GenericEvent

func (*Event) GetTopic added in v0.0.21

func (e *Event) GetTopic() string

func (*Event) GetWorkbookCreated added in v0.0.21

func (e *Event) GetWorkbookCreated() *GenericEvent

func (*Event) GetWorkbookDeleted added in v0.0.21

func (e *Event) GetWorkbookDeleted() *GenericEvent

func (*Event) GetWorkbookExpired added in v0.0.21

func (e *Event) GetWorkbookExpired() *GenericEvent

func (*Event) GetWorkbookUpdated added in v0.0.21

func (e *Event) GetWorkbookUpdated() *GenericEvent

func (Event) MarshalJSON

func (e Event) MarshalJSON() ([]byte, error)

func (*Event) UnmarshalJSON

func (e *Event) UnmarshalJSON(data []byte) error

type EventAttributes

type EventAttributes struct {
	// Date the related entity was last updated
	TargetUpdatedAt *time.Time `json:"targetUpdatedAt,omitempty" url:"targetUpdatedAt,omitempty"`
	// The progress of the event within a collection of iterable events
	Progress *Progress `json:"progress,omitempty" url:"progress,omitempty"`
	// contains filtered or unexported fields
}

The attributes of the event

func (*EventAttributes) GetExtraProperties added in v0.0.14

func (e *EventAttributes) GetExtraProperties() map[string]interface{}

func (*EventAttributes) GetProgress added in v0.0.21

func (e *EventAttributes) GetProgress() *Progress

func (*EventAttributes) GetTargetUpdatedAt added in v0.0.21

func (e *EventAttributes) GetTargetUpdatedAt() *time.Time

func (*EventAttributes) MarshalJSON added in v0.0.8

func (e *EventAttributes) MarshalJSON() ([]byte, error)

func (*EventAttributes) String

func (e *EventAttributes) String() string

func (*EventAttributes) UnmarshalJSON

func (e *EventAttributes) UnmarshalJSON(data []byte) error

type EventContextSlugs

type EventContextSlugs struct {
	// The slug of the space
	Space *string `json:"space,omitempty" url:"space,omitempty"`
	// The slug of the workbook
	Workbook *string `json:"workbook,omitempty" url:"workbook,omitempty"`
	// The slug of the sheet
	Sheet *string `json:"sheet,omitempty" url:"sheet,omitempty"`
	// contains filtered or unexported fields
}

func (*EventContextSlugs) GetExtraProperties added in v0.0.14

func (e *EventContextSlugs) GetExtraProperties() map[string]interface{}

func (*EventContextSlugs) GetSheet added in v0.0.21

func (e *EventContextSlugs) GetSheet() *string

func (*EventContextSlugs) GetSpace added in v0.0.21

func (e *EventContextSlugs) GetSpace() *string

func (*EventContextSlugs) GetWorkbook added in v0.0.21

func (e *EventContextSlugs) GetWorkbook() *string

func (*EventContextSlugs) String

func (e *EventContextSlugs) String() string

func (*EventContextSlugs) UnmarshalJSON

func (e *EventContextSlugs) UnmarshalJSON(data []byte) error

type EventId

type EventId = string

Event ID

type EventResponse

type EventResponse struct {
	Data *Event `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*EventResponse) GetData added in v0.0.21

func (e *EventResponse) GetData() *Event

func (*EventResponse) GetExtraProperties added in v0.0.14

func (e *EventResponse) GetExtraProperties() map[string]interface{}

func (*EventResponse) String

func (e *EventResponse) String() string

func (*EventResponse) UnmarshalJSON

func (e *EventResponse) UnmarshalJSON(data []byte) error

type EventToken

type EventToken struct {
	// The ID of the Account.
	AccountId *AccountId `json:"accountId,omitempty" url:"accountId,omitempty"`
	// The id of the event bus to subscribe to
	SubscribeKey *string `json:"subscribeKey,omitempty" url:"subscribeKey,omitempty"`
	// Time to live in minutes
	Ttl *int `json:"ttl,omitempty" url:"ttl,omitempty"`
	// This should be your API key.
	Token *string `json:"token,omitempty" url:"token,omitempty"`
	// contains filtered or unexported fields
}

Properties used to allow users to connect to the event bus

func (*EventToken) GetAccountId added in v0.0.21

func (e *EventToken) GetAccountId() *AccountId

func (*EventToken) GetExtraProperties added in v0.0.14

func (e *EventToken) GetExtraProperties() map[string]interface{}

func (*EventToken) GetSubscribeKey added in v0.0.21

func (e *EventToken) GetSubscribeKey() *string

func (*EventToken) GetToken added in v0.0.21

func (e *EventToken) GetToken() *string

func (*EventToken) GetTtl added in v0.0.21

func (e *EventToken) GetTtl() *int

func (*EventToken) String

func (e *EventToken) String() string

func (*EventToken) UnmarshalJSON

func (e *EventToken) UnmarshalJSON(data []byte) error

type EventTokenResponse

type EventTokenResponse struct {
	Data *EventToken `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*EventTokenResponse) GetData added in v0.0.21

func (e *EventTokenResponse) GetData() *EventToken

func (*EventTokenResponse) GetExtraProperties added in v0.0.14

func (e *EventTokenResponse) GetExtraProperties() map[string]interface{}

func (*EventTokenResponse) String

func (e *EventTokenResponse) String() string

func (*EventTokenResponse) UnmarshalJSON

func (e *EventTokenResponse) UnmarshalJSON(data []byte) error

type EventTopic

type EventTopic string

The topic of the event

const (
	EventTopicAgentCreated                 EventTopic = "agent:created"
	EventTopicAgentUpdated                 EventTopic = "agent:updated"
	EventTopicAgentDeleted                 EventTopic = "agent:deleted"
	EventTopicSpaceCreated                 EventTopic = "space:created"
	EventTopicSpaceUpdated                 EventTopic = "space:updated"
	EventTopicSpaceDeleted                 EventTopic = "space:deleted"
	EventTopicSpaceArchived                EventTopic = "space:archived"
	EventTopicSpaceUnarchived              EventTopic = "space:unarchived"
	EventTopicSpaceExpired                 EventTopic = "space:expired"
	EventTopicSpaceGuestAdded              EventTopic = "space:guestAdded"
	EventTopicSpaceGuestRemoved            EventTopic = "space:guestRemoved"
	EventTopicDocumentCreated              EventTopic = "document:created"
	EventTopicDocumentUpdated              EventTopic = "document:updated"
	EventTopicDocumentDeleted              EventTopic = "document:deleted"
	EventTopicWorkbookCreated              EventTopic = "workbook:created"
	EventTopicWorkbookUpdated              EventTopic = "workbook:updated"
	EventTopicWorkbookDeleted              EventTopic = "workbook:deleted"
	EventTopicWorkbookExpired              EventTopic = "workbook:expired"
	EventTopicSheetCreated                 EventTopic = "sheet:created"
	EventTopicSheetUpdated                 EventTopic = "sheet:updated"
	EventTopicSheetDeleted                 EventTopic = "sheet:deleted"
	EventTopicSheetCountsUpdated           EventTopic = "sheet:counts-updated"
	EventTopicSnapshotCreated              EventTopic = "snapshot:created"
	EventTopicRecordsCreated               EventTopic = "records:created"
	EventTopicRecordsUpdated               EventTopic = "records:updated"
	EventTopicRecordsDeleted               EventTopic = "records:deleted"
	EventTopicFileCreated                  EventTopic = "file:created"
	EventTopicFileUpdated                  EventTopic = "file:updated"
	EventTopicFileDeleted                  EventTopic = "file:deleted"
	EventTopicFileExpired                  EventTopic = "file:expired"
	EventTopicJobCreated                   EventTopic = "job:created"
	EventTopicJobUpdated                   EventTopic = "job:updated"
	EventTopicJobDeleted                   EventTopic = "job:deleted"
	EventTopicJobCompleted                 EventTopic = "job:completed"
	EventTopicJobReady                     EventTopic = "job:ready"
	EventTopicJobScheduled                 EventTopic = "job:scheduled"
	EventTopicJobOutcomeAcknowledged       EventTopic = "job:outcome-acknowledged"
	EventTopicJobPartsCompleted            EventTopic = "job:parts-completed"
	EventTopicJobFailed                    EventTopic = "job:failed"
	EventTopicProgramCreated               EventTopic = "program:created"
	EventTopicProgramUpdated               EventTopic = "program:updated"
	EventTopicCommitCreated                EventTopic = "commit:created"
	EventTopicCommitUpdated                EventTopic = "commit:updated"
	EventTopicCommitCompleted              EventTopic = "commit:completed"
	EventTopicLayerCreated                 EventTopic = "layer:created"
	EventTopicSecretCreated                EventTopic = "secret:created"
	EventTopicSecretUpdated                EventTopic = "secret:updated"
	EventTopicSecretDeleted                EventTopic = "secret:deleted"
	EventTopicCron5Minutes                 EventTopic = "cron:5-minutes"
	EventTopicCronHourly                   EventTopic = "cron:hourly"
	EventTopicCronDaily                    EventTopic = "cron:daily"
	EventTopicCronWeekly                   EventTopic = "cron:weekly"
	EventTopicEnvironmentCreated           EventTopic = "environment:created"
	EventTopicEnvironmentUpdated           EventTopic = "environment:updated"
	EventTopicEnvironmentDeleted           EventTopic = "environment:deleted"
	EventTopicActionCreated                EventTopic = "action:created"
	EventTopicActionUpdated                EventTopic = "action:updated"
	EventTopicActionDeleted                EventTopic = "action:deleted"
	EventTopicDataClipCreated              EventTopic = "data-clip:created"
	EventTopicDataClipUpdated              EventTopic = "data-clip:updated"
	EventTopicDataClipDeleted              EventTopic = "data-clip:deleted"
	EventTopicDataClipCollaboratorUpdated  EventTopic = "data-clip:collaborator-updated"
	EventTopicDataClipResolutionsCreated   EventTopic = "data-clip:resolutions-created"
	EventTopicDataClipResolutionsUpdated   EventTopic = "data-clip:resolutions-updated"
	EventTopicDataClipResolutionsRefreshed EventTopic = "data-clip:resolutions-refreshed"
)

func NewEventTopicFromString

func NewEventTopicFromString(s string) (EventTopic, error)

func (EventTopic) Ptr

func (e EventTopic) Ptr() *EventTopic

type EventVisitor

type EventVisitor interface {
	VisitAgentCreated(*GenericEvent) error
	VisitAgentUpdated(*GenericEvent) error
	VisitAgentDeleted(*GenericEvent) error
	VisitSpaceCreated(*GenericEvent) error
	VisitSpaceUpdated(*GenericEvent) error
	VisitSpaceDeleted(*GenericEvent) error
	VisitSpaceArchived(*GenericEvent) error
	VisitSpaceExpired(*GenericEvent) error
	VisitSpaceGuestAdded(*GenericEvent) error
	VisitSpaceGuestRemoved(*GenericEvent) error
	VisitDocumentCreated(*GenericEvent) error
	VisitDocumentUpdated(*GenericEvent) error
	VisitDocumentDeleted(*GenericEvent) error
	VisitWorkbookCreated(*GenericEvent) error
	VisitWorkbookUpdated(*GenericEvent) error
	VisitWorkbookDeleted(*GenericEvent) error
	VisitWorkbookExpired(*GenericEvent) error
	VisitSheetCreated(*GenericEvent) error
	VisitSheetUpdated(*GenericEvent) error
	VisitSheetDeleted(*GenericEvent) error
	VisitSheetCountsUpdated(*GenericEvent) error
	VisitSnapshotCreated(*GenericEvent) error
	VisitRecordsCreated(*GenericEvent) error
	VisitRecordsUpdated(*GenericEvent) error
	VisitRecordsDeleted(*GenericEvent) error
	VisitFileCreated(*GenericEvent) error
	VisitFileUpdated(*GenericEvent) error
	VisitFileDeleted(*GenericEvent) error
	VisitFileExpired(*GenericEvent) error
	VisitJobCreated(*GenericEvent) error
	VisitJobUpdated(*GenericEvent) error
	VisitJobDeleted(*GenericEvent) error
	VisitJobFailed(*GenericEvent) error
	VisitJobCompleted(*GenericEvent) error
	VisitJobReady(*GenericEvent) error
	VisitJobScheduled(*GenericEvent) error
	VisitJobOutcomeAcknowledged(*GenericEvent) error
	VisitJobPartsCompleted(*GenericEvent) error
	VisitProgramCreated(*GenericEvent) error
	VisitProgramUpdated(*GenericEvent) error
	VisitCommitCreated(*GenericEvent) error
	VisitCommitUpdated(*GenericEvent) error
	VisitCommitCompleted(*GenericEvent) error
	VisitSecretCreated(*GenericEvent) error
	VisitSecretUpdated(*GenericEvent) error
	VisitSecretDeleted(*GenericEvent) error
	VisitLayerCreated(*GenericEvent) error
	VisitEnvironmentCreated(*GenericEvent) error
	VisitEnvironmentUpdated(*GenericEvent) error
	VisitEnvironmentDeleted(*GenericEvent) error
	VisitActionCreated(*GenericEvent) error
	VisitActionUpdated(*GenericEvent) error
	VisitActionDeleted(*GenericEvent) error
	VisitDataClipCreated(*GenericEvent) error
	VisitDataClipUpdated(*GenericEvent) error
	VisitDataClipDeleted(*GenericEvent) error
	VisitDataClipCollaboratorUpdated(*GenericEvent) error
	VisitDataClipResolutionsCreated(*GenericEvent) error
	VisitDataClipResolutionsUpdated(*GenericEvent) error
	VisitDataClipResolutionsRefreshed(*GenericEvent) error
}

type Execution

type Execution struct {
	EventId EventId `json:"eventId" url:"eventId"`
	// Whether the agent execution was successful
	Success     bool      `json:"success" url:"success"`
	CreatedAt   time.Time `json:"createdAt" url:"createdAt"`
	CompletedAt time.Time `json:"completedAt" url:"completedAt"`
	// The duration of the agent execution
	Duration int `json:"duration" url:"duration"`
	// The topics of the agent execution
	Topic string `json:"topic" url:"topic"`
	// contains filtered or unexported fields
}

An execution of an agent

func (*Execution) GetCompletedAt added in v0.0.21

func (e *Execution) GetCompletedAt() time.Time

func (*Execution) GetCreatedAt added in v0.0.21

func (e *Execution) GetCreatedAt() time.Time

func (*Execution) GetDuration added in v0.0.21

func (e *Execution) GetDuration() int

func (*Execution) GetEventId added in v0.0.21

func (e *Execution) GetEventId() EventId

func (*Execution) GetExtraProperties added in v0.0.14

func (e *Execution) GetExtraProperties() map[string]interface{}

func (*Execution) GetSuccess added in v0.0.21

func (e *Execution) GetSuccess() bool

func (*Execution) GetTopic added in v0.0.21

func (e *Execution) GetTopic() string

func (*Execution) MarshalJSON added in v0.0.8

func (e *Execution) MarshalJSON() ([]byte, error)

func (*Execution) String

func (e *Execution) String() string

func (*Execution) UnmarshalJSON

func (e *Execution) UnmarshalJSON(data []byte) error

type ExportJobConfig

type ExportJobConfig struct {
	Options *ExportOptions `json:"options,omitempty" url:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportJobConfig) GetExtraProperties added in v0.0.14

func (e *ExportJobConfig) GetExtraProperties() map[string]interface{}

func (*ExportJobConfig) GetOptions added in v0.0.21

func (e *ExportJobConfig) GetOptions() *ExportOptions

func (*ExportJobConfig) String

func (e *ExportJobConfig) String() string

func (*ExportJobConfig) UnmarshalJSON

func (e *ExportJobConfig) UnmarshalJSON(data []byte) error

type ExportOptions

type ExportOptions struct {
	// Deprecated, use `commitId` instead
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	// If provided, the snapshot version of the workbook will be used for the export
	CommitId *CommitId `json:"commitId,omitempty" url:"commitId,omitempty"`
	// The field to sort the records on
	SortField *SortField `json:"sortField,omitempty" url:"sortField,omitempty"`
	// The direction to sort the records
	SortDirection *SortDirection `json:"sortDirection,omitempty" url:"sortDirection,omitempty"`
	// The filter to apply to the records
	Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
	// The field to filter on
	FilterField *FilterField `json:"filterField,omitempty" url:"filterField,omitempty"`
	// The value to search for
	SearchValue *SearchValue `json:"searchValue,omitempty" url:"searchValue,omitempty"`
	// The field to search for the search value in
	SearchField *SearchField `json:"searchField,omitempty" url:"searchField,omitempty"`
	// The FFQL query to filter records
	Q *string `json:"q,omitempty" url:"q,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records
	Ids []RecordId `json:"ids,omitempty" url:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportOptions) GetCommitId added in v0.0.21

func (e *ExportOptions) GetCommitId() *CommitId

func (*ExportOptions) GetExtraProperties added in v0.0.14

func (e *ExportOptions) GetExtraProperties() map[string]interface{}

func (*ExportOptions) GetFilter added in v0.0.21

func (e *ExportOptions) GetFilter() *Filter

func (*ExportOptions) GetFilterField added in v0.0.21

func (e *ExportOptions) GetFilterField() *FilterField

func (*ExportOptions) GetIds added in v0.0.21

func (e *ExportOptions) GetIds() []RecordId

func (*ExportOptions) GetQ added in v0.0.21

func (e *ExportOptions) GetQ() *string

func (*ExportOptions) GetSearchField added in v0.0.21

func (e *ExportOptions) GetSearchField() *SearchField

func (*ExportOptions) GetSearchValue added in v0.0.21

func (e *ExportOptions) GetSearchValue() *SearchValue

func (*ExportOptions) GetSortDirection added in v0.0.21

func (e *ExportOptions) GetSortDirection() *SortDirection

func (*ExportOptions) GetSortField added in v0.0.21

func (e *ExportOptions) GetSortField() *SortField

func (*ExportOptions) GetVersionId added in v0.0.21

func (e *ExportOptions) GetVersionId() *VersionId

func (*ExportOptions) String

func (e *ExportOptions) String() string

func (*ExportOptions) UnmarshalJSON

func (e *ExportOptions) UnmarshalJSON(data []byte) error

type ExternalConstraint added in v0.0.8

type ExternalConstraint struct {
	Validator string      `json:"validator" url:"validator"`
	Config    interface{} `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalConstraint) GetConfig added in v0.0.21

func (e *ExternalConstraint) GetConfig() interface{}

func (*ExternalConstraint) GetExtraProperties added in v0.0.14

func (e *ExternalConstraint) GetExtraProperties() map[string]interface{}

func (*ExternalConstraint) GetValidator added in v0.0.21

func (e *ExternalConstraint) GetValidator() string

func (*ExternalConstraint) String added in v0.0.8

func (e *ExternalConstraint) String() string

func (*ExternalConstraint) UnmarshalJSON added in v0.0.8

func (e *ExternalConstraint) UnmarshalJSON(data []byte) error

type ExternalSheetConstraint added in v0.0.8

type ExternalSheetConstraint struct {
	Validator string `json:"validator" url:"validator"`
	// The fields that must be unique together
	Fields []string    `json:"fields,omitempty" url:"fields,omitempty"`
	Config interface{} `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalSheetConstraint) GetConfig added in v0.0.21

func (e *ExternalSheetConstraint) GetConfig() interface{}

func (*ExternalSheetConstraint) GetExtraProperties added in v0.0.14

func (e *ExternalSheetConstraint) GetExtraProperties() map[string]interface{}

func (*ExternalSheetConstraint) GetFields added in v0.0.21

func (e *ExternalSheetConstraint) GetFields() []string

func (*ExternalSheetConstraint) GetValidator added in v0.0.21

func (e *ExternalSheetConstraint) GetValidator() string

func (*ExternalSheetConstraint) String added in v0.0.8

func (e *ExternalSheetConstraint) String() string

func (*ExternalSheetConstraint) UnmarshalJSON added in v0.0.8

func (e *ExternalSheetConstraint) UnmarshalJSON(data []byte) error

type FamilyId added in v0.0.6

type FamilyId = string

Mapping Family ID

type FieldAppearance added in v0.0.10

type FieldAppearance struct {
	Size *FieldSize `json:"size,omitempty" url:"size,omitempty"`
	// contains filtered or unexported fields
}

Control the appearance of this field when it's displayed in a table or input

func (*FieldAppearance) GetExtraProperties added in v0.0.14

func (f *FieldAppearance) GetExtraProperties() map[string]interface{}

func (*FieldAppearance) GetSize added in v0.0.21

func (f *FieldAppearance) GetSize() *FieldSize

func (*FieldAppearance) String added in v0.0.10

func (f *FieldAppearance) String() string

func (*FieldAppearance) UnmarshalJSON added in v0.0.10

func (f *FieldAppearance) UnmarshalJSON(data []byte) error

type FieldKey

type FieldKey = string

Returns results from the given field only. Otherwise all field cells are returned

type FieldRecordCounts added in v0.0.8

type FieldRecordCounts struct {
	Total int `json:"total" url:"total"`
	Valid int `json:"valid" url:"valid"`
	Error int `json:"error" url:"error"`
	Empty int `json:"empty" url:"empty"`
	// contains filtered or unexported fields
}

func (*FieldRecordCounts) GetEmpty added in v0.0.21

func (f *FieldRecordCounts) GetEmpty() int

func (*FieldRecordCounts) GetError added in v0.0.21

func (f *FieldRecordCounts) GetError() int

func (*FieldRecordCounts) GetExtraProperties added in v0.0.14

func (f *FieldRecordCounts) GetExtraProperties() map[string]interface{}

func (*FieldRecordCounts) GetTotal added in v0.0.21

func (f *FieldRecordCounts) GetTotal() int

func (*FieldRecordCounts) GetValid added in v0.0.21

func (f *FieldRecordCounts) GetValid() int

func (*FieldRecordCounts) String added in v0.0.8

func (f *FieldRecordCounts) String() string

func (*FieldRecordCounts) UnmarshalJSON added in v0.0.8

func (f *FieldRecordCounts) UnmarshalJSON(data []byte) error

type FieldSize added in v0.0.10

type FieldSize string

The default visual sizing. This sizing may be overridden by a user

const (
	FieldSizeXs FieldSize = "xs"
	FieldSizeS  FieldSize = "s"
	FieldSizeM  FieldSize = "m"
	FieldSizeL  FieldSize = "l"
	FieldSizeXl FieldSize = "xl"
)

func NewFieldSizeFromString added in v0.0.10

func NewFieldSizeFromString(s string) (FieldSize, error)

func (FieldSize) Ptr added in v0.0.10

func (f FieldSize) Ptr() *FieldSize

type File

type File struct {
	Id FileId `json:"id" url:"id"`
	// Original filename
	Name string `json:"name" url:"name"`
	// Extension of the file
	Ext string `json:"ext" url:"ext"`
	// MIME Type of the file
	Mimetype string `json:"mimetype" url:"mimetype"`
	// Text encoding of the file
	Encoding string `json:"encoding" url:"encoding"`
	// Status of the file
	Status ModelFileStatusEnum `json:"status" url:"status"`
	// The storage mode of file
	Mode *Mode `json:"mode,omitempty" url:"mode,omitempty"`
	// Size of file in bytes
	Size int `json:"size" url:"size"`
	// Number of bytes that have been uploaded so far (useful for progress tracking)
	BytesReceived int `json:"bytesReceived" url:"bytesReceived"`
	// Date the file was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the file was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// Date the file was expired
	ExpiredAt  *time.Time  `json:"expiredAt,omitempty" url:"expiredAt,omitempty"`
	SpaceId    SpaceId     `json:"spaceId" url:"spaceId"`
	WorkbookId *WorkbookId `json:"workbookId,omitempty" url:"workbookId,omitempty"`
	SheetId    *SheetId    `json:"sheetId,omitempty" url:"sheetId,omitempty"`
	Actions    []*Action   `json:"actions,omitempty" url:"actions,omitempty"`
	Origin     *FileOrigin `json:"origin,omitempty" url:"origin,omitempty"`
	// contains filtered or unexported fields
}

Any uploaded file of any type

func (*File) GetActions added in v0.0.21

func (f *File) GetActions() []*Action

func (*File) GetBytesReceived added in v0.0.21

func (f *File) GetBytesReceived() int

func (*File) GetCreatedAt added in v0.0.21

func (f *File) GetCreatedAt() time.Time

func (*File) GetEncoding added in v0.0.21

func (f *File) GetEncoding() string

func (*File) GetExpiredAt added in v0.0.21

func (f *File) GetExpiredAt() *time.Time

func (*File) GetExt added in v0.0.21

func (f *File) GetExt() string

func (*File) GetExtraProperties added in v0.0.14

func (f *File) GetExtraProperties() map[string]interface{}

func (*File) GetId added in v0.0.21

func (f *File) GetId() FileId

func (*File) GetMimetype added in v0.0.21

func (f *File) GetMimetype() string

func (*File) GetMode added in v0.0.21

func (f *File) GetMode() *Mode

func (*File) GetName added in v0.0.21

func (f *File) GetName() string

func (*File) GetOrigin added in v0.0.21

func (f *File) GetOrigin() *FileOrigin

func (*File) GetSheetId added in v0.0.21

func (f *File) GetSheetId() *SheetId

func (*File) GetSize added in v0.0.21

func (f *File) GetSize() int

func (*File) GetSpaceId added in v0.0.21

func (f *File) GetSpaceId() SpaceId

func (*File) GetStatus added in v0.0.21

func (f *File) GetStatus() ModelFileStatusEnum

func (*File) GetUpdatedAt added in v0.0.21

func (f *File) GetUpdatedAt() time.Time

func (*File) GetWorkbookId added in v0.0.21

func (f *File) GetWorkbookId() *WorkbookId

func (*File) MarshalJSON added in v0.0.8

func (f *File) MarshalJSON() ([]byte, error)

func (*File) String

func (f *File) String() string

func (*File) UnmarshalJSON

func (f *File) UnmarshalJSON(data []byte) error

type FileId

type FileId = string

File ID

type FileJobConfig

type FileJobConfig struct {
	// The driver to use for extracting data from the file
	Driver Driver `json:"driver" url:"driver"`
	// The options to use for extracting data from the file
	Options map[string]interface{} `json:"options,omitempty" url:"options,omitempty"`
	// The row number of the header row detected at extraction time
	DetectedHeaderRow *int `json:"detectedHeaderRow,omitempty" url:"detectedHeaderRow,omitempty"`
	// contains filtered or unexported fields
}

func (*FileJobConfig) GetDetectedHeaderRow added in v0.0.21

func (f *FileJobConfig) GetDetectedHeaderRow() *int

func (*FileJobConfig) GetDriver added in v0.0.21

func (f *FileJobConfig) GetDriver() Driver

func (*FileJobConfig) GetExtraProperties added in v0.0.14

func (f *FileJobConfig) GetExtraProperties() map[string]interface{}

func (*FileJobConfig) GetOptions added in v0.0.21

func (f *FileJobConfig) GetOptions() map[string]interface{}

func (*FileJobConfig) String

func (f *FileJobConfig) String() string

func (*FileJobConfig) UnmarshalJSON

func (f *FileJobConfig) UnmarshalJSON(data []byte) error

type FileOrigin added in v0.0.10

type FileOrigin string
const (
	FileOriginFilesystem  FileOrigin = "filesystem"
	FileOriginGoogledrive FileOrigin = "googledrive"
	FileOriginBox         FileOrigin = "box"
	FileOriginOnedrive    FileOrigin = "onedrive"
)

func NewFileOriginFromString added in v0.0.10

func NewFileOriginFromString(s string) (FileOrigin, error)

func (FileOrigin) Ptr added in v0.0.10

func (f FileOrigin) Ptr() *FileOrigin

type FileParam added in v0.0.21

type FileParam struct {
	io.Reader
	// contains filtered or unexported fields
}

FileParam is a file type suitable for multipart/form-data uploads.

func NewFileParam added in v0.0.21

func NewFileParam(
	reader io.Reader,
	filename string,
	contentType string,
	opts ...FileParamOption,
) *FileParam

NewFileParam returns a *FileParam type suitable for multipart/form-data uploads. All file upload endpoints accept a simple io.Reader, which is usually created by opening a file via os.Open.

However, some endpoints require additional metadata about the file such as a specific Content-Type or custom filename. FileParam makes it easier to create the correct type signature for these endpoints.

func (*FileParam) ContentType added in v0.0.21

func (f *FileParam) ContentType() string

func (*FileParam) Name added in v0.0.21

func (f *FileParam) Name() string

type FileParamOption added in v0.0.21

type FileParamOption interface {
	// contains filtered or unexported methods
}

FileParamOption adapts the behavior of the FileParam. No options are implemented yet, but this interface allows for future extensibility.

type FileResponse

type FileResponse struct {
	Data *File `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FileResponse) GetData added in v0.0.21

func (f *FileResponse) GetData() *File

func (*FileResponse) GetExtraProperties added in v0.0.14

func (f *FileResponse) GetExtraProperties() map[string]interface{}

func (*FileResponse) String

func (f *FileResponse) String() string

func (*FileResponse) UnmarshalJSON

func (f *FileResponse) UnmarshalJSON(data []byte) error

type Filter

type Filter string

Options to filter records

const (
	FilterValid Filter = "valid"
	FilterError Filter = "error"
	FilterAll   Filter = "all"
	FilterNone  Filter = "none"
)

func NewFilterFromString

func NewFilterFromString(s string) (Filter, error)

func (Filter) Ptr

func (f Filter) Ptr() *Filter

type FilterField

type FilterField = string

Use this to narrow the valid/error filter results to a specific field

type FindAndReplaceJobConfig

type FindAndReplaceJobConfig struct {
	// The filter to apply to the records
	Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
	// The field to filter on
	FilterField *FilterField `json:"filterField,omitempty" url:"filterField,omitempty"`
	// The value to search for
	SearchValue *SearchValue `json:"searchValue,omitempty" url:"searchValue,omitempty"`
	// The field to search for the search value in
	SearchField *SearchField `json:"searchField,omitempty" url:"searchField,omitempty"`
	// The FFQL query to filter records
	Q *string `json:"q,omitempty" url:"q,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records
	Ids []RecordId `json:"ids,omitempty" url:"ids,omitempty"`
	// A value to find for a given field in a sheet. Wrap the value in "" for exact match
	Find *CellValueUnion `json:"find,omitempty" url:"find,omitempty"`
	// The value to replace found values with
	Replace *CellValueUnion `json:"replace,omitempty" url:"replace,omitempty"`
	// A unique key used to identify a field in a sheet
	FieldKey string `json:"fieldKey" url:"fieldKey"`
	// If specified, a snapshot will be generated with this label
	SnapshotLabel *string `json:"snapshotLabel,omitempty" url:"snapshotLabel,omitempty"`
	// contains filtered or unexported fields
}

func (*FindAndReplaceJobConfig) GetExtraProperties added in v0.0.14

func (f *FindAndReplaceJobConfig) GetExtraProperties() map[string]interface{}

func (*FindAndReplaceJobConfig) GetFieldKey added in v0.0.21

func (f *FindAndReplaceJobConfig) GetFieldKey() string

func (*FindAndReplaceJobConfig) GetFilter added in v0.0.21

func (f *FindAndReplaceJobConfig) GetFilter() *Filter

func (*FindAndReplaceJobConfig) GetFilterField added in v0.0.21

func (f *FindAndReplaceJobConfig) GetFilterField() *FilterField

func (*FindAndReplaceJobConfig) GetFind added in v0.0.21

func (*FindAndReplaceJobConfig) GetIds added in v0.0.21

func (f *FindAndReplaceJobConfig) GetIds() []RecordId

func (*FindAndReplaceJobConfig) GetQ added in v0.0.21

func (f *FindAndReplaceJobConfig) GetQ() *string

func (*FindAndReplaceJobConfig) GetReplace added in v0.0.21

func (f *FindAndReplaceJobConfig) GetReplace() *CellValueUnion

func (*FindAndReplaceJobConfig) GetSearchField added in v0.0.21

func (f *FindAndReplaceJobConfig) GetSearchField() *SearchField

func (*FindAndReplaceJobConfig) GetSearchValue added in v0.0.21

func (f *FindAndReplaceJobConfig) GetSearchValue() *SearchValue

func (*FindAndReplaceJobConfig) GetSnapshotLabel added in v0.0.21

func (f *FindAndReplaceJobConfig) GetSnapshotLabel() *string

func (*FindAndReplaceJobConfig) String

func (f *FindAndReplaceJobConfig) String() string

func (*FindAndReplaceJobConfig) UnmarshalJSON

func (f *FindAndReplaceJobConfig) UnmarshalJSON(data []byte) error

type FindAndReplaceRecordRequest

type FindAndReplaceRecordRequest struct {
	Filter *Filter `json:"-" url:"filter,omitempty"`
	// Name of field by which to filter records
	FilterField *FilterField `json:"-" url:"filterField,omitempty"`
	SearchValue *SearchValue `json:"-" url:"searchValue,omitempty"`
	SearchField *SearchField `json:"-" url:"searchField,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records
	Ids []*RecordId `json:"-" url:"ids,omitempty"`
	// An FFQL query used to filter the result set
	Q *string `json:"-" url:"q,omitempty"`
	// A value to find for a given field in a sheet. For exact matches, wrap the value in double quotes ("Bob")
	Find *CellValueUnion `json:"find,omitempty" url:"-"`
	// The value to replace found values with
	Replace *CellValueUnion `json:"replace,omitempty" url:"-"`
	// A unique key used to identify a field in a sheet
	FieldKey string `json:"fieldKey" url:"-"`
}

type ForbiddenError added in v0.0.8

type ForbiddenError struct {
	*core.APIError
	Body *Errors
}

func (*ForbiddenError) MarshalJSON added in v0.0.8

func (f *ForbiddenError) MarshalJSON() ([]byte, error)

func (*ForbiddenError) UnmarshalJSON added in v0.0.8

func (f *ForbiddenError) UnmarshalJSON(data []byte) error

func (*ForbiddenError) Unwrap added in v0.0.8

func (f *ForbiddenError) Unwrap() error

type GenericEvent

type GenericEvent struct {
	// The domain of the event
	Domain Domain `json:"domain" url:"domain"`
	// The context of the event
	Context *Context `json:"context,omitempty" url:"context,omitempty"`
	// The attributes of the event
	Attributes *EventAttributes `json:"attributes,omitempty" url:"attributes,omitempty"`
	// The callback url to acknowledge the event
	CallbackUrl *string `json:"callbackUrl,omitempty" url:"callbackUrl,omitempty"`
	// The url to retrieve the data associated with the event
	DataUrl    *string  `json:"dataUrl,omitempty" url:"dataUrl,omitempty"`
	Target     *string  `json:"target,omitempty" url:"target,omitempty"`
	Origin     *Origin  `json:"origin,omitempty" url:"origin,omitempty"`
	Namespaces []string `json:"namespaces,omitempty" url:"namespaces,omitempty"`
	Id         EventId  `json:"id" url:"id"`
	// Date the event was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the event was deleted
	DeletedAt *time.Time `json:"deletedAt,omitempty" url:"deletedAt,omitempty"`
	// Date the event was acknowledged
	AcknowledgedAt *time.Time `json:"acknowledgedAt,omitempty" url:"acknowledgedAt,omitempty"`
	// The actor (user or system) who acknowledged the event
	AcknowledgedBy *string                `json:"acknowledgedBy,omitempty" url:"acknowledgedBy,omitempty"`
	Payload        map[string]interface{} `json:"payload,omitempty" url:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericEvent) GetAcknowledgedAt added in v0.0.21

func (g *GenericEvent) GetAcknowledgedAt() *time.Time

func (*GenericEvent) GetAcknowledgedBy added in v0.0.21

func (g *GenericEvent) GetAcknowledgedBy() *string

func (*GenericEvent) GetAttributes added in v0.0.21

func (g *GenericEvent) GetAttributes() *EventAttributes

func (*GenericEvent) GetCallbackUrl added in v0.0.21

func (g *GenericEvent) GetCallbackUrl() *string

func (*GenericEvent) GetContext added in v0.0.21

func (g *GenericEvent) GetContext() *Context

func (*GenericEvent) GetCreatedAt added in v0.0.21

func (g *GenericEvent) GetCreatedAt() time.Time

func (*GenericEvent) GetDataUrl added in v0.0.21

func (g *GenericEvent) GetDataUrl() *string

func (*GenericEvent) GetDeletedAt added in v0.0.21

func (g *GenericEvent) GetDeletedAt() *time.Time

func (*GenericEvent) GetDomain added in v0.0.21

func (g *GenericEvent) GetDomain() Domain

func (*GenericEvent) GetExtraProperties added in v0.0.14

func (g *GenericEvent) GetExtraProperties() map[string]interface{}

func (*GenericEvent) GetId added in v0.0.21

func (g *GenericEvent) GetId() EventId

func (*GenericEvent) GetNamespaces added in v0.0.21

func (g *GenericEvent) GetNamespaces() []string

func (*GenericEvent) GetOrigin added in v0.0.21

func (g *GenericEvent) GetOrigin() *Origin

func (*GenericEvent) GetPayload added in v0.0.21

func (g *GenericEvent) GetPayload() map[string]interface{}

func (*GenericEvent) GetTarget added in v0.0.21

func (g *GenericEvent) GetTarget() *string

func (*GenericEvent) MarshalJSON added in v0.0.8

func (g *GenericEvent) MarshalJSON() ([]byte, error)

func (*GenericEvent) String

func (g *GenericEvent) String() string

func (*GenericEvent) UnmarshalJSON

func (g *GenericEvent) UnmarshalJSON(data []byte) error

type GetActionsRequest added in v0.0.23

type GetActionsRequest struct {
	// The Space ID for which to get the Actions.
	SpaceId SpaceId `json:"-" url:"spaceId"`
}

type GetAgentLogRequest

type GetAgentLogRequest struct {
	EnvironmentId EnvironmentId `json:"-" url:"environmentId"`
}

type GetAgentLogsRequest

type GetAgentLogsRequest struct {
	EnvironmentId EnvironmentId `json:"-" url:"environmentId"`
}

type GetAgentLogsResponse

type GetAgentLogsResponse struct {
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*AgentLog `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAgentLogsResponse) GetData added in v0.0.21

func (g *GetAgentLogsResponse) GetData() []*AgentLog

func (*GetAgentLogsResponse) GetExtraProperties added in v0.0.14

func (g *GetAgentLogsResponse) GetExtraProperties() map[string]interface{}

func (*GetAgentLogsResponse) GetPagination added in v0.0.21

func (g *GetAgentLogsResponse) GetPagination() *Pagination

func (*GetAgentLogsResponse) String

func (g *GetAgentLogsResponse) String() string

func (*GetAgentLogsResponse) UnmarshalJSON

func (g *GetAgentLogsResponse) UnmarshalJSON(data []byte) error

type GetAgentRequest

type GetAgentRequest struct {
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
}

type GetConstraintsRequest added in v0.0.17

type GetConstraintsRequest struct {
	// Whether to include built-in constraints
	IncludeBuiltins *bool `json:"-" url:"includeBuiltins,omitempty"`
}

type GetDetailedAgentLogResponse

type GetDetailedAgentLogResponse struct {
	Data *DetailedAgentLog `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDetailedAgentLogResponse) GetData added in v0.0.21

func (*GetDetailedAgentLogResponse) GetExtraProperties added in v0.0.14

func (g *GetDetailedAgentLogResponse) GetExtraProperties() map[string]interface{}

func (*GetDetailedAgentLogResponse) String

func (g *GetDetailedAgentLogResponse) String() string

func (*GetDetailedAgentLogResponse) UnmarshalJSON

func (g *GetDetailedAgentLogResponse) UnmarshalJSON(data []byte) error

type GetDetailedAgentLogsResponse

type GetDetailedAgentLogsResponse struct {
	Pagination *Pagination         `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*DetailedAgentLog `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDetailedAgentLogsResponse) GetData added in v0.0.21

func (*GetDetailedAgentLogsResponse) GetExtraProperties added in v0.0.14

func (g *GetDetailedAgentLogsResponse) GetExtraProperties() map[string]interface{}

func (*GetDetailedAgentLogsResponse) GetPagination added in v0.0.21

func (g *GetDetailedAgentLogsResponse) GetPagination() *Pagination

func (*GetDetailedAgentLogsResponse) String

func (*GetDetailedAgentLogsResponse) UnmarshalJSON

func (g *GetDetailedAgentLogsResponse) UnmarshalJSON(data []byte) error

type GetEnvironmentAgentExecutionsRequest

type GetEnvironmentAgentExecutionsRequest struct {
	EnvironmentId EnvironmentId          `json:"-" url:"environmentId"`
	SpaceId       *SpaceId               `json:"-" url:"spaceId,omitempty"`
	Success       *SuccessQueryParameter `json:"-" url:"success,omitempty"`
	PageSize      *PageSize              `json:"-" url:"pageSize,omitempty"`
	PageNumber    *PageNumber            `json:"-" url:"pageNumber,omitempty"`
}

type GetEnvironmentAgentLogsRequest

type GetEnvironmentAgentLogsRequest struct {
	EnvironmentId EnvironmentId          `json:"-" url:"environmentId"`
	SpaceId       *SpaceId               `json:"-" url:"spaceId,omitempty"`
	Success       *SuccessQueryParameter `json:"-" url:"success,omitempty"`
	PageSize      *PageSize              `json:"-" url:"pageSize,omitempty"`
	PageNumber    *PageNumber            `json:"-" url:"pageNumber,omitempty"`
}

type GetEnvironmentEventTokenRequest

type GetEnvironmentEventTokenRequest struct {
	// ID of environment to return
	EnvironmentId EnvironmentId `json:"-" url:"environmentId"`
}

type GetEventTokenRequest

type GetEventTokenRequest struct {
	// The resource ID of the event stream (space or environment id)
	Scope *string `json:"-" url:"scope,omitempty"`
	// The space ID of the event stream
	SpaceId *SpaceId `json:"-" url:"spaceId,omitempty"`
}

type GetExecutionsResponse

type GetExecutionsResponse struct {
	Pagination *Pagination  `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*Execution `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExecutionsResponse) GetData added in v0.0.21

func (g *GetExecutionsResponse) GetData() []*Execution

func (*GetExecutionsResponse) GetExtraProperties added in v0.0.14

func (g *GetExecutionsResponse) GetExtraProperties() map[string]interface{}

func (*GetExecutionsResponse) GetPagination added in v0.0.21

func (g *GetExecutionsResponse) GetPagination() *Pagination

func (*GetExecutionsResponse) String

func (g *GetExecutionsResponse) String() string

func (*GetExecutionsResponse) UnmarshalJSON

func (g *GetExecutionsResponse) UnmarshalJSON(data []byte) error

type GetFieldValuesRequest

type GetFieldValuesRequest struct {
	FieldKey      *FieldKey      `json:"-" url:"fieldKey,omitempty"`
	SortField     *SortField     `json:"-" url:"sortField,omitempty"`
	SortDirection *SortDirection `json:"-" url:"sortDirection,omitempty"`
	Filter        *Filter        `json:"-" url:"filter,omitempty"`
	// Name of field by which to filter records
	FilterField *FilterField `json:"-" url:"filterField,omitempty"`
	// Number of records to return in a page (default 1000 if pageNumber included)
	PageSize *PageSize `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of records to return
	PageNumber *PageNumber `json:"-" url:"pageNumber,omitempty"`
	// Must be set to true
	Distinct      Distinct       `json:"-" url:"distinct"`
	IncludeCounts *IncludeCounts `json:"-" url:"includeCounts,omitempty"`
	// A value to find for a given field in a sheet. Wrap the value in "" for exact match
	SearchValue *SearchValue `json:"-" url:"searchValue,omitempty"`
}

type GetGuestTokenRequest

type GetGuestTokenRequest struct {
	// ID of space to return
	SpaceId *SpaceId `json:"-" url:"spaceId,omitempty"`
}

type GetGuidanceRequest added in v0.0.19

type GetGuidanceRequest struct {
	// Include the guide with the guidance
	Guide *string `json:"-" url:"guide,omitempty"`
}

type GetRecordCountsRequest

type GetRecordCountsRequest struct {
	// Returns records that were changed in that version and only those records.
	VersionId *string `json:"-" url:"versionId,omitempty"`
	// Deprecated, use `sinceCommitId` instead.
	SinceVersionId *VersionId `json:"-" url:"sinceVersionId,omitempty"`
	// Returns records that were changed in that version in addition to any records from versions after that version.
	CommitId *CommitId `json:"-" url:"commitId,omitempty"`
	// Listing a commit ID here will return all records since the specified commit.
	SinceCommitId *CommitId `json:"-" url:"sinceCommitId,omitempty"`
	// Options to filter records
	Filter *Filter `json:"-" url:"filter,omitempty"`
	// The field to filter the data on.
	FilterField *FilterField `json:"-" url:"filterField,omitempty"`
	// The value to search for data on.
	SearchValue *SearchValue `json:"-" url:"searchValue,omitempty"`
	// The field to search for data on.
	SearchField *SearchField `json:"-" url:"searchField,omitempty"`
	// If true, the counts for each field will also be returned
	ByField *bool `json:"-" url:"byField,omitempty"`
	// An FFQL query used to filter the result set to be counted
	Q *string `json:"-" url:"q,omitempty"`
}

type GetRecordIndicesRequest added in v0.0.19

type GetRecordIndicesRequest struct {
	CommitId      *CommitId      `json:"-" url:"commitId,omitempty"`
	SinceCommitId *CommitId      `json:"-" url:"sinceCommitId,omitempty"`
	SortField     *SortField     `json:"-" url:"sortField,omitempty"`
	SortDirection *SortDirection `json:"-" url:"sortDirection,omitempty"`
	Filter        *Filter        `json:"-" url:"filter,omitempty"`
	// Name of field by which to filter records
	FilterField *FilterField `json:"-" url:"filterField,omitempty"`
	SearchValue *SearchValue `json:"-" url:"searchValue,omitempty"`
	SearchField *SearchField `json:"-" url:"searchField,omitempty"`
	// List of record IDs to include in the query. Limit 100.
	Ids []RecordId `json:"-" url:"ids"`
	// An FFQL query used to filter the result set
	Q *string `json:"-" url:"q,omitempty"`
}

type GetRecordIndicesResponse added in v0.0.19

type GetRecordIndicesResponse = []*RecordIndices

type GetRecordsCsvRequest

type GetRecordsCsvRequest struct {
	// Deprecated, use `sinceCommitId` instead.
	VersionId *string `json:"-" url:"versionId,omitempty"`
	// Returns records that were changed in that version  in that version and only those records.
	CommitId *CommitId `json:"-" url:"commitId,omitempty"`
	// Deprecated, use `sinceCommitId` instead.
	SinceVersionId *VersionId `json:"-" url:"sinceVersionId,omitempty"`
	// Returns records that were changed in that version in addition to any records from versions after that version.
	SinceCommitId *CommitId `json:"-" url:"sinceCommitId,omitempty"`
	// The field to sort the data on.
	SortField *SortField `json:"-" url:"sortField,omitempty"`
	// Sort direction - asc (ascending) or desc (descending)
	SortDirection *SortDirection `json:"-" url:"sortDirection,omitempty"`
	// Options to filter records
	Filter *Filter `json:"-" url:"filter,omitempty"`
	// The field to filter the data on.
	FilterField *FilterField `json:"-" url:"filterField,omitempty"`
	// The value to search for data on.
	SearchValue *SearchValue `json:"-" url:"searchValue,omitempty"`
	// The field to search for data on.
	SearchField *SearchField `json:"-" url:"searchField,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records
	Ids []*RecordId `json:"-" url:"ids,omitempty"`
}

type GetRecordsRequest

type GetRecordsRequest struct {
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"-" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"-" url:"commitId,omitempty"`
	// Deprecated, use `sinceCommitId` instead.
	SinceVersionId *VersionId     `json:"-" url:"sinceVersionId,omitempty"`
	SinceCommitId  *CommitId      `json:"-" url:"sinceCommitId,omitempty"`
	SortField      *SortField     `json:"-" url:"sortField,omitempty"`
	SortDirection  *SortDirection `json:"-" url:"sortDirection,omitempty"`
	Filter         *Filter        `json:"-" url:"filter,omitempty"`
	// Name of field by which to filter records
	FilterField *FilterField `json:"-" url:"filterField,omitempty"`
	SearchValue *SearchValue `json:"-" url:"searchValue,omitempty"`
	SearchField *SearchField `json:"-" url:"searchField,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records. Maximum of 100 allowed.
	Ids []*RecordId `json:"-" url:"ids,omitempty"`
	// Number of records to return in a page (default 10,000)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of records to return (Note - numbers start at 1)
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// **DEPRECATED** Use GET /sheets/:sheetId/counts
	IncludeCounts *bool `json:"-" url:"includeCounts,omitempty"`
	// The length of the record result set, returned as counts.total
	IncludeLength *bool `json:"-" url:"includeLength,omitempty"`
	// If true, linked records will be included in the results. Defaults to false.
	IncludeLinks *bool `json:"-" url:"includeLinks,omitempty"`
	// Include error messages, defaults to false.
	IncludeMessages *bool `json:"-" url:"includeMessages,omitempty"`
	// A list of field keys to include in the response. If not provided, all fields will be included.
	Fields []*string `json:"-" url:"fields,omitempty"`
	// if "for" is provided, the query parameters will be pulled from the event payload
	For *EventId `json:"-" url:"for,omitempty"`
	// An FFQL query used to filter the result set
	Q *string `json:"-" url:"q,omitempty"`
}

type GetRecordsResponse

type GetRecordsResponse struct {
	Data *GetRecordsResponseData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecordsResponse) GetData added in v0.0.21

func (*GetRecordsResponse) GetExtraProperties added in v0.0.14

func (g *GetRecordsResponse) GetExtraProperties() map[string]interface{}

func (*GetRecordsResponse) String

func (g *GetRecordsResponse) String() string

func (*GetRecordsResponse) UnmarshalJSON

func (g *GetRecordsResponse) UnmarshalJSON(data []byte) error

type GetRecordsResponseData

type GetRecordsResponseData struct {
	Success bool             `json:"success" url:"success"`
	Records RecordsWithLinks `json:"records,omitempty" url:"records,omitempty"`
	Counts  *RecordCounts    `json:"counts,omitempty" url:"counts,omitempty"`
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"commitId,omitempty" url:"commitId,omitempty"`
	// contains filtered or unexported fields
}

A list of records with optional record counts

func (*GetRecordsResponseData) GetCommitId added in v0.0.21

func (g *GetRecordsResponseData) GetCommitId() *CommitId

func (*GetRecordsResponseData) GetCounts added in v0.0.21

func (g *GetRecordsResponseData) GetCounts() *RecordCounts

func (*GetRecordsResponseData) GetExtraProperties added in v0.0.14

func (g *GetRecordsResponseData) GetExtraProperties() map[string]interface{}

func (*GetRecordsResponseData) GetRecords added in v0.0.21

func (g *GetRecordsResponseData) GetRecords() RecordsWithLinks

func (*GetRecordsResponseData) GetSuccess added in v0.0.21

func (g *GetRecordsResponseData) GetSuccess() bool

func (*GetRecordsResponseData) GetVersionId added in v0.0.21

func (g *GetRecordsResponseData) GetVersionId() *VersionId

func (*GetRecordsResponseData) String

func (g *GetRecordsResponseData) String() string

func (*GetRecordsResponseData) UnmarshalJSON

func (g *GetRecordsResponseData) UnmarshalJSON(data []byte) error

type GetSnapshotRecordsRequest

type GetSnapshotRecordsRequest struct {
	// Number of records to return in a page
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of records to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// Filter records by change type
	ChangeType *ChangeType `json:"-" url:"changeType,omitempty"`
}

type GetSnapshotRequest

type GetSnapshotRequest struct {
	// Whether to include a summary in the snapshot response
	IncludeSummary bool `json:"-" url:"includeSummary"`
}

type GetSpacesSortField

type GetSpacesSortField string
const (
	GetSpacesSortFieldName              GetSpacesSortField = "name"
	GetSpacesSortFieldWorkbooksCount    GetSpacesSortField = "workbooksCount"
	GetSpacesSortFieldFilesCount        GetSpacesSortField = "filesCount"
	GetSpacesSortFieldEnvironmentId     GetSpacesSortField = "environmentId"
	GetSpacesSortFieldCreatedByUserName GetSpacesSortField = "createdByUserName"
	GetSpacesSortFieldCreatedAt         GetSpacesSortField = "createdAt"
	GetSpacesSortFieldLastActivityAt    GetSpacesSortField = "lastActivityAt"
)

func NewGetSpacesSortFieldFromString

func NewGetSpacesSortFieldFromString(s string) (GetSpacesSortField, error)

func (GetSpacesSortField) Ptr

type Guardrail added in v0.0.16

type Guardrail struct {
	// Markdown guardrail for this action
	Content string `json:"content" url:"content"`
	// contains filtered or unexported fields
}

func (*Guardrail) GetContent added in v0.0.21

func (g *Guardrail) GetContent() string

func (*Guardrail) GetExtraProperties added in v0.0.16

func (g *Guardrail) GetExtraProperties() map[string]interface{}

func (*Guardrail) String added in v0.0.16

func (g *Guardrail) String() string

func (*Guardrail) UnmarshalJSON added in v0.0.16

func (g *Guardrail) UnmarshalJSON(data []byte) error

type Guest

type Guest struct {
	EnvironmentId EnvironmentId `json:"environmentId" url:"environmentId"`
	Email         string        `json:"email" url:"email"`
	Name          string        `json:"name" url:"name"`
	Spaces        []*GuestSpace `json:"spaces,omitempty" url:"spaces,omitempty"`
	Id            GuestId       `json:"id" url:"id"`
	// Date the guest object was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the guest object was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

func (*Guest) GetCreatedAt added in v0.0.21

func (g *Guest) GetCreatedAt() time.Time

func (*Guest) GetEmail added in v0.0.21

func (g *Guest) GetEmail() string

func (*Guest) GetEnvironmentId added in v0.0.21

func (g *Guest) GetEnvironmentId() EnvironmentId

func (*Guest) GetExtraProperties added in v0.0.14

func (g *Guest) GetExtraProperties() map[string]interface{}

func (*Guest) GetId added in v0.0.21

func (g *Guest) GetId() GuestId

func (*Guest) GetName added in v0.0.21

func (g *Guest) GetName() string

func (*Guest) GetSpaces added in v0.0.21

func (g *Guest) GetSpaces() []*GuestSpace

func (*Guest) GetUpdatedAt added in v0.0.21

func (g *Guest) GetUpdatedAt() time.Time

func (*Guest) MarshalJSON added in v0.0.8

func (g *Guest) MarshalJSON() ([]byte, error)

func (*Guest) String

func (g *Guest) String() string

func (*Guest) UnmarshalJSON

func (g *Guest) UnmarshalJSON(data []byte) error

type GuestAuthenticationEnum

type GuestAuthenticationEnum string

The type of authentication to use for guests

const (
	GuestAuthenticationEnumSharedLink GuestAuthenticationEnum = "shared_link"
	GuestAuthenticationEnumMagicLink  GuestAuthenticationEnum = "magic_link"
)

func NewGuestAuthenticationEnumFromString

func NewGuestAuthenticationEnumFromString(s string) (GuestAuthenticationEnum, error)

func (GuestAuthenticationEnum) Ptr

type GuestConfig

type GuestConfig struct {
	EnvironmentId EnvironmentId `json:"environmentId" url:"environmentId"`
	Email         string        `json:"email" url:"email"`
	Name          string        `json:"name" url:"name"`
	Spaces        []*GuestSpace `json:"spaces,omitempty" url:"spaces,omitempty"`
	// contains filtered or unexported fields
}

Configurations for the guests

func (*GuestConfig) GetEmail added in v0.0.21

func (g *GuestConfig) GetEmail() string

func (*GuestConfig) GetEnvironmentId added in v0.0.21

func (g *GuestConfig) GetEnvironmentId() EnvironmentId

func (*GuestConfig) GetExtraProperties added in v0.0.14

func (g *GuestConfig) GetExtraProperties() map[string]interface{}

func (*GuestConfig) GetName added in v0.0.21

func (g *GuestConfig) GetName() string

func (*GuestConfig) GetSpaces added in v0.0.21

func (g *GuestConfig) GetSpaces() []*GuestSpace

func (*GuestConfig) String

func (g *GuestConfig) String() string

func (*GuestConfig) UnmarshalJSON

func (g *GuestConfig) UnmarshalJSON(data []byte) error

type GuestConfigUpdate

type GuestConfigUpdate struct {
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	Email         *string        `json:"email,omitempty" url:"email,omitempty"`
	Name          *string        `json:"name,omitempty" url:"name,omitempty"`
	Spaces        []*GuestSpace  `json:"spaces,omitempty" url:"spaces,omitempty"`
	// contains filtered or unexported fields
}

Properties used to update an existing guest

func (*GuestConfigUpdate) GetEmail added in v0.0.21

func (g *GuestConfigUpdate) GetEmail() *string

func (*GuestConfigUpdate) GetEnvironmentId added in v0.0.21

func (g *GuestConfigUpdate) GetEnvironmentId() *EnvironmentId

func (*GuestConfigUpdate) GetExtraProperties added in v0.0.14

func (g *GuestConfigUpdate) GetExtraProperties() map[string]interface{}

func (*GuestConfigUpdate) GetName added in v0.0.21

func (g *GuestConfigUpdate) GetName() *string

func (*GuestConfigUpdate) GetSpaces added in v0.0.21

func (g *GuestConfigUpdate) GetSpaces() []*GuestSpace

func (*GuestConfigUpdate) String

func (g *GuestConfigUpdate) String() string

func (*GuestConfigUpdate) UnmarshalJSON

func (g *GuestConfigUpdate) UnmarshalJSON(data []byte) error

type GuestId

type GuestId = string

Guest ID

type GuestResponse

type GuestResponse struct {
	Data *Guest `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuestResponse) GetData added in v0.0.21

func (g *GuestResponse) GetData() *Guest

func (*GuestResponse) GetExtraProperties added in v0.0.14

func (g *GuestResponse) GetExtraProperties() map[string]interface{}

func (*GuestResponse) String

func (g *GuestResponse) String() string

func (*GuestResponse) UnmarshalJSON

func (g *GuestResponse) UnmarshalJSON(data []byte) error

type GuestSpace

type GuestSpace struct {
	Id           SpaceId          `json:"id" url:"id"`
	Workbooks    []*GuestWorkbook `json:"workbooks,omitempty" url:"workbooks,omitempty"`
	LastAccessed *time.Time       `json:"lastAccessed,omitempty" url:"lastAccessed,omitempty"`
	// contains filtered or unexported fields
}

func (*GuestSpace) GetExtraProperties added in v0.0.14

func (g *GuestSpace) GetExtraProperties() map[string]interface{}

func (*GuestSpace) GetId added in v0.0.21

func (g *GuestSpace) GetId() SpaceId

func (*GuestSpace) GetLastAccessed added in v0.0.21

func (g *GuestSpace) GetLastAccessed() *time.Time

func (*GuestSpace) GetWorkbooks added in v0.0.21

func (g *GuestSpace) GetWorkbooks() []*GuestWorkbook

func (*GuestSpace) MarshalJSON added in v0.0.8

func (g *GuestSpace) MarshalJSON() ([]byte, error)

func (*GuestSpace) String

func (g *GuestSpace) String() string

func (*GuestSpace) UnmarshalJSON

func (g *GuestSpace) UnmarshalJSON(data []byte) error

type GuestToken

type GuestToken struct {
	// The token used to authenticate the guest
	Token string `json:"token" url:"token"`
	Valid bool   `json:"valid" url:"valid"`
	// contains filtered or unexported fields
}

func (*GuestToken) GetExtraProperties added in v0.0.14

func (g *GuestToken) GetExtraProperties() map[string]interface{}

func (*GuestToken) GetToken added in v0.0.21

func (g *GuestToken) GetToken() string

func (*GuestToken) GetValid added in v0.0.21

func (g *GuestToken) GetValid() bool

func (*GuestToken) String

func (g *GuestToken) String() string

func (*GuestToken) UnmarshalJSON

func (g *GuestToken) UnmarshalJSON(data []byte) error

type GuestTokenResponse

type GuestTokenResponse struct {
	Data *GuestToken `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuestTokenResponse) GetData added in v0.0.21

func (g *GuestTokenResponse) GetData() *GuestToken

func (*GuestTokenResponse) GetExtraProperties added in v0.0.14

func (g *GuestTokenResponse) GetExtraProperties() map[string]interface{}

func (*GuestTokenResponse) String

func (g *GuestTokenResponse) String() string

func (*GuestTokenResponse) UnmarshalJSON

func (g *GuestTokenResponse) UnmarshalJSON(data []byte) error

type GuestWorkbook

type GuestWorkbook struct {
	Id WorkbookId `json:"id" url:"id"`
	// contains filtered or unexported fields
}

func (*GuestWorkbook) GetExtraProperties added in v0.0.14

func (g *GuestWorkbook) GetExtraProperties() map[string]interface{}

func (*GuestWorkbook) GetId added in v0.0.21

func (g *GuestWorkbook) GetId() WorkbookId

func (*GuestWorkbook) String

func (g *GuestWorkbook) String() string

func (*GuestWorkbook) UnmarshalJSON

func (g *GuestWorkbook) UnmarshalJSON(data []byte) error

type GuidanceApiCreateData added in v0.0.19

type GuidanceApiCreateData struct {
	GuideSlug string `json:"guideSlug" url:"guideSlug"`
	// Options for the guidance
	Options *GuidanceOptions `json:"options,omitempty" url:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*GuidanceApiCreateData) GetExtraProperties added in v0.0.19

func (g *GuidanceApiCreateData) GetExtraProperties() map[string]interface{}

func (*GuidanceApiCreateData) GetGuideSlug added in v0.0.21

func (g *GuidanceApiCreateData) GetGuideSlug() string

func (*GuidanceApiCreateData) GetOptions added in v0.0.21

func (g *GuidanceApiCreateData) GetOptions() *GuidanceOptions

func (*GuidanceApiCreateData) String added in v0.0.19

func (g *GuidanceApiCreateData) String() string

func (*GuidanceApiCreateData) UnmarshalJSON added in v0.0.19

func (g *GuidanceApiCreateData) UnmarshalJSON(data []byte) error

type GuidanceApiUpdateData added in v0.0.19

type GuidanceApiUpdateData struct {
	// Options for the guidance
	Options *GuidanceOptions `json:"options,omitempty" url:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*GuidanceApiUpdateData) GetExtraProperties added in v0.0.19

func (g *GuidanceApiUpdateData) GetExtraProperties() map[string]interface{}

func (*GuidanceApiUpdateData) GetOptions added in v0.0.21

func (g *GuidanceApiUpdateData) GetOptions() *GuidanceOptions

func (*GuidanceApiUpdateData) String added in v0.0.19

func (g *GuidanceApiUpdateData) String() string

func (*GuidanceApiUpdateData) UnmarshalJSON added in v0.0.19

func (g *GuidanceApiUpdateData) UnmarshalJSON(data []byte) error

type GuidanceId added in v0.0.19

type GuidanceId = string

Guidance ID

type GuidanceListResponse added in v0.0.19

type GuidanceListResponse struct {
	Data []*GuidanceResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuidanceListResponse) GetData added in v0.0.21

func (g *GuidanceListResponse) GetData() []*GuidanceResource

func (*GuidanceListResponse) GetExtraProperties added in v0.0.19

func (g *GuidanceListResponse) GetExtraProperties() map[string]interface{}

func (*GuidanceListResponse) String added in v0.0.19

func (g *GuidanceListResponse) String() string

func (*GuidanceListResponse) UnmarshalJSON added in v0.0.19

func (g *GuidanceListResponse) UnmarshalJSON(data []byte) error

type GuidanceOptions added in v0.0.19

type GuidanceOptions struct {
	Target  string      `json:"target" url:"target"`
	Trigger TriggerEnum `json:"trigger" url:"trigger"`
	Type    TypeEnum    `json:"type" url:"type"`
	Role    RoleEnum    `json:"role" url:"role"`
	// contains filtered or unexported fields
}

func (*GuidanceOptions) GetExtraProperties added in v0.0.19

func (g *GuidanceOptions) GetExtraProperties() map[string]interface{}

func (*GuidanceOptions) GetRole added in v0.0.21

func (g *GuidanceOptions) GetRole() RoleEnum

func (*GuidanceOptions) GetTarget added in v0.0.21

func (g *GuidanceOptions) GetTarget() string

func (*GuidanceOptions) GetTrigger added in v0.0.21

func (g *GuidanceOptions) GetTrigger() TriggerEnum

func (*GuidanceOptions) GetType added in v0.0.21

func (g *GuidanceOptions) GetType() TypeEnum

func (*GuidanceOptions) String added in v0.0.19

func (g *GuidanceOptions) String() string

func (*GuidanceOptions) UnmarshalJSON added in v0.0.19

func (g *GuidanceOptions) UnmarshalJSON(data []byte) error

type GuidanceResource added in v0.0.19

type GuidanceResource struct {
	Id        GuidanceId       `json:"id" url:"id"`
	GuideSlug string           `json:"guideSlug" url:"guideSlug"`
	Options   *GuidanceOptions `json:"options,omitempty" url:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*GuidanceResource) GetExtraProperties added in v0.0.19

func (g *GuidanceResource) GetExtraProperties() map[string]interface{}

func (*GuidanceResource) GetGuideSlug added in v0.0.21

func (g *GuidanceResource) GetGuideSlug() string

func (*GuidanceResource) GetId added in v0.0.21

func (g *GuidanceResource) GetId() GuidanceId

func (*GuidanceResource) GetOptions added in v0.0.21

func (g *GuidanceResource) GetOptions() *GuidanceOptions

func (*GuidanceResource) String added in v0.0.19

func (g *GuidanceResource) String() string

func (*GuidanceResource) UnmarshalJSON added in v0.0.19

func (g *GuidanceResource) UnmarshalJSON(data []byte) error

type Guide added in v0.0.16

type Guide struct {
	// Markdown guidance for this action
	Content string `json:"content" url:"content"`
	// contains filtered or unexported fields
}

func (*Guide) GetContent added in v0.0.21

func (g *Guide) GetContent() string

func (*Guide) GetExtraProperties added in v0.0.16

func (g *Guide) GetExtraProperties() map[string]interface{}

func (*Guide) String added in v0.0.16

func (g *Guide) String() string

func (*Guide) UnmarshalJSON added in v0.0.16

func (g *Guide) UnmarshalJSON(data []byte) error

type GuideCreateRequest added in v0.0.19

type GuideCreateRequest struct {
	Description   string                   `json:"description" url:"description"`
	Title         string                   `json:"title" url:"title"`
	Metadata      map[string]interface{}   `json:"metadata,omitempty" url:"metadata,omitempty"`
	Slug          string                   `json:"slug" url:"slug"`
	Versions      []*GuideVersionResource  `json:"versions,omitempty" url:"versions,omitempty"`
	Blocks        []map[string]interface{} `json:"blocks,omitempty" url:"blocks,omitempty"`
	EnvironmentId string                   `json:"environmentId" url:"environmentId"`
	// contains filtered or unexported fields
}

Create a guide

func (*GuideCreateRequest) GetBlocks added in v0.0.21

func (g *GuideCreateRequest) GetBlocks() []map[string]interface{}

func (*GuideCreateRequest) GetDescription added in v0.0.21

func (g *GuideCreateRequest) GetDescription() string

func (*GuideCreateRequest) GetEnvironmentId added in v0.0.21

func (g *GuideCreateRequest) GetEnvironmentId() string

func (*GuideCreateRequest) GetExtraProperties added in v0.0.19

func (g *GuideCreateRequest) GetExtraProperties() map[string]interface{}

func (*GuideCreateRequest) GetMetadata added in v0.0.21

func (g *GuideCreateRequest) GetMetadata() map[string]interface{}

func (*GuideCreateRequest) GetSlug added in v0.0.21

func (g *GuideCreateRequest) GetSlug() string

func (*GuideCreateRequest) GetTitle added in v0.0.21

func (g *GuideCreateRequest) GetTitle() string

func (*GuideCreateRequest) GetVersions added in v0.0.21

func (g *GuideCreateRequest) GetVersions() []*GuideVersionResource

func (*GuideCreateRequest) String added in v0.0.19

func (g *GuideCreateRequest) String() string

func (*GuideCreateRequest) UnmarshalJSON added in v0.0.19

func (g *GuideCreateRequest) UnmarshalJSON(data []byte) error

type GuideDeleteResponse added in v0.0.19

type GuideDeleteResponse struct {
	Data *GuideDeleteResponseData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuideDeleteResponse) GetData added in v0.0.21

func (*GuideDeleteResponse) GetExtraProperties added in v0.0.19

func (g *GuideDeleteResponse) GetExtraProperties() map[string]interface{}

func (*GuideDeleteResponse) String added in v0.0.19

func (g *GuideDeleteResponse) String() string

func (*GuideDeleteResponse) UnmarshalJSON added in v0.0.19

func (g *GuideDeleteResponse) UnmarshalJSON(data []byte) error

type GuideDeleteResponseData added in v0.0.19

type GuideDeleteResponseData struct {
	Success bool `json:"success" url:"success"`
	// contains filtered or unexported fields
}

func (*GuideDeleteResponseData) GetExtraProperties added in v0.0.19

func (g *GuideDeleteResponseData) GetExtraProperties() map[string]interface{}

func (*GuideDeleteResponseData) GetSuccess added in v0.0.21

func (g *GuideDeleteResponseData) GetSuccess() bool

func (*GuideDeleteResponseData) String added in v0.0.19

func (g *GuideDeleteResponseData) String() string

func (*GuideDeleteResponseData) UnmarshalJSON added in v0.0.19

func (g *GuideDeleteResponseData) UnmarshalJSON(data []byte) error

type GuideDetailResponse added in v0.0.19

type GuideDetailResponse struct {
	Data *GuideResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuideDetailResponse) GetData added in v0.0.21

func (g *GuideDetailResponse) GetData() *GuideResource

func (*GuideDetailResponse) GetExtraProperties added in v0.0.19

func (g *GuideDetailResponse) GetExtraProperties() map[string]interface{}

func (*GuideDetailResponse) String added in v0.0.19

func (g *GuideDetailResponse) String() string

func (*GuideDetailResponse) UnmarshalJSON added in v0.0.19

func (g *GuideDetailResponse) UnmarshalJSON(data []byte) error

type GuideId added in v0.0.19

type GuideId = string

Guide ID

type GuideListResponse added in v0.0.19

type GuideListResponse struct {
	Data []*GuideResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuideListResponse) GetData added in v0.0.21

func (g *GuideListResponse) GetData() []*GuideResource

func (*GuideListResponse) GetExtraProperties added in v0.0.19

func (g *GuideListResponse) GetExtraProperties() map[string]interface{}

func (*GuideListResponse) String added in v0.0.19

func (g *GuideListResponse) String() string

func (*GuideListResponse) UnmarshalJSON added in v0.0.19

func (g *GuideListResponse) UnmarshalJSON(data []byte) error

type GuideResource added in v0.0.19

type GuideResource struct {
	Id          GuideId                  `json:"id" url:"id"`
	Description *string                  `json:"description,omitempty" url:"description,omitempty"`
	Metadata    map[string]interface{}   `json:"metadata,omitempty" url:"metadata,omitempty"`
	Slug        string                   `json:"slug" url:"slug"`
	Title       string                   `json:"title" url:"title"`
	Versions    []*GuideVersionResource  `json:"versions,omitempty" url:"versions,omitempty"`
	Blocks      []map[string]interface{} `json:"blocks,omitempty" url:"blocks,omitempty"`
	CreatedAt   time.Time                `json:"createdAt" url:"createdAt"`
	UpdatedAt   time.Time                `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

A guide

func (*GuideResource) GetBlocks added in v0.0.21

func (g *GuideResource) GetBlocks() []map[string]interface{}

func (*GuideResource) GetCreatedAt added in v0.0.21

func (g *GuideResource) GetCreatedAt() time.Time

func (*GuideResource) GetDescription added in v0.0.21

func (g *GuideResource) GetDescription() *string

func (*GuideResource) GetExtraProperties added in v0.0.19

func (g *GuideResource) GetExtraProperties() map[string]interface{}

func (*GuideResource) GetId added in v0.0.21

func (g *GuideResource) GetId() GuideId

func (*GuideResource) GetMetadata added in v0.0.21

func (g *GuideResource) GetMetadata() map[string]interface{}

func (*GuideResource) GetSlug added in v0.0.21

func (g *GuideResource) GetSlug() string

func (*GuideResource) GetTitle added in v0.0.21

func (g *GuideResource) GetTitle() string

func (*GuideResource) GetUpdatedAt added in v0.0.21

func (g *GuideResource) GetUpdatedAt() time.Time

func (*GuideResource) GetVersions added in v0.0.21

func (g *GuideResource) GetVersions() []*GuideVersionResource

func (*GuideResource) MarshalJSON added in v0.0.19

func (g *GuideResource) MarshalJSON() ([]byte, error)

func (*GuideResource) String added in v0.0.19

func (g *GuideResource) String() string

func (*GuideResource) UnmarshalJSON added in v0.0.19

func (g *GuideResource) UnmarshalJSON(data []byte) error

type GuideUpdateRequest added in v0.0.19

type GuideUpdateRequest struct {
	Description   *string                  `json:"description,omitempty" url:"description,omitempty"`
	Title         *string                  `json:"title,omitempty" url:"title,omitempty"`
	Metadata      map[string]interface{}   `json:"metadata,omitempty" url:"metadata,omitempty"`
	Slug          *string                  `json:"slug,omitempty" url:"slug,omitempty"`
	Versions      []*GuideVersionResource  `json:"versions,omitempty" url:"versions,omitempty"`
	Blocks        []map[string]interface{} `json:"blocks,omitempty" url:"blocks,omitempty"`
	EnvironmentId *string                  `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// contains filtered or unexported fields
}

Update a guide

func (*GuideUpdateRequest) GetBlocks added in v0.0.21

func (g *GuideUpdateRequest) GetBlocks() []map[string]interface{}

func (*GuideUpdateRequest) GetDescription added in v0.0.21

func (g *GuideUpdateRequest) GetDescription() *string

func (*GuideUpdateRequest) GetEnvironmentId added in v0.0.21

func (g *GuideUpdateRequest) GetEnvironmentId() *string

func (*GuideUpdateRequest) GetExtraProperties added in v0.0.19

func (g *GuideUpdateRequest) GetExtraProperties() map[string]interface{}

func (*GuideUpdateRequest) GetMetadata added in v0.0.21

func (g *GuideUpdateRequest) GetMetadata() map[string]interface{}

func (*GuideUpdateRequest) GetSlug added in v0.0.21

func (g *GuideUpdateRequest) GetSlug() *string

func (*GuideUpdateRequest) GetTitle added in v0.0.21

func (g *GuideUpdateRequest) GetTitle() *string

func (*GuideUpdateRequest) GetVersions added in v0.0.21

func (g *GuideUpdateRequest) GetVersions() []*GuideVersionResource

func (*GuideUpdateRequest) String added in v0.0.19

func (g *GuideUpdateRequest) String() string

func (*GuideUpdateRequest) UnmarshalJSON added in v0.0.19

func (g *GuideUpdateRequest) UnmarshalJSON(data []byte) error

type GuideVersionResource added in v0.0.19

type GuideVersionResource struct {
	Id        string    `json:"id" url:"id"`
	Version   int       `json:"version" url:"version"`
	Content   string    `json:"content" url:"content"`
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

A version of a guide

func (*GuideVersionResource) GetContent added in v0.0.21

func (g *GuideVersionResource) GetContent() string

func (*GuideVersionResource) GetCreatedAt added in v0.0.21

func (g *GuideVersionResource) GetCreatedAt() time.Time

func (*GuideVersionResource) GetExtraProperties added in v0.0.19

func (g *GuideVersionResource) GetExtraProperties() map[string]interface{}

func (*GuideVersionResource) GetId added in v0.0.21

func (g *GuideVersionResource) GetId() string

func (*GuideVersionResource) GetUpdatedAt added in v0.0.21

func (g *GuideVersionResource) GetUpdatedAt() time.Time

func (*GuideVersionResource) GetVersion added in v0.0.21

func (g *GuideVersionResource) GetVersion() int

func (*GuideVersionResource) MarshalJSON added in v0.0.19

func (g *GuideVersionResource) MarshalJSON() ([]byte, error)

func (*GuideVersionResource) String added in v0.0.19

func (g *GuideVersionResource) String() string

func (*GuideVersionResource) UnmarshalJSON added in v0.0.19

func (g *GuideVersionResource) UnmarshalJSON(data []byte) error

type GuideVersionResponse added in v0.0.19

type GuideVersionResponse struct {
	Data *GuideVersionResource `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GuideVersionResponse) GetData added in v0.0.21

func (*GuideVersionResponse) GetExtraProperties added in v0.0.19

func (g *GuideVersionResponse) GetExtraProperties() map[string]interface{}

func (*GuideVersionResponse) String added in v0.0.19

func (g *GuideVersionResponse) String() string

func (*GuideVersionResponse) UnmarshalJSON added in v0.0.19

func (g *GuideVersionResponse) UnmarshalJSON(data []byte) error

type IncludeCounts

type IncludeCounts = bool

When both distinct and includeCounts are true, the count of distinct field values will be returned

type InputConfig

type InputConfig struct {
	Options []*InputEnumPropertyOption `json:"options,omitempty" url:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*InputConfig) GetExtraProperties added in v0.0.14

func (i *InputConfig) GetExtraProperties() map[string]interface{}

func (*InputConfig) GetOptions added in v0.0.21

func (i *InputConfig) GetOptions() []*InputEnumPropertyOption

func (*InputConfig) String

func (i *InputConfig) String() string

func (*InputConfig) UnmarshalJSON

func (i *InputConfig) UnmarshalJSON(data []byte) error

type InputConstraint

type InputConstraint struct {
	Type InputConstraintType `json:"type" url:"type"`
	// contains filtered or unexported fields
}

func (*InputConstraint) GetExtraProperties added in v0.0.14

func (i *InputConstraint) GetExtraProperties() map[string]interface{}

func (*InputConstraint) GetType added in v0.0.21

func (i *InputConstraint) GetType() InputConstraintType

func (*InputConstraint) String

func (i *InputConstraint) String() string

func (*InputConstraint) UnmarshalJSON

func (i *InputConstraint) UnmarshalJSON(data []byte) error

type InputConstraintType

type InputConstraintType string
const (
	InputConstraintTypeRequired InputConstraintType = "required"
)

func NewInputConstraintTypeFromString

func NewInputConstraintTypeFromString(s string) (InputConstraintType, error)

func (InputConstraintType) Ptr

type InputEnumPropertyOption

type InputEnumPropertyOption struct {
	// A visual label for this option, defaults to value if not provided
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description for this option
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// An optional color to assign this option
	Color *string `json:"color,omitempty" url:"color,omitempty"`
	// A reference pointer to a previously registered icon
	Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
	// An arbitrary JSON object to be associated with this option and made available to hooks
	Meta map[string]interface{} `json:"meta,omitempty" url:"meta,omitempty"`
	// The value or ID of this option. This value will be sent in egress. The type is a string | integer | boolean.
	Value interface{} `json:"value,omitempty" url:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*InputEnumPropertyOption) GetColor added in v0.0.21

func (i *InputEnumPropertyOption) GetColor() *string

func (*InputEnumPropertyOption) GetDescription added in v0.0.21

func (i *InputEnumPropertyOption) GetDescription() *string

func (*InputEnumPropertyOption) GetExtraProperties added in v0.0.14

func (i *InputEnumPropertyOption) GetExtraProperties() map[string]interface{}

func (*InputEnumPropertyOption) GetIcon added in v0.0.21

func (i *InputEnumPropertyOption) GetIcon() *string

func (*InputEnumPropertyOption) GetLabel added in v0.0.21

func (i *InputEnumPropertyOption) GetLabel() *string

func (*InputEnumPropertyOption) GetMeta added in v0.0.21

func (i *InputEnumPropertyOption) GetMeta() map[string]interface{}

func (*InputEnumPropertyOption) GetValue added in v0.0.21

func (i *InputEnumPropertyOption) GetValue() interface{}

func (*InputEnumPropertyOption) String

func (i *InputEnumPropertyOption) String() string

func (*InputEnumPropertyOption) UnmarshalJSON

func (i *InputEnumPropertyOption) UnmarshalJSON(data []byte) error

type InputField

type InputField struct {
	// Unique key for a Field.
	Key string `json:"key" url:"key"`
	// Visible name of a Field.
	Label string `json:"label" url:"label"`
	// Brief description below the name of the Field.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// Field Types inform the user interface how to sort and display data.
	Type string `json:"type" url:"type"`
	// Default value for a Field.
	DefaultValue interface{} `json:"defaultValue,omitempty" url:"defaultValue,omitempty"`
	// Additional configuration for enum Fields.
	Config *InputConfig `json:"config,omitempty" url:"config,omitempty"`
	// Indicate additional validations that will be applied to the Field.
	Constraints []*InputConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	// contains filtered or unexported fields
}

func (*InputField) GetConfig added in v0.0.21

func (i *InputField) GetConfig() *InputConfig

func (*InputField) GetConstraints added in v0.0.21

func (i *InputField) GetConstraints() []*InputConstraint

func (*InputField) GetDefaultValue added in v0.0.21

func (i *InputField) GetDefaultValue() interface{}

func (*InputField) GetDescription added in v0.0.21

func (i *InputField) GetDescription() *string

func (*InputField) GetExtraProperties added in v0.0.14

func (i *InputField) GetExtraProperties() map[string]interface{}

func (*InputField) GetKey added in v0.0.21

func (i *InputField) GetKey() string

func (*InputField) GetLabel added in v0.0.21

func (i *InputField) GetLabel() string

func (*InputField) GetType added in v0.0.21

func (i *InputField) GetType() string

func (*InputField) String

func (i *InputField) String() string

func (*InputField) UnmarshalJSON

func (i *InputField) UnmarshalJSON(data []byte) error

type InputForm

type InputForm struct {
	Type   InputFormType `json:"type" url:"type"`
	Fields []*InputField `json:"fields,omitempty" url:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*InputForm) GetExtraProperties added in v0.0.14

func (i *InputForm) GetExtraProperties() map[string]interface{}

func (*InputForm) GetFields added in v0.0.21

func (i *InputForm) GetFields() []*InputField

func (*InputForm) GetType added in v0.0.21

func (i *InputForm) GetType() InputFormType

func (*InputForm) String

func (i *InputForm) String() string

func (*InputForm) UnmarshalJSON

func (i *InputForm) UnmarshalJSON(data []byte) error

type InputFormType

type InputFormType string
const (
	InputFormTypeSimple InputFormType = "simple"
)

func NewInputFormTypeFromString

func NewInputFormTypeFromString(s string) (InputFormType, error)

func (InputFormType) Ptr

func (i InputFormType) Ptr() *InputFormType

type InternalSpaceConfigBase

type InternalSpaceConfigBase struct {
	SpaceConfigId *SpaceConfigId `json:"spaceConfigId,omitempty" url:"spaceConfigId,omitempty"`
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The ID of the primary workbook for the space. This should not be included in create space requests.
	PrimaryWorkbookId *WorkbookId `json:"primaryWorkbookId,omitempty" url:"primaryWorkbookId,omitempty"`
	// Metadata for the space
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// The Space settings.
	Settings         *SpaceSettings `json:"settings,omitempty" url:"settings,omitempty"`
	Actions          []*Action      `json:"actions,omitempty" url:"actions,omitempty"`
	Access           []SpaceAccess  `json:"access,omitempty" url:"access,omitempty"`
	AutoConfigure    *bool          `json:"autoConfigure,omitempty" url:"autoConfigure,omitempty"`
	Namespace        *string        `json:"namespace,omitempty" url:"namespace,omitempty"`
	Labels           []string       `json:"labels,omitempty" url:"labels,omitempty"`
	TranslationsPath *string        `json:"translationsPath,omitempty" url:"translationsPath,omitempty"`
	LanguageOverride *string        `json:"languageOverride,omitempty" url:"languageOverride,omitempty"`
	// Date when space was archived
	ArchivedAt *time.Time `json:"archivedAt,omitempty" url:"archivedAt,omitempty"`
	// The ID of the App that space is associated with
	AppId *AppId `json:"appId,omitempty" url:"appId,omitempty"`
	// Whether the space is an app template. Only one space per app can be an app template.
	IsAppTemplate *bool `json:"isAppTemplate,omitempty" url:"isAppTemplate,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalSpaceConfigBase) GetAccess added in v0.0.21

func (i *InternalSpaceConfigBase) GetAccess() []SpaceAccess

func (*InternalSpaceConfigBase) GetActions added in v0.0.21

func (i *InternalSpaceConfigBase) GetActions() []*Action

func (*InternalSpaceConfigBase) GetAppId added in v0.0.21

func (i *InternalSpaceConfigBase) GetAppId() *AppId

func (*InternalSpaceConfigBase) GetArchivedAt added in v0.0.21

func (i *InternalSpaceConfigBase) GetArchivedAt() *time.Time

func (*InternalSpaceConfigBase) GetAutoConfigure added in v0.0.21

func (i *InternalSpaceConfigBase) GetAutoConfigure() *bool

func (*InternalSpaceConfigBase) GetEnvironmentId added in v0.0.21

func (i *InternalSpaceConfigBase) GetEnvironmentId() *EnvironmentId

func (*InternalSpaceConfigBase) GetExtraProperties added in v0.0.14

func (i *InternalSpaceConfigBase) GetExtraProperties() map[string]interface{}

func (*InternalSpaceConfigBase) GetIsAppTemplate added in v0.0.21

func (i *InternalSpaceConfigBase) GetIsAppTemplate() *bool

func (*InternalSpaceConfigBase) GetLabels added in v0.0.21

func (i *InternalSpaceConfigBase) GetLabels() []string

func (*InternalSpaceConfigBase) GetLanguageOverride added in v0.0.21

func (i *InternalSpaceConfigBase) GetLanguageOverride() *string

func (*InternalSpaceConfigBase) GetMetadata added in v0.0.21

func (i *InternalSpaceConfigBase) GetMetadata() interface{}

func (*InternalSpaceConfigBase) GetNamespace added in v0.0.21

func (i *InternalSpaceConfigBase) GetNamespace() *string

func (*InternalSpaceConfigBase) GetPrimaryWorkbookId added in v0.0.21

func (i *InternalSpaceConfigBase) GetPrimaryWorkbookId() *WorkbookId

func (*InternalSpaceConfigBase) GetSettings added in v0.0.21

func (i *InternalSpaceConfigBase) GetSettings() *SpaceSettings

func (*InternalSpaceConfigBase) GetSpaceConfigId added in v0.0.21

func (i *InternalSpaceConfigBase) GetSpaceConfigId() *SpaceConfigId

func (*InternalSpaceConfigBase) GetTranslationsPath added in v0.0.21

func (i *InternalSpaceConfigBase) GetTranslationsPath() *string

func (*InternalSpaceConfigBase) MarshalJSON added in v0.0.8

func (i *InternalSpaceConfigBase) MarshalJSON() ([]byte, error)

func (*InternalSpaceConfigBase) String

func (i *InternalSpaceConfigBase) String() string

func (*InternalSpaceConfigBase) UnmarshalJSON

func (i *InternalSpaceConfigBase) UnmarshalJSON(data []byte) error

type Invite

type Invite struct {
	GuestId GuestId `json:"guestId" url:"guestId"`
	SpaceId SpaceId `json:"spaceId" url:"spaceId"`
	// The name of the person or company sending the invitation
	FromName *string `json:"fromName,omitempty" url:"fromName,omitempty"`
	// Message to send with the invite
	Message *string `json:"message,omitempty" url:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Invite) GetExtraProperties added in v0.0.14

func (i *Invite) GetExtraProperties() map[string]interface{}

func (*Invite) GetFromName added in v0.0.21

func (i *Invite) GetFromName() *string

func (*Invite) GetGuestId added in v0.0.21

func (i *Invite) GetGuestId() GuestId

func (*Invite) GetMessage added in v0.0.21

func (i *Invite) GetMessage() *string

func (*Invite) GetSpaceId added in v0.0.21

func (i *Invite) GetSpaceId() SpaceId

func (*Invite) String

func (i *Invite) String() string

func (*Invite) UnmarshalJSON

func (i *Invite) UnmarshalJSON(data []byte) error

type Job

type Job struct {
	// The type of job
	Type JobType `json:"type" url:"type"`
	// the type of operation to perform on the data. For example, "export".
	Operation   string           `json:"operation" url:"operation"`
	Source      JobSource        `json:"source" url:"source"`
	Destination *JobDestination  `json:"destination,omitempty" url:"destination,omitempty"`
	Config      *JobUpdateConfig `json:"config,omitempty" url:"config,omitempty"`
	// the type of trigger to use for this job
	Trigger *Trigger `json:"trigger,omitempty" url:"trigger,omitempty"`
	// the status of the job
	Status *JobStatus `json:"status,omitempty" url:"status,omitempty"`
	// the progress of the job. Whole number between 0 and 100
	Progress *int    `json:"progress,omitempty" url:"progress,omitempty"`
	FileId   *FileId `json:"fileId,omitempty" url:"fileId,omitempty"`
	// the mode of the job
	Mode *JobMode `json:"mode,omitempty" url:"mode,omitempty"`
	// Input parameters for this job type.
	Input map[string]interface{} `json:"input,omitempty" url:"input,omitempty"`
	// Subject parameters for this job type.
	Subject *JobSubject `json:"subject,omitempty" url:"subject,omitempty"`
	// Outcome summary of job.
	Outcome map[string]interface{} `json:"outcome,omitempty" url:"outcome,omitempty"`
	// Current status of job in text
	Info *string `json:"info,omitempty" url:"info,omitempty"`
	// Indicates if Flatfile is managing the control flow of this job or if it is being manually tracked.
	Managed *bool `json:"managed,omitempty" url:"managed,omitempty"`
	// The id of the environment this job belongs to
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The part number of this job
	Part *int `json:"part,omitempty" url:"part,omitempty"`
	// The data for this part of the job
	PartData map[string]interface{} `json:"partData,omitempty" url:"partData,omitempty"`
	// The execution mode for this part of the job
	PartExecution *JobPartExecution `json:"partExecution,omitempty" url:"partExecution,omitempty"`
	// The id of the parent job
	ParentId *JobId `json:"parentId,omitempty" url:"parentId,omitempty"`
	// The ids of the jobs that must complete before this job can start
	PredecessorIds []JobId `json:"predecessorIds,omitempty" url:"predecessorIds,omitempty"`
	// Additional metadata for the job
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Id       JobId                  `json:"id" url:"id"`
	// Date the item was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the item was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// the time that the job started at
	StartedAt *time.Time `json:"startedAt,omitempty" url:"startedAt,omitempty"`
	// the time that the job finished at
	FinishedAt *time.Time `json:"finishedAt,omitempty" url:"finishedAt,omitempty"`
	// the time that the job's outcome has been acknowledged by a user
	OutcomeAcknowledgedAt *time.Time `json:"outcomeAcknowledgedAt,omitempty" url:"outcomeAcknowledgedAt,omitempty"`
	// contains filtered or unexported fields
}

A single unit of work that will execute asynchronously

func (*Job) GetConfig added in v0.0.21

func (j *Job) GetConfig() *JobUpdateConfig

func (*Job) GetCreatedAt added in v0.0.21

func (j *Job) GetCreatedAt() time.Time

func (*Job) GetDestination added in v0.0.21

func (j *Job) GetDestination() *JobDestination

func (*Job) GetEnvironmentId added in v0.0.21

func (j *Job) GetEnvironmentId() *EnvironmentId

func (*Job) GetExtraProperties added in v0.0.14

func (j *Job) GetExtraProperties() map[string]interface{}

func (*Job) GetFileId added in v0.0.21

func (j *Job) GetFileId() *FileId

func (*Job) GetFinishedAt added in v0.0.21

func (j *Job) GetFinishedAt() *time.Time

func (*Job) GetId added in v0.0.21

func (j *Job) GetId() JobId

func (*Job) GetInfo added in v0.0.21

func (j *Job) GetInfo() *string

func (*Job) GetInput added in v0.0.21

func (j *Job) GetInput() map[string]interface{}

func (*Job) GetManaged added in v0.0.21

func (j *Job) GetManaged() *bool

func (*Job) GetMetadata added in v0.0.21

func (j *Job) GetMetadata() map[string]interface{}

func (*Job) GetMode added in v0.0.21

func (j *Job) GetMode() *JobMode

func (*Job) GetOperation added in v0.0.21

func (j *Job) GetOperation() string

func (*Job) GetOutcome added in v0.0.21

func (j *Job) GetOutcome() map[string]interface{}

func (*Job) GetOutcomeAcknowledgedAt added in v0.0.21

func (j *Job) GetOutcomeAcknowledgedAt() *time.Time

func (*Job) GetParentId added in v0.0.21

func (j *Job) GetParentId() *JobId

func (*Job) GetPart added in v0.0.21

func (j *Job) GetPart() *int

func (*Job) GetPartData added in v0.0.21

func (j *Job) GetPartData() map[string]interface{}

func (*Job) GetPartExecution added in v0.0.21

func (j *Job) GetPartExecution() *JobPartExecution

func (*Job) GetPredecessorIds added in v0.0.21

func (j *Job) GetPredecessorIds() []JobId

func (*Job) GetProgress added in v0.0.21

func (j *Job) GetProgress() *int

func (*Job) GetSource added in v0.0.21

func (j *Job) GetSource() JobSource

func (*Job) GetStartedAt added in v0.0.21

func (j *Job) GetStartedAt() *time.Time

func (*Job) GetStatus added in v0.0.21

func (j *Job) GetStatus() *JobStatus

func (*Job) GetSubject added in v0.0.21

func (j *Job) GetSubject() *JobSubject

func (*Job) GetTrigger added in v0.0.21

func (j *Job) GetTrigger() *Trigger

func (*Job) GetType added in v0.0.21

func (j *Job) GetType() JobType

func (*Job) GetUpdatedAt added in v0.0.21

func (j *Job) GetUpdatedAt() time.Time

func (*Job) MarshalJSON added in v0.0.8

func (j *Job) MarshalJSON() ([]byte, error)

func (*Job) String

func (j *Job) String() string

func (*Job) UnmarshalJSON

func (j *Job) UnmarshalJSON(data []byte) error

type JobAckDetails

type JobAckDetails struct {
	Info *string `json:"info,omitempty" url:"info,omitempty"`
	// the progress of the job. Whole number between 0 and 100
	Progress              *int       `json:"progress,omitempty" url:"progress,omitempty"`
	EstimatedCompletionAt *time.Time `json:"estimatedCompletionAt,omitempty" url:"estimatedCompletionAt,omitempty"`
	// contains filtered or unexported fields
}

Details about the user who acknowledged the job

func (*JobAckDetails) GetEstimatedCompletionAt added in v0.0.21

func (j *JobAckDetails) GetEstimatedCompletionAt() *time.Time

func (*JobAckDetails) GetExtraProperties added in v0.0.14

func (j *JobAckDetails) GetExtraProperties() map[string]interface{}

func (*JobAckDetails) GetInfo added in v0.0.21

func (j *JobAckDetails) GetInfo() *string

func (*JobAckDetails) GetProgress added in v0.0.21

func (j *JobAckDetails) GetProgress() *int

func (*JobAckDetails) MarshalJSON added in v0.0.8

func (j *JobAckDetails) MarshalJSON() ([]byte, error)

func (*JobAckDetails) String

func (j *JobAckDetails) String() string

func (*JobAckDetails) UnmarshalJSON

func (j *JobAckDetails) UnmarshalJSON(data []byte) error

type JobCancelDetails

type JobCancelDetails struct {
	Info *string `json:"info,omitempty" url:"info,omitempty"`
	// contains filtered or unexported fields
}

Info about the reason the job was canceled

func (*JobCancelDetails) GetExtraProperties added in v0.0.14

func (j *JobCancelDetails) GetExtraProperties() map[string]interface{}

func (*JobCancelDetails) GetInfo added in v0.0.21

func (j *JobCancelDetails) GetInfo() *string

func (*JobCancelDetails) String

func (j *JobCancelDetails) String() string

func (*JobCancelDetails) UnmarshalJSON

func (j *JobCancelDetails) UnmarshalJSON(data []byte) error

type JobCompleteDetails

type JobCompleteDetails struct {
	Outcome *JobOutcome `json:"outcome,omitempty" url:"outcome,omitempty"`
	Info    *string     `json:"info,omitempty" url:"info,omitempty"`
	// contains filtered or unexported fields
}

Outcome summary of a job

func (*JobCompleteDetails) GetExtraProperties added in v0.0.14

func (j *JobCompleteDetails) GetExtraProperties() map[string]interface{}

func (*JobCompleteDetails) GetInfo added in v0.0.21

func (j *JobCompleteDetails) GetInfo() *string

func (*JobCompleteDetails) GetOutcome added in v0.0.21

func (j *JobCompleteDetails) GetOutcome() *JobOutcome

func (*JobCompleteDetails) String

func (j *JobCompleteDetails) String() string

func (*JobCompleteDetails) UnmarshalJSON

func (j *JobCompleteDetails) UnmarshalJSON(data []byte) error

type JobConfig

type JobConfig struct {
	// The type of job
	Type JobType `json:"type" url:"type"`
	// the type of operation to perform on the data. For example, "export".
	Operation   string           `json:"operation" url:"operation"`
	Source      JobSource        `json:"source" url:"source"`
	Destination *JobDestination  `json:"destination,omitempty" url:"destination,omitempty"`
	Config      *JobUpdateConfig `json:"config,omitempty" url:"config,omitempty"`
	// the type of trigger to use for this job
	Trigger *Trigger `json:"trigger,omitempty" url:"trigger,omitempty"`
	// the status of the job
	Status *JobStatus `json:"status,omitempty" url:"status,omitempty"`
	// the progress of the job. Whole number between 0 and 100
	Progress *int    `json:"progress,omitempty" url:"progress,omitempty"`
	FileId   *FileId `json:"fileId,omitempty" url:"fileId,omitempty"`
	// the mode of the job
	Mode *JobMode `json:"mode,omitempty" url:"mode,omitempty"`
	// Input parameters for this job type.
	Input map[string]interface{} `json:"input,omitempty" url:"input,omitempty"`
	// Subject parameters for this job type.
	Subject *JobSubject `json:"subject,omitempty" url:"subject,omitempty"`
	// Outcome summary of job.
	Outcome map[string]interface{} `json:"outcome,omitempty" url:"outcome,omitempty"`
	// Current status of job in text
	Info *string `json:"info,omitempty" url:"info,omitempty"`
	// Indicates if Flatfile is managing the control flow of this job or if it is being manually tracked.
	Managed *bool `json:"managed,omitempty" url:"managed,omitempty"`
	// The id of the environment this job belongs to
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The part number of this job
	Part *int `json:"part,omitempty" url:"part,omitempty"`
	// The data for this part of the job
	PartData map[string]interface{} `json:"partData,omitempty" url:"partData,omitempty"`
	// The execution mode for this part of the job
	PartExecution *JobPartExecution `json:"partExecution,omitempty" url:"partExecution,omitempty"`
	// The id of the parent job
	ParentId *JobId `json:"parentId,omitempty" url:"parentId,omitempty"`
	// The ids of the jobs that must complete before this job can start
	PredecessorIds []JobId `json:"predecessorIds,omitempty" url:"predecessorIds,omitempty"`
	// Additional metadata for the job
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

A single unit of work that a pipeline will execute

func (*JobConfig) GetConfig added in v0.0.21

func (j *JobConfig) GetConfig() *JobUpdateConfig

func (*JobConfig) GetDestination added in v0.0.21

func (j *JobConfig) GetDestination() *JobDestination

func (*JobConfig) GetEnvironmentId added in v0.0.21

func (j *JobConfig) GetEnvironmentId() *EnvironmentId

func (*JobConfig) GetExtraProperties added in v0.0.14

func (j *JobConfig) GetExtraProperties() map[string]interface{}

func (*JobConfig) GetFileId added in v0.0.21

func (j *JobConfig) GetFileId() *FileId

func (*JobConfig) GetInfo added in v0.0.21

func (j *JobConfig) GetInfo() *string

func (*JobConfig) GetInput added in v0.0.21

func (j *JobConfig) GetInput() map[string]interface{}

func (*JobConfig) GetManaged added in v0.0.21

func (j *JobConfig) GetManaged() *bool

func (*JobConfig) GetMetadata added in v0.0.21

func (j *JobConfig) GetMetadata() map[string]interface{}

func (*JobConfig) GetMode added in v0.0.21

func (j *JobConfig) GetMode() *JobMode

func (*JobConfig) GetOperation added in v0.0.21

func (j *JobConfig) GetOperation() string

func (*JobConfig) GetOutcome added in v0.0.21

func (j *JobConfig) GetOutcome() map[string]interface{}

func (*JobConfig) GetParentId added in v0.0.21

func (j *JobConfig) GetParentId() *JobId

func (*JobConfig) GetPart added in v0.0.21

func (j *JobConfig) GetPart() *int

func (*JobConfig) GetPartData added in v0.0.21

func (j *JobConfig) GetPartData() map[string]interface{}

func (*JobConfig) GetPartExecution added in v0.0.21

func (j *JobConfig) GetPartExecution() *JobPartExecution

func (*JobConfig) GetPredecessorIds added in v0.0.21

func (j *JobConfig) GetPredecessorIds() []JobId

func (*JobConfig) GetProgress added in v0.0.21

func (j *JobConfig) GetProgress() *int

func (*JobConfig) GetSource added in v0.0.21

func (j *JobConfig) GetSource() JobSource

func (*JobConfig) GetStatus added in v0.0.21

func (j *JobConfig) GetStatus() *JobStatus

func (*JobConfig) GetSubject added in v0.0.21

func (j *JobConfig) GetSubject() *JobSubject

func (*JobConfig) GetTrigger added in v0.0.21

func (j *JobConfig) GetTrigger() *Trigger

func (*JobConfig) GetType added in v0.0.21

func (j *JobConfig) GetType() JobType

func (*JobConfig) String

func (j *JobConfig) String() string

func (*JobConfig) UnmarshalJSON

func (j *JobConfig) UnmarshalJSON(data []byte) error

type JobDestination

type JobDestination = WorkbookId

The id of the workbook where extracted file data will be sent

type JobExecutionPlan

type JobExecutionPlan struct {
	FieldMapping              []*Edge             `json:"fieldMapping,omitempty" url:"fieldMapping,omitempty"`
	UnmappedSourceFields      []*SourceField      `json:"unmappedSourceFields,omitempty" url:"unmappedSourceFields,omitempty"`
	UnmappedDestinationFields []*DestinationField `json:"unmappedDestinationFields,omitempty" url:"unmappedDestinationFields,omitempty"`
	ProgramId                 *string             `json:"programId,omitempty" url:"programId,omitempty"`
	// contains filtered or unexported fields
}

The execution plan for a job, for example, for a map job, the execution plan is the mapping of the source sheet to the destination sheet.

func (*JobExecutionPlan) GetExtraProperties added in v0.0.14

func (j *JobExecutionPlan) GetExtraProperties() map[string]interface{}

func (*JobExecutionPlan) GetFieldMapping added in v0.0.21

func (j *JobExecutionPlan) GetFieldMapping() []*Edge

func (*JobExecutionPlan) GetProgramId added in v0.0.21

func (j *JobExecutionPlan) GetProgramId() *string

func (*JobExecutionPlan) GetUnmappedDestinationFields added in v0.0.21

func (j *JobExecutionPlan) GetUnmappedDestinationFields() []*DestinationField

func (*JobExecutionPlan) GetUnmappedSourceFields added in v0.0.21

func (j *JobExecutionPlan) GetUnmappedSourceFields() []*SourceField

func (*JobExecutionPlan) String

func (j *JobExecutionPlan) String() string

func (*JobExecutionPlan) UnmarshalJSON

func (j *JobExecutionPlan) UnmarshalJSON(data []byte) error

type JobExecutionPlanConfig

type JobExecutionPlanConfig struct {
	FieldMapping              []*Edge             `json:"fieldMapping,omitempty" url:"fieldMapping,omitempty"`
	UnmappedSourceFields      []*SourceField      `json:"unmappedSourceFields,omitempty" url:"unmappedSourceFields,omitempty"`
	UnmappedDestinationFields []*DestinationField `json:"unmappedDestinationFields,omitempty" url:"unmappedDestinationFields,omitempty"`
	ProgramId                 *string             `json:"programId,omitempty" url:"programId,omitempty"`
	// contains filtered or unexported fields
}

The execution plan for a job, for example, for a map job, the execution plan is the mapping of the source sheet to the destination sheet.

func (*JobExecutionPlanConfig) GetExtraProperties added in v0.0.14

func (j *JobExecutionPlanConfig) GetExtraProperties() map[string]interface{}

func (*JobExecutionPlanConfig) GetFieldMapping added in v0.0.21

func (j *JobExecutionPlanConfig) GetFieldMapping() []*Edge

func (*JobExecutionPlanConfig) GetProgramId added in v0.0.21

func (j *JobExecutionPlanConfig) GetProgramId() *string

func (*JobExecutionPlanConfig) GetUnmappedDestinationFields added in v0.0.21

func (j *JobExecutionPlanConfig) GetUnmappedDestinationFields() []*DestinationField

func (*JobExecutionPlanConfig) GetUnmappedSourceFields added in v0.0.21

func (j *JobExecutionPlanConfig) GetUnmappedSourceFields() []*SourceField

func (*JobExecutionPlanConfig) String

func (j *JobExecutionPlanConfig) String() string

func (*JobExecutionPlanConfig) UnmarshalJSON

func (j *JobExecutionPlanConfig) UnmarshalJSON(data []byte) error

type JobExecutionPlanConfigRequest

type JobExecutionPlanConfigRequest struct {
	FieldMapping              []*Edge             `json:"fieldMapping,omitempty" url:"fieldMapping,omitempty"`
	UnmappedSourceFields      []*SourceField      `json:"unmappedSourceFields,omitempty" url:"unmappedSourceFields,omitempty"`
	UnmappedDestinationFields []*DestinationField `json:"unmappedDestinationFields,omitempty" url:"unmappedDestinationFields,omitempty"`
	ProgramId                 *string             `json:"programId,omitempty" url:"programId,omitempty"`
	FileId                    FileId              `json:"fileId" url:"fileId"`
	JobId                     JobId               `json:"jobId" url:"jobId"`
	// contains filtered or unexported fields
}

func (*JobExecutionPlanConfigRequest) GetExtraProperties added in v0.0.14

func (j *JobExecutionPlanConfigRequest) GetExtraProperties() map[string]interface{}

func (*JobExecutionPlanConfigRequest) GetFieldMapping added in v0.0.21

func (j *JobExecutionPlanConfigRequest) GetFieldMapping() []*Edge

func (*JobExecutionPlanConfigRequest) GetFileId added in v0.0.21

func (j *JobExecutionPlanConfigRequest) GetFileId() FileId

func (*JobExecutionPlanConfigRequest) GetJobId added in v0.0.21

func (j *JobExecutionPlanConfigRequest) GetJobId() JobId

func (*JobExecutionPlanConfigRequest) GetProgramId added in v0.0.21

func (j *JobExecutionPlanConfigRequest) GetProgramId() *string

func (*JobExecutionPlanConfigRequest) GetUnmappedDestinationFields added in v0.0.21

func (j *JobExecutionPlanConfigRequest) GetUnmappedDestinationFields() []*DestinationField

func (*JobExecutionPlanConfigRequest) GetUnmappedSourceFields added in v0.0.21

func (j *JobExecutionPlanConfigRequest) GetUnmappedSourceFields() []*SourceField

func (*JobExecutionPlanConfigRequest) String

func (*JobExecutionPlanConfigRequest) UnmarshalJSON

func (j *JobExecutionPlanConfigRequest) UnmarshalJSON(data []byte) error

type JobExecutionPlanRequest

type JobExecutionPlanRequest struct {
	FieldMapping              []*Edge             `json:"fieldMapping,omitempty" url:"fieldMapping,omitempty"`
	UnmappedSourceFields      []*SourceField      `json:"unmappedSourceFields,omitempty" url:"unmappedSourceFields,omitempty"`
	UnmappedDestinationFields []*DestinationField `json:"unmappedDestinationFields,omitempty" url:"unmappedDestinationFields,omitempty"`
	ProgramId                 *string             `json:"programId,omitempty" url:"programId,omitempty"`
	FileId                    FileId              `json:"fileId" url:"fileId"`
	JobId                     JobId               `json:"jobId" url:"jobId"`
	// contains filtered or unexported fields
}

func (*JobExecutionPlanRequest) GetExtraProperties added in v0.0.14

func (j *JobExecutionPlanRequest) GetExtraProperties() map[string]interface{}

func (*JobExecutionPlanRequest) GetFieldMapping added in v0.0.21

func (j *JobExecutionPlanRequest) GetFieldMapping() []*Edge

func (*JobExecutionPlanRequest) GetFileId added in v0.0.21

func (j *JobExecutionPlanRequest) GetFileId() FileId

func (*JobExecutionPlanRequest) GetJobId added in v0.0.21

func (j *JobExecutionPlanRequest) GetJobId() JobId

func (*JobExecutionPlanRequest) GetProgramId added in v0.0.21

func (j *JobExecutionPlanRequest) GetProgramId() *string

func (*JobExecutionPlanRequest) GetUnmappedDestinationFields added in v0.0.21

func (j *JobExecutionPlanRequest) GetUnmappedDestinationFields() []*DestinationField

func (*JobExecutionPlanRequest) GetUnmappedSourceFields added in v0.0.21

func (j *JobExecutionPlanRequest) GetUnmappedSourceFields() []*SourceField

func (*JobExecutionPlanRequest) String

func (j *JobExecutionPlanRequest) String() string

func (*JobExecutionPlanRequest) UnmarshalJSON

func (j *JobExecutionPlanRequest) UnmarshalJSON(data []byte) error

type JobId

type JobId = string

Pipeline Job ID

type JobMode

type JobMode string

the mode of the job

const (
	JobModeForeground      JobMode = "foreground"
	JobModeBackground      JobMode = "background"
	JobModeToolbarBlocking JobMode = "toolbarBlocking"
)

func NewJobModeFromString

func NewJobModeFromString(s string) (JobMode, error)

func (JobMode) Ptr

func (j JobMode) Ptr() *JobMode

type JobOutcome

type JobOutcome struct {
	Acknowledge       *bool              `json:"acknowledge,omitempty" url:"acknowledge,omitempty"`
	Trigger           *JobOutcomeTrigger `json:"trigger,omitempty" url:"trigger,omitempty"`
	ButtonText        *string            `json:"buttonText,omitempty" url:"buttonText,omitempty"`
	Next              *JobOutcomeNext    `json:"next,omitempty" url:"next,omitempty"`
	Heading           *string            `json:"heading,omitempty" url:"heading,omitempty"`
	Message           *string            `json:"message,omitempty" url:"message,omitempty"`
	HideDefaultButton *bool              `json:"hideDefaultButton,omitempty" url:"hideDefaultButton,omitempty"`
	// contains filtered or unexported fields
}

Outcome summary of a job

func (*JobOutcome) GetAcknowledge added in v0.0.21

func (j *JobOutcome) GetAcknowledge() *bool

func (*JobOutcome) GetButtonText added in v0.0.21

func (j *JobOutcome) GetButtonText() *string

func (*JobOutcome) GetExtraProperties added in v0.0.14

func (j *JobOutcome) GetExtraProperties() map[string]interface{}

func (*JobOutcome) GetHeading added in v0.0.21

func (j *JobOutcome) GetHeading() *string

func (*JobOutcome) GetHideDefaultButton added in v0.0.21

func (j *JobOutcome) GetHideDefaultButton() *bool

func (*JobOutcome) GetMessage added in v0.0.21

func (j *JobOutcome) GetMessage() *string

func (*JobOutcome) GetNext added in v0.0.21

func (j *JobOutcome) GetNext() *JobOutcomeNext

func (*JobOutcome) GetTrigger added in v0.0.21

func (j *JobOutcome) GetTrigger() *JobOutcomeTrigger

func (*JobOutcome) String

func (j *JobOutcome) String() string

func (*JobOutcome) UnmarshalJSON

func (j *JobOutcome) UnmarshalJSON(data []byte) error

type JobOutcomeNext

func NewJobOutcomeNextFromDownload

func NewJobOutcomeNextFromDownload(value *JobOutcomeNextDownload) *JobOutcomeNext

func NewJobOutcomeNextFromFiles added in v0.0.13

func NewJobOutcomeNextFromFiles(value *JobOutcomeNextFiles) *JobOutcomeNext

func NewJobOutcomeNextFromId

func NewJobOutcomeNextFromId(value *JobOutcomeNextId) *JobOutcomeNext

func NewJobOutcomeNextFromRetry

func NewJobOutcomeNextFromRetry(value *JobOutcomeNextRetry) *JobOutcomeNext

func NewJobOutcomeNextFromSnapshot

func NewJobOutcomeNextFromSnapshot(value *JobOutcomeNextSnapshot) *JobOutcomeNext

func NewJobOutcomeNextFromUrl

func NewJobOutcomeNextFromUrl(value *JobOutcomeNextUrl) *JobOutcomeNext

func NewJobOutcomeNextFromView added in v0.0.13

func NewJobOutcomeNextFromView(value *JobOutcomeNextView) *JobOutcomeNext

func NewJobOutcomeNextFromWait

func NewJobOutcomeNextFromWait(value *JobOutcomeNextWait) *JobOutcomeNext

func (*JobOutcomeNext) Accept

func (j *JobOutcomeNext) Accept(visitor JobOutcomeNextVisitor) error

func (*JobOutcomeNext) GetDownload added in v0.0.21

func (j *JobOutcomeNext) GetDownload() *JobOutcomeNextDownload

func (*JobOutcomeNext) GetFiles added in v0.0.21

func (j *JobOutcomeNext) GetFiles() *JobOutcomeNextFiles

func (*JobOutcomeNext) GetId added in v0.0.21

func (j *JobOutcomeNext) GetId() *JobOutcomeNextId

func (*JobOutcomeNext) GetRetry added in v0.0.21

func (j *JobOutcomeNext) GetRetry() *JobOutcomeNextRetry

func (*JobOutcomeNext) GetSnapshot added in v0.0.21

func (j *JobOutcomeNext) GetSnapshot() *JobOutcomeNextSnapshot

func (*JobOutcomeNext) GetType added in v0.0.21

func (j *JobOutcomeNext) GetType() string

func (*JobOutcomeNext) GetUrl added in v0.0.21

func (j *JobOutcomeNext) GetUrl() *JobOutcomeNextUrl

func (*JobOutcomeNext) GetView added in v0.0.21

func (j *JobOutcomeNext) GetView() *JobOutcomeNextView

func (*JobOutcomeNext) GetWait added in v0.0.21

func (j *JobOutcomeNext) GetWait() *JobOutcomeNextWait

func (JobOutcomeNext) MarshalJSON

func (j JobOutcomeNext) MarshalJSON() ([]byte, error)

func (*JobOutcomeNext) UnmarshalJSON

func (j *JobOutcomeNext) UnmarshalJSON(data []byte) error

type JobOutcomeNextDownload

type JobOutcomeNextDownload struct {
	Url      string  `json:"url" url:"url"`
	Label    *string `json:"label,omitempty" url:"label,omitempty"`
	FileName *string `json:"fileName,omitempty" url:"fileName,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextDownload) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextDownload) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextDownload) GetFileName added in v0.0.21

func (j *JobOutcomeNextDownload) GetFileName() *string

func (*JobOutcomeNextDownload) GetLabel added in v0.0.21

func (j *JobOutcomeNextDownload) GetLabel() *string

func (*JobOutcomeNextDownload) GetUrl added in v0.0.21

func (j *JobOutcomeNextDownload) GetUrl() string

func (*JobOutcomeNextDownload) String

func (j *JobOutcomeNextDownload) String() string

func (*JobOutcomeNextDownload) UnmarshalJSON

func (j *JobOutcomeNextDownload) UnmarshalJSON(data []byte) error

type JobOutcomeNextFileObject added in v0.0.13

type JobOutcomeNextFileObject struct {
	FileId string  `json:"fileId" url:"fileId"`
	Label  *string `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextFileObject) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextFileObject) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextFileObject) GetFileId added in v0.0.21

func (j *JobOutcomeNextFileObject) GetFileId() string

func (*JobOutcomeNextFileObject) GetLabel added in v0.0.21

func (j *JobOutcomeNextFileObject) GetLabel() *string

func (*JobOutcomeNextFileObject) String added in v0.0.13

func (j *JobOutcomeNextFileObject) String() string

func (*JobOutcomeNextFileObject) UnmarshalJSON added in v0.0.13

func (j *JobOutcomeNextFileObject) UnmarshalJSON(data []byte) error

type JobOutcomeNextFiles added in v0.0.13

type JobOutcomeNextFiles struct {
	Files []*JobOutcomeNextFileObject `json:"files,omitempty" url:"files,omitempty"`
	Label *string                     `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextFiles) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextFiles) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextFiles) GetFiles added in v0.0.21

func (*JobOutcomeNextFiles) GetLabel added in v0.0.21

func (j *JobOutcomeNextFiles) GetLabel() *string

func (*JobOutcomeNextFiles) String added in v0.0.13

func (j *JobOutcomeNextFiles) String() string

func (*JobOutcomeNextFiles) UnmarshalJSON added in v0.0.13

func (j *JobOutcomeNextFiles) UnmarshalJSON(data []byte) error

type JobOutcomeNextId

type JobOutcomeNextId struct {
	Id    string  `json:"id" url:"id"`
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	Path  *string `json:"path,omitempty" url:"path,omitempty"`
	Query *string `json:"query,omitempty" url:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextId) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextId) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextId) GetId added in v0.0.21

func (j *JobOutcomeNextId) GetId() string

func (*JobOutcomeNextId) GetLabel added in v0.0.21

func (j *JobOutcomeNextId) GetLabel() *string

func (*JobOutcomeNextId) GetPath added in v0.0.21

func (j *JobOutcomeNextId) GetPath() *string

func (*JobOutcomeNextId) GetQuery added in v0.0.21

func (j *JobOutcomeNextId) GetQuery() *string

func (*JobOutcomeNextId) String

func (j *JobOutcomeNextId) String() string

func (*JobOutcomeNextId) UnmarshalJSON

func (j *JobOutcomeNextId) UnmarshalJSON(data []byte) error

type JobOutcomeNextRetry

type JobOutcomeNextRetry struct {
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextRetry) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextRetry) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextRetry) GetLabel added in v0.0.21

func (j *JobOutcomeNextRetry) GetLabel() *string

func (*JobOutcomeNextRetry) String

func (j *JobOutcomeNextRetry) String() string

func (*JobOutcomeNextRetry) UnmarshalJSON

func (j *JobOutcomeNextRetry) UnmarshalJSON(data []byte) error

type JobOutcomeNextSnapshot

type JobOutcomeNextSnapshot struct {
	SnapshotId string `json:"snapshotId" url:"snapshotId"`
	SheetId    string `json:"sheetId" url:"sheetId"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextSnapshot) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextSnapshot) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextSnapshot) GetSheetId added in v0.0.21

func (j *JobOutcomeNextSnapshot) GetSheetId() string

func (*JobOutcomeNextSnapshot) GetSnapshotId added in v0.0.21

func (j *JobOutcomeNextSnapshot) GetSnapshotId() string

func (*JobOutcomeNextSnapshot) String

func (j *JobOutcomeNextSnapshot) String() string

func (*JobOutcomeNextSnapshot) UnmarshalJSON

func (j *JobOutcomeNextSnapshot) UnmarshalJSON(data []byte) error

type JobOutcomeNextUrl

type JobOutcomeNextUrl struct {
	Url   string  `json:"url" url:"url"`
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextUrl) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextUrl) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextUrl) GetLabel added in v0.0.21

func (j *JobOutcomeNextUrl) GetLabel() *string

func (*JobOutcomeNextUrl) GetUrl added in v0.0.21

func (j *JobOutcomeNextUrl) GetUrl() string

func (*JobOutcomeNextUrl) String

func (j *JobOutcomeNextUrl) String() string

func (*JobOutcomeNextUrl) UnmarshalJSON

func (j *JobOutcomeNextUrl) UnmarshalJSON(data []byte) error

type JobOutcomeNextView added in v0.0.13

type JobOutcomeNextView struct {
	SheetId string `json:"sheetId" url:"sheetId"`
	// An array of field keys from the sheet
	HiddenColumns []string `json:"hiddenColumns,omitempty" url:"hiddenColumns,omitempty"`
	Label         *string  `json:"label,omitempty" url:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextView) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextView) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextView) GetHiddenColumns added in v0.0.21

func (j *JobOutcomeNextView) GetHiddenColumns() []string

func (*JobOutcomeNextView) GetLabel added in v0.0.21

func (j *JobOutcomeNextView) GetLabel() *string

func (*JobOutcomeNextView) GetSheetId added in v0.0.21

func (j *JobOutcomeNextView) GetSheetId() string

func (*JobOutcomeNextView) String added in v0.0.13

func (j *JobOutcomeNextView) String() string

func (*JobOutcomeNextView) UnmarshalJSON added in v0.0.13

func (j *JobOutcomeNextView) UnmarshalJSON(data []byte) error

type JobOutcomeNextVisitor

type JobOutcomeNextVisitor interface {
	VisitId(*JobOutcomeNextId) error
	VisitUrl(*JobOutcomeNextUrl) error
	VisitDownload(*JobOutcomeNextDownload) error
	VisitFiles(*JobOutcomeNextFiles) error
	VisitWait(*JobOutcomeNextWait) error
	VisitSnapshot(*JobOutcomeNextSnapshot) error
	VisitRetry(*JobOutcomeNextRetry) error
	VisitView(*JobOutcomeNextView) error
}

type JobOutcomeNextWait

type JobOutcomeNextWait struct {
	Fade     *bool `json:"fade,omitempty" url:"fade,omitempty"`
	Confetti *bool `json:"confetti,omitempty" url:"confetti,omitempty"`
	// contains filtered or unexported fields
}

func (*JobOutcomeNextWait) GetConfetti added in v0.0.21

func (j *JobOutcomeNextWait) GetConfetti() *bool

func (*JobOutcomeNextWait) GetExtraProperties added in v0.0.14

func (j *JobOutcomeNextWait) GetExtraProperties() map[string]interface{}

func (*JobOutcomeNextWait) GetFade added in v0.0.21

func (j *JobOutcomeNextWait) GetFade() *bool

func (*JobOutcomeNextWait) String

func (j *JobOutcomeNextWait) String() string

func (*JobOutcomeNextWait) UnmarshalJSON

func (j *JobOutcomeNextWait) UnmarshalJSON(data []byte) error

type JobOutcomeTrigger added in v0.0.15

type JobOutcomeTrigger struct {
	JobOutcomeTriggerType    JobOutcomeTriggerType
	JobOutcomeTriggerDetails *JobOutcomeTriggerDetails
	// contains filtered or unexported fields
}

func NewJobOutcomeTriggerFromJobOutcomeTriggerDetails added in v0.0.16

func NewJobOutcomeTriggerFromJobOutcomeTriggerDetails(value *JobOutcomeTriggerDetails) *JobOutcomeTrigger

func NewJobOutcomeTriggerFromJobOutcomeTriggerType added in v0.0.16

func NewJobOutcomeTriggerFromJobOutcomeTriggerType(value JobOutcomeTriggerType) *JobOutcomeTrigger

func (*JobOutcomeTrigger) Accept added in v0.0.16

func (*JobOutcomeTrigger) GetJobOutcomeTriggerDetails added in v0.0.21

func (j *JobOutcomeTrigger) GetJobOutcomeTriggerDetails() *JobOutcomeTriggerDetails

func (*JobOutcomeTrigger) GetJobOutcomeTriggerType added in v0.0.21

func (j *JobOutcomeTrigger) GetJobOutcomeTriggerType() JobOutcomeTriggerType

func (JobOutcomeTrigger) MarshalJSON added in v0.0.16

func (j JobOutcomeTrigger) MarshalJSON() ([]byte, error)

func (*JobOutcomeTrigger) UnmarshalJSON added in v0.0.16

func (j *JobOutcomeTrigger) UnmarshalJSON(data []byte) error

type JobOutcomeTriggerAudience added in v0.0.16

type JobOutcomeTriggerAudience string

For whom the job outcome's next effect should be triggered automatically

const (
	JobOutcomeTriggerAudienceOriginator JobOutcomeTriggerAudience = "originator"
	JobOutcomeTriggerAudienceAll        JobOutcomeTriggerAudience = "all"
)

func NewJobOutcomeTriggerAudienceFromString added in v0.0.16

func NewJobOutcomeTriggerAudienceFromString(s string) (JobOutcomeTriggerAudience, error)

func (JobOutcomeTriggerAudience) Ptr added in v0.0.16

type JobOutcomeTriggerDetails added in v0.0.16

type JobOutcomeTriggerDetails struct {
	Type     JobOutcomeTriggerType      `json:"type" url:"type"`
	Audience *JobOutcomeTriggerAudience `json:"audience,omitempty" url:"audience,omitempty"`
	// contains filtered or unexported fields
}

Details about the trigger for the job outcome

func (*JobOutcomeTriggerDetails) GetAudience added in v0.0.21

func (*JobOutcomeTriggerDetails) GetExtraProperties added in v0.0.16

func (j *JobOutcomeTriggerDetails) GetExtraProperties() map[string]interface{}

func (*JobOutcomeTriggerDetails) GetType added in v0.0.21

func (*JobOutcomeTriggerDetails) String added in v0.0.16

func (j *JobOutcomeTriggerDetails) String() string

func (*JobOutcomeTriggerDetails) UnmarshalJSON added in v0.0.16

func (j *JobOutcomeTriggerDetails) UnmarshalJSON(data []byte) error

type JobOutcomeTriggerType added in v0.0.16

type JobOutcomeTriggerType string

Whether a job outcome's effect should be triggered automatically

const (
	JobOutcomeTriggerTypeManual          JobOutcomeTriggerType = "manual"
	JobOutcomeTriggerTypeAutomatic       JobOutcomeTriggerType = "automatic"
	JobOutcomeTriggerTypeAutomaticSilent JobOutcomeTriggerType = "automatic_silent"
)

func NewJobOutcomeTriggerTypeFromString added in v0.0.16

func NewJobOutcomeTriggerTypeFromString(s string) (JobOutcomeTriggerType, error)

func (JobOutcomeTriggerType) Ptr added in v0.0.16

type JobOutcomeTriggerVisitor added in v0.0.16

type JobOutcomeTriggerVisitor interface {
	VisitJobOutcomeTriggerType(JobOutcomeTriggerType) error
	VisitJobOutcomeTriggerDetails(*JobOutcomeTriggerDetails) error
}

type JobPartExecution

type JobPartExecution string
const (
	JobPartExecutionSequential JobPartExecution = "sequential"
	JobPartExecutionParallel   JobPartExecution = "parallel"
)

func NewJobPartExecutionFromString

func NewJobPartExecutionFromString(s string) (JobPartExecution, error)

func (JobPartExecution) Ptr

type JobParts

type JobParts struct {
	Integer       int
	JobPartsArray JobPartsArray
	// contains filtered or unexported fields
}

Info about the number of parts to create

func NewJobPartsFromInteger

func NewJobPartsFromInteger(value int) *JobParts

func NewJobPartsFromJobPartsArray

func NewJobPartsFromJobPartsArray(value JobPartsArray) *JobParts

func (*JobParts) Accept

func (j *JobParts) Accept(visitor JobPartsVisitor) error

func (*JobParts) GetInteger added in v0.0.21

func (j *JobParts) GetInteger() int

func (*JobParts) GetJobPartsArray added in v0.0.21

func (j *JobParts) GetJobPartsArray() JobPartsArray

func (JobParts) MarshalJSON

func (j JobParts) MarshalJSON() ([]byte, error)

func (*JobParts) UnmarshalJSON

func (j *JobParts) UnmarshalJSON(data []byte) error

type JobPartsArray

type JobPartsArray = []map[string]interface{}

Data for each of the job parts

type JobPartsVisitor

type JobPartsVisitor interface {
	VisitInteger(int) error
	VisitJobPartsArray(JobPartsArray) error
}

type JobPlan

type JobPlan struct {
	Job  *Job              `json:"job,omitempty" url:"job,omitempty"`
	Plan *JobExecutionPlan `json:"plan,omitempty" url:"plan,omitempty"`
	// contains filtered or unexported fields
}

The job/plan tuple that contains the full plan and the jobs status

func (*JobPlan) GetExtraProperties added in v0.0.14

func (j *JobPlan) GetExtraProperties() map[string]interface{}

func (*JobPlan) GetJob added in v0.0.21

func (j *JobPlan) GetJob() *Job

func (*JobPlan) GetPlan added in v0.0.21

func (j *JobPlan) GetPlan() *JobExecutionPlan

func (*JobPlan) String

func (j *JobPlan) String() string

func (*JobPlan) UnmarshalJSON

func (j *JobPlan) UnmarshalJSON(data []byte) error

type JobPlanResponse

type JobPlanResponse struct {
	Data *JobPlan `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*JobPlanResponse) GetData added in v0.0.21

func (j *JobPlanResponse) GetData() *JobPlan

func (*JobPlanResponse) GetExtraProperties added in v0.0.14

func (j *JobPlanResponse) GetExtraProperties() map[string]interface{}

func (*JobPlanResponse) String

func (j *JobPlanResponse) String() string

func (*JobPlanResponse) UnmarshalJSON

func (j *JobPlanResponse) UnmarshalJSON(data []byte) error

type JobResponse

type JobResponse struct {
	Data *Job `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*JobResponse) GetData added in v0.0.21

func (j *JobResponse) GetData() *Job

func (*JobResponse) GetExtraProperties added in v0.0.14

func (j *JobResponse) GetExtraProperties() map[string]interface{}

func (*JobResponse) String

func (j *JobResponse) String() string

func (*JobResponse) UnmarshalJSON

func (j *JobResponse) UnmarshalJSON(data []byte) error

type JobSource

type JobSource = string

The id of a file, workbook, sheet, or app

type JobSplitDetails

type JobSplitDetails struct {
	Parts         *JobParts `json:"parts,omitempty" url:"parts,omitempty"`
	RunInParallel *bool     `json:"runInParallel,omitempty" url:"runInParallel,omitempty"`
	// contains filtered or unexported fields
}

Info about the reason the job was split

func (*JobSplitDetails) GetExtraProperties added in v0.0.14

func (j *JobSplitDetails) GetExtraProperties() map[string]interface{}

func (*JobSplitDetails) GetParts added in v0.0.21

func (j *JobSplitDetails) GetParts() *JobParts

func (*JobSplitDetails) GetRunInParallel added in v0.0.21

func (j *JobSplitDetails) GetRunInParallel() *bool

func (*JobSplitDetails) String

func (j *JobSplitDetails) String() string

func (*JobSplitDetails) UnmarshalJSON

func (j *JobSplitDetails) UnmarshalJSON(data []byte) error

type JobStatus

type JobStatus string

the status of the job

const (
	JobStatusCreated   JobStatus = "created"
	JobStatusPlanning  JobStatus = "planning"
	JobStatusScheduled JobStatus = "scheduled"
	JobStatusReady     JobStatus = "ready"
	JobStatusExecuting JobStatus = "executing"
	JobStatusComplete  JobStatus = "complete"
	JobStatusFailed    JobStatus = "failed"
	JobStatusCanceled  JobStatus = "canceled"
	JobStatusWaiting   JobStatus = "waiting"
)

func NewJobStatusFromString

func NewJobStatusFromString(s string) (JobStatus, error)

func (JobStatus) Ptr

func (j JobStatus) Ptr() *JobStatus

type JobSubject

type JobSubject struct {
	Type       string
	Resource   *ResourceJobSubject
	Collection *CollectionJobSubject
}

Subject parameters for this job type

func NewJobSubjectFromCollection

func NewJobSubjectFromCollection(value *CollectionJobSubject) *JobSubject

func NewJobSubjectFromResource

func NewJobSubjectFromResource(value *ResourceJobSubject) *JobSubject

func (*JobSubject) Accept

func (j *JobSubject) Accept(visitor JobSubjectVisitor) error

func (*JobSubject) GetCollection added in v0.0.21

func (j *JobSubject) GetCollection() *CollectionJobSubject

func (*JobSubject) GetResource added in v0.0.21

func (j *JobSubject) GetResource() *ResourceJobSubject

func (*JobSubject) GetType added in v0.0.21

func (j *JobSubject) GetType() string

func (JobSubject) MarshalJSON

func (j JobSubject) MarshalJSON() ([]byte, error)

func (*JobSubject) UnmarshalJSON

func (j *JobSubject) UnmarshalJSON(data []byte) error

type JobSubjectVisitor

type JobSubjectVisitor interface {
	VisitResource(*ResourceJobSubject) error
	VisitCollection(*CollectionJobSubject) error
}

type JobType

type JobType string

The type of job

const (
	JobTypeFile     JobType = "file"
	JobTypeWorkbook JobType = "workbook"
	JobTypeSheet    JobType = "sheet"
	JobTypeSpace    JobType = "space"
	JobTypeDocument JobType = "document"
	JobTypeApp      JobType = "app"
)

func NewJobTypeFromString

func NewJobTypeFromString(s string) (JobType, error)

func (JobType) Ptr

func (j JobType) Ptr() *JobType

type JobUpdate

type JobUpdate struct {
	Config *JobUpdateConfig `json:"config,omitempty" url:"config,omitempty"`
	// the status of the job
	Status *JobStatus `json:"status,omitempty" url:"status,omitempty"`
	// the progress of the job. Whole number between 0 and 100
	Progress *int `json:"progress,omitempty" url:"progress,omitempty"`
	// the time that the job's outcome has been acknowledged by a user
	OutcomeAcknowledgedAt *time.Time `json:"outcomeAcknowledgedAt,omitempty" url:"outcomeAcknowledgedAt,omitempty"`
	// Current status of job in text
	Info *string `json:"info,omitempty" url:"info,omitempty"`
	// Additional metadata for the job
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

A single unit of work that will be executed

func (*JobUpdate) GetConfig added in v0.0.21

func (j *JobUpdate) GetConfig() *JobUpdateConfig

func (*JobUpdate) GetExtraProperties added in v0.0.14

func (j *JobUpdate) GetExtraProperties() map[string]interface{}

func (*JobUpdate) GetInfo added in v0.0.21

func (j *JobUpdate) GetInfo() *string

func (*JobUpdate) GetMetadata added in v0.0.21

func (j *JobUpdate) GetMetadata() map[string]interface{}

func (*JobUpdate) GetOutcomeAcknowledgedAt added in v0.0.21

func (j *JobUpdate) GetOutcomeAcknowledgedAt() *time.Time

func (*JobUpdate) GetProgress added in v0.0.21

func (j *JobUpdate) GetProgress() *int

func (*JobUpdate) GetStatus added in v0.0.21

func (j *JobUpdate) GetStatus() *JobStatus

func (*JobUpdate) MarshalJSON added in v0.0.8

func (j *JobUpdate) MarshalJSON() ([]byte, error)

func (*JobUpdate) String

func (j *JobUpdate) String() string

func (*JobUpdate) UnmarshalJSON

func (j *JobUpdate) UnmarshalJSON(data []byte) error

type JobUpdateConfig

type JobUpdateConfig struct {
	DeleteRecordsJobConfig                  *DeleteRecordsJobConfig
	FileJobConfig                           *FileJobConfig
	PipelineJobConfig                       *PipelineJobConfig
	ExportJobConfig                         *ExportJobConfig
	MutateJobConfig                         *MutateJobConfig
	FindAndReplaceJobConfig                 *FindAndReplaceJobConfig
	MappingProgramJobConfig                 *MappingProgramJobConfig
	AiGenerateBlueprintJobConfig            *AiGenerateBlueprintJobConfig
	AppAutobuildDeployJobConfig             *AppAutobuildDeployJobConfig
	AiGenerateSampleDataJobConfig           *AiGenerateSampleDataJobConfig
	AiGenerateBlueprintConstraintsJobConfig *AiGenerateBlueprintConstraintsJobConfig
	AiGenerateConstraintJobConfig           *AiGenerateConstraintJobConfig
	AiRuleCreationJobConfig                 *AiRuleCreationJobConfig
	EmptyObject                             *EmptyObject
	AddRecordsToDataClipJobConfig           *AddRecordsToDataClipJobConfig
	UpdateDataClipResolutionsJobConfig      *UpdateDataClipResolutionsJobConfig
	// contains filtered or unexported fields
}

func NewJobUpdateConfigFromAddRecordsToDataClipJobConfig added in v0.0.19

func NewJobUpdateConfigFromAddRecordsToDataClipJobConfig(value *AddRecordsToDataClipJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromAiGenerateBlueprintConstraintsJobConfig added in v0.0.17

func NewJobUpdateConfigFromAiGenerateBlueprintConstraintsJobConfig(value *AiGenerateBlueprintConstraintsJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromAiGenerateBlueprintJobConfig added in v0.0.16

func NewJobUpdateConfigFromAiGenerateBlueprintJobConfig(value *AiGenerateBlueprintJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromAiGenerateConstraintJobConfig added in v0.0.17

func NewJobUpdateConfigFromAiGenerateConstraintJobConfig(value *AiGenerateConstraintJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromAiGenerateSampleDataJobConfig added in v0.0.17

func NewJobUpdateConfigFromAiGenerateSampleDataJobConfig(value *AiGenerateSampleDataJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromAiRuleCreationJobConfig added in v0.0.17

func NewJobUpdateConfigFromAiRuleCreationJobConfig(value *AiRuleCreationJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromAppAutobuildDeployJobConfig added in v0.0.16

func NewJobUpdateConfigFromAppAutobuildDeployJobConfig(value *AppAutobuildDeployJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromDeleteRecordsJobConfig

func NewJobUpdateConfigFromDeleteRecordsJobConfig(value *DeleteRecordsJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromEmptyObject

func NewJobUpdateConfigFromEmptyObject(value *EmptyObject) *JobUpdateConfig

func NewJobUpdateConfigFromExportJobConfig

func NewJobUpdateConfigFromExportJobConfig(value *ExportJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromFileJobConfig

func NewJobUpdateConfigFromFileJobConfig(value *FileJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromFindAndReplaceJobConfig

func NewJobUpdateConfigFromFindAndReplaceJobConfig(value *FindAndReplaceJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromMappingProgramJobConfig

func NewJobUpdateConfigFromMappingProgramJobConfig(value *MappingProgramJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromMutateJobConfig

func NewJobUpdateConfigFromMutateJobConfig(value *MutateJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromPipelineJobConfig

func NewJobUpdateConfigFromPipelineJobConfig(value *PipelineJobConfig) *JobUpdateConfig

func NewJobUpdateConfigFromUpdateDataClipResolutionsJobConfig added in v0.0.19

func NewJobUpdateConfigFromUpdateDataClipResolutionsJobConfig(value *UpdateDataClipResolutionsJobConfig) *JobUpdateConfig

func (*JobUpdateConfig) Accept

func (j *JobUpdateConfig) Accept(visitor JobUpdateConfigVisitor) error

func (*JobUpdateConfig) GetAddRecordsToDataClipJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAddRecordsToDataClipJobConfig() *AddRecordsToDataClipJobConfig

func (*JobUpdateConfig) GetAiGenerateBlueprintConstraintsJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAiGenerateBlueprintConstraintsJobConfig() *AiGenerateBlueprintConstraintsJobConfig

func (*JobUpdateConfig) GetAiGenerateBlueprintJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAiGenerateBlueprintJobConfig() *AiGenerateBlueprintJobConfig

func (*JobUpdateConfig) GetAiGenerateConstraintJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAiGenerateConstraintJobConfig() *AiGenerateConstraintJobConfig

func (*JobUpdateConfig) GetAiGenerateSampleDataJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAiGenerateSampleDataJobConfig() *AiGenerateSampleDataJobConfig

func (*JobUpdateConfig) GetAiRuleCreationJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAiRuleCreationJobConfig() *AiRuleCreationJobConfig

func (*JobUpdateConfig) GetAppAutobuildDeployJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetAppAutobuildDeployJobConfig() *AppAutobuildDeployJobConfig

func (*JobUpdateConfig) GetDeleteRecordsJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetDeleteRecordsJobConfig() *DeleteRecordsJobConfig

func (*JobUpdateConfig) GetEmptyObject added in v0.0.21

func (j *JobUpdateConfig) GetEmptyObject() *EmptyObject

func (*JobUpdateConfig) GetExportJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetExportJobConfig() *ExportJobConfig

func (*JobUpdateConfig) GetFileJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetFileJobConfig() *FileJobConfig

func (*JobUpdateConfig) GetFindAndReplaceJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetFindAndReplaceJobConfig() *FindAndReplaceJobConfig

func (*JobUpdateConfig) GetMappingProgramJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetMappingProgramJobConfig() *MappingProgramJobConfig

func (*JobUpdateConfig) GetMutateJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetMutateJobConfig() *MutateJobConfig

func (*JobUpdateConfig) GetPipelineJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetPipelineJobConfig() *PipelineJobConfig

func (*JobUpdateConfig) GetUpdateDataClipResolutionsJobConfig added in v0.0.21

func (j *JobUpdateConfig) GetUpdateDataClipResolutionsJobConfig() *UpdateDataClipResolutionsJobConfig

func (JobUpdateConfig) MarshalJSON

func (j JobUpdateConfig) MarshalJSON() ([]byte, error)

func (*JobUpdateConfig) UnmarshalJSON

func (j *JobUpdateConfig) UnmarshalJSON(data []byte) error

type JobUpdateConfigVisitor

type JobUpdateConfigVisitor interface {
	VisitDeleteRecordsJobConfig(*DeleteRecordsJobConfig) error
	VisitFileJobConfig(*FileJobConfig) error
	VisitPipelineJobConfig(*PipelineJobConfig) error
	VisitExportJobConfig(*ExportJobConfig) error
	VisitMutateJobConfig(*MutateJobConfig) error
	VisitFindAndReplaceJobConfig(*FindAndReplaceJobConfig) error
	VisitMappingProgramJobConfig(*MappingProgramJobConfig) error
	VisitAiGenerateBlueprintJobConfig(*AiGenerateBlueprintJobConfig) error
	VisitAppAutobuildDeployJobConfig(*AppAutobuildDeployJobConfig) error
	VisitAiGenerateSampleDataJobConfig(*AiGenerateSampleDataJobConfig) error
	VisitAiGenerateBlueprintConstraintsJobConfig(*AiGenerateBlueprintConstraintsJobConfig) error
	VisitAiGenerateConstraintJobConfig(*AiGenerateConstraintJobConfig) error
	VisitAiRuleCreationJobConfig(*AiRuleCreationJobConfig) error
	VisitEmptyObject(*EmptyObject) error
	VisitAddRecordsToDataClipJobConfig(*AddRecordsToDataClipJobConfig) error
	VisitUpdateDataClipResolutionsJobConfig(*UpdateDataClipResolutionsJobConfig) error
}

type JsonPathString added in v0.0.13

type JsonPathString = string

A JSONPath string - https://www.rfc-editor.org/rfc/rfc9535

type ListActorRolesResponse added in v0.0.8

type ListActorRolesResponse struct {
	Data []*ActorRoleResponse `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActorRolesResponse) GetData added in v0.0.21

func (l *ListActorRolesResponse) GetData() []*ActorRoleResponse

func (*ListActorRolesResponse) GetExtraProperties added in v0.0.14

func (l *ListActorRolesResponse) GetExtraProperties() map[string]interface{}

func (*ListActorRolesResponse) String added in v0.0.8

func (l *ListActorRolesResponse) String() string

func (*ListActorRolesResponse) UnmarshalJSON added in v0.0.8

func (l *ListActorRolesResponse) UnmarshalJSON(data []byte) error

type ListAgentVersionsResponse added in v0.0.16

type ListAgentVersionsResponse struct {
	Data []*AgentVersion `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentVersionsResponse) GetData added in v0.0.21

func (l *ListAgentVersionsResponse) GetData() []*AgentVersion

func (*ListAgentVersionsResponse) GetExtraProperties added in v0.0.16

func (l *ListAgentVersionsResponse) GetExtraProperties() map[string]interface{}

func (*ListAgentVersionsResponse) String added in v0.0.16

func (l *ListAgentVersionsResponse) String() string

func (*ListAgentVersionsResponse) UnmarshalJSON added in v0.0.16

func (l *ListAgentVersionsResponse) UnmarshalJSON(data []byte) error

type ListAgentsRequest

type ListAgentsRequest struct {
	EnvironmentId EnvironmentId `json:"-" url:"environmentId"`
}

type ListAgentsResponse

type ListAgentsResponse struct {
	Data []*Agent `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsResponse) GetData added in v0.0.21

func (l *ListAgentsResponse) GetData() []*Agent

func (*ListAgentsResponse) GetExtraProperties added in v0.0.14

func (l *ListAgentsResponse) GetExtraProperties() map[string]interface{}

func (*ListAgentsResponse) String

func (l *ListAgentsResponse) String() string

func (*ListAgentsResponse) UnmarshalJSON

func (l *ListAgentsResponse) UnmarshalJSON(data []byte) error

type ListAllEventsResponse

type ListAllEventsResponse struct {
	Data []*Event `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAllEventsResponse) GetData added in v0.0.21

func (l *ListAllEventsResponse) GetData() []*Event

func (*ListAllEventsResponse) GetExtraProperties added in v0.0.14

func (l *ListAllEventsResponse) GetExtraProperties() map[string]interface{}

func (*ListAllEventsResponse) String

func (l *ListAllEventsResponse) String() string

func (*ListAllEventsResponse) UnmarshalJSON

func (l *ListAllEventsResponse) UnmarshalJSON(data []byte) error

type ListCommitsResponse

type ListCommitsResponse struct {
	Data []*Commit `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommitsResponse) GetData added in v0.0.21

func (l *ListCommitsResponse) GetData() []*Commit

func (*ListCommitsResponse) GetExtraProperties added in v0.0.14

func (l *ListCommitsResponse) GetExtraProperties() map[string]interface{}

func (*ListCommitsResponse) String

func (l *ListCommitsResponse) String() string

func (*ListCommitsResponse) UnmarshalJSON

func (l *ListCommitsResponse) UnmarshalJSON(data []byte) error

type ListDataRetentionPoliciesRequest added in v0.0.6

type ListDataRetentionPoliciesRequest struct {
	// The associated Environment ID of the policy.
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
}

type ListDataRetentionPoliciesResponse added in v0.0.6

type ListDataRetentionPoliciesResponse struct {
	Data []*DataRetentionPolicy `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDataRetentionPoliciesResponse) GetData added in v0.0.21

func (*ListDataRetentionPoliciesResponse) GetExtraProperties added in v0.0.14

func (l *ListDataRetentionPoliciesResponse) GetExtraProperties() map[string]interface{}

func (*ListDataRetentionPoliciesResponse) String added in v0.0.6

func (*ListDataRetentionPoliciesResponse) UnmarshalJSON added in v0.0.6

func (l *ListDataRetentionPoliciesResponse) UnmarshalJSON(data []byte) error

type ListDocumentsResponse

type ListDocumentsResponse struct {
	Data []*Document `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentsResponse) GetData added in v0.0.21

func (l *ListDocumentsResponse) GetData() []*Document

func (*ListDocumentsResponse) GetExtraProperties added in v0.0.14

func (l *ListDocumentsResponse) GetExtraProperties() map[string]interface{}

func (*ListDocumentsResponse) String

func (l *ListDocumentsResponse) String() string

func (*ListDocumentsResponse) UnmarshalJSON

func (l *ListDocumentsResponse) UnmarshalJSON(data []byte) error

type ListEntitlementsRequest added in v0.0.8

type ListEntitlementsRequest struct {
	// The associated Resource ID for the entitlements.
	ResourceId string `json:"-" url:"resourceId"`
}

type ListEntitlementsResponse added in v0.0.8

type ListEntitlementsResponse struct {
	Data []*Entitlement `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntitlementsResponse) GetData added in v0.0.21

func (l *ListEntitlementsResponse) GetData() []*Entitlement

func (*ListEntitlementsResponse) GetExtraProperties added in v0.0.14

func (l *ListEntitlementsResponse) GetExtraProperties() map[string]interface{}

func (*ListEntitlementsResponse) String added in v0.0.8

func (l *ListEntitlementsResponse) String() string

func (*ListEntitlementsResponse) UnmarshalJSON added in v0.0.8

func (l *ListEntitlementsResponse) UnmarshalJSON(data []byte) error

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {
	// Number of environments to return in a page (default 10)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of environments to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
}

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	Data       []*Environment `json:"data,omitempty" url:"data,omitempty"`
	Pagination *Pagination    `json:"pagination,omitempty" url:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvironmentsResponse) GetData added in v0.0.21

func (l *ListEnvironmentsResponse) GetData() []*Environment

func (*ListEnvironmentsResponse) GetExtraProperties added in v0.0.14

func (l *ListEnvironmentsResponse) GetExtraProperties() map[string]interface{}

func (*ListEnvironmentsResponse) GetPagination added in v0.0.21

func (l *ListEnvironmentsResponse) GetPagination() *Pagination

func (*ListEnvironmentsResponse) String

func (l *ListEnvironmentsResponse) String() string

func (*ListEnvironmentsResponse) UnmarshalJSON

func (l *ListEnvironmentsResponse) UnmarshalJSON(data []byte) error

type ListEventsRequest

type ListEventsRequest struct {
	// Filter by environment
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
	// Filter by space
	SpaceId *SpaceId `json:"-" url:"spaceId,omitempty"`
	// Filter by event domain
	Domain *string `json:"-" url:"domain,omitempty"`
	// Filter by event topic
	Topic *string `json:"-" url:"topic,omitempty"`
	// Filter by event timestamp
	Since *time.Time `json:"-" url:"since,omitempty"`
	// Number of results to return in a page (default 10)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of results to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// Include acknowledged events
	IncludeAcknowledged *bool `json:"-" url:"includeAcknowledged,omitempty"`
}

type ListFilesRequest

type ListFilesRequest struct {
	SpaceId *string `json:"-" url:"spaceId,omitempty"`
	// Number of files to return in a page (default 20)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of files to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// The storage mode of file to fetch, defaults to "import"
	Mode *Mode `json:"-" url:"mode,omitempty"`
}

type ListFilesResponse

type ListFilesResponse struct {
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*File     `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilesResponse) GetData added in v0.0.21

func (l *ListFilesResponse) GetData() []*File

func (*ListFilesResponse) GetExtraProperties added in v0.0.14

func (l *ListFilesResponse) GetExtraProperties() map[string]interface{}

func (*ListFilesResponse) GetPagination added in v0.0.21

func (l *ListFilesResponse) GetPagination() *Pagination

func (*ListFilesResponse) String

func (l *ListFilesResponse) String() string

func (*ListFilesResponse) UnmarshalJSON

func (l *ListFilesResponse) UnmarshalJSON(data []byte) error

type ListGuestsRequest

type ListGuestsRequest struct {
	// ID of space to return
	SpaceId SpaceId `json:"-" url:"spaceId"`
	// Email of guest to return
	Email *string `json:"-" url:"email,omitempty"`
}

type ListGuestsResponse

type ListGuestsResponse struct {
	Data []*Guest `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGuestsResponse) GetData added in v0.0.21

func (l *ListGuestsResponse) GetData() []*Guest

func (*ListGuestsResponse) GetExtraProperties added in v0.0.14

func (l *ListGuestsResponse) GetExtraProperties() map[string]interface{}

func (*ListGuestsResponse) String

func (l *ListGuestsResponse) String() string

func (*ListGuestsResponse) UnmarshalJSON

func (l *ListGuestsResponse) UnmarshalJSON(data []byte) error

type ListGuidanceRequest added in v0.0.19

type ListGuidanceRequest struct {
	// Include the guide with the guidance
	Guide *string `json:"-" url:"guide,omitempty"`
}

type ListJobsRequest

type ListJobsRequest struct {
	// When provided, only jobs for the given environment will be returned
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
	// When provided, only jobs for the given space will be returned
	SpaceId *SpaceId `json:"-" url:"spaceId,omitempty"`
	// When provided, only jobs for the given workbook will be returned
	WorkbookId *WorkbookId `json:"-" url:"workbookId,omitempty"`
	// When provided, only jobs for the given file will be returned
	FileId *FileId `json:"-" url:"fileId,omitempty"`
	// When provided, only jobs that are parts of the given job will be returned
	ParentId *JobId `json:"-" url:"parentId,omitempty"`
	// Number of jobs to return in a page (default 20)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of jobs to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// Sort direction - asc (ascending) or desc (descending)
	SortDirection *SortDirection `json:"-" url:"sortDirection,omitempty"`
	// When true, only top-level jobs will be returned unless a parentId is specified
	ExcludeChildJobs *bool `json:"-" url:"excludeChildJobs,omitempty"`
}

type ListJobsResponse

type ListJobsResponse struct {
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*Job      `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobsResponse) GetData added in v0.0.21

func (l *ListJobsResponse) GetData() []*Job

func (*ListJobsResponse) GetExtraProperties added in v0.0.14

func (l *ListJobsResponse) GetExtraProperties() map[string]interface{}

func (*ListJobsResponse) GetPagination added in v0.0.21

func (l *ListJobsResponse) GetPagination() *Pagination

func (*ListJobsResponse) String

func (l *ListJobsResponse) String() string

func (*ListJobsResponse) UnmarshalJSON

func (l *ListJobsResponse) UnmarshalJSON(data []byte) error

type ListProgramsRequest added in v0.0.6

type ListProgramsRequest struct {
	// Number of programs to return in a page (default 10)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of records to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// Filter by creator
	CreatedBy *UserId `json:"-" url:"createdBy,omitempty"`
	// Filter by creation time
	CreatedAfter *time.Time `json:"-" url:"createdAfter,omitempty"`
	// Filter by creation time
	CreatedBefore *time.Time `json:"-" url:"createdBefore,omitempty"`
	// The ID of the environment
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
	// Filter by family
	FamilyId *FamilyId `json:"-" url:"familyId,omitempty"`
	// Filter by namespace
	Namespace *string `json:"-" url:"namespace,omitempty"`
	// Filter by source keys
	SourceKeys *string `json:"-" url:"sourceKeys,omitempty"`
	// Filter by destination keys
	DestinationKeys *string `json:"-" url:"destinationKeys,omitempty"`
}

type ListPromptsRequest added in v0.0.9

type ListPromptsRequest struct {
	// Type of prompt (default AI_ASSIST)
	PromptType *PromptTypeQueryEnum `json:"-" url:"promptType,omitempty"`
	// Number of prompts to return in a page (default 7)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of prompts to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
}

type ListRolesResponse added in v0.0.8

type ListRolesResponse struct {
	Data []*RoleResponse `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResponse) GetData added in v0.0.21

func (l *ListRolesResponse) GetData() []*RoleResponse

func (*ListRolesResponse) GetExtraProperties added in v0.0.14

func (l *ListRolesResponse) GetExtraProperties() map[string]interface{}

func (*ListRolesResponse) String added in v0.0.8

func (l *ListRolesResponse) String() string

func (*ListRolesResponse) UnmarshalJSON added in v0.0.8

func (l *ListRolesResponse) UnmarshalJSON(data []byte) error

type ListSecrets

type ListSecrets struct {
	// The Environment of the secret.
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
	// The Space of the secret.
	SpaceId *SpaceId `json:"-" url:"spaceId,omitempty"`
	// The Actor of the secret.
	ActorId *ActorIdUnion `json:"-" url:"actorId,omitempty"`
}

type ListSheetCommitsRequest

type ListSheetCommitsRequest struct {
	// If true, only return commits that have been completed. If false, only return commits that have not been completed. If not provided, return all commits.
	Completed *bool `json:"-" url:"completed,omitempty"`
}

type ListSheetsRequest

type ListSheetsRequest struct {
	// ID of workbook
	WorkbookId WorkbookId `json:"-" url:"workbookId"`
}

type ListSheetsResponse

type ListSheetsResponse struct {
	Data []*Sheet `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSheetsResponse) GetData added in v0.0.21

func (l *ListSheetsResponse) GetData() []*Sheet

func (*ListSheetsResponse) GetExtraProperties added in v0.0.14

func (l *ListSheetsResponse) GetExtraProperties() map[string]interface{}

func (*ListSheetsResponse) String

func (l *ListSheetsResponse) String() string

func (*ListSheetsResponse) UnmarshalJSON

func (l *ListSheetsResponse) UnmarshalJSON(data []byte) error

type ListSnapshotRequest

type ListSnapshotRequest struct {
	// ID of sheet
	SheetId SheetId `json:"-" url:"sheetId"`
	// ThreadId to filter snapshots by
	ThreadId *string `json:"-" url:"threadId,omitempty"`
}

type ListSpacesRequest

type ListSpacesRequest struct {
	// The ID of the environment.
	EnvironmentId *EnvironmentId `json:"-" url:"environmentId,omitempty"`
	// Number of spaces to return in a page (default 10)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of records to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
	// Search query for spaces
	Search *string `json:"-" url:"search,omitempty"`
	// Search by namespace
	Namespace *string `json:"-" url:"namespace,omitempty"`
	// Flag to include archived spaces
	Archived *bool `json:"-" url:"archived,omitempty"`
	// Field to sort spaces by
	SortField *GetSpacesSortField `json:"-" url:"sortField,omitempty"`
	// Direction of sorting
	SortDirection *SortDirection `json:"-" url:"sortDirection,omitempty"`
	// Flag for collaborative (project) spaces
	IsCollaborative *bool `json:"-" url:"isCollaborative,omitempty"`
	// Filter by appId
	AppId *AppId `json:"-" url:"appId,omitempty"`
	// Flag for app templates
	IsAppTemplate *bool `json:"-" url:"isAppTemplate,omitempty"`
}

type ListSpacesResponse

type ListSpacesResponse struct {
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*Space    `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

List of Space objects

func (*ListSpacesResponse) GetData added in v0.0.21

func (l *ListSpacesResponse) GetData() []*Space

func (*ListSpacesResponse) GetExtraProperties added in v0.0.14

func (l *ListSpacesResponse) GetExtraProperties() map[string]interface{}

func (*ListSpacesResponse) GetPagination added in v0.0.21

func (l *ListSpacesResponse) GetPagination() *Pagination

func (*ListSpacesResponse) String

func (l *ListSpacesResponse) String() string

func (*ListSpacesResponse) UnmarshalJSON

func (l *ListSpacesResponse) UnmarshalJSON(data []byte) error

type ListUsersRequest

type ListUsersRequest struct {
	// Email of guest to return
	Email *string `json:"-" url:"email,omitempty"`
	// String to search for users by name and email
	Search *string `json:"-" url:"search,omitempty"`
	// Field to sort users by
	SortField *ListUsersSortField `json:"-" url:"sortField,omitempty"`
	// Direction of sorting
	SortDirection *SortDirection `json:"-" url:"sortDirection,omitempty"`
	// Number of users to return in a page (default 20)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of users to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
}

type ListUsersResponse

type ListUsersResponse struct {
	Data       []*User     `json:"data,omitempty" url:"data,omitempty"`
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) GetData added in v0.0.21

func (l *ListUsersResponse) GetData() []*User

func (*ListUsersResponse) GetExtraProperties added in v0.0.14

func (l *ListUsersResponse) GetExtraProperties() map[string]interface{}

func (*ListUsersResponse) GetPagination added in v0.0.21

func (l *ListUsersResponse) GetPagination() *Pagination

func (*ListUsersResponse) String

func (l *ListUsersResponse) String() string

func (*ListUsersResponse) UnmarshalJSON

func (l *ListUsersResponse) UnmarshalJSON(data []byte) error

type ListUsersSortField added in v0.0.14

type ListUsersSortField string
const (
	ListUsersSortFieldEmail      ListUsersSortField = "email"
	ListUsersSortFieldName       ListUsersSortField = "name"
	ListUsersSortFieldId         ListUsersSortField = "id"
	ListUsersSortFieldIdp        ListUsersSortField = "idp"
	ListUsersSortFieldIdpRef     ListUsersSortField = "idp_ref"
	ListUsersSortFieldCreatedAt  ListUsersSortField = "created_at"
	ListUsersSortFieldUpdatedAt  ListUsersSortField = "updated_at"
	ListUsersSortFieldLastSeenAt ListUsersSortField = "last_seen_at"
	ListUsersSortFieldDashboard  ListUsersSortField = "dashboard"
)

func NewListUsersSortFieldFromString added in v0.0.14

func NewListUsersSortFieldFromString(s string) (ListUsersSortField, error)

func (ListUsersSortField) Ptr added in v0.0.14

type ListViewsRequest added in v0.0.11

type ListViewsRequest struct {
	// The associated sheet ID of the view.
	SheetId SheetId `json:"-" url:"sheetId"`
	// Number of prompts to return in a page (default 10)
	PageSize *int `json:"-" url:"pageSize,omitempty"`
	// Based on pageSize, which page of prompts to return
	PageNumber *int `json:"-" url:"pageNumber,omitempty"`
}

type ListViewsResponse added in v0.0.11

type ListViewsResponse struct {
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*View     `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListViewsResponse) GetData added in v0.0.21

func (l *ListViewsResponse) GetData() []*View

func (*ListViewsResponse) GetExtraProperties added in v0.0.14

func (l *ListViewsResponse) GetExtraProperties() map[string]interface{}

func (*ListViewsResponse) GetPagination added in v0.0.21

func (l *ListViewsResponse) GetPagination() *Pagination

func (*ListViewsResponse) String added in v0.0.11

func (l *ListViewsResponse) String() string

func (*ListViewsResponse) UnmarshalJSON added in v0.0.11

func (l *ListViewsResponse) UnmarshalJSON(data []byte) error

type ListWorkbookCommitsRequest

type ListWorkbookCommitsRequest struct {
	// If true, only return commits that have been completed. If false, only return commits that have not been completed. If not provided, return all commits.
	Completed *bool `json:"-" url:"completed,omitempty"`
}

type ListWorkbooksRequest

type ListWorkbooksRequest struct {
	// The associated Space ID of the Workbook.
	SpaceId *SpaceId `json:"-" url:"spaceId,omitempty"`
	// Filter by name. Precede with - to negate the filter
	Name *string `json:"-" url:"name,omitempty"`
	// Filter by namespace. Precede with - to negate the filter
	Namespace *string `json:"-" url:"namespace,omitempty"`
	// Filter by label. Precede with - to negate the filter
	Label *string `json:"-" url:"label,omitempty"`
	// Filter by treatment.
	Treatment *string `json:"-" url:"treatment,omitempty"`
	// Include sheets for the workbook (default true)
	IncludeSheets *bool `json:"-" url:"includeSheets,omitempty"`
	// Include counts for the workbook. **DEPRECATED** Counts will return 0s. Use GET /sheets/:sheetId/counts
	IncludeCounts *bool `json:"-" url:"includeCounts,omitempty"`
}

type ListWorkbooksResponse

type ListWorkbooksResponse struct {
	Data []*Workbook `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkbooksResponse) GetData added in v0.0.21

func (l *ListWorkbooksResponse) GetData() []*Workbook

func (*ListWorkbooksResponse) GetExtraProperties added in v0.0.14

func (l *ListWorkbooksResponse) GetExtraProperties() map[string]interface{}

func (*ListWorkbooksResponse) String

func (l *ListWorkbooksResponse) String() string

func (*ListWorkbooksResponse) UnmarshalJSON

func (l *ListWorkbooksResponse) UnmarshalJSON(data []byte) error

type MappingId added in v0.0.6

type MappingId = string

Mapping Rule ID

type MappingProgramJobConfig

type MappingProgramJobConfig struct {
	SourceSheetId      SheetId                  `json:"sourceSheetId" url:"sourceSheetId"`
	DestinationSheetId SheetId                  `json:"destinationSheetId" url:"destinationSheetId"`
	MappingRules       []map[string]interface{} `json:"mappingRules,omitempty" url:"mappingRules,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingProgramJobConfig) GetDestinationSheetId added in v0.0.21

func (m *MappingProgramJobConfig) GetDestinationSheetId() SheetId

func (*MappingProgramJobConfig) GetExtraProperties added in v0.0.14

func (m *MappingProgramJobConfig) GetExtraProperties() map[string]interface{}

func (*MappingProgramJobConfig) GetMappingRules added in v0.0.21

func (m *MappingProgramJobConfig) GetMappingRules() []map[string]interface{}

func (*MappingProgramJobConfig) GetSourceSheetId added in v0.0.21

func (m *MappingProgramJobConfig) GetSourceSheetId() SheetId

func (*MappingProgramJobConfig) String

func (m *MappingProgramJobConfig) String() string

func (*MappingProgramJobConfig) UnmarshalJSON

func (m *MappingProgramJobConfig) UnmarshalJSON(data []byte) error

type MappingRule added in v0.0.6

type MappingRule struct {
	// Name of the mapping rule
	Name   string      `json:"name" url:"name"`
	Type   string      `json:"type" url:"type"`
	Config interface{} `json:"config,omitempty" url:"config,omitempty"`
	// Time the mapping rule was last updated
	AcceptedAt *time.Time `json:"acceptedAt,omitempty" url:"acceptedAt,omitempty"`
	// User ID of the contributor of the mapping rule
	AcceptedBy *UserId `json:"acceptedBy,omitempty" url:"acceptedBy,omitempty"`
	// Metadata of the mapping rule
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// ID of the mapping rule
	Id MappingId `json:"id" url:"id"`
	// Confidence of the mapping rule
	Confidence *int `json:"confidence,omitempty" url:"confidence,omitempty"`
	// User ID of the user who suggested the mapping rule
	CreatedBy *UserId `json:"createdBy,omitempty" url:"createdBy,omitempty"`
	// Time the mapping rule was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Time the mapping rule was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// Time the mapping rule was deleted
	DeletedAt *time.Time `json:"deletedAt,omitempty" url:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingRule) GetAcceptedAt added in v0.0.21

func (m *MappingRule) GetAcceptedAt() *time.Time

func (*MappingRule) GetAcceptedBy added in v0.0.21

func (m *MappingRule) GetAcceptedBy() *UserId

func (*MappingRule) GetConfidence added in v0.0.21

func (m *MappingRule) GetConfidence() *int

func (*MappingRule) GetConfig added in v0.0.21

func (m *MappingRule) GetConfig() interface{}

func (*MappingRule) GetCreatedAt added in v0.0.21

func (m *MappingRule) GetCreatedAt() time.Time

func (*MappingRule) GetCreatedBy added in v0.0.21

func (m *MappingRule) GetCreatedBy() *UserId

func (*MappingRule) GetDeletedAt added in v0.0.21

func (m *MappingRule) GetDeletedAt() *time.Time

func (*MappingRule) GetExtraProperties added in v0.0.14

func (m *MappingRule) GetExtraProperties() map[string]interface{}

func (*MappingRule) GetId added in v0.0.21

func (m *MappingRule) GetId() MappingId

func (*MappingRule) GetMetadata added in v0.0.21

func (m *MappingRule) GetMetadata() interface{}

func (*MappingRule) GetName added in v0.0.21

func (m *MappingRule) GetName() string

func (*MappingRule) GetType added in v0.0.21

func (m *MappingRule) GetType() string

func (*MappingRule) GetUpdatedAt added in v0.0.21

func (m *MappingRule) GetUpdatedAt() time.Time

func (*MappingRule) MarshalJSON added in v0.0.8

func (m *MappingRule) MarshalJSON() ([]byte, error)

func (*MappingRule) String added in v0.0.6

func (m *MappingRule) String() string

func (*MappingRule) UnmarshalJSON added in v0.0.6

func (m *MappingRule) UnmarshalJSON(data []byte) error

type MappingRuleConfig added in v0.0.6

type MappingRuleConfig struct {
	// Name of the mapping rule
	Name   string      `json:"name" url:"name"`
	Type   string      `json:"type" url:"type"`
	Config interface{} `json:"config,omitempty" url:"config,omitempty"`
	// Time the mapping rule was last updated
	AcceptedAt *time.Time `json:"acceptedAt,omitempty" url:"acceptedAt,omitempty"`
	// User ID of the contributor of the mapping rule
	AcceptedBy *UserId `json:"acceptedBy,omitempty" url:"acceptedBy,omitempty"`
	// Metadata of the mapping rule
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingRuleConfig) GetAcceptedAt added in v0.0.21

func (m *MappingRuleConfig) GetAcceptedAt() *time.Time

func (*MappingRuleConfig) GetAcceptedBy added in v0.0.21

func (m *MappingRuleConfig) GetAcceptedBy() *UserId

func (*MappingRuleConfig) GetConfig added in v0.0.21

func (m *MappingRuleConfig) GetConfig() interface{}

func (*MappingRuleConfig) GetExtraProperties added in v0.0.14

func (m *MappingRuleConfig) GetExtraProperties() map[string]interface{}

func (*MappingRuleConfig) GetMetadata added in v0.0.21

func (m *MappingRuleConfig) GetMetadata() interface{}

func (*MappingRuleConfig) GetName added in v0.0.21

func (m *MappingRuleConfig) GetName() string

func (*MappingRuleConfig) GetType added in v0.0.21

func (m *MappingRuleConfig) GetType() string

func (*MappingRuleConfig) MarshalJSON added in v0.0.8

func (m *MappingRuleConfig) MarshalJSON() ([]byte, error)

func (*MappingRuleConfig) String added in v0.0.6

func (m *MappingRuleConfig) String() string

func (*MappingRuleConfig) UnmarshalJSON added in v0.0.6

func (m *MappingRuleConfig) UnmarshalJSON(data []byte) error

type MappingRuleOrConfig added in v0.0.6

type MappingRuleOrConfig struct {
	// Name of the mapping rule
	Name   string      `json:"name" url:"name"`
	Type   string      `json:"type" url:"type"`
	Config interface{} `json:"config,omitempty" url:"config,omitempty"`
	// Time the mapping rule was last updated
	AcceptedAt *time.Time `json:"acceptedAt,omitempty" url:"acceptedAt,omitempty"`
	// User ID of the contributor of the mapping rule
	AcceptedBy *UserId `json:"acceptedBy,omitempty" url:"acceptedBy,omitempty"`
	// Metadata of the mapping rule
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// ID of the mapping rule
	Id *MappingId `json:"id,omitempty" url:"id,omitempty"`
	// Confidence of the mapping rule
	Confidence *int `json:"confidence,omitempty" url:"confidence,omitempty"`
	// User ID of the creator of the mapping rule
	CreatedBy *UserId `json:"createdBy,omitempty" url:"createdBy,omitempty"`
	// Time the mapping rule was created
	CreatedAt *time.Time `json:"createdAt,omitempty" url:"createdAt,omitempty"`
	// Time the mapping rule was last updated
	UpdatedAt *time.Time `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	// Time the mapping rule was deleted
	DeletedAt *time.Time `json:"deletedAt,omitempty" url:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingRuleOrConfig) GetAcceptedAt added in v0.0.21

func (m *MappingRuleOrConfig) GetAcceptedAt() *time.Time

func (*MappingRuleOrConfig) GetAcceptedBy added in v0.0.21

func (m *MappingRuleOrConfig) GetAcceptedBy() *UserId

func (*MappingRuleOrConfig) GetConfidence added in v0.0.21

func (m *MappingRuleOrConfig) GetConfidence() *int

func (*MappingRuleOrConfig) GetConfig added in v0.0.21

func (m *MappingRuleOrConfig) GetConfig() interface{}

func (*MappingRuleOrConfig) GetCreatedAt added in v0.0.21

func (m *MappingRuleOrConfig) GetCreatedAt() *time.Time

func (*MappingRuleOrConfig) GetCreatedBy added in v0.0.21

func (m *MappingRuleOrConfig) GetCreatedBy() *UserId

func (*MappingRuleOrConfig) GetDeletedAt added in v0.0.21

func (m *MappingRuleOrConfig) GetDeletedAt() *time.Time

func (*MappingRuleOrConfig) GetExtraProperties added in v0.0.14

func (m *MappingRuleOrConfig) GetExtraProperties() map[string]interface{}

func (*MappingRuleOrConfig) GetId added in v0.0.21

func (m *MappingRuleOrConfig) GetId() *MappingId

func (*MappingRuleOrConfig) GetMetadata added in v0.0.21

func (m *MappingRuleOrConfig) GetMetadata() interface{}

func (*MappingRuleOrConfig) GetName added in v0.0.21

func (m *MappingRuleOrConfig) GetName() string

func (*MappingRuleOrConfig) GetType added in v0.0.21

func (m *MappingRuleOrConfig) GetType() string

func (*MappingRuleOrConfig) GetUpdatedAt added in v0.0.21

func (m *MappingRuleOrConfig) GetUpdatedAt() *time.Time

func (*MappingRuleOrConfig) MarshalJSON added in v0.0.8

func (m *MappingRuleOrConfig) MarshalJSON() ([]byte, error)

func (*MappingRuleOrConfig) String added in v0.0.6

func (m *MappingRuleOrConfig) String() string

func (*MappingRuleOrConfig) UnmarshalJSON added in v0.0.6

func (m *MappingRuleOrConfig) UnmarshalJSON(data []byte) error

type MappingRuleResponse added in v0.0.6

type MappingRuleResponse struct {
	Data *MappingRule `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingRuleResponse) GetData added in v0.0.21

func (m *MappingRuleResponse) GetData() *MappingRule

func (*MappingRuleResponse) GetExtraProperties added in v0.0.14

func (m *MappingRuleResponse) GetExtraProperties() map[string]interface{}

func (*MappingRuleResponse) String added in v0.0.6

func (m *MappingRuleResponse) String() string

func (*MappingRuleResponse) UnmarshalJSON added in v0.0.6

func (m *MappingRuleResponse) UnmarshalJSON(data []byte) error

type MappingRulesResponse added in v0.0.6

type MappingRulesResponse struct {
	Data []*MappingRule `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*MappingRulesResponse) GetData added in v0.0.21

func (m *MappingRulesResponse) GetData() []*MappingRule

func (*MappingRulesResponse) GetExtraProperties added in v0.0.14

func (m *MappingRulesResponse) GetExtraProperties() map[string]interface{}

func (*MappingRulesResponse) String added in v0.0.6

func (m *MappingRulesResponse) String() string

func (*MappingRulesResponse) UnmarshalJSON added in v0.0.6

func (m *MappingRulesResponse) UnmarshalJSON(data []byte) error

type Metadata

type Metadata struct {
	Certainty         *Certainty `json:"certainty,omitempty" url:"certainty,omitempty"`
	Confidence        *float64   `json:"confidence,omitempty" url:"confidence,omitempty"`
	Source            *string    `json:"source,omitempty" url:"source,omitempty"`
	DetectedDelimiter *string    `json:"detectedDelimiter,omitempty" url:"detectedDelimiter,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) GetCertainty added in v0.0.21

func (m *Metadata) GetCertainty() *Certainty

func (*Metadata) GetConfidence added in v0.0.21

func (m *Metadata) GetConfidence() *float64

func (*Metadata) GetDetectedDelimiter added in v0.0.21

func (m *Metadata) GetDetectedDelimiter() *string

func (*Metadata) GetExtraProperties added in v0.0.14

func (m *Metadata) GetExtraProperties() map[string]interface{}

func (*Metadata) GetSource added in v0.0.21

func (m *Metadata) GetSource() *string

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) UnmarshalJSON

func (m *Metadata) UnmarshalJSON(data []byte) error

type Mode

type Mode string
const (
	ModeImport Mode = "import"
	ModeExport Mode = "export"
)

func NewModeFromString

func NewModeFromString(s string) (Mode, error)

func (Mode) Ptr

func (m Mode) Ptr() *Mode

type ModelFileStatusEnum

type ModelFileStatusEnum string
const (
	ModelFileStatusEnumPartial  ModelFileStatusEnum = "partial"
	ModelFileStatusEnumComplete ModelFileStatusEnum = "complete"
	ModelFileStatusEnumArchived ModelFileStatusEnum = "archived"
	ModelFileStatusEnumPurged   ModelFileStatusEnum = "purged"
	ModelFileStatusEnumFailed   ModelFileStatusEnum = "failed"
)

func NewModelFileStatusEnumFromString

func NewModelFileStatusEnumFromString(s string) (ModelFileStatusEnum, error)

func (ModelFileStatusEnum) Ptr

type MutateJobConfig

type MutateJobConfig struct {
	SheetId SheetId `json:"sheetId" url:"sheetId"`
	// A JavaScript function that will be run on each record in the sheet, it should return a mutated record.
	MutateRecord string `json:"mutateRecord" url:"mutateRecord"`
	// If the mutation was generated through some sort of id-ed process, this links this job and that process.
	MutationId *string `json:"mutationId,omitempty" url:"mutationId,omitempty"`
	// If specified, a snapshot will be generated with this label
	SnapshotLabel *string `json:"snapshotLabel,omitempty" url:"snapshotLabel,omitempty"`
	// The generated snapshotId will be stored here
	SnapshotId  *string      `json:"snapshotId,omitempty" url:"snapshotId,omitempty"`
	Filter      *Filter      `json:"filter,omitempty" url:"filter,omitempty"`
	FilterField *FilterField `json:"filterField,omitempty" url:"filterField,omitempty"`
	SearchValue *SearchValue `json:"searchValue,omitempty" url:"searchValue,omitempty"`
	SearchField *SearchField `json:"searchField,omitempty" url:"searchField,omitempty"`
	Q           *string      `json:"q,omitempty" url:"q,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records
	Ids []RecordId `json:"ids,omitempty" url:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*MutateJobConfig) GetExtraProperties added in v0.0.14

func (m *MutateJobConfig) GetExtraProperties() map[string]interface{}

func (*MutateJobConfig) GetFilter added in v0.0.21

func (m *MutateJobConfig) GetFilter() *Filter

func (*MutateJobConfig) GetFilterField added in v0.0.21

func (m *MutateJobConfig) GetFilterField() *FilterField

func (*MutateJobConfig) GetIds added in v0.0.21

func (m *MutateJobConfig) GetIds() []RecordId

func (*MutateJobConfig) GetMutateRecord added in v0.0.21

func (m *MutateJobConfig) GetMutateRecord() string

func (*MutateJobConfig) GetMutationId added in v0.0.21

func (m *MutateJobConfig) GetMutationId() *string

func (*MutateJobConfig) GetQ added in v0.0.21

func (m *MutateJobConfig) GetQ() *string

func (*MutateJobConfig) GetSearchField added in v0.0.21

func (m *MutateJobConfig) GetSearchField() *SearchField

func (*MutateJobConfig) GetSearchValue added in v0.0.21

func (m *MutateJobConfig) GetSearchValue() *SearchValue

func (*MutateJobConfig) GetSheetId added in v0.0.21

func (m *MutateJobConfig) GetSheetId() SheetId

func (*MutateJobConfig) GetSnapshotId added in v0.0.21

func (m *MutateJobConfig) GetSnapshotId() *string

func (*MutateJobConfig) GetSnapshotLabel added in v0.0.21

func (m *MutateJobConfig) GetSnapshotLabel() *string

func (*MutateJobConfig) String

func (m *MutateJobConfig) String() string

func (*MutateJobConfig) UnmarshalJSON

func (m *MutateJobConfig) UnmarshalJSON(data []byte) error

type NotFoundError

type NotFoundError struct {
	*core.APIError
	Body *Errors
}

func (*NotFoundError) MarshalJSON

func (n *NotFoundError) MarshalJSON() ([]byte, error)

func (*NotFoundError) UnmarshalJSON

func (n *NotFoundError) UnmarshalJSON(data []byte) error

func (*NotFoundError) Unwrap

func (n *NotFoundError) Unwrap() error

type NumberConfig

type NumberConfig struct {
	// Number of decimal places to round data to
	DecimalPlaces *int `json:"decimalPlaces,omitempty" url:"decimalPlaces,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberConfig) GetDecimalPlaces added in v0.0.21

func (n *NumberConfig) GetDecimalPlaces() *int

func (*NumberConfig) GetExtraProperties added in v0.0.14

func (n *NumberConfig) GetExtraProperties() map[string]interface{}

func (*NumberConfig) String

func (n *NumberConfig) String() string

func (*NumberConfig) UnmarshalJSON

func (n *NumberConfig) UnmarshalJSON(data []byte) error

type NumberProperty

type NumberProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// Will allow multiple values and store as an array
	IsArray *bool         `json:"isArray,omitempty" url:"isArray,omitempty"`
	Config  *NumberConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

Defines a property that should be stored and read as either an integer or floating point number. Database engines should look at the configuration to determine ideal storage format.

func (*NumberProperty) GetActions added in v0.0.21

func (n *NumberProperty) GetActions() []*Action

func (*NumberProperty) GetAlternativeNames added in v0.0.21

func (n *NumberProperty) GetAlternativeNames() []string

func (*NumberProperty) GetAppearance added in v0.0.21

func (n *NumberProperty) GetAppearance() *FieldAppearance

func (*NumberProperty) GetConfig added in v0.0.21

func (n *NumberProperty) GetConfig() *NumberConfig

func (*NumberProperty) GetConstraints added in v0.0.21

func (n *NumberProperty) GetConstraints() []*Constraint

func (*NumberProperty) GetDescription added in v0.0.21

func (n *NumberProperty) GetDescription() *string

func (*NumberProperty) GetExtraProperties added in v0.0.14

func (n *NumberProperty) GetExtraProperties() map[string]interface{}

func (*NumberProperty) GetIsArray added in v0.0.21

func (n *NumberProperty) GetIsArray() *bool

func (*NumberProperty) GetKey added in v0.0.21

func (n *NumberProperty) GetKey() string

func (*NumberProperty) GetLabel added in v0.0.21

func (n *NumberProperty) GetLabel() *string

func (*NumberProperty) GetMetadata added in v0.0.21

func (n *NumberProperty) GetMetadata() interface{}

func (*NumberProperty) GetReadonly added in v0.0.21

func (n *NumberProperty) GetReadonly() *bool

func (*NumberProperty) GetTreatments added in v0.0.21

func (n *NumberProperty) GetTreatments() []string

func (*NumberProperty) String

func (n *NumberProperty) String() string

func (*NumberProperty) UnmarshalJSON

func (n *NumberProperty) UnmarshalJSON(data []byte) error

type Origin

type Origin struct {
	Id   *string `json:"id,omitempty" url:"id,omitempty"`
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// contains filtered or unexported fields
}

The origin resource of the event

func (*Origin) GetExtraProperties added in v0.0.14

func (o *Origin) GetExtraProperties() map[string]interface{}

func (*Origin) GetId added in v0.0.21

func (o *Origin) GetId() *string

func (*Origin) GetSlug added in v0.0.21

func (o *Origin) GetSlug() *string

func (*Origin) String

func (o *Origin) String() string

func (*Origin) UnmarshalJSON

func (o *Origin) UnmarshalJSON(data []byte) error

type PageNumber

type PageNumber = int

Based on pageSize, which page of records to return

type PageSize

type PageSize = int

Number of logs to return in a page (default 20)

type Pagination

type Pagination struct {
	// current page of results
	CurrentPage int `json:"currentPage" url:"currentPage"`
	// total number of pages of results
	PageCount int `json:"pageCount" url:"pageCount"`
	// total available results
	TotalCount int `json:"totalCount" url:"totalCount"`
	// contains filtered or unexported fields
}

pagination info

func (*Pagination) GetCurrentPage added in v0.0.21

func (p *Pagination) GetCurrentPage() int

func (*Pagination) GetExtraProperties added in v0.0.14

func (p *Pagination) GetExtraProperties() map[string]interface{}

func (*Pagination) GetPageCount added in v0.0.21

func (p *Pagination) GetPageCount() int

func (*Pagination) GetTotalCount added in v0.0.21

func (p *Pagination) GetTotalCount() int

func (*Pagination) String

func (p *Pagination) String() string

func (*Pagination) UnmarshalJSON

func (p *Pagination) UnmarshalJSON(data []byte) error

type PipelineJobConfig

type PipelineJobConfig struct {
	SourceSheetId      SheetId `json:"sourceSheetId" url:"sourceSheetId"`
	DestinationSheetId SheetId `json:"destinationSheetId" url:"destinationSheetId"`
	// contains filtered or unexported fields
}

func (*PipelineJobConfig) GetDestinationSheetId added in v0.0.21

func (p *PipelineJobConfig) GetDestinationSheetId() SheetId

func (*PipelineJobConfig) GetExtraProperties added in v0.0.14

func (p *PipelineJobConfig) GetExtraProperties() map[string]interface{}

func (*PipelineJobConfig) GetSourceSheetId added in v0.0.21

func (p *PipelineJobConfig) GetSourceSheetId() SheetId

func (*PipelineJobConfig) String

func (p *PipelineJobConfig) String() string

func (*PipelineJobConfig) UnmarshalJSON

func (p *PipelineJobConfig) UnmarshalJSON(data []byte) error

type Program added in v0.0.6

type Program struct {
	// Mapping rules
	Rules []*MappingRuleOrConfig `json:"rules,omitempty" url:"rules,omitempty"`
	// If this program was saved, this is the ID of the program
	Id *string `json:"id,omitempty" url:"id,omitempty"`
	// Namespace of the program
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Family ID of the program, if it belongs to a family
	FamilyId *FamilyId `json:"familyId,omitempty" url:"familyId,omitempty"`
	// If this program was saved, this is the time it was created
	CreatedAt *time.Time `json:"createdAt,omitempty" url:"createdAt,omitempty"`
	// If this program was saved, this is the user ID of the creator
	CreatedBy *UserId `json:"createdBy,omitempty" url:"createdBy,omitempty"`
	// Source keys
	SourceKeys []string `json:"sourceKeys,omitempty" url:"sourceKeys,omitempty"`
	// Destination keys
	DestinationKeys []string `json:"destinationKeys,omitempty" url:"destinationKeys,omitempty"`
	// Summary of the mapping rules
	Summary *ProgramSummary `json:"summary,omitempty" url:"summary,omitempty"`
	// If this program was saved, this token allows you to modify the program
	AccessToken *string `json:"accessToken,omitempty" url:"accessToken,omitempty"`
	// contains filtered or unexported fields
}

func (*Program) GetAccessToken added in v0.0.21

func (p *Program) GetAccessToken() *string

func (*Program) GetCreatedAt added in v0.0.21

func (p *Program) GetCreatedAt() *time.Time

func (*Program) GetCreatedBy added in v0.0.21

func (p *Program) GetCreatedBy() *UserId

func (*Program) GetDestinationKeys added in v0.0.21

func (p *Program) GetDestinationKeys() []string

func (*Program) GetExtraProperties added in v0.0.14

func (p *Program) GetExtraProperties() map[string]interface{}

func (*Program) GetFamilyId added in v0.0.21

func (p *Program) GetFamilyId() *FamilyId

func (*Program) GetId added in v0.0.21

func (p *Program) GetId() *string

func (*Program) GetNamespace added in v0.0.21

func (p *Program) GetNamespace() *string

func (*Program) GetRules added in v0.0.21

func (p *Program) GetRules() []*MappingRuleOrConfig

func (*Program) GetSourceKeys added in v0.0.21

func (p *Program) GetSourceKeys() []string

func (*Program) GetSummary added in v0.0.21

func (p *Program) GetSummary() *ProgramSummary

func (*Program) MarshalJSON added in v0.0.8

func (p *Program) MarshalJSON() ([]byte, error)

func (*Program) String added in v0.0.6

func (p *Program) String() string

func (*Program) UnmarshalJSON added in v0.0.6

func (p *Program) UnmarshalJSON(data []byte) error

type ProgramConfig added in v0.0.6

type ProgramConfig struct {
	// Source schema
	Source *SheetConfig `json:"source,omitempty" url:"source,omitempty"`
	// Destination schema
	Destination *SheetConfig `json:"destination,omitempty" url:"destination,omitempty"`
	// ID of the family to add the program to
	FamilyId *FamilyId `json:"familyId,omitempty" url:"familyId,omitempty"`
	// Namespace of the program
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Whether to save the program for editing later. Defaults to false. If true, the response will contain an ID and access token.
	Save *bool `json:"save,omitempty" url:"save,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgramConfig) GetDestination added in v0.0.21

func (p *ProgramConfig) GetDestination() *SheetConfig

func (*ProgramConfig) GetExtraProperties added in v0.0.14

func (p *ProgramConfig) GetExtraProperties() map[string]interface{}

func (*ProgramConfig) GetFamilyId added in v0.0.21

func (p *ProgramConfig) GetFamilyId() *FamilyId

func (*ProgramConfig) GetNamespace added in v0.0.21

func (p *ProgramConfig) GetNamespace() *string

func (*ProgramConfig) GetSave added in v0.0.21

func (p *ProgramConfig) GetSave() *bool

func (*ProgramConfig) GetSource added in v0.0.21

func (p *ProgramConfig) GetSource() *SheetConfig

func (*ProgramConfig) String added in v0.0.6

func (p *ProgramConfig) String() string

func (*ProgramConfig) UnmarshalJSON added in v0.0.6

func (p *ProgramConfig) UnmarshalJSON(data []byte) error

type ProgramId added in v0.0.6

type ProgramId = string

Mapping Program ID

type ProgramResponse added in v0.0.6

type ProgramResponse struct {
	Data *Program `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgramResponse) GetData added in v0.0.21

func (p *ProgramResponse) GetData() *Program

func (*ProgramResponse) GetExtraProperties added in v0.0.14

func (p *ProgramResponse) GetExtraProperties() map[string]interface{}

func (*ProgramResponse) String added in v0.0.6

func (p *ProgramResponse) String() string

func (*ProgramResponse) UnmarshalJSON added in v0.0.6

func (p *ProgramResponse) UnmarshalJSON(data []byte) error

type ProgramSummary added in v0.0.6

type ProgramSummary struct {
	// Total number of mapping rules
	TotalRuleCount int `json:"totalRuleCount" url:"totalRuleCount"`
	// Number of mapping rules added
	AddedRuleCount int `json:"addedRuleCount" url:"addedRuleCount"`
	// Number of mapping rules deleted
	DeletedRuleCount int `json:"deletedRuleCount" url:"deletedRuleCount"`
	// contains filtered or unexported fields
}

func (*ProgramSummary) GetAddedRuleCount added in v0.0.21

func (p *ProgramSummary) GetAddedRuleCount() int

func (*ProgramSummary) GetDeletedRuleCount added in v0.0.21

func (p *ProgramSummary) GetDeletedRuleCount() int

func (*ProgramSummary) GetExtraProperties added in v0.0.14

func (p *ProgramSummary) GetExtraProperties() map[string]interface{}

func (*ProgramSummary) GetTotalRuleCount added in v0.0.21

func (p *ProgramSummary) GetTotalRuleCount() int

func (*ProgramSummary) String added in v0.0.6

func (p *ProgramSummary) String() string

func (*ProgramSummary) UnmarshalJSON added in v0.0.6

func (p *ProgramSummary) UnmarshalJSON(data []byte) error

type ProgramsResponse added in v0.0.6

type ProgramsResponse struct {
	Data []*Program `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgramsResponse) GetData added in v0.0.21

func (p *ProgramsResponse) GetData() []*Program

func (*ProgramsResponse) GetExtraProperties added in v0.0.14

func (p *ProgramsResponse) GetExtraProperties() map[string]interface{}

func (*ProgramsResponse) String added in v0.0.6

func (p *ProgramsResponse) String() string

func (*ProgramsResponse) UnmarshalJSON added in v0.0.6

func (p *ProgramsResponse) UnmarshalJSON(data []byte) error

type Progress

type Progress struct {
	// The current progress of the event
	Current *int `json:"current,omitempty" url:"current,omitempty"`
	// The total number of events in this group
	Total *int `json:"total,omitempty" url:"total,omitempty"`
	// The percent complete of the event group
	Percent *int `json:"percent,omitempty" url:"percent,omitempty"`
	// contains filtered or unexported fields
}

The progress of the event within a collection of iterable events

func (*Progress) GetCurrent added in v0.0.21

func (p *Progress) GetCurrent() *int

func (*Progress) GetExtraProperties added in v0.0.14

func (p *Progress) GetExtraProperties() map[string]interface{}

func (*Progress) GetPercent added in v0.0.21

func (p *Progress) GetPercent() *int

func (*Progress) GetTotal added in v0.0.21

func (p *Progress) GetTotal() *int

func (*Progress) String

func (p *Progress) String() string

func (*Progress) UnmarshalJSON

func (p *Progress) UnmarshalJSON(data []byte) error

type Prompt added in v0.0.9

type Prompt struct {
	Id PromptId `json:"id" url:"id"`
	// ID of the user/guest who created the prompt
	CreatedById   string         `json:"createdById" url:"createdById"`
	AccountId     AccountId      `json:"accountId" url:"accountId"`
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	SpaceId       *SpaceId       `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	// Type of prompt
	PromptType PromptTypeEnum `json:"promptType" url:"promptType"`
	// Text for prompts for AI Assist
	Prompt    string     `json:"prompt" url:"prompt"`
	CreatedAt time.Time  `json:"createdAt" url:"createdAt"`
	UpdatedAt time.Time  `json:"updatedAt" url:"updatedAt"`
	DeletedAt *time.Time `json:"deletedAt,omitempty" url:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Prompt) GetAccountId added in v0.0.21

func (p *Prompt) GetAccountId() AccountId

func (*Prompt) GetCreatedAt added in v0.0.21

func (p *Prompt) GetCreatedAt() time.Time

func (*Prompt) GetCreatedById added in v0.0.21

func (p *Prompt) GetCreatedById() string

func (*Prompt) GetDeletedAt added in v0.0.21

func (p *Prompt) GetDeletedAt() *time.Time

func (*Prompt) GetEnvironmentId added in v0.0.21

func (p *Prompt) GetEnvironmentId() *EnvironmentId

func (*Prompt) GetExtraProperties added in v0.0.14

func (p *Prompt) GetExtraProperties() map[string]interface{}

func (*Prompt) GetId added in v0.0.21

func (p *Prompt) GetId() PromptId

func (*Prompt) GetPrompt added in v0.0.21

func (p *Prompt) GetPrompt() string

func (*Prompt) GetPromptType added in v0.0.21

func (p *Prompt) GetPromptType() PromptTypeEnum

func (*Prompt) GetSpaceId added in v0.0.21

func (p *Prompt) GetSpaceId() *SpaceId

func (*Prompt) GetUpdatedAt added in v0.0.21

func (p *Prompt) GetUpdatedAt() time.Time

func (*Prompt) MarshalJSON added in v0.0.9

func (p *Prompt) MarshalJSON() ([]byte, error)

func (*Prompt) String added in v0.0.9

func (p *Prompt) String() string

func (*Prompt) UnmarshalJSON added in v0.0.9

func (p *Prompt) UnmarshalJSON(data []byte) error

type PromptCreate added in v0.0.9

type PromptCreate struct {
	// Type of prompt; Defaults to AI_ASSIST
	PromptType    *PromptTypeEnum `json:"promptType,omitempty" url:"promptType,omitempty"`
	Prompt        string          `json:"prompt" url:"prompt"`
	EnvironmentId EnvironmentId   `json:"environmentId" url:"environmentId"`
	SpaceId       SpaceId         `json:"spaceId" url:"spaceId"`
	// contains filtered or unexported fields
}

Create a prompts

func (*PromptCreate) GetEnvironmentId added in v0.0.21

func (p *PromptCreate) GetEnvironmentId() EnvironmentId

func (*PromptCreate) GetExtraProperties added in v0.0.14

func (p *PromptCreate) GetExtraProperties() map[string]interface{}

func (*PromptCreate) GetPrompt added in v0.0.21

func (p *PromptCreate) GetPrompt() string

func (*PromptCreate) GetPromptType added in v0.0.21

func (p *PromptCreate) GetPromptType() *PromptTypeEnum

func (*PromptCreate) GetSpaceId added in v0.0.21

func (p *PromptCreate) GetSpaceId() SpaceId

func (*PromptCreate) String added in v0.0.9

func (p *PromptCreate) String() string

func (*PromptCreate) UnmarshalJSON added in v0.0.9

func (p *PromptCreate) UnmarshalJSON(data []byte) error

type PromptId added in v0.0.9

type PromptId = string

Prompt ID

type PromptPatch added in v0.0.9

type PromptPatch struct {
	Prompt string `json:"prompt" url:"prompt"`
	// contains filtered or unexported fields
}

Update a prompts

func (*PromptPatch) GetExtraProperties added in v0.0.14

func (p *PromptPatch) GetExtraProperties() map[string]interface{}

func (*PromptPatch) GetPrompt added in v0.0.21

func (p *PromptPatch) GetPrompt() string

func (*PromptPatch) String added in v0.0.9

func (p *PromptPatch) String() string

func (*PromptPatch) UnmarshalJSON added in v0.0.9

func (p *PromptPatch) UnmarshalJSON(data []byte) error

type PromptResponse added in v0.0.9

type PromptResponse struct {
	Data *Prompt `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResponse) GetData added in v0.0.21

func (p *PromptResponse) GetData() *Prompt

func (*PromptResponse) GetExtraProperties added in v0.0.14

func (p *PromptResponse) GetExtraProperties() map[string]interface{}

func (*PromptResponse) String added in v0.0.9

func (p *PromptResponse) String() string

func (*PromptResponse) UnmarshalJSON added in v0.0.9

func (p *PromptResponse) UnmarshalJSON(data []byte) error

type PromptTypeEnum added in v0.0.17

type PromptTypeEnum string
const (
	PromptTypeEnumAiAssist             PromptTypeEnum = "AI_ASSIST"
	PromptTypeEnumConstraintGeneration PromptTypeEnum = "CONSTRAINT_GENERATION"
)

func NewPromptTypeEnumFromString added in v0.0.17

func NewPromptTypeEnumFromString(s string) (PromptTypeEnum, error)

func (PromptTypeEnum) Ptr added in v0.0.17

func (p PromptTypeEnum) Ptr() *PromptTypeEnum

type PromptTypeQueryEnum added in v0.0.17

type PromptTypeQueryEnum string
const (
	PromptTypeQueryEnumAll                  PromptTypeQueryEnum = "ALL"
	PromptTypeQueryEnumAiAssist             PromptTypeQueryEnum = "AI_ASSIST"
	PromptTypeQueryEnumConstraintGeneration PromptTypeQueryEnum = "CONSTRAINT_GENERATION"
)

func NewPromptTypeQueryEnumFromString added in v0.0.17

func NewPromptTypeQueryEnumFromString(s string) (PromptTypeQueryEnum, error)

func (PromptTypeQueryEnum) Ptr added in v0.0.17

type PromptsResponse added in v0.0.9

type PromptsResponse struct {
	Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
	Data       []*Prompt   `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptsResponse) GetData added in v0.0.21

func (p *PromptsResponse) GetData() []*Prompt

func (*PromptsResponse) GetExtraProperties added in v0.0.14

func (p *PromptsResponse) GetExtraProperties() map[string]interface{}

func (*PromptsResponse) GetPagination added in v0.0.21

func (p *PromptsResponse) GetPagination() *Pagination

func (*PromptsResponse) String added in v0.0.9

func (p *PromptsResponse) String() string

func (*PromptsResponse) UnmarshalJSON added in v0.0.9

func (p *PromptsResponse) UnmarshalJSON(data []byte) error

type Property

type Property struct {
	Type          string
	String        *StringProperty
	Number        *NumberProperty
	Boolean       *BooleanProperty
	Date          *DateProperty
	Enum          *EnumProperty
	Reference     *ReferenceProperty
	ReferenceList *ReferenceListProperty
	StringList    *StringListProperty
	EnumList      *EnumListProperty
}

func NewPropertyFromBoolean

func NewPropertyFromBoolean(value *BooleanProperty) *Property

func NewPropertyFromDate

func NewPropertyFromDate(value *DateProperty) *Property

func NewPropertyFromEnum

func NewPropertyFromEnum(value *EnumProperty) *Property

func NewPropertyFromEnumList added in v0.0.12

func NewPropertyFromEnumList(value *EnumListProperty) *Property

func NewPropertyFromNumber

func NewPropertyFromNumber(value *NumberProperty) *Property

func NewPropertyFromReference

func NewPropertyFromReference(value *ReferenceProperty) *Property

func NewPropertyFromReferenceList added in v0.0.16

func NewPropertyFromReferenceList(value *ReferenceListProperty) *Property

func NewPropertyFromString

func NewPropertyFromString(value *StringProperty) *Property

func NewPropertyFromStringList added in v0.0.12

func NewPropertyFromStringList(value *StringListProperty) *Property

func (*Property) Accept

func (p *Property) Accept(visitor PropertyVisitor) error

func (*Property) GetBoolean added in v0.0.21

func (p *Property) GetBoolean() *BooleanProperty

func (*Property) GetDate added in v0.0.21

func (p *Property) GetDate() *DateProperty

func (*Property) GetEnum added in v0.0.21

func (p *Property) GetEnum() *EnumProperty

func (*Property) GetEnumList added in v0.0.21

func (p *Property) GetEnumList() *EnumListProperty

func (*Property) GetNumber added in v0.0.21

func (p *Property) GetNumber() *NumberProperty

func (*Property) GetReference added in v0.0.21

func (p *Property) GetReference() *ReferenceProperty

func (*Property) GetReferenceList added in v0.0.21

func (p *Property) GetReferenceList() *ReferenceListProperty

func (*Property) GetString added in v0.0.21

func (p *Property) GetString() *StringProperty

func (*Property) GetStringList added in v0.0.21

func (p *Property) GetStringList() *StringListProperty

func (*Property) GetType added in v0.0.21

func (p *Property) GetType() string

func (Property) MarshalJSON

func (p Property) MarshalJSON() ([]byte, error)

func (*Property) UnmarshalJSON

func (p *Property) UnmarshalJSON(data []byte) error

type PropertyVisitor

type PropertyVisitor interface {
	VisitString(*StringProperty) error
	VisitNumber(*NumberProperty) error
	VisitBoolean(*BooleanProperty) error
	VisitDate(*DateProperty) error
	VisitEnum(*EnumProperty) error
	VisitReference(*ReferenceProperty) error
	VisitReferenceList(*ReferenceListProperty) error
	VisitStringList(*StringListProperty) error
	VisitEnumList(*EnumListProperty) error
}

type Record

type Record struct {
	Id RecordId `json:"id" url:"id"`
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"commitId,omitempty" url:"commitId,omitempty"`
	// Auto-generated value based on whether the record contains a field with an error message. Cannot be set via the API.
	Valid *bool `json:"valid,omitempty" url:"valid,omitempty"`
	// This record level `messages` property is deprecated and no longer stored or used. Use the `messages` property on the individual cell values instead. This property will be removed in a future release.
	Messages []*ValidationMessage   `json:"messages,omitempty" url:"messages,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Config   *RecordConfig          `json:"config,omitempty" url:"config,omitempty"`
	Values   RecordData             `json:"values,omitempty" url:"values,omitempty"`
	// contains filtered or unexported fields
}

A single row of data in a Sheet

func (*Record) GetCommitId added in v0.0.21

func (r *Record) GetCommitId() *CommitId

func (*Record) GetConfig added in v0.0.21

func (r *Record) GetConfig() *RecordConfig

func (*Record) GetExtraProperties added in v0.0.14

func (r *Record) GetExtraProperties() map[string]interface{}

func (*Record) GetId added in v0.0.21

func (r *Record) GetId() RecordId

func (*Record) GetMessages added in v0.0.21

func (r *Record) GetMessages() []*ValidationMessage

func (*Record) GetMetadata added in v0.0.21

func (r *Record) GetMetadata() map[string]interface{}

func (*Record) GetValid added in v0.0.21

func (r *Record) GetValid() *bool

func (*Record) GetValues added in v0.0.21

func (r *Record) GetValues() RecordData

func (*Record) GetVersionId added in v0.0.21

func (r *Record) GetVersionId() *VersionId

func (*Record) String

func (r *Record) String() string

func (*Record) UnmarshalJSON

func (r *Record) UnmarshalJSON(data []byte) error

type RecordBase

type RecordBase struct {
	Id RecordId `json:"id" url:"id"`
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"commitId,omitempty" url:"commitId,omitempty"`
	// Auto-generated value based on whether the record contains a field with an error message. Cannot be set via the API.
	Valid *bool `json:"valid,omitempty" url:"valid,omitempty"`
	// This record level `messages` property is deprecated and no longer stored or used. Use the `messages` property on the individual cell values instead. This property will be removed in a future release.
	Messages []*ValidationMessage   `json:"messages,omitempty" url:"messages,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Config   *RecordConfig          `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordBase) GetCommitId added in v0.0.21

func (r *RecordBase) GetCommitId() *CommitId

func (*RecordBase) GetConfig added in v0.0.21

func (r *RecordBase) GetConfig() *RecordConfig

func (*RecordBase) GetExtraProperties added in v0.0.14

func (r *RecordBase) GetExtraProperties() map[string]interface{}

func (*RecordBase) GetId added in v0.0.21

func (r *RecordBase) GetId() RecordId

func (*RecordBase) GetMessages added in v0.0.21

func (r *RecordBase) GetMessages() []*ValidationMessage

func (*RecordBase) GetMetadata added in v0.0.21

func (r *RecordBase) GetMetadata() map[string]interface{}

func (*RecordBase) GetValid added in v0.0.21

func (r *RecordBase) GetValid() *bool

func (*RecordBase) GetVersionId added in v0.0.21

func (r *RecordBase) GetVersionId() *VersionId

func (*RecordBase) String

func (r *RecordBase) String() string

func (*RecordBase) UnmarshalJSON

func (r *RecordBase) UnmarshalJSON(data []byte) error

type RecordConfig added in v0.0.10

type RecordConfig struct {
	Readonly          *bool                  `json:"readonly,omitempty" url:"readonly,omitempty"`
	Fields            map[string]*CellConfig `json:"fields,omitempty" url:"fields,omitempty"`
	MarkedForDeletion *bool                  `json:"markedForDeletion,omitempty" url:"markedForDeletion,omitempty"`
	// contains filtered or unexported fields
}

Configuration of a record or specific fields in the record

func (*RecordConfig) GetExtraProperties added in v0.0.14

func (r *RecordConfig) GetExtraProperties() map[string]interface{}

func (*RecordConfig) GetFields added in v0.0.21

func (r *RecordConfig) GetFields() map[string]*CellConfig

func (*RecordConfig) GetMarkedForDeletion added in v0.0.21

func (r *RecordConfig) GetMarkedForDeletion() *bool

func (*RecordConfig) GetReadonly added in v0.0.21

func (r *RecordConfig) GetReadonly() *bool

func (*RecordConfig) String added in v0.0.10

func (r *RecordConfig) String() string

func (*RecordConfig) UnmarshalJSON added in v0.0.10

func (r *RecordConfig) UnmarshalJSON(data []byte) error

type RecordCounts

type RecordCounts struct {
	Total         int            `json:"total" url:"total"`
	Valid         int            `json:"valid" url:"valid"`
	Error         int            `json:"error" url:"error"`
	ErrorsByField map[string]int `json:"errorsByField,omitempty" url:"errorsByField,omitempty"`
	// Counts for valid, error, and total records grouped by field key
	ByField map[string]*FieldRecordCounts `json:"byField,omitempty" url:"byField,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordCounts) GetByField added in v0.0.21

func (r *RecordCounts) GetByField() map[string]*FieldRecordCounts

func (*RecordCounts) GetError added in v0.0.21

func (r *RecordCounts) GetError() int

func (*RecordCounts) GetErrorsByField added in v0.0.21

func (r *RecordCounts) GetErrorsByField() map[string]int

func (*RecordCounts) GetExtraProperties added in v0.0.14

func (r *RecordCounts) GetExtraProperties() map[string]interface{}

func (*RecordCounts) GetTotal added in v0.0.21

func (r *RecordCounts) GetTotal() int

func (*RecordCounts) GetValid added in v0.0.21

func (r *RecordCounts) GetValid() int

func (*RecordCounts) String

func (r *RecordCounts) String() string

func (*RecordCounts) UnmarshalJSON

func (r *RecordCounts) UnmarshalJSON(data []byte) error

type RecordCountsResponse

type RecordCountsResponse struct {
	Data *RecordCountsResponseData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordCountsResponse) GetData added in v0.0.21

func (*RecordCountsResponse) GetExtraProperties added in v0.0.14

func (r *RecordCountsResponse) GetExtraProperties() map[string]interface{}

func (*RecordCountsResponse) String

func (r *RecordCountsResponse) String() string

func (*RecordCountsResponse) UnmarshalJSON

func (r *RecordCountsResponse) UnmarshalJSON(data []byte) error

type RecordCountsResponseData

type RecordCountsResponseData struct {
	Counts  *RecordCounts `json:"counts,omitempty" url:"counts,omitempty"`
	Success bool          `json:"success" url:"success"`
	// contains filtered or unexported fields
}

func (*RecordCountsResponseData) GetCounts added in v0.0.21

func (r *RecordCountsResponseData) GetCounts() *RecordCounts

func (*RecordCountsResponseData) GetExtraProperties added in v0.0.14

func (r *RecordCountsResponseData) GetExtraProperties() map[string]interface{}

func (*RecordCountsResponseData) GetSuccess added in v0.0.21

func (r *RecordCountsResponseData) GetSuccess() bool

func (*RecordCountsResponseData) String

func (r *RecordCountsResponseData) String() string

func (*RecordCountsResponseData) UnmarshalJSON

func (r *RecordCountsResponseData) UnmarshalJSON(data []byte) error

type RecordData

type RecordData = map[string]*CellValue

A single row of data in a Sheet

type RecordDataWithLinks = map[string]*CellValueWithLinks

A single row of data in a Sheet, including links to related rows

type RecordId

type RecordId = string

Record ID

type RecordIndices added in v0.0.19

type RecordIndices struct {
	Id    string `json:"id" url:"id"`
	Index int    `json:"index" url:"index"`
	// contains filtered or unexported fields
}

A record index object

func (*RecordIndices) GetExtraProperties added in v0.0.19

func (r *RecordIndices) GetExtraProperties() map[string]interface{}

func (*RecordIndices) GetId added in v0.0.21

func (r *RecordIndices) GetId() string

func (*RecordIndices) GetIndex added in v0.0.21

func (r *RecordIndices) GetIndex() int

func (*RecordIndices) String added in v0.0.19

func (r *RecordIndices) String() string

func (*RecordIndices) UnmarshalJSON added in v0.0.19

func (r *RecordIndices) UnmarshalJSON(data []byte) error
type RecordWithLinks struct {
	Id       RecordId               `json:"id" url:"id"`
	Values   RecordDataWithLinks    `json:"values,omitempty" url:"values,omitempty"`
	Valid    *bool                  `json:"valid,omitempty" url:"valid,omitempty"`
	Messages []*ValidationMessage   `json:"messages,omitempty" url:"messages,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	Config   *RecordConfig          `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

A single row of data in a Sheet, including links to related rows

func (*RecordWithLinks) GetConfig added in v0.0.21

func (r *RecordWithLinks) GetConfig() *RecordConfig

func (*RecordWithLinks) GetExtraProperties added in v0.0.14

func (r *RecordWithLinks) GetExtraProperties() map[string]interface{}

func (*RecordWithLinks) GetId added in v0.0.21

func (r *RecordWithLinks) GetId() RecordId

func (*RecordWithLinks) GetMessages added in v0.0.21

func (r *RecordWithLinks) GetMessages() []*ValidationMessage

func (*RecordWithLinks) GetMetadata added in v0.0.21

func (r *RecordWithLinks) GetMetadata() map[string]interface{}

func (*RecordWithLinks) GetValid added in v0.0.21

func (r *RecordWithLinks) GetValid() *bool

func (*RecordWithLinks) GetValues added in v0.0.21

func (r *RecordWithLinks) GetValues() RecordDataWithLinks

func (*RecordWithLinks) String

func (r *RecordWithLinks) String() string

func (*RecordWithLinks) UnmarshalJSON

func (r *RecordWithLinks) UnmarshalJSON(data []byte) error

type Records

type Records = []*Record

List of Record objects

type RecordsResponse

type RecordsResponse struct {
	Data *RecordsResponseData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordsResponse) GetData added in v0.0.21

func (r *RecordsResponse) GetData() *RecordsResponseData

func (*RecordsResponse) GetExtraProperties added in v0.0.14

func (r *RecordsResponse) GetExtraProperties() map[string]interface{}

func (*RecordsResponse) String

func (r *RecordsResponse) String() string

func (*RecordsResponse) UnmarshalJSON

func (r *RecordsResponse) UnmarshalJSON(data []byte) error

type RecordsResponseData

type RecordsResponseData struct {
	Success bool              `json:"success" url:"success"`
	Records *RecordsWithLinks `json:"records,omitempty" url:"records,omitempty"`
	Counts  *RecordCounts     `json:"counts,omitempty" url:"counts,omitempty"`
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"commitId,omitempty" url:"commitId,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordsResponseData) GetCommitId added in v0.0.21

func (r *RecordsResponseData) GetCommitId() *CommitId

func (*RecordsResponseData) GetCounts added in v0.0.21

func (r *RecordsResponseData) GetCounts() *RecordCounts

func (*RecordsResponseData) GetExtraProperties added in v0.0.14

func (r *RecordsResponseData) GetExtraProperties() map[string]interface{}

func (*RecordsResponseData) GetRecords added in v0.0.21

func (r *RecordsResponseData) GetRecords() *RecordsWithLinks

func (*RecordsResponseData) GetSuccess added in v0.0.21

func (r *RecordsResponseData) GetSuccess() bool

func (*RecordsResponseData) GetVersionId added in v0.0.21

func (r *RecordsResponseData) GetVersionId() *VersionId

func (*RecordsResponseData) String

func (r *RecordsResponseData) String() string

func (*RecordsResponseData) UnmarshalJSON

func (r *RecordsResponseData) UnmarshalJSON(data []byte) error
type RecordsWithLinks = []*RecordWithLinks

List of Record objects, including links to related rows

type ReferenceListProperty added in v0.0.16

type ReferenceListProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// Will allow multiple values and store as an array
	IsArray *bool                        `json:"isArray,omitempty" url:"isArray,omitempty"`
	Config  *ReferenceListPropertyConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

Defines an array of values referenced from another sheet. Links should be established automatically by the matching engine or similar upon an evaluation of unique or similar columns between datasets.

func (*ReferenceListProperty) GetActions added in v0.0.21

func (r *ReferenceListProperty) GetActions() []*Action

func (*ReferenceListProperty) GetAlternativeNames added in v0.0.21

func (r *ReferenceListProperty) GetAlternativeNames() []string

func (*ReferenceListProperty) GetAppearance added in v0.0.21

func (r *ReferenceListProperty) GetAppearance() *FieldAppearance

func (*ReferenceListProperty) GetConfig added in v0.0.21

func (*ReferenceListProperty) GetConstraints added in v0.0.21

func (r *ReferenceListProperty) GetConstraints() []*Constraint

func (*ReferenceListProperty) GetDescription added in v0.0.21

func (r *ReferenceListProperty) GetDescription() *string

func (*ReferenceListProperty) GetExtraProperties added in v0.0.16

func (r *ReferenceListProperty) GetExtraProperties() map[string]interface{}

func (*ReferenceListProperty) GetIsArray added in v0.0.21

func (r *ReferenceListProperty) GetIsArray() *bool

func (*ReferenceListProperty) GetKey added in v0.0.21

func (r *ReferenceListProperty) GetKey() string

func (*ReferenceListProperty) GetLabel added in v0.0.21

func (r *ReferenceListProperty) GetLabel() *string

func (*ReferenceListProperty) GetMetadata added in v0.0.21

func (r *ReferenceListProperty) GetMetadata() interface{}

func (*ReferenceListProperty) GetReadonly added in v0.0.21

func (r *ReferenceListProperty) GetReadonly() *bool

func (*ReferenceListProperty) GetTreatments added in v0.0.21

func (r *ReferenceListProperty) GetTreatments() []string

func (*ReferenceListProperty) String added in v0.0.16

func (r *ReferenceListProperty) String() string

func (*ReferenceListProperty) UnmarshalJSON added in v0.0.16

func (r *ReferenceListProperty) UnmarshalJSON(data []byte) error

type ReferenceListPropertyConfig added in v0.0.16

type ReferenceListPropertyConfig struct {
	// Full path reference to a sheet configuration. Must be in the same workbook.
	Ref string `json:"ref" url:"ref"`
	// Key of the property to use as the reference key. Defaults to `id`
	Key string `json:"key" url:"key"`
	// contains filtered or unexported fields
}

func (*ReferenceListPropertyConfig) GetExtraProperties added in v0.0.16

func (r *ReferenceListPropertyConfig) GetExtraProperties() map[string]interface{}

func (*ReferenceListPropertyConfig) GetKey added in v0.0.21

func (r *ReferenceListPropertyConfig) GetKey() string

func (*ReferenceListPropertyConfig) GetRef added in v0.0.21

func (r *ReferenceListPropertyConfig) GetRef() string

func (*ReferenceListPropertyConfig) String added in v0.0.16

func (r *ReferenceListPropertyConfig) String() string

func (*ReferenceListPropertyConfig) UnmarshalJSON added in v0.0.16

func (r *ReferenceListPropertyConfig) UnmarshalJSON(data []byte) error

type ReferenceProperty

type ReferenceProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// Will allow multiple values and store as an array
	IsArray *bool                    `json:"isArray,omitempty" url:"isArray,omitempty"`
	Config  *ReferencePropertyConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

Defines a reference to another sheet. Links should be established automatically by the matching engine or similar upon an evaluation of unique or similar columns between datasets.

func (*ReferenceProperty) GetActions added in v0.0.21

func (r *ReferenceProperty) GetActions() []*Action

func (*ReferenceProperty) GetAlternativeNames added in v0.0.21

func (r *ReferenceProperty) GetAlternativeNames() []string

func (*ReferenceProperty) GetAppearance added in v0.0.21

func (r *ReferenceProperty) GetAppearance() *FieldAppearance

func (*ReferenceProperty) GetConfig added in v0.0.21

func (*ReferenceProperty) GetConstraints added in v0.0.21

func (r *ReferenceProperty) GetConstraints() []*Constraint

func (*ReferenceProperty) GetDescription added in v0.0.21

func (r *ReferenceProperty) GetDescription() *string

func (*ReferenceProperty) GetExtraProperties added in v0.0.14

func (r *ReferenceProperty) GetExtraProperties() map[string]interface{}

func (*ReferenceProperty) GetIsArray added in v0.0.21

func (r *ReferenceProperty) GetIsArray() *bool

func (*ReferenceProperty) GetKey added in v0.0.21

func (r *ReferenceProperty) GetKey() string

func (*ReferenceProperty) GetLabel added in v0.0.21

func (r *ReferenceProperty) GetLabel() *string

func (*ReferenceProperty) GetMetadata added in v0.0.21

func (r *ReferenceProperty) GetMetadata() interface{}

func (*ReferenceProperty) GetReadonly added in v0.0.21

func (r *ReferenceProperty) GetReadonly() *bool

func (*ReferenceProperty) GetTreatments added in v0.0.21

func (r *ReferenceProperty) GetTreatments() []string

func (*ReferenceProperty) String

func (r *ReferenceProperty) String() string

func (*ReferenceProperty) UnmarshalJSON

func (r *ReferenceProperty) UnmarshalJSON(data []byte) error

type ReferencePropertyConfig

type ReferencePropertyConfig struct {
	// Full path reference to a sheet configuration. Must be in the same workbook.
	Ref string `json:"ref" url:"ref"`
	// Key of the property to use as the reference key. Defaults to `id`
	Key string `json:"key" url:"key"`
	// The type of relationship this defines
	Relationship *ReferencePropertyRelationship `json:"relationship,omitempty" url:"relationship,omitempty"`
	// contains filtered or unexported fields
}

func (*ReferencePropertyConfig) GetExtraProperties added in v0.0.14

func (r *ReferencePropertyConfig) GetExtraProperties() map[string]interface{}

func (*ReferencePropertyConfig) GetKey added in v0.0.21

func (r *ReferencePropertyConfig) GetKey() string

func (*ReferencePropertyConfig) GetRef added in v0.0.21

func (r *ReferencePropertyConfig) GetRef() string

func (*ReferencePropertyConfig) GetRelationship added in v0.0.21

func (*ReferencePropertyConfig) String

func (r *ReferencePropertyConfig) String() string

func (*ReferencePropertyConfig) UnmarshalJSON

func (r *ReferencePropertyConfig) UnmarshalJSON(data []byte) error

type ReferencePropertyRelationship

type ReferencePropertyRelationship string
const (
	ReferencePropertyRelationshipHasOne  ReferencePropertyRelationship = "has-one"
	ReferencePropertyRelationshipHasMany ReferencePropertyRelationship = "has-many"
)

func NewReferencePropertyRelationshipFromString

func NewReferencePropertyRelationshipFromString(s string) (ReferencePropertyRelationship, error)

func (ReferencePropertyRelationship) Ptr

type Resolve added in v0.0.17

type Resolve struct {
	Field              *string      `json:"field,omitempty" url:"field,omitempty"`
	Type               *ResolveType `json:"type,omitempty" url:"type,omitempty"`
	ResolveTo          *ResolveTo   `json:"resolveTo,omitempty" url:"resolveTo,omitempty"`
	ClipValueReference *string      `json:"clip_value_reference,omitempty" url:"clip_value_reference,omitempty"`
	MainValueReference *string      `json:"main_value_reference,omitempty" url:"main_value_reference,omitempty"`
	// contains filtered or unexported fields
}

Conflict resolutions for a record

func (*Resolve) GetClipValueReference added in v0.0.21

func (r *Resolve) GetClipValueReference() *string

func (*Resolve) GetExtraProperties added in v0.0.17

func (r *Resolve) GetExtraProperties() map[string]interface{}

func (*Resolve) GetField added in v0.0.21

func (r *Resolve) GetField() *string

func (*Resolve) GetMainValueReference added in v0.0.21

func (r *Resolve) GetMainValueReference() *string

func (*Resolve) GetResolveTo added in v0.0.21

func (r *Resolve) GetResolveTo() *ResolveTo

func (*Resolve) GetType added in v0.0.21

func (r *Resolve) GetType() *ResolveType

func (*Resolve) String added in v0.0.17

func (r *Resolve) String() string

func (*Resolve) UnmarshalJSON added in v0.0.17

func (r *Resolve) UnmarshalJSON(data []byte) error

type ResolveTo added in v0.0.17

type ResolveTo string
const (
	ResolveToClip     ResolveTo = "clip"
	ResolveToMain     ResolveTo = "main"
	ResolveToSnapshot ResolveTo = "snapshot"
)

func NewResolveToFromString added in v0.0.17

func NewResolveToFromString(s string) (ResolveTo, error)

func (ResolveTo) Ptr added in v0.0.17

func (r ResolveTo) Ptr() *ResolveTo

type ResolveType added in v0.0.17

type ResolveType string
const (
	ResolveTypeConflict ResolveType = "conflict"
	ResolveTypeResolve  ResolveType = "resolve"
)

func NewResolveTypeFromString added in v0.0.17

func NewResolveTypeFromString(s string) (ResolveType, error)

func (ResolveType) Ptr added in v0.0.17

func (r ResolveType) Ptr() *ResolveType

type ResourceIdUnion

type ResourceIdUnion struct {
	AccountId     AccountId
	EnvironmentId EnvironmentId
	SpaceId       SpaceId
	// contains filtered or unexported fields
}

func NewResourceIdUnionFromAccountId

func NewResourceIdUnionFromAccountId(value AccountId) *ResourceIdUnion

func NewResourceIdUnionFromEnvironmentId

func NewResourceIdUnionFromEnvironmentId(value EnvironmentId) *ResourceIdUnion

func NewResourceIdUnionFromSpaceId

func NewResourceIdUnionFromSpaceId(value SpaceId) *ResourceIdUnion

func (*ResourceIdUnion) Accept

func (r *ResourceIdUnion) Accept(visitor ResourceIdUnionVisitor) error

func (*ResourceIdUnion) GetAccountId added in v0.0.21

func (r *ResourceIdUnion) GetAccountId() AccountId

func (*ResourceIdUnion) GetEnvironmentId added in v0.0.21

func (r *ResourceIdUnion) GetEnvironmentId() EnvironmentId

func (*ResourceIdUnion) GetSpaceId added in v0.0.21

func (r *ResourceIdUnion) GetSpaceId() SpaceId

func (ResourceIdUnion) MarshalJSON

func (r ResourceIdUnion) MarshalJSON() ([]byte, error)

func (*ResourceIdUnion) UnmarshalJSON

func (r *ResourceIdUnion) UnmarshalJSON(data []byte) error

type ResourceIdUnionVisitor

type ResourceIdUnionVisitor interface {
	VisitAccountId(AccountId) error
	VisitEnvironmentId(EnvironmentId) error
	VisitSpaceId(SpaceId) error
}

type ResourceJobSubject

type ResourceJobSubject struct {
	Id string `json:"id" url:"id"`
	// contains filtered or unexported fields
}

func (*ResourceJobSubject) GetExtraProperties added in v0.0.14

func (r *ResourceJobSubject) GetExtraProperties() map[string]interface{}

func (*ResourceJobSubject) GetId added in v0.0.21

func (r *ResourceJobSubject) GetId() string

func (*ResourceJobSubject) String

func (r *ResourceJobSubject) String() string

func (*ResourceJobSubject) UnmarshalJSON

func (r *ResourceJobSubject) UnmarshalJSON(data []byte) error

type RestoreOptions

type RestoreOptions struct {
	Created bool `json:"created" url:"created"`
	Updated bool `json:"updated" url:"updated"`
	Deleted bool `json:"deleted" url:"deleted"`
	// contains filtered or unexported fields
}

func (*RestoreOptions) GetCreated added in v0.0.21

func (r *RestoreOptions) GetCreated() bool

func (*RestoreOptions) GetDeleted added in v0.0.21

func (r *RestoreOptions) GetDeleted() bool

func (*RestoreOptions) GetExtraProperties added in v0.0.14

func (r *RestoreOptions) GetExtraProperties() map[string]interface{}

func (*RestoreOptions) GetUpdated added in v0.0.21

func (r *RestoreOptions) GetUpdated() bool

func (*RestoreOptions) String

func (r *RestoreOptions) String() string

func (*RestoreOptions) UnmarshalJSON

func (r *RestoreOptions) UnmarshalJSON(data []byte) error

type RoleEnum added in v0.0.19

type RoleEnum string
const (
	RoleEnumAdmin RoleEnum = "admin"
	RoleEnumGuest RoleEnum = "guest"
)

func NewRoleEnumFromString added in v0.0.19

func NewRoleEnumFromString(s string) (RoleEnum, error)

func (RoleEnum) Ptr added in v0.0.19

func (r RoleEnum) Ptr() *RoleEnum

type RoleId

type RoleId = string

Role ID

type RoleResponse added in v0.0.8

type RoleResponse struct {
	Id        RoleId    `json:"id" url:"id"`
	Name      string    `json:"name" url:"name"`
	AccountId AccountId `json:"accountId" url:"accountId"`
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// contains filtered or unexported fields
}

func (*RoleResponse) GetAccountId added in v0.0.21

func (r *RoleResponse) GetAccountId() AccountId

func (*RoleResponse) GetCreatedAt added in v0.0.21

func (r *RoleResponse) GetCreatedAt() time.Time

func (*RoleResponse) GetExtraProperties added in v0.0.14

func (r *RoleResponse) GetExtraProperties() map[string]interface{}

func (*RoleResponse) GetId added in v0.0.21

func (r *RoleResponse) GetId() RoleId

func (*RoleResponse) GetName added in v0.0.21

func (r *RoleResponse) GetName() string

func (*RoleResponse) GetUpdatedAt added in v0.0.21

func (r *RoleResponse) GetUpdatedAt() time.Time

func (*RoleResponse) MarshalJSON added in v0.0.8

func (r *RoleResponse) MarshalJSON() ([]byte, error)

func (*RoleResponse) String added in v0.0.8

func (r *RoleResponse) String() string

func (*RoleResponse) UnmarshalJSON added in v0.0.8

func (r *RoleResponse) UnmarshalJSON(data []byte) error

type SchemaDiffData added in v0.0.17

type SchemaDiffData = map[string]SchemaDiffEnum

type SchemaDiffEnum added in v0.0.17

type SchemaDiffEnum string
const (
	SchemaDiffEnumAdded     SchemaDiffEnum = "added"
	SchemaDiffEnumRemoved   SchemaDiffEnum = "removed"
	SchemaDiffEnumUnchanged SchemaDiffEnum = "unchanged"
)

func NewSchemaDiffEnumFromString added in v0.0.17

func NewSchemaDiffEnumFromString(s string) (SchemaDiffEnum, error)

func (SchemaDiffEnum) Ptr added in v0.0.17

func (s SchemaDiffEnum) Ptr() *SchemaDiffEnum

type SchemaDiffRecord added in v0.0.17

type SchemaDiffRecord = SchemaDiffData

type SearchField

type SearchField = string

Use this to narrow the searchValue results to a specific field

type SearchValue

type SearchValue = string

Search for the given value, returning matching rows. For exact matches, wrap the value in double quotes ("Bob"). To search for null values, send empty double quotes ("")

type Secret

type Secret struct {
	// The reference name for a secret.
	Name SecretName `json:"name" url:"name"`
	// The secret value. This is hidden in the UI.
	Value SecretValue `json:"value" url:"value"`
	// The Environment of the secret.
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The Space of the secret.
	SpaceId *SpaceId `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	// The Actor of the secret.
	ActorId *ActorIdUnion `json:"actorId,omitempty" url:"actorId,omitempty"`
	// The ID of the secret.
	Id SecretId `json:"id" url:"id"`
	// contains filtered or unexported fields
}

The value of a secret

func (*Secret) GetActorId added in v0.0.21

func (s *Secret) GetActorId() *ActorIdUnion

func (*Secret) GetEnvironmentId added in v0.0.21

func (s *Secret) GetEnvironmentId() *EnvironmentId

func (*Secret) GetExtraProperties added in v0.0.14

func (s *Secret) GetExtraProperties() map[string]interface{}

func (*Secret) GetId added in v0.0.21

func (s *Secret) GetId() SecretId

func (*Secret) GetName added in v0.0.21

func (s *Secret) GetName() SecretName

func (*Secret) GetSpaceId added in v0.0.21

func (s *Secret) GetSpaceId() *SpaceId

func (*Secret) GetValue added in v0.0.21

func (s *Secret) GetValue() SecretValue

func (*Secret) String

func (s *Secret) String() string

func (*Secret) UnmarshalJSON

func (s *Secret) UnmarshalJSON(data []byte) error

type SecretId

type SecretId = string

Secret ID

type SecretName

type SecretName = string

The name of a secret. Minimum 1 character, maximum 1024

type SecretValue

type SecretValue = string

The value of a secret. Minimum 1 character, maximum 1024

type SecretsResponse

type SecretsResponse struct {
	Data []*Secret `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretsResponse) GetData added in v0.0.21

func (s *SecretsResponse) GetData() []*Secret

func (*SecretsResponse) GetExtraProperties added in v0.0.14

func (s *SecretsResponse) GetExtraProperties() map[string]interface{}

func (*SecretsResponse) String

func (s *SecretsResponse) String() string

func (*SecretsResponse) UnmarshalJSON

func (s *SecretsResponse) UnmarshalJSON(data []byte) error

type Sheet

type Sheet struct {
	// The ID of the Sheet.
	Id SheetId `json:"id" url:"id"`
	// The ID of the Workbook.
	WorkbookId WorkbookId `json:"workbookId" url:"workbookId"`
	// The name of the Sheet.
	Name string `json:"name" url:"name"`
	// The slug of the Sheet.
	Slug string `json:"slug" url:"slug"`
	// Describes shape of data as well as behavior
	Config *SheetConfig `json:"config,omitempty" url:"config,omitempty"`
	// Useful for any contextual metadata regarding the sheet. Store any valid json
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// The scoped namespace of the Sheet.
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// The actor who locked the Sheet.
	LockedBy *string `json:"lockedBy,omitempty" url:"lockedBy,omitempty"`
	// Date the sheet was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// Date the sheet was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// The time the Sheet was locked.
	LockedAt *time.Time `json:"lockedAt,omitempty" url:"lockedAt,omitempty"`
	// The precomputed counts of records in the Sheet (may not exist).
	RecordCounts *RecordCounts `json:"recordCounts,omitempty" url:"recordCounts,omitempty"`
	// contains filtered or unexported fields
}

A place to store tabular data

func (*Sheet) GetConfig added in v0.0.21

func (s *Sheet) GetConfig() *SheetConfig

func (*Sheet) GetCreatedAt added in v0.0.21

func (s *Sheet) GetCreatedAt() time.Time

func (*Sheet) GetExtraProperties added in v0.0.14

func (s *Sheet) GetExtraProperties() map[string]interface{}

func (*Sheet) GetId added in v0.0.21

func (s *Sheet) GetId() SheetId

func (*Sheet) GetLockedAt added in v0.0.21

func (s *Sheet) GetLockedAt() *time.Time

func (*Sheet) GetLockedBy added in v0.0.21

func (s *Sheet) GetLockedBy() *string

func (*Sheet) GetMetadata added in v0.0.21

func (s *Sheet) GetMetadata() interface{}

func (*Sheet) GetName added in v0.0.21

func (s *Sheet) GetName() string

func (*Sheet) GetNamespace added in v0.0.21

func (s *Sheet) GetNamespace() *string

func (*Sheet) GetRecordCounts added in v0.0.21

func (s *Sheet) GetRecordCounts() *RecordCounts

func (*Sheet) GetSlug added in v0.0.21

func (s *Sheet) GetSlug() string

func (*Sheet) GetUpdatedAt added in v0.0.21

func (s *Sheet) GetUpdatedAt() time.Time

func (*Sheet) GetWorkbookId added in v0.0.21

func (s *Sheet) GetWorkbookId() WorkbookId

func (*Sheet) MarshalJSON added in v0.0.8

func (s *Sheet) MarshalJSON() ([]byte, error)

func (*Sheet) String

func (s *Sheet) String() string

func (*Sheet) UnmarshalJSON

func (s *Sheet) UnmarshalJSON(data []byte) error

type SheetAccess

type SheetAccess string
const (
	SheetAccessAll    SheetAccess = "*"
	SheetAccessAdd    SheetAccess = "add"
	SheetAccessEdit   SheetAccess = "edit"
	SheetAccessDelete SheetAccess = "delete"
	SheetAccessImport SheetAccess = "import"
)

func NewSheetAccessFromString

func NewSheetAccessFromString(s string) (SheetAccess, error)

func (SheetAccess) Ptr

func (s SheetAccess) Ptr() *SheetAccess

type SheetConfig

type SheetConfig struct {
	// The name of your Sheet as it will appear to your end users.
	Name string `json:"name" url:"name"`
	// A sentence or two describing the purpose of your Sheet.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A unique identifier for your Sheet.
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// A boolean specifying whether or not this sheet is read only. Read only sheets are not editable by end users.
	Readonly *bool `json:"readonly,omitempty" url:"readonly,omitempty"`
	// Allow end users to add fields during mapping.
	AllowAdditionalFields *bool `json:"allowAdditionalFields,omitempty" url:"allowAdditionalFields,omitempty"`
	// The minimum confidence required to automatically map a field
	MappingConfidenceThreshold *float64 `json:"mappingConfidenceThreshold,omitempty" url:"mappingConfidenceThreshold,omitempty"`
	// Control Sheet-level access for all users.
	Access []SheetAccess `json:"access,omitempty" url:"access,omitempty"`
	// Where you define your Sheet’s data schema.
	Fields []*Property `json:"fields,omitempty" url:"fields,omitempty"`
	// An array of actions that end users can perform on this Sheet.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// An array of constraints that end users can perform on this Sheet.
	Constraints []*SheetConstraint `json:"constraints,omitempty" url:"constraints,omitempty"`
	// contains filtered or unexported fields
}

Describes shape of data as well as behavior

func (*SheetConfig) GetAccess added in v0.0.21

func (s *SheetConfig) GetAccess() []SheetAccess

func (*SheetConfig) GetActions added in v0.0.21

func (s *SheetConfig) GetActions() []*Action

func (*SheetConfig) GetAllowAdditionalFields added in v0.0.21

func (s *SheetConfig) GetAllowAdditionalFields() *bool

func (*SheetConfig) GetConstraints added in v0.0.21

func (s *SheetConfig) GetConstraints() []*SheetConstraint

func (*SheetConfig) GetDescription added in v0.0.21

func (s *SheetConfig) GetDescription() *string

func (*SheetConfig) GetExtraProperties added in v0.0.14

func (s *SheetConfig) GetExtraProperties() map[string]interface{}

func (*SheetConfig) GetFields added in v0.0.21

func (s *SheetConfig) GetFields() []*Property

func (*SheetConfig) GetMappingConfidenceThreshold added in v0.0.21

func (s *SheetConfig) GetMappingConfidenceThreshold() *float64

func (*SheetConfig) GetMetadata added in v0.0.21

func (s *SheetConfig) GetMetadata() interface{}

func (*SheetConfig) GetName added in v0.0.21

func (s *SheetConfig) GetName() string

func (*SheetConfig) GetReadonly added in v0.0.21

func (s *SheetConfig) GetReadonly() *bool

func (*SheetConfig) GetSlug added in v0.0.21

func (s *SheetConfig) GetSlug() *string

func (*SheetConfig) String

func (s *SheetConfig) String() string

func (*SheetConfig) UnmarshalJSON

func (s *SheetConfig) UnmarshalJSON(data []byte) error

type SheetConfigOrUpdate

type SheetConfigOrUpdate struct {
	// The name of your Sheet as it will appear to your end users.
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// A sentence or two describing the purpose of your Sheet.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A unique identifier for your Sheet. **Required when updating a Workbook.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// A boolean specifying whether or not this sheet is read only. Read only sheets are not editable by end users.
	Readonly *bool `json:"readonly,omitempty" url:"readonly,omitempty"`
	// Allow end users to add fields during mapping.
	AllowAdditionalFields *bool `json:"allowAdditionalFields,omitempty" url:"allowAdditionalFields,omitempty"`
	// The minimum confidence required to automatically map a field
	MappingConfidenceThreshold *float64 `json:"mappingConfidenceThreshold,omitempty" url:"mappingConfidenceThreshold,omitempty"`
	// Control Sheet-level access for all users.
	Access []SheetAccess `json:"access,omitempty" url:"access,omitempty"`
	// Where you define your Sheet’s data schema.
	Fields []*Property `json:"fields,omitempty" url:"fields,omitempty"`
	// An array of actions that end users can perform on this Sheet.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// The ID of the Sheet.
	Id *SheetId `json:"id,omitempty" url:"id,omitempty"`
	// The ID of the Workbook.
	WorkbookId *WorkbookId `json:"workbookId,omitempty" url:"workbookId,omitempty"`
	// Describes shape of data as well as behavior.
	Config *SheetConfig `json:"config,omitempty" url:"config,omitempty"`
	// Useful for any contextual metadata regarding the sheet. Store any valid json
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// The scoped namespace of the Sheet.
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Date the sheet was last updated
	UpdatedAt *time.Time `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	// Date the sheet was created
	CreatedAt *time.Time `json:"createdAt,omitempty" url:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*SheetConfigOrUpdate) GetAccess added in v0.0.21

func (s *SheetConfigOrUpdate) GetAccess() []SheetAccess

func (*SheetConfigOrUpdate) GetActions added in v0.0.21

func (s *SheetConfigOrUpdate) GetActions() []*Action

func (*SheetConfigOrUpdate) GetAllowAdditionalFields added in v0.0.21

func (s *SheetConfigOrUpdate) GetAllowAdditionalFields() *bool

func (*SheetConfigOrUpdate) GetConfig added in v0.0.21

func (s *SheetConfigOrUpdate) GetConfig() *SheetConfig

func (*SheetConfigOrUpdate) GetCreatedAt added in v0.0.21

func (s *SheetConfigOrUpdate) GetCreatedAt() *time.Time

func (*SheetConfigOrUpdate) GetDescription added in v0.0.21

func (s *SheetConfigOrUpdate) GetDescription() *string

func (*SheetConfigOrUpdate) GetExtraProperties added in v0.0.14

func (s *SheetConfigOrUpdate) GetExtraProperties() map[string]interface{}

func (*SheetConfigOrUpdate) GetFields added in v0.0.21

func (s *SheetConfigOrUpdate) GetFields() []*Property

func (*SheetConfigOrUpdate) GetId added in v0.0.21

func (s *SheetConfigOrUpdate) GetId() *SheetId

func (*SheetConfigOrUpdate) GetMappingConfidenceThreshold added in v0.0.21

func (s *SheetConfigOrUpdate) GetMappingConfidenceThreshold() *float64

func (*SheetConfigOrUpdate) GetMetadata added in v0.0.21

func (s *SheetConfigOrUpdate) GetMetadata() interface{}

func (*SheetConfigOrUpdate) GetName added in v0.0.21

func (s *SheetConfigOrUpdate) GetName() *string

func (*SheetConfigOrUpdate) GetNamespace added in v0.0.21

func (s *SheetConfigOrUpdate) GetNamespace() *string

func (*SheetConfigOrUpdate) GetReadonly added in v0.0.21

func (s *SheetConfigOrUpdate) GetReadonly() *bool

func (*SheetConfigOrUpdate) GetSlug added in v0.0.21

func (s *SheetConfigOrUpdate) GetSlug() *string

func (*SheetConfigOrUpdate) GetUpdatedAt added in v0.0.21

func (s *SheetConfigOrUpdate) GetUpdatedAt() *time.Time

func (*SheetConfigOrUpdate) GetWorkbookId added in v0.0.21

func (s *SheetConfigOrUpdate) GetWorkbookId() *WorkbookId

func (*SheetConfigOrUpdate) MarshalJSON added in v0.0.8

func (s *SheetConfigOrUpdate) MarshalJSON() ([]byte, error)

func (*SheetConfigOrUpdate) String

func (s *SheetConfigOrUpdate) String() string

func (*SheetConfigOrUpdate) UnmarshalJSON

func (s *SheetConfigOrUpdate) UnmarshalJSON(data []byte) error

type SheetConfigUpdate

type SheetConfigUpdate struct {
	// The name of your Sheet as it will appear to your end users.
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// A sentence or two describing the purpose of your Sheet.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A unique identifier for your Sheet. **Required when updating a Workbook.**
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// A boolean specifying whether or not this sheet is read only. Read only sheets are not editable by end users.
	Readonly *bool `json:"readonly,omitempty" url:"readonly,omitempty"`
	// Allow end users to add fields during mapping.
	AllowAdditionalFields *bool `json:"allowAdditionalFields,omitempty" url:"allowAdditionalFields,omitempty"`
	// The minimum confidence required to automatically map a field
	MappingConfidenceThreshold *float64 `json:"mappingConfidenceThreshold,omitempty" url:"mappingConfidenceThreshold,omitempty"`
	// Control Sheet-level access for all users.
	Access []SheetAccess `json:"access,omitempty" url:"access,omitempty"`
	// Where you define your Sheet’s data schema.
	Fields []*Property `json:"fields,omitempty" url:"fields,omitempty"`
	// An array of actions that end users can perform on this Sheet.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// contains filtered or unexported fields
}

Changes to make to an existing sheet config

func (*SheetConfigUpdate) GetAccess added in v0.0.21

func (s *SheetConfigUpdate) GetAccess() []SheetAccess

func (*SheetConfigUpdate) GetActions added in v0.0.21

func (s *SheetConfigUpdate) GetActions() []*Action

func (*SheetConfigUpdate) GetAllowAdditionalFields added in v0.0.21

func (s *SheetConfigUpdate) GetAllowAdditionalFields() *bool

func (*SheetConfigUpdate) GetDescription added in v0.0.21

func (s *SheetConfigUpdate) GetDescription() *string

func (*SheetConfigUpdate) GetExtraProperties added in v0.0.14

func (s *SheetConfigUpdate) GetExtraProperties() map[string]interface{}

func (*SheetConfigUpdate) GetFields added in v0.0.21

func (s *SheetConfigUpdate) GetFields() []*Property

func (*SheetConfigUpdate) GetMappingConfidenceThreshold added in v0.0.21

func (s *SheetConfigUpdate) GetMappingConfidenceThreshold() *float64

func (*SheetConfigUpdate) GetName added in v0.0.21

func (s *SheetConfigUpdate) GetName() *string

func (*SheetConfigUpdate) GetReadonly added in v0.0.21

func (s *SheetConfigUpdate) GetReadonly() *bool

func (*SheetConfigUpdate) GetSlug added in v0.0.21

func (s *SheetConfigUpdate) GetSlug() *string

func (*SheetConfigUpdate) String

func (s *SheetConfigUpdate) String() string

func (*SheetConfigUpdate) UnmarshalJSON

func (s *SheetConfigUpdate) UnmarshalJSON(data []byte) error

type SheetConstraint added in v0.0.6

type SheetConstraint struct {
	Type     string
	Unique   *CompositeUniqueConstraint
	External *ExternalSheetConstraint
}

func NewSheetConstraintFromExternal added in v0.0.8

func NewSheetConstraintFromExternal(value *ExternalSheetConstraint) *SheetConstraint

func NewSheetConstraintFromUnique added in v0.0.6

func NewSheetConstraintFromUnique(value *CompositeUniqueConstraint) *SheetConstraint

func (*SheetConstraint) Accept added in v0.0.6

func (s *SheetConstraint) Accept(visitor SheetConstraintVisitor) error

func (*SheetConstraint) GetExternal added in v0.0.21

func (s *SheetConstraint) GetExternal() *ExternalSheetConstraint

func (*SheetConstraint) GetType added in v0.0.21

func (s *SheetConstraint) GetType() string

func (*SheetConstraint) GetUnique added in v0.0.21

func (SheetConstraint) MarshalJSON added in v0.0.6

func (s SheetConstraint) MarshalJSON() ([]byte, error)

func (*SheetConstraint) UnmarshalJSON added in v0.0.6

func (s *SheetConstraint) UnmarshalJSON(data []byte) error

type SheetConstraintVisitor added in v0.0.6

type SheetConstraintVisitor interface {
	VisitUnique(*CompositeUniqueConstraint) error
	VisitExternal(*ExternalSheetConstraint) error
}

type SheetId

type SheetId = string

Sheet ID

type SheetResponse

type SheetResponse struct {
	Data *Sheet `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SheetResponse) GetData added in v0.0.21

func (s *SheetResponse) GetData() *Sheet

func (*SheetResponse) GetExtraProperties added in v0.0.14

func (s *SheetResponse) GetExtraProperties() map[string]interface{}

func (*SheetResponse) String

func (s *SheetResponse) String() string

func (*SheetResponse) UnmarshalJSON

func (s *SheetResponse) UnmarshalJSON(data []byte) error

type SheetSlug

type SheetSlug = string

Sheet Slug

type SheetUpdate

type SheetUpdate struct {
	// The ID of the Sheet.
	Id *SheetId `json:"id,omitempty" url:"id,omitempty"`
	// The ID of the Workbook.
	WorkbookId *WorkbookId `json:"workbookId,omitempty" url:"workbookId,omitempty"`
	// Describes shape of data as well as behavior.
	Config *SheetConfig `json:"config,omitempty" url:"config,omitempty"`
	// Useful for any contextual metadata regarding the sheet. Store any valid json
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// The scoped namespace of the Sheet.
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Date the sheet was last updated
	UpdatedAt *time.Time `json:"updatedAt,omitempty" url:"updatedAt,omitempty"`
	// Date the sheet was created
	CreatedAt *time.Time `json:"createdAt,omitempty" url:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

Changes to make to an existing sheet

func (*SheetUpdate) GetConfig added in v0.0.21

func (s *SheetUpdate) GetConfig() *SheetConfig

func (*SheetUpdate) GetCreatedAt added in v0.0.21

func (s *SheetUpdate) GetCreatedAt() *time.Time

func (*SheetUpdate) GetExtraProperties added in v0.0.14

func (s *SheetUpdate) GetExtraProperties() map[string]interface{}

func (*SheetUpdate) GetId added in v0.0.21

func (s *SheetUpdate) GetId() *SheetId

func (*SheetUpdate) GetMetadata added in v0.0.21

func (s *SheetUpdate) GetMetadata() interface{}

func (*SheetUpdate) GetNamespace added in v0.0.21

func (s *SheetUpdate) GetNamespace() *string

func (*SheetUpdate) GetUpdatedAt added in v0.0.21

func (s *SheetUpdate) GetUpdatedAt() *time.Time

func (*SheetUpdate) GetWorkbookId added in v0.0.21

func (s *SheetUpdate) GetWorkbookId() *WorkbookId

func (*SheetUpdate) MarshalJSON added in v0.0.8

func (s *SheetUpdate) MarshalJSON() ([]byte, error)

func (*SheetUpdate) String

func (s *SheetUpdate) String() string

func (*SheetUpdate) UnmarshalJSON

func (s *SheetUpdate) UnmarshalJSON(data []byte) error

type SheetUpdateRequest added in v0.0.13

type SheetUpdateRequest struct {
	// The name of the Sheet.
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// The slug of the Sheet.
	Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
	// Useful for any contextual metadata regarding the sheet. Store any valid json
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Changes to make to an existing sheet

func (*SheetUpdateRequest) GetExtraProperties added in v0.0.14

func (s *SheetUpdateRequest) GetExtraProperties() map[string]interface{}

func (*SheetUpdateRequest) GetMetadata added in v0.0.21

func (s *SheetUpdateRequest) GetMetadata() interface{}

func (*SheetUpdateRequest) GetName added in v0.0.21

func (s *SheetUpdateRequest) GetName() *string

func (*SheetUpdateRequest) GetSlug added in v0.0.21

func (s *SheetUpdateRequest) GetSlug() *string

func (*SheetUpdateRequest) String added in v0.0.13

func (s *SheetUpdateRequest) String() string

func (*SheetUpdateRequest) UnmarshalJSON added in v0.0.13

func (s *SheetUpdateRequest) UnmarshalJSON(data []byte) error

type Snapshot

type Snapshot struct {
	// The ID of the Snapshot.
	Id SnapshotId `json:"id" url:"id"`
	// The ID of the Sheet.
	SheetId SheetId `json:"sheetId" url:"sheetId"`
	// The title of the Snapshot.
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A summary of the Snapshot. This field is only available on the single get snapshot endpoint. It is not available for the list snapshots endpoint.
	Summary *SnapshotSummary `json:"summary,omitempty" url:"summary,omitempty"`
	// The time the Snapshot was created.
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// The actor who created the Snapshot.
	CreatedBy UserId `json:"createdBy" url:"createdBy"`
	// The ID of the thread associated with the snapshot.
	ThreadId *string `json:"threadId,omitempty" url:"threadId,omitempty"`
	// contains filtered or unexported fields
}

func (*Snapshot) GetCreatedAt added in v0.0.21

func (s *Snapshot) GetCreatedAt() time.Time

func (*Snapshot) GetCreatedBy added in v0.0.21

func (s *Snapshot) GetCreatedBy() UserId

func (*Snapshot) GetExtraProperties added in v0.0.14

func (s *Snapshot) GetExtraProperties() map[string]interface{}

func (*Snapshot) GetId added in v0.0.21

func (s *Snapshot) GetId() SnapshotId

func (*Snapshot) GetLabel added in v0.0.21

func (s *Snapshot) GetLabel() *string

func (*Snapshot) GetSheetId added in v0.0.21

func (s *Snapshot) GetSheetId() SheetId

func (*Snapshot) GetSummary added in v0.0.21

func (s *Snapshot) GetSummary() *SnapshotSummary

func (*Snapshot) GetThreadId added in v0.0.21

func (s *Snapshot) GetThreadId() *string

func (*Snapshot) MarshalJSON added in v0.0.8

func (s *Snapshot) MarshalJSON() ([]byte, error)

func (*Snapshot) String

func (s *Snapshot) String() string

func (*Snapshot) UnmarshalJSON

func (s *Snapshot) UnmarshalJSON(data []byte) error

type SnapshotId

type SnapshotId = string

Snapshot ID

type SnapshotResponse

type SnapshotResponse struct {
	Data *Snapshot `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotResponse) GetData added in v0.0.21

func (s *SnapshotResponse) GetData() *Snapshot

func (*SnapshotResponse) GetExtraProperties added in v0.0.14

func (s *SnapshotResponse) GetExtraProperties() map[string]interface{}

func (*SnapshotResponse) String

func (s *SnapshotResponse) String() string

func (*SnapshotResponse) UnmarshalJSON

func (s *SnapshotResponse) UnmarshalJSON(data []byte) error

type SnapshotSummary

type SnapshotSummary struct {
	CreatedSince *SummarySection `json:"createdSince,omitempty" url:"createdSince,omitempty"`
	UpdatedSince *SummarySection `json:"updatedSince,omitempty" url:"updatedSince,omitempty"`
	DeletedSince *SummarySection `json:"deletedSince,omitempty" url:"deletedSince,omitempty"`
	// The schema diff between the snapshot and the current sheet schema.
	SchemaDiff SchemaDiffRecord `json:"schemaDiff,omitempty" url:"schemaDiff,omitempty"`
	// The sheet configuration at the time of the snapshot.
	Config *SheetConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotSummary) GetConfig added in v0.0.21

func (s *SnapshotSummary) GetConfig() *SheetConfig

func (*SnapshotSummary) GetCreatedSince added in v0.0.21

func (s *SnapshotSummary) GetCreatedSince() *SummarySection

func (*SnapshotSummary) GetDeletedSince added in v0.0.21

func (s *SnapshotSummary) GetDeletedSince() *SummarySection

func (*SnapshotSummary) GetExtraProperties added in v0.0.14

func (s *SnapshotSummary) GetExtraProperties() map[string]interface{}

func (*SnapshotSummary) GetSchemaDiff added in v0.0.21

func (s *SnapshotSummary) GetSchemaDiff() SchemaDiffRecord

func (*SnapshotSummary) GetUpdatedSince added in v0.0.21

func (s *SnapshotSummary) GetUpdatedSince() *SummarySection

func (*SnapshotSummary) String

func (s *SnapshotSummary) String() string

func (*SnapshotSummary) UnmarshalJSON

func (s *SnapshotSummary) UnmarshalJSON(data []byte) error

type SnapshotsResponse

type SnapshotsResponse struct {
	Data []*Snapshot `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotsResponse) GetData added in v0.0.21

func (s *SnapshotsResponse) GetData() []*Snapshot

func (*SnapshotsResponse) GetExtraProperties added in v0.0.14

func (s *SnapshotsResponse) GetExtraProperties() map[string]interface{}

func (*SnapshotsResponse) String

func (s *SnapshotsResponse) String() string

func (*SnapshotsResponse) UnmarshalJSON

func (s *SnapshotsResponse) UnmarshalJSON(data []byte) error

type SortDirection

type SortDirection string

Sort direction - asc (ascending) or desc (descending)

const (
	SortDirectionAsc  SortDirection = "asc"
	SortDirectionDesc SortDirection = "desc"
)

func NewSortDirectionFromString

func NewSortDirectionFromString(s string) (SortDirection, error)

func (SortDirection) Ptr

func (s SortDirection) Ptr() *SortDirection

type SortField

type SortField = string

Name of field by which to sort records

type SourceField

type SourceField struct {
	// The description of the source field
	SourceField *Property `json:"sourceField,omitempty" url:"sourceField,omitempty"`
	// A list of preview values of the data in the source field
	Preview []string `json:"preview,omitempty" url:"preview,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceField) GetExtraProperties added in v0.0.14

func (s *SourceField) GetExtraProperties() map[string]interface{}

func (*SourceField) GetPreview added in v0.0.21

func (s *SourceField) GetPreview() []string

func (*SourceField) GetSourceField added in v0.0.21

func (s *SourceField) GetSourceField() *Property

func (*SourceField) String

func (s *SourceField) String() string

func (*SourceField) UnmarshalJSON

func (s *SourceField) UnmarshalJSON(data []byte) error

type Space

type Space struct {
	SpaceConfigId *SpaceConfigId `json:"spaceConfigId,omitempty" url:"spaceConfigId,omitempty"`
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The ID of the primary workbook for the space. This should not be included in create space requests.
	PrimaryWorkbookId *WorkbookId `json:"primaryWorkbookId,omitempty" url:"primaryWorkbookId,omitempty"`
	// Metadata for the space
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// The Space settings.
	Settings         *SpaceSettings `json:"settings,omitempty" url:"settings,omitempty"`
	Actions          []*Action      `json:"actions,omitempty" url:"actions,omitempty"`
	Access           []SpaceAccess  `json:"access,omitempty" url:"access,omitempty"`
	AutoConfigure    *bool          `json:"autoConfigure,omitempty" url:"autoConfigure,omitempty"`
	Namespace        *string        `json:"namespace,omitempty" url:"namespace,omitempty"`
	Labels           []string       `json:"labels,omitempty" url:"labels,omitempty"`
	TranslationsPath *string        `json:"translationsPath,omitempty" url:"translationsPath,omitempty"`
	LanguageOverride *string        `json:"languageOverride,omitempty" url:"languageOverride,omitempty"`
	// Date when space was archived
	ArchivedAt *time.Time `json:"archivedAt,omitempty" url:"archivedAt,omitempty"`
	// The ID of the App that space is associated with
	AppId *AppId `json:"appId,omitempty" url:"appId,omitempty"`
	// Whether the space is an app template. Only one space per app can be an app template.
	IsAppTemplate *bool   `json:"isAppTemplate,omitempty" url:"isAppTemplate,omitempty"`
	Id            SpaceId `json:"id" url:"id"`
	// Amount of workbooks in the space
	WorkbooksCount *int `json:"workbooksCount,omitempty" url:"workbooksCount,omitempty"`
	// Amount of files in the space
	FilesCount      *int    `json:"filesCount,omitempty" url:"filesCount,omitempty"`
	CreatedByUserId *UserId `json:"createdByUserId,omitempty" url:"createdByUserId,omitempty"`
	// User name who created space
	CreatedByUserName *string `json:"createdByUserName,omitempty" url:"createdByUserName,omitempty"`
	// Date when space was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date when space was updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// Date when space was expired
	ExpiredAt *time.Time `json:"expiredAt,omitempty" url:"expiredAt,omitempty"`
	// This date marks the most recent activity within the space, tracking actions to the second. Activities include creating or updating records in a sheet, uploading files, or modifying a workbook's configuration.
	LastActivityAt *time.Time `json:"lastActivityAt,omitempty" url:"lastActivityAt,omitempty"`
	// Guest link to the space
	GuestLink *string `json:"guestLink,omitempty" url:"guestLink,omitempty"`
	// The name of the space
	Name string `json:"name" url:"name"`
	// The display order
	DisplayOrder *int `json:"displayOrder,omitempty" url:"displayOrder,omitempty"`
	// Access token for the space
	AccessToken *string `json:"accessToken,omitempty" url:"accessToken,omitempty"`
	// Flag for collaborative (project) spaces
	IsCollaborative *bool `json:"isCollaborative,omitempty" url:"isCollaborative,omitempty"`
	// Size information for the space
	Size *SpaceSize `json:"size,omitempty" url:"size,omitempty"`
	// Date when the space was upgraded
	UpgradedAt *time.Time `json:"upgradedAt,omitempty" url:"upgradedAt,omitempty"`
	// Type of guest authentication
	GuestAuthentication []GuestAuthenticationEnum `json:"guestAuthentication,omitempty" url:"guestAuthentication,omitempty"`
	// contains filtered or unexported fields
}

A place to store your workbooks

func (*Space) GetAccess added in v0.0.21

func (s *Space) GetAccess() []SpaceAccess

func (*Space) GetAccessToken added in v0.0.21

func (s *Space) GetAccessToken() *string

func (*Space) GetActions added in v0.0.21

func (s *Space) GetActions() []*Action

func (*Space) GetAppId added in v0.0.21

func (s *Space) GetAppId() *AppId

func (*Space) GetArchivedAt added in v0.0.21

func (s *Space) GetArchivedAt() *time.Time

func (*Space) GetAutoConfigure added in v0.0.21

func (s *Space) GetAutoConfigure() *bool

func (*Space) GetCreatedAt added in v0.0.21

func (s *Space) GetCreatedAt() time.Time

func (*Space) GetCreatedByUserId added in v0.0.21

func (s *Space) GetCreatedByUserId() *UserId

func (*Space) GetCreatedByUserName added in v0.0.21

func (s *Space) GetCreatedByUserName() *string

func (*Space) GetDisplayOrder added in v0.0.21

func (s *Space) GetDisplayOrder() *int

func (*Space) GetEnvironmentId added in v0.0.21

func (s *Space) GetEnvironmentId() *EnvironmentId

func (*Space) GetExpiredAt added in v0.0.21

func (s *Space) GetExpiredAt() *time.Time

func (*Space) GetExtraProperties added in v0.0.14

func (s *Space) GetExtraProperties() map[string]interface{}

func (*Space) GetFilesCount added in v0.0.21

func (s *Space) GetFilesCount() *int

func (*Space) GetGuestAuthentication added in v0.0.21

func (s *Space) GetGuestAuthentication() []GuestAuthenticationEnum
func (s *Space) GetGuestLink() *string

func (*Space) GetId added in v0.0.21

func (s *Space) GetId() SpaceId

func (*Space) GetIsAppTemplate added in v0.0.21

func (s *Space) GetIsAppTemplate() *bool

func (*Space) GetIsCollaborative added in v0.0.21

func (s *Space) GetIsCollaborative() *bool

func (*Space) GetLabels added in v0.0.21

func (s *Space) GetLabels() []string

func (*Space) GetLanguageOverride added in v0.0.21

func (s *Space) GetLanguageOverride() *string

func (*Space) GetLastActivityAt added in v0.0.21

func (s *Space) GetLastActivityAt() *time.Time

func (*Space) GetMetadata added in v0.0.21

func (s *Space) GetMetadata() interface{}

func (*Space) GetName added in v0.0.21

func (s *Space) GetName() string

func (*Space) GetNamespace added in v0.0.21

func (s *Space) GetNamespace() *string

func (*Space) GetPrimaryWorkbookId added in v0.0.21

func (s *Space) GetPrimaryWorkbookId() *WorkbookId

func (*Space) GetSettings added in v0.0.21

func (s *Space) GetSettings() *SpaceSettings

func (*Space) GetSize added in v0.0.21

func (s *Space) GetSize() *SpaceSize

func (*Space) GetSpaceConfigId added in v0.0.21

func (s *Space) GetSpaceConfigId() *SpaceConfigId

func (*Space) GetTranslationsPath added in v0.0.21

func (s *Space) GetTranslationsPath() *string

func (*Space) GetUpdatedAt added in v0.0.21

func (s *Space) GetUpdatedAt() time.Time

func (*Space) GetUpgradedAt added in v0.0.21

func (s *Space) GetUpgradedAt() *time.Time

func (*Space) GetWorkbooksCount added in v0.0.21

func (s *Space) GetWorkbooksCount() *int

func (*Space) MarshalJSON added in v0.0.8

func (s *Space) MarshalJSON() ([]byte, error)

func (*Space) String

func (s *Space) String() string

func (*Space) UnmarshalJSON

func (s *Space) UnmarshalJSON(data []byte) error

type SpaceAccess

type SpaceAccess string
const (
	SpaceAccessAll    SpaceAccess = "*"
	SpaceAccessUpload SpaceAccess = "upload"
)

func NewSpaceAccessFromString

func NewSpaceAccessFromString(s string) (SpaceAccess, error)

func (SpaceAccess) Ptr

func (s SpaceAccess) Ptr() *SpaceAccess

type SpaceConfig

type SpaceConfig struct {
	SpaceConfigId *SpaceConfigId `json:"spaceConfigId,omitempty" url:"spaceConfigId,omitempty"`
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The ID of the primary workbook for the space. This should not be included in create space requests.
	PrimaryWorkbookId *WorkbookId `json:"primaryWorkbookId,omitempty" url:"primaryWorkbookId,omitempty"`
	// Metadata for the space
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// The Space settings.
	Settings         *SpaceSettings `json:"settings,omitempty" url:"settings,omitempty"`
	Actions          []*Action      `json:"actions,omitempty" url:"actions,omitempty"`
	Access           []SpaceAccess  `json:"access,omitempty" url:"access,omitempty"`
	AutoConfigure    *bool          `json:"autoConfigure,omitempty" url:"autoConfigure,omitempty"`
	Namespace        *string        `json:"namespace,omitempty" url:"namespace,omitempty"`
	Labels           []string       `json:"labels,omitempty" url:"labels,omitempty"`
	TranslationsPath *string        `json:"translationsPath,omitempty" url:"translationsPath,omitempty"`
	LanguageOverride *string        `json:"languageOverride,omitempty" url:"languageOverride,omitempty"`
	// Date when space was archived
	ArchivedAt *time.Time `json:"archivedAt,omitempty" url:"archivedAt,omitempty"`
	// The ID of the App that space is associated with
	AppId *AppId `json:"appId,omitempty" url:"appId,omitempty"`
	// Whether the space is an app template. Only one space per app can be an app template.
	IsAppTemplate *bool `json:"isAppTemplate,omitempty" url:"isAppTemplate,omitempty"`
	// The name of the space
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// The display order
	DisplayOrder        *int                      `json:"displayOrder,omitempty" url:"displayOrder,omitempty"`
	GuestAuthentication []GuestAuthenticationEnum `json:"guestAuthentication,omitempty" url:"guestAuthentication,omitempty"`
	// contains filtered or unexported fields
}

Properties used to create a new Space

func (*SpaceConfig) GetAccess added in v0.0.21

func (s *SpaceConfig) GetAccess() []SpaceAccess

func (*SpaceConfig) GetActions added in v0.0.21

func (s *SpaceConfig) GetActions() []*Action

func (*SpaceConfig) GetAppId added in v0.0.21

func (s *SpaceConfig) GetAppId() *AppId

func (*SpaceConfig) GetArchivedAt added in v0.0.21

func (s *SpaceConfig) GetArchivedAt() *time.Time

func (*SpaceConfig) GetAutoConfigure added in v0.0.21

func (s *SpaceConfig) GetAutoConfigure() *bool

func (*SpaceConfig) GetDisplayOrder added in v0.0.21

func (s *SpaceConfig) GetDisplayOrder() *int

func (*SpaceConfig) GetEnvironmentId added in v0.0.21

func (s *SpaceConfig) GetEnvironmentId() *EnvironmentId

func (*SpaceConfig) GetExtraProperties added in v0.0.14

func (s *SpaceConfig) GetExtraProperties() map[string]interface{}

func (*SpaceConfig) GetGuestAuthentication added in v0.0.21

func (s *SpaceConfig) GetGuestAuthentication() []GuestAuthenticationEnum

func (*SpaceConfig) GetIsAppTemplate added in v0.0.21

func (s *SpaceConfig) GetIsAppTemplate() *bool

func (*SpaceConfig) GetLabels added in v0.0.21

func (s *SpaceConfig) GetLabels() []string

func (*SpaceConfig) GetLanguageOverride added in v0.0.21

func (s *SpaceConfig) GetLanguageOverride() *string

func (*SpaceConfig) GetMetadata added in v0.0.21

func (s *SpaceConfig) GetMetadata() interface{}

func (*SpaceConfig) GetName added in v0.0.21

func (s *SpaceConfig) GetName() *string

func (*SpaceConfig) GetNamespace added in v0.0.21

func (s *SpaceConfig) GetNamespace() *string

func (*SpaceConfig) GetPrimaryWorkbookId added in v0.0.21

func (s *SpaceConfig) GetPrimaryWorkbookId() *WorkbookId

func (*SpaceConfig) GetSettings added in v0.0.21

func (s *SpaceConfig) GetSettings() *SpaceSettings

func (*SpaceConfig) GetSpaceConfigId added in v0.0.21

func (s *SpaceConfig) GetSpaceConfigId() *SpaceConfigId

func (*SpaceConfig) GetTranslationsPath added in v0.0.21

func (s *SpaceConfig) GetTranslationsPath() *string

func (*SpaceConfig) MarshalJSON added in v0.0.8

func (s *SpaceConfig) MarshalJSON() ([]byte, error)

func (*SpaceConfig) String

func (s *SpaceConfig) String() string

func (*SpaceConfig) UnmarshalJSON

func (s *SpaceConfig) UnmarshalJSON(data []byte) error

type SpaceConfigId

type SpaceConfigId = string

Space Config ID

type SpaceId

type SpaceId = string

Space ID

type SpaceResponse

type SpaceResponse struct {
	Data *Space `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceResponse) GetData added in v0.0.21

func (s *SpaceResponse) GetData() *Space

func (*SpaceResponse) GetExtraProperties added in v0.0.14

func (s *SpaceResponse) GetExtraProperties() map[string]interface{}

func (*SpaceResponse) String

func (s *SpaceResponse) String() string

func (*SpaceResponse) UnmarshalJSON

func (s *SpaceResponse) UnmarshalJSON(data []byte) error

type SpaceSettings added in v0.0.10

type SpaceSettings struct {
	// The sidebar configuration for the space. (This will eventually replace metadata.sidebarconfig)
	SidebarConfig *SpaceSidebarConfig `json:"sidebarConfig,omitempty" url:"sidebarConfig,omitempty"`
	// contains filtered or unexported fields
}

Settings for a space

func (*SpaceSettings) GetExtraProperties added in v0.0.14

func (s *SpaceSettings) GetExtraProperties() map[string]interface{}

func (*SpaceSettings) GetSidebarConfig added in v0.0.21

func (s *SpaceSettings) GetSidebarConfig() *SpaceSidebarConfig

func (*SpaceSettings) String added in v0.0.10

func (s *SpaceSettings) String() string

func (*SpaceSettings) UnmarshalJSON added in v0.0.10

func (s *SpaceSettings) UnmarshalJSON(data []byte) error

type SpaceSidebarConfig added in v0.0.10

type SpaceSidebarConfig struct {
	// Used to set the order of workbooks in the sidebar. This will not affect workbooks that are pinned and workbooks that are not specified here will be sorted alphabetically.
	WorkbookSidebarOrder []WorkbookId `json:"workbookSidebarOrder,omitempty" url:"workbookSidebarOrder,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceSidebarConfig) GetExtraProperties added in v0.0.14

func (s *SpaceSidebarConfig) GetExtraProperties() map[string]interface{}

func (*SpaceSidebarConfig) GetWorkbookSidebarOrder added in v0.0.21

func (s *SpaceSidebarConfig) GetWorkbookSidebarOrder() []WorkbookId

func (*SpaceSidebarConfig) String added in v0.0.10

func (s *SpaceSidebarConfig) String() string

func (*SpaceSidebarConfig) UnmarshalJSON added in v0.0.10

func (s *SpaceSidebarConfig) UnmarshalJSON(data []byte) error

type SpaceSize

type SpaceSize struct {
	Name     string `json:"name" url:"name"`
	Id       string `json:"id" url:"id"`
	NumUsers int    `json:"numUsers" url:"numUsers"`
	Pdv      int    `json:"pdv" url:"pdv"`
	NumFiles int    `json:"numFiles" url:"numFiles"`
	// contains filtered or unexported fields
}

The size of a space

func (*SpaceSize) GetExtraProperties added in v0.0.14

func (s *SpaceSize) GetExtraProperties() map[string]interface{}

func (*SpaceSize) GetId added in v0.0.21

func (s *SpaceSize) GetId() string

func (*SpaceSize) GetName added in v0.0.21

func (s *SpaceSize) GetName() string

func (*SpaceSize) GetNumFiles added in v0.0.21

func (s *SpaceSize) GetNumFiles() int

func (*SpaceSize) GetNumUsers added in v0.0.21

func (s *SpaceSize) GetNumUsers() int

func (*SpaceSize) GetPdv added in v0.0.21

func (s *SpaceSize) GetPdv() int

func (*SpaceSize) String

func (s *SpaceSize) String() string

func (*SpaceSize) UnmarshalJSON

func (s *SpaceSize) UnmarshalJSON(data []byte) error

type StoredConstraint added in v0.0.17

type StoredConstraint struct {
	// Must match the constraint validator name.
	Validator string `json:"validator" url:"validator"`
	// The version of the stored constraint to use. (Defaults to version 1.)
	Version *int `json:"version,omitempty" url:"version,omitempty"`
	// A full description of what this constraint configuration does
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A short description of what this constraint constraint should do, example - values between 1 and 100
	Label  *string     `json:"label,omitempty" url:"label,omitempty"`
	Config interface{} `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*StoredConstraint) GetConfig added in v0.0.21

func (s *StoredConstraint) GetConfig() interface{}

func (*StoredConstraint) GetDescription added in v0.0.21

func (s *StoredConstraint) GetDescription() *string

func (*StoredConstraint) GetExtraProperties added in v0.0.17

func (s *StoredConstraint) GetExtraProperties() map[string]interface{}

func (*StoredConstraint) GetLabel added in v0.0.21

func (s *StoredConstraint) GetLabel() *string

func (*StoredConstraint) GetValidator added in v0.0.21

func (s *StoredConstraint) GetValidator() string

func (*StoredConstraint) GetVersion added in v0.0.21

func (s *StoredConstraint) GetVersion() *int

func (*StoredConstraint) String added in v0.0.17

func (s *StoredConstraint) String() string

func (*StoredConstraint) UnmarshalJSON added in v0.0.17

func (s *StoredConstraint) UnmarshalJSON(data []byte) error

type StringConfig

type StringConfig struct {
	Size StringConfigOptions `json:"size" url:"size"`
	// contains filtered or unexported fields
}

func (*StringConfig) GetExtraProperties added in v0.0.14

func (s *StringConfig) GetExtraProperties() map[string]interface{}

func (*StringConfig) GetSize added in v0.0.21

func (s *StringConfig) GetSize() StringConfigOptions

func (*StringConfig) String

func (s *StringConfig) String() string

func (*StringConfig) UnmarshalJSON

func (s *StringConfig) UnmarshalJSON(data []byte) error

type StringConfigOptions

type StringConfigOptions string

How much text should be storeable in this field

const (
	// up to 255 characters
	StringConfigOptionsTiny StringConfigOptions = "tiny"
	// 64kb (default)
	StringConfigOptionsNormal StringConfigOptions = "normal"
	// 16mb
	StringConfigOptionsMedium StringConfigOptions = "medium"
	// 4gb
	StringConfigOptionsLong StringConfigOptions = "long"
)

func NewStringConfigOptionsFromString

func NewStringConfigOptionsFromString(s string) (StringConfigOptions, error)

func (StringConfigOptions) Ptr

type StringListProperty added in v0.0.12

type StringListProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	// contains filtered or unexported fields
}

Defines a property that should be stored and read as an array of strings. Database engines should expect any number of items to be provided here. The maximum number of items that can be in this list is `100`.

func (*StringListProperty) GetActions added in v0.0.21

func (s *StringListProperty) GetActions() []*Action

func (*StringListProperty) GetAlternativeNames added in v0.0.21

func (s *StringListProperty) GetAlternativeNames() []string

func (*StringListProperty) GetAppearance added in v0.0.21

func (s *StringListProperty) GetAppearance() *FieldAppearance

func (*StringListProperty) GetConstraints added in v0.0.21

func (s *StringListProperty) GetConstraints() []*Constraint

func (*StringListProperty) GetDescription added in v0.0.21

func (s *StringListProperty) GetDescription() *string

func (*StringListProperty) GetExtraProperties added in v0.0.14

func (s *StringListProperty) GetExtraProperties() map[string]interface{}

func (*StringListProperty) GetKey added in v0.0.21

func (s *StringListProperty) GetKey() string

func (*StringListProperty) GetLabel added in v0.0.21

func (s *StringListProperty) GetLabel() *string

func (*StringListProperty) GetMetadata added in v0.0.21

func (s *StringListProperty) GetMetadata() interface{}

func (*StringListProperty) GetReadonly added in v0.0.21

func (s *StringListProperty) GetReadonly() *bool

func (*StringListProperty) GetTreatments added in v0.0.21

func (s *StringListProperty) GetTreatments() []string

func (*StringListProperty) String added in v0.0.12

func (s *StringListProperty) String() string

func (*StringListProperty) UnmarshalJSON added in v0.0.12

func (s *StringListProperty) UnmarshalJSON(data []byte) error

type StringProperty

type StringProperty struct {
	Key string `json:"key" url:"key"`
	// User friendly field name
	Label *string `json:"label,omitempty" url:"label,omitempty"`
	// A short description of the field. Markdown syntax is supported.
	Description *string `json:"description,omitempty" url:"description,omitempty"`
	// A list of constraints that should be applied to this field. This is limited to a maximum of 10 constraints and all external and stored constraints must have unique validator values.
	Constraints []*Constraint    `json:"constraints,omitempty" url:"constraints,omitempty"`
	Readonly    *bool            `json:"readonly,omitempty" url:"readonly,omitempty"`
	Appearance  *FieldAppearance `json:"appearance,omitempty" url:"appearance,omitempty"`
	// An array of actions that end users can perform on this Column.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// Useful for any contextual metadata regarding the schema. Store any valid json here.
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// A unique presentation for a field in the UI.
	Treatments       []string      `json:"treatments,omitempty" url:"treatments,omitempty"`
	AlternativeNames []string      `json:"alternativeNames,omitempty" url:"alternativeNames,omitempty"`
	Config           *StringConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

Defines a property that should be stored and read as a basic string. Database engines should expect any length of text to be provided here unless explicitly defined in the config.

func (*StringProperty) GetActions added in v0.0.21

func (s *StringProperty) GetActions() []*Action

func (*StringProperty) GetAlternativeNames added in v0.0.21

func (s *StringProperty) GetAlternativeNames() []string

func (*StringProperty) GetAppearance added in v0.0.21

func (s *StringProperty) GetAppearance() *FieldAppearance

func (*StringProperty) GetConfig added in v0.0.21

func (s *StringProperty) GetConfig() *StringConfig

func (*StringProperty) GetConstraints added in v0.0.21

func (s *StringProperty) GetConstraints() []*Constraint

func (*StringProperty) GetDescription added in v0.0.21

func (s *StringProperty) GetDescription() *string

func (*StringProperty) GetExtraProperties added in v0.0.14

func (s *StringProperty) GetExtraProperties() map[string]interface{}

func (*StringProperty) GetKey added in v0.0.21

func (s *StringProperty) GetKey() string

func (*StringProperty) GetLabel added in v0.0.21

func (s *StringProperty) GetLabel() *string

func (*StringProperty) GetMetadata added in v0.0.21

func (s *StringProperty) GetMetadata() interface{}

func (*StringProperty) GetReadonly added in v0.0.21

func (s *StringProperty) GetReadonly() *bool

func (*StringProperty) GetTreatments added in v0.0.21

func (s *StringProperty) GetTreatments() []string

func (*StringProperty) String

func (s *StringProperty) String() string

func (*StringProperty) UnmarshalJSON

func (s *StringProperty) UnmarshalJSON(data []byte) error

type Success

type Success struct {
	Data *SuccessData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

Informs whether or not a request was successful

func (*Success) GetData added in v0.0.21

func (s *Success) GetData() *SuccessData

func (*Success) GetExtraProperties added in v0.0.14

func (s *Success) GetExtraProperties() map[string]interface{}

func (*Success) String

func (s *Success) String() string

func (*Success) UnmarshalJSON

func (s *Success) UnmarshalJSON(data []byte) error

type SuccessData

type SuccessData struct {
	Success bool `json:"success" url:"success"`
	// contains filtered or unexported fields
}

func (*SuccessData) GetExtraProperties added in v0.0.14

func (s *SuccessData) GetExtraProperties() map[string]interface{}

func (*SuccessData) GetSuccess added in v0.0.21

func (s *SuccessData) GetSuccess() bool

func (*SuccessData) String

func (s *SuccessData) String() string

func (*SuccessData) UnmarshalJSON

func (s *SuccessData) UnmarshalJSON(data []byte) error

type SuccessQueryParameter

type SuccessQueryParameter = bool

Boolean

type SuccessResponse added in v0.0.13

type SuccessResponse struct {
	Success bool `json:"success" url:"success"`
	// contains filtered or unexported fields
}

func (*SuccessResponse) GetExtraProperties added in v0.0.14

func (s *SuccessResponse) GetExtraProperties() map[string]interface{}

func (*SuccessResponse) GetSuccess added in v0.0.21

func (s *SuccessResponse) GetSuccess() bool

func (*SuccessResponse) String added in v0.0.13

func (s *SuccessResponse) String() string

func (*SuccessResponse) UnmarshalJSON added in v0.0.13

func (s *SuccessResponse) UnmarshalJSON(data []byte) error

type SummarySection

type SummarySection struct {
	Total   int            `json:"total" url:"total"`
	ByField map[string]int `json:"byField,omitempty" url:"byField,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarySection) GetByField added in v0.0.21

func (s *SummarySection) GetByField() map[string]int

func (*SummarySection) GetExtraProperties added in v0.0.14

func (s *SummarySection) GetExtraProperties() map[string]interface{}

func (*SummarySection) GetTotal added in v0.0.21

func (s *SummarySection) GetTotal() int

func (*SummarySection) String

func (s *SummarySection) String() string

func (*SummarySection) UnmarshalJSON

func (s *SummarySection) UnmarshalJSON(data []byte) error

type Trigger

type Trigger string

The type of trigger to use for this job

const (
	TriggerManual    Trigger = "manual"
	TriggerImmediate Trigger = "immediate"
)

func NewTriggerFromString

func NewTriggerFromString(s string) (Trigger, error)

func (Trigger) Ptr

func (t Trigger) Ptr() *Trigger

type TriggerEnum added in v0.0.19

type TriggerEnum string
const (
	TriggerEnumFirst  TriggerEnum = "first"
	TriggerEnumHover  TriggerEnum = "hover"
	TriggerEnumEvent  TriggerEnum = "event"
	TriggerEnumManual TriggerEnum = "manual"
)

func NewTriggerEnumFromString added in v0.0.19

func NewTriggerEnumFromString(s string) (TriggerEnum, error)

func (TriggerEnum) Ptr added in v0.0.19

func (t TriggerEnum) Ptr() *TriggerEnum

type TypeEnum added in v0.0.19

type TypeEnum string
const (
	TypeEnumSidebar TypeEnum = "sidebar"
	TypeEnumPopout  TypeEnum = "popout"
	TypeEnumTooltip TypeEnum = "tooltip"
)

func NewTypeEnumFromString added in v0.0.19

func NewTypeEnumFromString(s string) (TypeEnum, error)

func (TypeEnum) Ptr added in v0.0.19

func (t TypeEnum) Ptr() *TypeEnum

type UniqueConstraint

type UniqueConstraint struct {
	Config *UniqueConstraintConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*UniqueConstraint) GetConfig added in v0.0.21

func (u *UniqueConstraint) GetConfig() *UniqueConstraintConfig

func (*UniqueConstraint) GetExtraProperties added in v0.0.14

func (u *UniqueConstraint) GetExtraProperties() map[string]interface{}

func (*UniqueConstraint) String

func (u *UniqueConstraint) String() string

func (*UniqueConstraint) UnmarshalJSON

func (u *UniqueConstraint) UnmarshalJSON(data []byte) error

type UniqueConstraintConfig

type UniqueConstraintConfig struct {
	// Ignore casing when determining uniqueness
	CaseSensitive *bool `json:"caseSensitive,omitempty" url:"caseSensitive,omitempty"`
	// Do not flag empty values as duplicate
	IgnoreEmpty *bool `json:"ignoreEmpty,omitempty" url:"ignoreEmpty,omitempty"`
	// contains filtered or unexported fields
}

func (*UniqueConstraintConfig) GetCaseSensitive added in v0.0.21

func (u *UniqueConstraintConfig) GetCaseSensitive() *bool

func (*UniqueConstraintConfig) GetExtraProperties added in v0.0.14

func (u *UniqueConstraintConfig) GetExtraProperties() map[string]interface{}

func (*UniqueConstraintConfig) GetIgnoreEmpty added in v0.0.21

func (u *UniqueConstraintConfig) GetIgnoreEmpty() *bool

func (*UniqueConstraintConfig) String

func (u *UniqueConstraintConfig) String() string

func (*UniqueConstraintConfig) UnmarshalJSON

func (u *UniqueConstraintConfig) UnmarshalJSON(data []byte) error

type UpdateDataClipResolutionsJobConfig added in v0.0.19

type UpdateDataClipResolutionsJobConfig struct {
	// The ID of the data clip to resolve
	ClipId DataClipId `json:"clipId" url:"clipId"`
	// The ID of the sheet that contains the data clip
	ClippedSheetId SheetId   `json:"clippedSheetId" url:"clippedSheetId"`
	ResolveTo      ResolveTo `json:"resolveTo" url:"resolveTo"`
	// Optional. If provided, only this column will be resolved.
	ColumnField string `json:"columnField" url:"columnField"`
	// Optional. If provided, this value in the column will be replaced with the resolution target.
	ColumnValue string `json:"columnValue" url:"columnValue"`
	// contains filtered or unexported fields
}

Configuration for a data clip resolution job

func (*UpdateDataClipResolutionsJobConfig) GetClipId added in v0.0.21

func (*UpdateDataClipResolutionsJobConfig) GetClippedSheetId added in v0.0.21

func (u *UpdateDataClipResolutionsJobConfig) GetClippedSheetId() SheetId

func (*UpdateDataClipResolutionsJobConfig) GetColumnField added in v0.0.21

func (u *UpdateDataClipResolutionsJobConfig) GetColumnField() string

func (*UpdateDataClipResolutionsJobConfig) GetColumnValue added in v0.0.21

func (u *UpdateDataClipResolutionsJobConfig) GetColumnValue() string

func (*UpdateDataClipResolutionsJobConfig) GetExtraProperties added in v0.0.19

func (u *UpdateDataClipResolutionsJobConfig) GetExtraProperties() map[string]interface{}

func (*UpdateDataClipResolutionsJobConfig) GetResolveTo added in v0.0.21

func (*UpdateDataClipResolutionsJobConfig) String added in v0.0.19

func (*UpdateDataClipResolutionsJobConfig) UnmarshalJSON added in v0.0.19

func (u *UpdateDataClipResolutionsJobConfig) UnmarshalJSON(data []byte) error

type UpdateFileRequest

type UpdateFileRequest struct {
	WorkbookId *WorkbookId `json:"workbookId,omitempty" url:"-"`
	// The name of the file
	Name *string `json:"name,omitempty" url:"-"`
	// The storage mode of file to update
	Mode *Mode `json:"mode,omitempty" url:"-"`
	// Status of the file
	Status *ModelFileStatusEnum `json:"status,omitempty" url:"-"`
	// The actions attached to the file
	Actions []*Action `json:"actions,omitempty" url:"-"`
}

type UpdateMappingRulesRequest added in v0.0.8

type UpdateMappingRulesRequest = []*MappingRule

type UpdateUserRequest added in v0.0.8

type UpdateUserRequest struct {
	Name      *string `json:"name,omitempty" url:"-"`
	Dashboard *int    `json:"dashboard,omitempty" url:"-"`
}

type User

type User struct {
	Email      string                 `json:"email" url:"email"`
	Name       string                 `json:"name" url:"name"`
	AccountId  AccountId              `json:"accountId" url:"accountId"`
	Id         UserId                 `json:"id" url:"id"`
	Idp        string                 `json:"idp" url:"idp"`
	IdpRef     *string                `json:"idpRef,omitempty" url:"idpRef,omitempty"`
	Metadata   map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	CreatedAt  time.Time              `json:"createdAt" url:"createdAt"`
	UpdatedAt  time.Time              `json:"updatedAt" url:"updatedAt"`
	LastSeenAt *time.Time             `json:"lastSeenAt,omitempty" url:"lastSeenAt,omitempty"`
	Dashboard  *int                   `json:"dashboard,omitempty" url:"dashboard,omitempty"`
	// contains filtered or unexported fields
}

Configurations for the user

func (*User) GetAccountId added in v0.0.21

func (u *User) GetAccountId() AccountId

func (*User) GetCreatedAt added in v0.0.21

func (u *User) GetCreatedAt() time.Time

func (*User) GetDashboard added in v0.0.21

func (u *User) GetDashboard() *int

func (*User) GetEmail added in v0.0.21

func (u *User) GetEmail() string

func (*User) GetExtraProperties added in v0.0.14

func (u *User) GetExtraProperties() map[string]interface{}

func (*User) GetId added in v0.0.21

func (u *User) GetId() UserId

func (*User) GetIdp added in v0.0.21

func (u *User) GetIdp() string

func (*User) GetIdpRef added in v0.0.21

func (u *User) GetIdpRef() *string

func (*User) GetLastSeenAt added in v0.0.21

func (u *User) GetLastSeenAt() *time.Time

func (*User) GetMetadata added in v0.0.21

func (u *User) GetMetadata() map[string]interface{}

func (*User) GetName added in v0.0.21

func (u *User) GetName() string

func (*User) GetUpdatedAt added in v0.0.21

func (u *User) GetUpdatedAt() time.Time

func (*User) MarshalJSON added in v0.0.8

func (u *User) MarshalJSON() ([]byte, error)

func (*User) String

func (u *User) String() string

func (*User) UnmarshalJSON

func (u *User) UnmarshalJSON(data []byte) error

type UserConfig

type UserConfig struct {
	Email     string    `json:"email" url:"email"`
	Name      string    `json:"name" url:"name"`
	AccountId AccountId `json:"accountId" url:"accountId"`
	// contains filtered or unexported fields
}

Properties used to create a new user

func (*UserConfig) GetAccountId added in v0.0.21

func (u *UserConfig) GetAccountId() AccountId

func (*UserConfig) GetEmail added in v0.0.21

func (u *UserConfig) GetEmail() string

func (*UserConfig) GetExtraProperties added in v0.0.14

func (u *UserConfig) GetExtraProperties() map[string]interface{}

func (*UserConfig) GetName added in v0.0.21

func (u *UserConfig) GetName() string

func (*UserConfig) String

func (u *UserConfig) String() string

func (*UserConfig) UnmarshalJSON

func (u *UserConfig) UnmarshalJSON(data []byte) error

type UserCreateAndInviteRequest added in v0.0.9

type UserCreateAndInviteRequest struct {
	Email      string                    `json:"email" url:"email"`
	Name       string                    `json:"name" url:"name"`
	ActorRoles []*AssignActorRoleRequest `json:"actorRoles,omitempty" url:"actorRoles,omitempty"`
	// contains filtered or unexported fields
}

Properties used to create a new user

func (*UserCreateAndInviteRequest) GetActorRoles added in v0.0.21

func (u *UserCreateAndInviteRequest) GetActorRoles() []*AssignActorRoleRequest

func (*UserCreateAndInviteRequest) GetEmail added in v0.0.21

func (u *UserCreateAndInviteRequest) GetEmail() string

func (*UserCreateAndInviteRequest) GetExtraProperties added in v0.0.14

func (u *UserCreateAndInviteRequest) GetExtraProperties() map[string]interface{}

func (*UserCreateAndInviteRequest) GetName added in v0.0.21

func (u *UserCreateAndInviteRequest) GetName() string

func (*UserCreateAndInviteRequest) String added in v0.0.9

func (u *UserCreateAndInviteRequest) String() string

func (*UserCreateAndInviteRequest) UnmarshalJSON added in v0.0.9

func (u *UserCreateAndInviteRequest) UnmarshalJSON(data []byte) error

type UserId

type UserId = string

User ID

type UserResponse

type UserResponse struct {
	Data *User `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserResponse) GetData added in v0.0.21

func (u *UserResponse) GetData() *User

func (*UserResponse) GetExtraProperties added in v0.0.14

func (u *UserResponse) GetExtraProperties() map[string]interface{}

func (*UserResponse) String

func (u *UserResponse) String() string

func (*UserResponse) UnmarshalJSON

func (u *UserResponse) UnmarshalJSON(data []byte) error

type UserWithRoles added in v0.0.10

type UserWithRoles struct {
	Email      string                 `json:"email" url:"email"`
	Name       string                 `json:"name" url:"name"`
	AccountId  AccountId              `json:"accountId" url:"accountId"`
	Id         UserId                 `json:"id" url:"id"`
	Idp        string                 `json:"idp" url:"idp"`
	IdpRef     *string                `json:"idpRef,omitempty" url:"idpRef,omitempty"`
	Metadata   map[string]interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	CreatedAt  time.Time              `json:"createdAt" url:"createdAt"`
	UpdatedAt  time.Time              `json:"updatedAt" url:"updatedAt"`
	LastSeenAt *time.Time             `json:"lastSeenAt,omitempty" url:"lastSeenAt,omitempty"`
	Dashboard  *int                   `json:"dashboard,omitempty" url:"dashboard,omitempty"`
	ActorRoles []*ActorRoleResponse   `json:"actorRoles,omitempty" url:"actorRoles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserWithRoles) GetAccountId added in v0.0.21

func (u *UserWithRoles) GetAccountId() AccountId

func (*UserWithRoles) GetActorRoles added in v0.0.21

func (u *UserWithRoles) GetActorRoles() []*ActorRoleResponse

func (*UserWithRoles) GetCreatedAt added in v0.0.21

func (u *UserWithRoles) GetCreatedAt() time.Time

func (*UserWithRoles) GetDashboard added in v0.0.21

func (u *UserWithRoles) GetDashboard() *int

func (*UserWithRoles) GetEmail added in v0.0.21

func (u *UserWithRoles) GetEmail() string

func (*UserWithRoles) GetExtraProperties added in v0.0.14

func (u *UserWithRoles) GetExtraProperties() map[string]interface{}

func (*UserWithRoles) GetId added in v0.0.21

func (u *UserWithRoles) GetId() UserId

func (*UserWithRoles) GetIdp added in v0.0.21

func (u *UserWithRoles) GetIdp() string

func (*UserWithRoles) GetIdpRef added in v0.0.21

func (u *UserWithRoles) GetIdpRef() *string

func (*UserWithRoles) GetLastSeenAt added in v0.0.21

func (u *UserWithRoles) GetLastSeenAt() *time.Time

func (*UserWithRoles) GetMetadata added in v0.0.21

func (u *UserWithRoles) GetMetadata() map[string]interface{}

func (*UserWithRoles) GetName added in v0.0.21

func (u *UserWithRoles) GetName() string

func (*UserWithRoles) GetUpdatedAt added in v0.0.21

func (u *UserWithRoles) GetUpdatedAt() time.Time

func (*UserWithRoles) MarshalJSON added in v0.0.10

func (u *UserWithRoles) MarshalJSON() ([]byte, error)

func (*UserWithRoles) String added in v0.0.10

func (u *UserWithRoles) String() string

func (*UserWithRoles) UnmarshalJSON added in v0.0.10

func (u *UserWithRoles) UnmarshalJSON(data []byte) error

type UserWithRolesResponse added in v0.0.10

type UserWithRolesResponse struct {
	Data *UserWithRoles `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserWithRolesResponse) GetData added in v0.0.21

func (u *UserWithRolesResponse) GetData() *UserWithRoles

func (*UserWithRolesResponse) GetExtraProperties added in v0.0.14

func (u *UserWithRolesResponse) GetExtraProperties() map[string]interface{}

func (*UserWithRolesResponse) String added in v0.0.10

func (u *UserWithRolesResponse) String() string

func (*UserWithRolesResponse) UnmarshalJSON added in v0.0.10

func (u *UserWithRolesResponse) UnmarshalJSON(data []byte) error

type ValidationMessage

type ValidationMessage struct {
	Field   *string           `json:"field,omitempty" url:"field,omitempty"`
	Type    *ValidationType   `json:"type,omitempty" url:"type,omitempty"`
	Source  *ValidationSource `json:"source,omitempty" url:"source,omitempty"`
	Message *string           `json:"message,omitempty" url:"message,omitempty"`
	// This JSONPath is based on the root of mapped cell object.
	Path *JsonPathString `json:"path,omitempty" url:"path,omitempty"`
	// contains filtered or unexported fields
}

Record data validation messages

func (*ValidationMessage) GetExtraProperties added in v0.0.14

func (v *ValidationMessage) GetExtraProperties() map[string]interface{}

func (*ValidationMessage) GetField added in v0.0.21

func (v *ValidationMessage) GetField() *string

func (*ValidationMessage) GetMessage added in v0.0.21

func (v *ValidationMessage) GetMessage() *string

func (*ValidationMessage) GetPath added in v0.0.21

func (v *ValidationMessage) GetPath() *JsonPathString

func (*ValidationMessage) GetSource added in v0.0.21

func (v *ValidationMessage) GetSource() *ValidationSource

func (*ValidationMessage) GetType added in v0.0.21

func (v *ValidationMessage) GetType() *ValidationType

func (*ValidationMessage) String

func (v *ValidationMessage) String() string

func (*ValidationMessage) UnmarshalJSON

func (v *ValidationMessage) UnmarshalJSON(data []byte) error

type ValidationSource

type ValidationSource string
const (
	ValidationSourceRequiredConstraint ValidationSource = "required-constraint"
	ValidationSourceUniqueConstraint   ValidationSource = "unique-constraint"
	ValidationSourceCustomLogic        ValidationSource = "custom-logic"
	ValidationSourceUnlinked           ValidationSource = "unlinked"
	ValidationSourceInvalidOption      ValidationSource = "invalid-option"
	ValidationSourceIsArtifact         ValidationSource = "is-artifact"
)

func NewValidationSourceFromString

func NewValidationSourceFromString(s string) (ValidationSource, error)

func (ValidationSource) Ptr

type ValidationType

type ValidationType string
const (
	ValidationTypeError ValidationType = "error"
	ValidationTypeWarn  ValidationType = "warn"
	ValidationTypeInfo  ValidationType = "info"
)

func NewValidationTypeFromString

func NewValidationTypeFromString(s string) (ValidationType, error)

func (ValidationType) Ptr

func (v ValidationType) Ptr() *ValidationType

type Version

type Version struct {
	VersionId VersionId `json:"versionId" url:"versionId"`
	// contains filtered or unexported fields
}

func (*Version) GetExtraProperties added in v0.0.14

func (v *Version) GetExtraProperties() map[string]interface{}

func (*Version) GetVersionId added in v0.0.21

func (v *Version) GetVersionId() VersionId

func (*Version) String

func (v *Version) String() string

func (*Version) UnmarshalJSON

func (v *Version) UnmarshalJSON(data []byte) error

type VersionId

type VersionId = string

Version ID

type VersionResponse

type VersionResponse struct {
	Data *Version `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) GetData added in v0.0.21

func (v *VersionResponse) GetData() *Version

func (*VersionResponse) GetExtraProperties added in v0.0.14

func (v *VersionResponse) GetExtraProperties() map[string]interface{}

func (*VersionResponse) String

func (v *VersionResponse) String() string

func (*VersionResponse) UnmarshalJSON

func (v *VersionResponse) UnmarshalJSON(data []byte) error

type VersionsPostRequestBody

type VersionsPostRequestBody struct {
	// The ID of the Sheet.
	SheetId *SheetId `json:"sheetId,omitempty" url:"-"`
	// Deprecated, creating or updating a group of records together will automatically generate a commitId to group those record changes together.
	ParentVersionId *VersionId `json:"parentVersionId,omitempty" url:"-"`
}

type View added in v0.0.11

type View struct {
	// The ID of the view
	Id ViewId `json:"id" url:"id"`
	// The associated sheet ID of the view
	SheetId SheetId `json:"sheetId" url:"sheetId"`
	// The name of the view
	Name string `json:"name" url:"name"`
	// The view filters of the view
	Config *ViewConfig `json:"config,omitempty" url:"config,omitempty"`
	// ID of the actor who created the view
	CreatedBy string `json:"createdBy" url:"createdBy"`
	// contains filtered or unexported fields
}

A view

func (*View) GetConfig added in v0.0.21

func (v *View) GetConfig() *ViewConfig

func (*View) GetCreatedBy added in v0.0.21

func (v *View) GetCreatedBy() string

func (*View) GetExtraProperties added in v0.0.14

func (v *View) GetExtraProperties() map[string]interface{}

func (*View) GetId added in v0.0.21

func (v *View) GetId() ViewId

func (*View) GetName added in v0.0.21

func (v *View) GetName() string

func (*View) GetSheetId added in v0.0.21

func (v *View) GetSheetId() SheetId

func (*View) String added in v0.0.11

func (v *View) String() string

func (*View) UnmarshalJSON added in v0.0.11

func (v *View) UnmarshalJSON(data []byte) error

type ViewConfig added in v0.0.11

type ViewConfig struct {
	// Deprecated, use `commitId` instead.
	VersionId *VersionId `json:"versionId,omitempty" url:"versionId,omitempty"`
	CommitId  *CommitId  `json:"commitId,omitempty" url:"commitId,omitempty"`
	// Deprecated, use `sinceCommitId` instead.
	SinceVersionId *VersionId     `json:"sinceVersionId,omitempty" url:"sinceVersionId,omitempty"`
	SinceCommitId  *CommitId      `json:"sinceCommitId,omitempty" url:"sinceCommitId,omitempty"`
	SortField      *SortField     `json:"sortField,omitempty" url:"sortField,omitempty"`
	SortDirection  *SortDirection `json:"sortDirection,omitempty" url:"sortDirection,omitempty"`
	Filter         *Filter        `json:"filter,omitempty" url:"filter,omitempty"`
	// Name of field by which to filter records
	FilterField *FilterField `json:"filterField,omitempty" url:"filterField,omitempty"`
	SearchValue *SearchValue `json:"searchValue,omitempty" url:"searchValue,omitempty"`
	SearchField *SearchField `json:"searchField,omitempty" url:"searchField,omitempty"`
	// The Record Ids param (ids) is a list of record ids that can be passed to several record endpoints allowing the user to identify specific records to INCLUDE in the query, or specific records to EXCLUDE, depending on whether or not filters are being applied. When passing a query param that filters the record dataset, such as 'searchValue', or a 'filter' of 'valid' | 'error' | 'all', the 'ids' param will EXCLUDE those records from the filtered results. For basic queries that do not filter the dataset, passing record ids in the 'ids' param will limit the dataset to INCLUDE just those specific records. Maximum of 100 allowed.
	Ids []RecordId `json:"ids,omitempty" url:"ids,omitempty"`
	// Number of records to return in a page (default 10,000)
	PageSize *int `json:"pageSize,omitempty" url:"pageSize,omitempty"`
	// Based on pageSize, which page of records to return (Note - numbers start at 1)
	PageNumber *int `json:"pageNumber,omitempty" url:"pageNumber,omitempty"`
	// **DEPRECATED** Use GET /sheets/:sheetId/counts
	IncludeCounts *bool `json:"includeCounts,omitempty" url:"includeCounts,omitempty"`
	// The length of the record result set, returned as counts.total
	IncludeLength *bool `json:"includeLength,omitempty" url:"includeLength,omitempty"`
	// If true, linked records will be included in the results. Defaults to false.
	IncludeLinks *bool `json:"includeLinks,omitempty" url:"includeLinks,omitempty"`
	// Include error messages, defaults to false.
	IncludeMessages *bool `json:"includeMessages,omitempty" url:"includeMessages,omitempty"`
	// if "for" is provided, the query parameters will be pulled from the event payload
	For *EventId `json:"for,omitempty" url:"for,omitempty"`
	// An FFQL query used to filter the result set
	Q *string `json:"q,omitempty" url:"q,omitempty"`
	// contains filtered or unexported fields
}

The configuration of a view. Filters, sorting, and search query.

func (*ViewConfig) GetCommitId added in v0.0.21

func (v *ViewConfig) GetCommitId() *CommitId

func (*ViewConfig) GetExtraProperties added in v0.0.14

func (v *ViewConfig) GetExtraProperties() map[string]interface{}

func (*ViewConfig) GetFilter added in v0.0.21

func (v *ViewConfig) GetFilter() *Filter

func (*ViewConfig) GetFilterField added in v0.0.21

func (v *ViewConfig) GetFilterField() *FilterField

func (*ViewConfig) GetFor added in v0.0.21

func (v *ViewConfig) GetFor() *EventId

func (*ViewConfig) GetIds added in v0.0.21

func (v *ViewConfig) GetIds() []RecordId

func (*ViewConfig) GetIncludeCounts added in v0.0.21

func (v *ViewConfig) GetIncludeCounts() *bool

func (*ViewConfig) GetIncludeLength added in v0.0.21

func (v *ViewConfig) GetIncludeLength() *bool
func (v *ViewConfig) GetIncludeLinks() *bool

func (*ViewConfig) GetIncludeMessages added in v0.0.21

func (v *ViewConfig) GetIncludeMessages() *bool

func (*ViewConfig) GetPageNumber added in v0.0.21

func (v *ViewConfig) GetPageNumber() *int

func (*ViewConfig) GetPageSize added in v0.0.21

func (v *ViewConfig) GetPageSize() *int

func (*ViewConfig) GetQ added in v0.0.21

func (v *ViewConfig) GetQ() *string

func (*ViewConfig) GetSearchField added in v0.0.21

func (v *ViewConfig) GetSearchField() *SearchField

func (*ViewConfig) GetSearchValue added in v0.0.21

func (v *ViewConfig) GetSearchValue() *SearchValue

func (*ViewConfig) GetSinceCommitId added in v0.0.21

func (v *ViewConfig) GetSinceCommitId() *CommitId

func (*ViewConfig) GetSinceVersionId added in v0.0.21

func (v *ViewConfig) GetSinceVersionId() *VersionId

func (*ViewConfig) GetSortDirection added in v0.0.21

func (v *ViewConfig) GetSortDirection() *SortDirection

func (*ViewConfig) GetSortField added in v0.0.21

func (v *ViewConfig) GetSortField() *SortField

func (*ViewConfig) GetVersionId added in v0.0.21

func (v *ViewConfig) GetVersionId() *VersionId

func (*ViewConfig) String added in v0.0.11

func (v *ViewConfig) String() string

func (*ViewConfig) UnmarshalJSON added in v0.0.11

func (v *ViewConfig) UnmarshalJSON(data []byte) error

type ViewCreate added in v0.0.11

type ViewCreate struct {
	SheetId SheetId     `json:"sheetId" url:"sheetId"`
	Name    string      `json:"name" url:"name"`
	Config  *ViewConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewCreate) GetConfig added in v0.0.21

func (v *ViewCreate) GetConfig() *ViewConfig

func (*ViewCreate) GetExtraProperties added in v0.0.14

func (v *ViewCreate) GetExtraProperties() map[string]interface{}

func (*ViewCreate) GetName added in v0.0.21

func (v *ViewCreate) GetName() string

func (*ViewCreate) GetSheetId added in v0.0.21

func (v *ViewCreate) GetSheetId() SheetId

func (*ViewCreate) String added in v0.0.11

func (v *ViewCreate) String() string

func (*ViewCreate) UnmarshalJSON added in v0.0.11

func (v *ViewCreate) UnmarshalJSON(data []byte) error

type ViewId added in v0.0.11

type ViewId = string

View ID

type ViewResponse added in v0.0.11

type ViewResponse struct {
	Data *View `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewResponse) GetData added in v0.0.21

func (v *ViewResponse) GetData() *View

func (*ViewResponse) GetExtraProperties added in v0.0.14

func (v *ViewResponse) GetExtraProperties() map[string]interface{}

func (*ViewResponse) String added in v0.0.11

func (v *ViewResponse) String() string

func (*ViewResponse) UnmarshalJSON added in v0.0.11

func (v *ViewResponse) UnmarshalJSON(data []byte) error

type ViewUpdate added in v0.0.11

type ViewUpdate struct {
	Name   *string     `json:"name,omitempty" url:"name,omitempty"`
	Config *ViewConfig `json:"config,omitempty" url:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewUpdate) GetConfig added in v0.0.21

func (v *ViewUpdate) GetConfig() *ViewConfig

func (*ViewUpdate) GetExtraProperties added in v0.0.14

func (v *ViewUpdate) GetExtraProperties() map[string]interface{}

func (*ViewUpdate) GetName added in v0.0.21

func (v *ViewUpdate) GetName() *string

func (*ViewUpdate) String added in v0.0.11

func (v *ViewUpdate) String() string

func (*ViewUpdate) UnmarshalJSON added in v0.0.11

func (v *ViewUpdate) UnmarshalJSON(data []byte) error

type Workbook

type Workbook struct {
	// ID of the Workbook.
	Id WorkbookId `json:"id" url:"id"`
	// Name of the Workbook.
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// Associated Space ID of the Workbook.
	SpaceId SpaceId `json:"spaceId" url:"spaceId"`
	// Associated Environment ID of the Workbook.
	EnvironmentId EnvironmentId `json:"environmentId" url:"environmentId"`
	// A list of Sheets associated with the Workbook.
	Sheets []*Sheet `json:"sheets,omitempty" url:"sheets,omitempty"`
	// A list of labels for the Workbook.
	Labels []string `json:"labels,omitempty" url:"labels,omitempty"`
	// A list of Actions associated with the Workbook.
	Actions []*Action `json:"actions,omitempty" url:"actions,omitempty"`
	// The Workbook settings.
	Settings *WorkbookConfigSettings `json:"settings,omitempty" url:"settings,omitempty"`
	// Metadata for the workbook
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// Treatments for the workbook
	Treatments []WorkbookTreatments `json:"treatments,omitempty" url:"treatments,omitempty"`
	Namespace  *string              `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Date the workbook was last updated
	UpdatedAt time.Time `json:"updatedAt" url:"updatedAt"`
	// Date the workbook was created
	CreatedAt time.Time `json:"createdAt" url:"createdAt"`
	// Date the workbook was created
	ExpiredAt *time.Time `json:"expiredAt,omitempty" url:"expiredAt,omitempty"`
	// contains filtered or unexported fields
}

A collection of one or more sheets

func (*Workbook) GetActions added in v0.0.21

func (w *Workbook) GetActions() []*Action

func (*Workbook) GetCreatedAt added in v0.0.21

func (w *Workbook) GetCreatedAt() time.Time

func (*Workbook) GetEnvironmentId added in v0.0.21

func (w *Workbook) GetEnvironmentId() EnvironmentId

func (*Workbook) GetExpiredAt added in v0.0.21

func (w *Workbook) GetExpiredAt() *time.Time

func (*Workbook) GetExtraProperties added in v0.0.14

func (w *Workbook) GetExtraProperties() map[string]interface{}

func (*Workbook) GetId added in v0.0.21

func (w *Workbook) GetId() WorkbookId

func (*Workbook) GetLabels added in v0.0.21

func (w *Workbook) GetLabels() []string

func (*Workbook) GetMetadata added in v0.0.21

func (w *Workbook) GetMetadata() interface{}

func (*Workbook) GetName added in v0.0.21

func (w *Workbook) GetName() *string

func (*Workbook) GetNamespace added in v0.0.21

func (w *Workbook) GetNamespace() *string

func (*Workbook) GetSettings added in v0.0.21

func (w *Workbook) GetSettings() *WorkbookConfigSettings

func (*Workbook) GetSheets added in v0.0.21

func (w *Workbook) GetSheets() []*Sheet

func (*Workbook) GetSpaceId added in v0.0.21

func (w *Workbook) GetSpaceId() SpaceId

func (*Workbook) GetTreatments added in v0.0.21

func (w *Workbook) GetTreatments() []WorkbookTreatments

func (*Workbook) GetUpdatedAt added in v0.0.21

func (w *Workbook) GetUpdatedAt() time.Time

func (*Workbook) MarshalJSON added in v0.0.8

func (w *Workbook) MarshalJSON() ([]byte, error)

func (*Workbook) String

func (w *Workbook) String() string

func (*Workbook) UnmarshalJSON

func (w *Workbook) UnmarshalJSON(data []byte) error

type WorkbookConfigSettings

type WorkbookConfigSettings struct {
	// Whether to track changes for this workbook. Defaults to false. Tracking changes on a workbook allows for disabling workbook and sheet actions while data in the workbook is still being processed. You must run a recordHook listener if you enable this feature.
	TrackChanges *bool `json:"trackChanges,omitempty" url:"trackChanges,omitempty"`
	// When noMappingRedirect is set to true, dragging a file into a sheet will not redirect to the mapping screen. Defaults to false.
	NoMappingRedirect *bool `json:"noMappingRedirect,omitempty" url:"noMappingRedirect,omitempty"`
	// Used to set the order of sheets in the sidebar. Sheets that are not specified will be shown after those listed.
	SheetSidebarOrder []SheetId `json:"sheetSidebarOrder,omitempty" url:"sheetSidebarOrder,omitempty"`
	// contains filtered or unexported fields
}

Settings for a workbook

func (*WorkbookConfigSettings) GetExtraProperties added in v0.0.14

func (w *WorkbookConfigSettings) GetExtraProperties() map[string]interface{}

func (*WorkbookConfigSettings) GetNoMappingRedirect added in v0.0.21

func (w *WorkbookConfigSettings) GetNoMappingRedirect() *bool

func (*WorkbookConfigSettings) GetSheetSidebarOrder added in v0.0.21

func (w *WorkbookConfigSettings) GetSheetSidebarOrder() []SheetId

func (*WorkbookConfigSettings) GetTrackChanges added in v0.0.21

func (w *WorkbookConfigSettings) GetTrackChanges() *bool

func (*WorkbookConfigSettings) String

func (w *WorkbookConfigSettings) String() string

func (*WorkbookConfigSettings) UnmarshalJSON

func (w *WorkbookConfigSettings) UnmarshalJSON(data []byte) error

type WorkbookId

type WorkbookId = string

Workbook ID

type WorkbookResponse

type WorkbookResponse struct {
	Data *Workbook `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkbookResponse) GetData added in v0.0.21

func (w *WorkbookResponse) GetData() *Workbook

func (*WorkbookResponse) GetExtraProperties added in v0.0.14

func (w *WorkbookResponse) GetExtraProperties() map[string]interface{}

func (*WorkbookResponse) String

func (w *WorkbookResponse) String() string

func (*WorkbookResponse) UnmarshalJSON

func (w *WorkbookResponse) UnmarshalJSON(data []byte) error

type WorkbookTreatments added in v0.0.15

type WorkbookTreatments string

Available treatments for a workbook

const (
	WorkbookTreatmentsExtractedFromSource WorkbookTreatments = "EXTRACTED_FROM_SOURCE"
	WorkbookTreatmentsSmallData           WorkbookTreatments = "SMALL_DATA"
)

func NewWorkbookTreatmentsFromString added in v0.0.15

func NewWorkbookTreatmentsFromString(s string) (WorkbookTreatments, error)

func (WorkbookTreatments) Ptr added in v0.0.15

type WorkbookUpdate

type WorkbookUpdate struct {
	// The name of the Workbook.
	Name *string `json:"name,omitempty" url:"name,omitempty"`
	// An optional list of labels for the Workbook.
	Labels []string `json:"labels,omitempty" url:"labels,omitempty"`
	// The Space Id associated with the Workbook.
	SpaceId *SpaceId `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	// The Environment Id associated with the Workbook.
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The namespace of the Workbook.
	Namespace *string `json:"namespace,omitempty" url:"namespace,omitempty"`
	// Describes shape of data as well as behavior
	Sheets  []*SheetConfigOrUpdate `json:"sheets,omitempty" url:"sheets,omitempty"`
	Actions []*Action              `json:"actions,omitempty" url:"actions,omitempty"`
	// Metadata for the workbook
	Metadata interface{} `json:"metadata,omitempty" url:"metadata,omitempty"`
	// contains filtered or unexported fields
}

The updates to be made to an existing workbook

func (*WorkbookUpdate) GetActions added in v0.0.21

func (w *WorkbookUpdate) GetActions() []*Action

func (*WorkbookUpdate) GetEnvironmentId added in v0.0.21

func (w *WorkbookUpdate) GetEnvironmentId() *EnvironmentId

func (*WorkbookUpdate) GetExtraProperties added in v0.0.14

func (w *WorkbookUpdate) GetExtraProperties() map[string]interface{}

func (*WorkbookUpdate) GetLabels added in v0.0.21

func (w *WorkbookUpdate) GetLabels() []string

func (*WorkbookUpdate) GetMetadata added in v0.0.21

func (w *WorkbookUpdate) GetMetadata() interface{}

func (*WorkbookUpdate) GetName added in v0.0.21

func (w *WorkbookUpdate) GetName() *string

func (*WorkbookUpdate) GetNamespace added in v0.0.21

func (w *WorkbookUpdate) GetNamespace() *string

func (*WorkbookUpdate) GetSheets added in v0.0.21

func (w *WorkbookUpdate) GetSheets() []*SheetConfigOrUpdate

func (*WorkbookUpdate) GetSpaceId added in v0.0.21

func (w *WorkbookUpdate) GetSpaceId() *SpaceId

func (*WorkbookUpdate) String

func (w *WorkbookUpdate) String() string

func (*WorkbookUpdate) UnmarshalJSON

func (w *WorkbookUpdate) UnmarshalJSON(data []byte) error

type WriteSecret

type WriteSecret struct {
	// The reference name for a secret.
	Name SecretName `json:"name" url:"name"`
	// The secret value. This is hidden in the UI.
	Value SecretValue `json:"value" url:"value"`
	// The Environment of the secret.
	EnvironmentId *EnvironmentId `json:"environmentId,omitempty" url:"environmentId,omitempty"`
	// The Space of the secret.
	SpaceId *SpaceId `json:"spaceId,omitempty" url:"spaceId,omitempty"`
	// The Actor of the secret.
	ActorId *ActorIdUnion `json:"actorId,omitempty" url:"actorId,omitempty"`
	// contains filtered or unexported fields
}

The properties required to write to a secret. Value is the only mutable property. Name, environmentId, spaceId (optional) are used for finding the secret.

func (*WriteSecret) GetActorId added in v0.0.21

func (w *WriteSecret) GetActorId() *ActorIdUnion

func (*WriteSecret) GetEnvironmentId added in v0.0.21

func (w *WriteSecret) GetEnvironmentId() *EnvironmentId

func (*WriteSecret) GetExtraProperties added in v0.0.14

func (w *WriteSecret) GetExtraProperties() map[string]interface{}

func (*WriteSecret) GetName added in v0.0.21

func (w *WriteSecret) GetName() SecretName

func (*WriteSecret) GetSpaceId added in v0.0.21

func (w *WriteSecret) GetSpaceId() *SpaceId

func (*WriteSecret) GetValue added in v0.0.21

func (w *WriteSecret) GetValue() SecretValue

func (*WriteSecret) String

func (w *WriteSecret) String() string

func (*WriteSecret) UnmarshalJSON

func (w *WriteSecret) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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