InteractionInputCollection
Handle
A collection of interaction inputs that supports both indexed and name-based access.
type InteractionInputCollection interface{}5 members
Methods
method
ToArray Gets all inputs in declaration order.
ToArray() ([]*InteractionInput, error)Returns
([]*InteractionInput, error) A copy of the inputs in declaration order.
Returns ([]*InteractionInput, error).
method
GetGet returns the input with the specified name, or nil if no input matches.
Get(name string) (*InteractionInput, error)method
RequiredRequired returns the input with the specified name, or an error if no input matches.
Required(name string) (*InteractionInput, error)method
ValueValue returns the value of the input with the specified name, or an empty string if no input matches or it has no value.
Value(name string) (string, error)method
RequiredValue RequiredValue returns the value of the input with the specified name, or an error if no input matches.
RequiredValue(name string) (string, error)