Documentation ¶
Index ¶
- type ChannelTargetInfo
- type ChannelTargetInfoAttributes
- func (cti ChannelTargetInfoAttributes) ContactChannelId() terra.StringValue
- func (cti ChannelTargetInfoAttributes) InternalRef() (terra.Reference, error)
- func (cti ChannelTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cti ChannelTargetInfoAttributes) InternalWithRef(ref terra.Reference) ChannelTargetInfoAttributes
- func (cti ChannelTargetInfoAttributes) RetryIntervalInMinutes() terra.NumberValue
- type ChannelTargetInfoState
- type ContactTargetInfo
- type ContactTargetInfoAttributes
- func (cti ContactTargetInfoAttributes) ContactId() terra.StringValue
- func (cti ContactTargetInfoAttributes) InternalRef() (terra.Reference, error)
- func (cti ContactTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cti ContactTargetInfoAttributes) InternalWithRef(ref terra.Reference) ContactTargetInfoAttributes
- func (cti ContactTargetInfoAttributes) IsEssential() terra.BoolValue
- type ContactTargetInfoState
- type Stage
- type StageAttributes
- func (s StageAttributes) DurationInMinutes() terra.NumberValue
- func (s StageAttributes) InternalRef() (terra.Reference, error)
- func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
- func (s StageAttributes) Target() terra.ListValue[TargetAttributes]
- type StageState
- type Target
- type TargetAttributes
- func (t TargetAttributes) ChannelTargetInfo() terra.ListValue[ChannelTargetInfoAttributes]
- func (t TargetAttributes) ContactTargetInfo() terra.ListValue[ContactTargetInfoAttributes]
- func (t TargetAttributes) InternalRef() (terra.Reference, error)
- func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes
- type TargetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelTargetInfo ¶
type ChannelTargetInfo struct { // ContactChannelId: string, required ContactChannelId terra.StringValue `hcl:"contact_channel_id,attr" validate:"required"` // RetryIntervalInMinutes: number, optional RetryIntervalInMinutes terra.NumberValue `hcl:"retry_interval_in_minutes,attr"` }
type ChannelTargetInfoAttributes ¶
type ChannelTargetInfoAttributes struct {
// contains filtered or unexported fields
}
func (ChannelTargetInfoAttributes) ContactChannelId ¶
func (cti ChannelTargetInfoAttributes) ContactChannelId() terra.StringValue
func (ChannelTargetInfoAttributes) InternalRef ¶
func (cti ChannelTargetInfoAttributes) InternalRef() (terra.Reference, error)
func (ChannelTargetInfoAttributes) InternalTokens ¶
func (cti ChannelTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ChannelTargetInfoAttributes) InternalWithRef ¶
func (cti ChannelTargetInfoAttributes) InternalWithRef(ref terra.Reference) ChannelTargetInfoAttributes
func (ChannelTargetInfoAttributes) RetryIntervalInMinutes ¶
func (cti ChannelTargetInfoAttributes) RetryIntervalInMinutes() terra.NumberValue
type ChannelTargetInfoState ¶
type ContactTargetInfo ¶
type ContactTargetInfo struct { // ContactId: string, optional ContactId terra.StringValue `hcl:"contact_id,attr"` // IsEssential: bool, required IsEssential terra.BoolValue `hcl:"is_essential,attr" validate:"required"` }
type ContactTargetInfoAttributes ¶
type ContactTargetInfoAttributes struct {
// contains filtered or unexported fields
}
func (ContactTargetInfoAttributes) ContactId ¶
func (cti ContactTargetInfoAttributes) ContactId() terra.StringValue
func (ContactTargetInfoAttributes) InternalRef ¶
func (cti ContactTargetInfoAttributes) InternalRef() (terra.Reference, error)
func (ContactTargetInfoAttributes) InternalTokens ¶
func (cti ContactTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContactTargetInfoAttributes) InternalWithRef ¶
func (cti ContactTargetInfoAttributes) InternalWithRef(ref terra.Reference) ContactTargetInfoAttributes
func (ContactTargetInfoAttributes) IsEssential ¶
func (cti ContactTargetInfoAttributes) IsEssential() terra.BoolValue
type ContactTargetInfoState ¶
type Stage ¶
type Stage struct { // DurationInMinutes: number, required DurationInMinutes terra.NumberValue `hcl:"duration_in_minutes,attr" validate:"required"` // Target: min=0 Target []Target `hcl:"target,block" validate:"min=0"` }
type StageAttributes ¶
type StageAttributes struct {
// contains filtered or unexported fields
}
func (StageAttributes) DurationInMinutes ¶
func (s StageAttributes) DurationInMinutes() terra.NumberValue
func (StageAttributes) InternalRef ¶
func (s StageAttributes) InternalRef() (terra.Reference, error)
func (StageAttributes) InternalTokens ¶
func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageAttributes) InternalWithRef ¶
func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
func (StageAttributes) Target ¶
func (s StageAttributes) Target() terra.ListValue[TargetAttributes]
type StageState ¶
type StageState struct { DurationInMinutes float64 `json:"duration_in_minutes"` Target []TargetState `json:"target"` }
type Target ¶
type Target struct { // ChannelTargetInfo: optional ChannelTargetInfo *ChannelTargetInfo `hcl:"channel_target_info,block"` // ContactTargetInfo: optional ContactTargetInfo *ContactTargetInfo `hcl:"contact_target_info,block"` }
type TargetAttributes ¶
type TargetAttributes struct {
// contains filtered or unexported fields
}
func (TargetAttributes) ChannelTargetInfo ¶
func (t TargetAttributes) ChannelTargetInfo() terra.ListValue[ChannelTargetInfoAttributes]
func (TargetAttributes) ContactTargetInfo ¶
func (t TargetAttributes) ContactTargetInfo() terra.ListValue[ContactTargetInfoAttributes]
func (TargetAttributes) InternalRef ¶
func (t TargetAttributes) InternalRef() (terra.Reference, error)
func (TargetAttributes) InternalTokens ¶
func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetAttributes) InternalWithRef ¶
func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes
type TargetState ¶
type TargetState struct { ChannelTargetInfo []ChannelTargetInfoState `json:"channel_target_info"` ContactTargetInfo []ContactTargetInfoState `json:"contact_target_info"` }
Click to show internal directories.
Click to hide internal directories.