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] |
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
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
func (o *Prompt) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetPk(v string)
SetPk sets Pk field to given value.
func (o *Prompt) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetName(v string)
SetName sets Name field to given value.
func (o *Prompt) GetFieldKey() string
GetFieldKey returns the FieldKey field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetFieldKey(v string)
SetFieldKey sets FieldKey field to given value.
func (o *Prompt) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *Prompt) GetType() PromptTypeEnum
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetType(v PromptTypeEnum)
SetType sets Type field to given value.
func (o *Prompt) GetRequired() bool
GetRequired returns the Required field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetRequired(v bool)
SetRequired sets Required field to given value.
func (o *Prompt) HasRequired() bool
HasRequired returns a boolean if a field has been set.
func (o *Prompt) GetPlaceholder() string
GetPlaceholder returns the Placeholder field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetPlaceholder(v string)
SetPlaceholder sets Placeholder field to given value.
func (o *Prompt) HasPlaceholder() bool
HasPlaceholder returns a boolean if a field has been set.
func (o *Prompt) GetInitialValue() string
GetInitialValue returns the InitialValue field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetInitialValue(v string)
SetInitialValue sets InitialValue field to given value.
func (o *Prompt) HasInitialValue() bool
HasInitialValue returns a boolean if a field has been set.
func (o *Prompt) GetOrder() int32
GetOrder returns the Order field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetOrder(v int32)
SetOrder sets Order field to given value.
func (o *Prompt) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (o *Prompt) GetPromptstageSet() []Stage
GetPromptstageSet returns the PromptstageSet field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetPromptstageSet(v []Stage)
SetPromptstageSet sets PromptstageSet field to given value.
func (o *Prompt) HasPromptstageSet() bool
HasPromptstageSet returns a boolean if a field has been set.
func (o *Prompt) GetSubText() string
GetSubText returns the SubText field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetSubText(v string)
SetSubText sets SubText field to given value.
func (o *Prompt) HasSubText() bool
HasSubText returns a boolean if a field has been set.
func (o *Prompt) GetPlaceholderExpression() bool
GetPlaceholderExpression returns the PlaceholderExpression field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetPlaceholderExpression(v bool)
SetPlaceholderExpression sets PlaceholderExpression field to given value.
func (o *Prompt) HasPlaceholderExpression() bool
HasPlaceholderExpression returns a boolean if a field has been set.
func (o *Prompt) GetInitialValueExpression() bool
GetInitialValueExpression returns the InitialValueExpression field if non-nil, zero value otherwise.
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.
func (o *Prompt) SetInitialValueExpression(v bool)
SetInitialValueExpression sets InitialValueExpression field to given value.
func (o *Prompt) HasInitialValueExpression() bool
HasInitialValueExpression returns a boolean if a field has been set.