studio

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow

type Flow struct {
	Description  string       `json:"description"`
	Flags        *FlowFlags   `json:"flags,omitempty"`
	InitialState string       `validate:"required" json:"initial_state"`
	States       []flow.State `validate:"required" json:"states"`
}

Flow is the struct to create a Studio Flow

func (Flow) ToString

func (flow Flow) ToString() (*string, error)

ToString marshalls the struct to a json string

func (Flow) Validate

func (flow Flow) Validate() error

Validate checks the flow is correctly configured

type FlowFlags

type FlowFlags struct {
	AllowConcurrentCalls bool `json:"allow_concurrent_calls"`
}

FlowFlags are the advanced features configuration for the Studio Flow

Directories

Path Synopsis
Package widgets contains auto-generated files.
Package widgets contains auto-generated files.

Jump to

Keyboard shortcuts

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