Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 3.71 KB

PromptChallenge.md

File metadata and controls

129 lines (70 loc) · 3.71 KB

PromptChallenge

Properties

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

Methods

NewPromptChallenge

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

NewPromptChallengeWithDefaults

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

GetFlowInfo

func (o *PromptChallenge) GetFlowInfo() ContextualFlowInfo

GetFlowInfo returns the FlowInfo field if non-nil, zero value otherwise.

GetFlowInfoOk

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.

SetFlowInfo

func (o *PromptChallenge) SetFlowInfo(v ContextualFlowInfo)

SetFlowInfo sets FlowInfo field to given value.

HasFlowInfo

func (o *PromptChallenge) HasFlowInfo() bool

HasFlowInfo returns a boolean if a field has been set.

GetComponent

func (o *PromptChallenge) GetComponent() string

GetComponent returns the Component field if non-nil, zero value otherwise.

GetComponentOk

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.

SetComponent

func (o *PromptChallenge) SetComponent(v string)

SetComponent sets Component field to given value.

HasComponent

func (o *PromptChallenge) HasComponent() bool

HasComponent returns a boolean if a field has been set.

GetResponseErrors

func (o *PromptChallenge) GetResponseErrors() map[string][]ErrorDetail

GetResponseErrors returns the ResponseErrors field if non-nil, zero value otherwise.

GetResponseErrorsOk

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.

SetResponseErrors

func (o *PromptChallenge) SetResponseErrors(v map[string][]ErrorDetail)

SetResponseErrors sets ResponseErrors field to given value.

HasResponseErrors

func (o *PromptChallenge) HasResponseErrors() bool

HasResponseErrors returns a boolean if a field has been set.

GetFields

func (o *PromptChallenge) GetFields() []StagePrompt

GetFields returns the Fields field if non-nil, zero value otherwise.

GetFieldsOk

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.

SetFields

func (o *PromptChallenge) SetFields(v []StagePrompt)

SetFields sets Fields field to given value.

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