lexbot

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortStatement

type AbortStatement struct {
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// AbortStatementMessage: min=1,max=15
	Message []AbortStatementMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type AbortStatementAttributes

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

func (AbortStatementAttributes) InternalRef

func (as AbortStatementAttributes) InternalRef() (terra.Reference, error)

func (AbortStatementAttributes) InternalTokens

func (as AbortStatementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AbortStatementAttributes) InternalWithRef

func (AbortStatementAttributes) Message

func (AbortStatementAttributes) ResponseCard

func (as AbortStatementAttributes) ResponseCard() terra.StringValue

type AbortStatementMessage

type AbortStatementMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type AbortStatementMessageAttributes

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

func (AbortStatementMessageAttributes) Content

func (AbortStatementMessageAttributes) ContentType

func (AbortStatementMessageAttributes) GroupNumber

func (AbortStatementMessageAttributes) InternalRef

func (AbortStatementMessageAttributes) InternalTokens

func (m AbortStatementMessageAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AbortStatementMessageAttributes) InternalWithRef

type AbortStatementMessageState

type AbortStatementMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type AbortStatementState

type AbortStatementState struct {
	ResponseCard string                       `json:"response_card"`
	Message      []AbortStatementMessageState `json:"message"`
}

type ClarificationPrompt

type ClarificationPrompt struct {
	// MaxAttempts: number, required
	MaxAttempts terra.NumberValue `hcl:"max_attempts,attr" validate:"required"`
	// ResponseCard: string, optional
	ResponseCard terra.StringValue `hcl:"response_card,attr"`
	// ClarificationPromptMessage: min=1,max=15
	Message []ClarificationPromptMessage `hcl:"message,block" validate:"min=1,max=15"`
}

type ClarificationPromptAttributes

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

func (ClarificationPromptAttributes) InternalRef

func (cp ClarificationPromptAttributes) InternalRef() (terra.Reference, error)

func (ClarificationPromptAttributes) InternalTokens

func (cp ClarificationPromptAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClarificationPromptAttributes) InternalWithRef

func (ClarificationPromptAttributes) MaxAttempts

func (ClarificationPromptAttributes) Message

func (ClarificationPromptAttributes) ResponseCard

type ClarificationPromptMessage

type ClarificationPromptMessage struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// ContentType: string, required
	ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"`
	// GroupNumber: number, optional
	GroupNumber terra.NumberValue `hcl:"group_number,attr"`
}

type ClarificationPromptMessageAttributes

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

func (ClarificationPromptMessageAttributes) Content

func (ClarificationPromptMessageAttributes) ContentType

func (ClarificationPromptMessageAttributes) GroupNumber

func (ClarificationPromptMessageAttributes) InternalRef

func (ClarificationPromptMessageAttributes) InternalTokens

func (ClarificationPromptMessageAttributes) InternalWithRef

type ClarificationPromptMessageState

type ClarificationPromptMessageState struct {
	Content     string  `json:"content"`
	ContentType string  `json:"content_type"`
	GroupNumber float64 `json:"group_number"`
}

type ClarificationPromptState

type ClarificationPromptState struct {
	MaxAttempts  float64                           `json:"max_attempts"`
	ResponseCard string                            `json:"response_card"`
	Message      []ClarificationPromptMessageState `json:"message"`
}

type Intent

type Intent struct {
	// IntentName: string, required
	IntentName terra.StringValue `hcl:"intent_name,attr" validate:"required"`
	// IntentVersion: string, required
	IntentVersion terra.StringValue `hcl:"intent_version,attr" validate:"required"`
}

type IntentAttributes

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

func (IntentAttributes) IntentName

func (i IntentAttributes) IntentName() terra.StringValue

func (IntentAttributes) IntentVersion

func (i IntentAttributes) IntentVersion() terra.StringValue

func (IntentAttributes) InternalRef

func (i IntentAttributes) InternalRef() (terra.Reference, error)

func (IntentAttributes) InternalTokens

func (i IntentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IntentAttributes) InternalWithRef

func (i IntentAttributes) InternalWithRef(ref terra.Reference) IntentAttributes

type IntentState

type IntentState struct {
	IntentName    string `json:"intent_name"`
	IntentVersion string `json:"intent_version"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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