Skip to content

Latest commit

 

History

History
343 lines (184 loc) · 8.95 KB

Prompt.md

File metadata and controls

343 lines (184 loc) · 8.95 KB

Prompt

Properties

Name Type Description Notes
Pk string [readonly]
Name string
FieldKey string Name of the form field, also used to store the value
Label string
Type PromptTypeEnum
Required Pointer to bool [optional]
Placeholder Pointer to string Optionally provide a short hint that describes the expected input value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple choices. [optional]
InitialValue Pointer to string Optionally pre-fill the input with an initial value. When creating a fixed choice field, enable interpreting as expression and return a list to return multiple default choices. [optional]
Order Pointer to int32 [optional]
PromptstageSet Pointer to []Stage [optional]
SubText Pointer to string [optional]
PlaceholderExpression Pointer to bool [optional]
InitialValueExpression Pointer to bool [optional]

Methods

NewPrompt

func NewPrompt(pk string, name string, fieldKey string, label string, type_ PromptTypeEnum, ) *Prompt

NewPrompt instantiates a new Prompt object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPromptWithDefaults

func NewPromptWithDefaults() *Prompt

NewPromptWithDefaults instantiates a new Prompt object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetPk

func (o *Prompt) GetPk() string

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

func (o *Prompt) GetPkOk() (*string, bool)

GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPk

func (o *Prompt) SetPk(v string)

SetPk sets Pk field to given value.

GetName

func (o *Prompt) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Prompt) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *Prompt) SetName(v string)

SetName sets Name field to given value.

GetFieldKey

func (o *Prompt) GetFieldKey() string

GetFieldKey returns the FieldKey field if non-nil, zero value otherwise.

GetFieldKeyOk

func (o *Prompt) GetFieldKeyOk() (*string, bool)

GetFieldKeyOk returns a tuple with the FieldKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFieldKey

func (o *Prompt) SetFieldKey(v string)

SetFieldKey sets FieldKey field to given value.

GetLabel

func (o *Prompt) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *Prompt) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLabel

func (o *Prompt) SetLabel(v string)

SetLabel sets Label field to given value.

GetType

func (o *Prompt) GetType() PromptTypeEnum

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Prompt) GetTypeOk() (*PromptTypeEnum, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *Prompt) SetType(v PromptTypeEnum)

SetType sets Type field to given value.

GetRequired

func (o *Prompt) GetRequired() bool

GetRequired returns the Required field if non-nil, zero value otherwise.

GetRequiredOk

func (o *Prompt) GetRequiredOk() (*bool, bool)

GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRequired

func (o *Prompt) SetRequired(v bool)

SetRequired sets Required field to given value.

HasRequired

func (o *Prompt) HasRequired() bool

HasRequired returns a boolean if a field has been set.

GetPlaceholder

func (o *Prompt) GetPlaceholder() string

GetPlaceholder returns the Placeholder field if non-nil, zero value otherwise.

GetPlaceholderOk

func (o *Prompt) GetPlaceholderOk() (*string, bool)

GetPlaceholderOk returns a tuple with the Placeholder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPlaceholder

func (o *Prompt) SetPlaceholder(v string)

SetPlaceholder sets Placeholder field to given value.

HasPlaceholder

func (o *Prompt) HasPlaceholder() bool

HasPlaceholder returns a boolean if a field has been set.

GetInitialValue

func (o *Prompt) GetInitialValue() string

GetInitialValue returns the InitialValue field if non-nil, zero value otherwise.

GetInitialValueOk

func (o *Prompt) GetInitialValueOk() (*string, bool)

GetInitialValueOk returns a tuple with the InitialValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInitialValue

func (o *Prompt) SetInitialValue(v string)

SetInitialValue sets InitialValue field to given value.

HasInitialValue

func (o *Prompt) HasInitialValue() bool

HasInitialValue returns a boolean if a field has been set.

GetOrder

func (o *Prompt) GetOrder() int32

GetOrder returns the Order field if non-nil, zero value otherwise.

GetOrderOk

func (o *Prompt) GetOrderOk() (*int32, bool)

GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOrder

func (o *Prompt) SetOrder(v int32)

SetOrder sets Order field to given value.

HasOrder

func (o *Prompt) HasOrder() bool

HasOrder returns a boolean if a field has been set.

GetPromptstageSet

func (o *Prompt) GetPromptstageSet() []Stage

GetPromptstageSet returns the PromptstageSet field if non-nil, zero value otherwise.

GetPromptstageSetOk

func (o *Prompt) GetPromptstageSetOk() (*[]Stage, bool)

GetPromptstageSetOk returns a tuple with the PromptstageSet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPromptstageSet

func (o *Prompt) SetPromptstageSet(v []Stage)

SetPromptstageSet sets PromptstageSet field to given value.

HasPromptstageSet

func (o *Prompt) HasPromptstageSet() bool

HasPromptstageSet returns a boolean if a field has been set.

GetSubText

func (o *Prompt) GetSubText() string

GetSubText returns the SubText field if non-nil, zero value otherwise.

GetSubTextOk

func (o *Prompt) GetSubTextOk() (*string, bool)

GetSubTextOk returns a tuple with the SubText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubText

func (o *Prompt) SetSubText(v string)

SetSubText sets SubText field to given value.

HasSubText

func (o *Prompt) HasSubText() bool

HasSubText returns a boolean if a field has been set.

GetPlaceholderExpression

func (o *Prompt) GetPlaceholderExpression() bool

GetPlaceholderExpression returns the PlaceholderExpression field if non-nil, zero value otherwise.

GetPlaceholderExpressionOk

func (o *Prompt) GetPlaceholderExpressionOk() (*bool, bool)

GetPlaceholderExpressionOk returns a tuple with the PlaceholderExpression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPlaceholderExpression

func (o *Prompt) SetPlaceholderExpression(v bool)

SetPlaceholderExpression sets PlaceholderExpression field to given value.

HasPlaceholderExpression

func (o *Prompt) HasPlaceholderExpression() bool

HasPlaceholderExpression returns a boolean if a field has been set.

GetInitialValueExpression

func (o *Prompt) GetInitialValueExpression() bool

GetInitialValueExpression returns the InitialValueExpression field if non-nil, zero value otherwise.

GetInitialValueExpressionOk

func (o *Prompt) GetInitialValueExpressionOk() (*bool, bool)

GetInitialValueExpressionOk returns a tuple with the InitialValueExpression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInitialValueExpression

func (o *Prompt) SetInitialValueExpression(v bool)

SetInitialValueExpression sets InitialValueExpression field to given value.

HasInitialValueExpression

func (o *Prompt) HasInitialValueExpression() bool

HasInitialValueExpression returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]