Name | Type | Description | Notes |
---|---|---|---|
FlowInfo | Pointer to ContextualFlowInfo | [optional] | |
Component | Pointer to string | [optional] [default to "ak-stage-prompt"] | |
ResponseErrors | Pointer to map[string][]ErrorDetail | [optional] | |
Fields | []StagePrompt |
func NewPromptChallenge(fields []StagePrompt, ) *PromptChallenge
NewPromptChallenge instantiates a new PromptChallenge 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 NewPromptChallengeWithDefaults() *PromptChallenge
NewPromptChallengeWithDefaults instantiates a new PromptChallenge 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 *PromptChallenge) GetFlowInfo() ContextualFlowInfo
GetFlowInfo returns the FlowInfo field if non-nil, zero value otherwise.
func (o *PromptChallenge) GetFlowInfoOk() (*ContextualFlowInfo, bool)
GetFlowInfoOk returns a tuple with the FlowInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromptChallenge) SetFlowInfo(v ContextualFlowInfo)
SetFlowInfo sets FlowInfo field to given value.
func (o *PromptChallenge) HasFlowInfo() bool
HasFlowInfo returns a boolean if a field has been set.
func (o *PromptChallenge) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *PromptChallenge) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromptChallenge) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *PromptChallenge) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (o *PromptChallenge) GetResponseErrors() map[string][]ErrorDetail
GetResponseErrors returns the ResponseErrors field if non-nil, zero value otherwise.
func (o *PromptChallenge) GetResponseErrorsOk() (*map[string][]ErrorDetail, bool)
GetResponseErrorsOk returns a tuple with the ResponseErrors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromptChallenge) SetResponseErrors(v map[string][]ErrorDetail)
SetResponseErrors sets ResponseErrors field to given value.
func (o *PromptChallenge) HasResponseErrors() bool
HasResponseErrors returns a boolean if a field has been set.
func (o *PromptChallenge) GetFields() []StagePrompt
GetFields returns the Fields field if non-nil, zero value otherwise.
func (o *PromptChallenge) GetFieldsOk() (*[]StagePrompt, bool)
GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromptChallenge) SetFields(v []StagePrompt)
SetFields sets Fields field to given value.