Skip to content

Latest commit

 

History

History
260 lines (139 loc) · 7.52 KB

ConsentChallenge.md

File metadata and controls

260 lines (139 loc) · 7.52 KB

ConsentChallenge

Properties

Name Type Description Notes
Type ChallengeChoices
FlowInfo Pointer to ContextualFlowInfo [optional]
Component Pointer to string [optional] [default to "ak-stage-consent"]
ResponseErrors Pointer to map[string][]ErrorDetail [optional]
PendingUser string
PendingUserAvatar string
HeaderText Pointer to string [optional]
Permissions []ConsentPermission
AdditionalPermissions []ConsentPermission
Token string

Methods

NewConsentChallenge

func NewConsentChallenge(type_ ChallengeChoices, pendingUser string, pendingUserAvatar string, permissions []ConsentPermission, additionalPermissions []ConsentPermission, token string, ) *ConsentChallenge

NewConsentChallenge instantiates a new ConsentChallenge 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

NewConsentChallengeWithDefaults

func NewConsentChallengeWithDefaults() *ConsentChallenge

NewConsentChallengeWithDefaults instantiates a new ConsentChallenge 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

GetType

func (o *ConsentChallenge) GetType() ChallengeChoices

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

GetTypeOk

func (o *ConsentChallenge) GetTypeOk() (*ChallengeChoices, 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 *ConsentChallenge) SetType(v ChallengeChoices)

SetType sets Type field to given value.

GetFlowInfo

func (o *ConsentChallenge) GetFlowInfo() ContextualFlowInfo

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

GetFlowInfoOk

func (o *ConsentChallenge) 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 *ConsentChallenge) SetFlowInfo(v ContextualFlowInfo)

SetFlowInfo sets FlowInfo field to given value.

HasFlowInfo

func (o *ConsentChallenge) HasFlowInfo() bool

HasFlowInfo returns a boolean if a field has been set.

GetComponent

func (o *ConsentChallenge) GetComponent() string

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

GetComponentOk

func (o *ConsentChallenge) 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 *ConsentChallenge) SetComponent(v string)

SetComponent sets Component field to given value.

HasComponent

func (o *ConsentChallenge) HasComponent() bool

HasComponent returns a boolean if a field has been set.

GetResponseErrors

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

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

GetResponseErrorsOk

func (o *ConsentChallenge) 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 *ConsentChallenge) SetResponseErrors(v map[string][]ErrorDetail)

SetResponseErrors sets ResponseErrors field to given value.

HasResponseErrors

func (o *ConsentChallenge) HasResponseErrors() bool

HasResponseErrors returns a boolean if a field has been set.

GetPendingUser

func (o *ConsentChallenge) GetPendingUser() string

GetPendingUser returns the PendingUser field if non-nil, zero value otherwise.

GetPendingUserOk

func (o *ConsentChallenge) GetPendingUserOk() (*string, bool)

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

SetPendingUser

func (o *ConsentChallenge) SetPendingUser(v string)

SetPendingUser sets PendingUser field to given value.

GetPendingUserAvatar

func (o *ConsentChallenge) GetPendingUserAvatar() string

GetPendingUserAvatar returns the PendingUserAvatar field if non-nil, zero value otherwise.

GetPendingUserAvatarOk

func (o *ConsentChallenge) GetPendingUserAvatarOk() (*string, bool)

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

SetPendingUserAvatar

func (o *ConsentChallenge) SetPendingUserAvatar(v string)

SetPendingUserAvatar sets PendingUserAvatar field to given value.

GetHeaderText

func (o *ConsentChallenge) GetHeaderText() string

GetHeaderText returns the HeaderText field if non-nil, zero value otherwise.

GetHeaderTextOk

func (o *ConsentChallenge) GetHeaderTextOk() (*string, bool)

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

SetHeaderText

func (o *ConsentChallenge) SetHeaderText(v string)

SetHeaderText sets HeaderText field to given value.

HasHeaderText

func (o *ConsentChallenge) HasHeaderText() bool

HasHeaderText returns a boolean if a field has been set.

GetPermissions

func (o *ConsentChallenge) GetPermissions() []ConsentPermission

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

func (o *ConsentChallenge) GetPermissionsOk() (*[]ConsentPermission, bool)

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

SetPermissions

func (o *ConsentChallenge) SetPermissions(v []ConsentPermission)

SetPermissions sets Permissions field to given value.

GetAdditionalPermissions

func (o *ConsentChallenge) GetAdditionalPermissions() []ConsentPermission

GetAdditionalPermissions returns the AdditionalPermissions field if non-nil, zero value otherwise.

GetAdditionalPermissionsOk

func (o *ConsentChallenge) GetAdditionalPermissionsOk() (*[]ConsentPermission, bool)

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

SetAdditionalPermissions

func (o *ConsentChallenge) SetAdditionalPermissions(v []ConsentPermission)

SetAdditionalPermissions sets AdditionalPermissions field to given value.

GetToken

func (o *ConsentChallenge) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *ConsentChallenge) GetTokenOk() (*string, bool)

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

SetToken

func (o *ConsentChallenge) SetToken(v string)

SetToken sets Token field to given value.

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