Files
sdk/docs/IamAnswer.md

6.5 KiB

IamAnswer

Properties

Name Type Description Notes
Code Pointer to string Code is a STABLE machine-readable reason, where the human `msg` is deliberately generic. `msg` is prose for a person and several distinct causes legitimately share one sentence; a caller that must BRANCH on the cause — or tell its own user which of them happened — cannot parse prose. Optional, so every existing envelope is byte-identical and no SDK changes. [optional]
Data Pointer to interface{} [optional]
Data2 Pointer to interface{} [optional]
Data3 Pointer to interface{} [optional]
Msg Pointer to string [optional]
Name Pointer to string [optional]
Status Pointer to string [optional]
Sub Pointer to string [optional]

Methods

NewIamAnswer

func NewIamAnswer() *IamAnswer

NewIamAnswer instantiates a new IamAnswer 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

NewIamAnswerWithDefaults

func NewIamAnswerWithDefaults() *IamAnswer

NewIamAnswerWithDefaults instantiates a new IamAnswer 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

GetCode

func (o *IamAnswer) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *IamAnswer) GetCodeOk() (*string, bool)

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

SetCode

func (o *IamAnswer) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *IamAnswer) HasCode() bool

HasCode returns a boolean if a field has been set.

GetData

func (o *IamAnswer) GetData() interface{}

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *IamAnswer) GetDataOk() (*interface{}, bool)

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

SetData

func (o *IamAnswer) SetData(v interface{})

SetData sets Data field to given value.

HasData

func (o *IamAnswer) HasData() bool

HasData returns a boolean if a field has been set.

SetDataNil

func (o *IamAnswer) SetDataNil(b bool)

SetDataNil sets the value for Data to be an explicit nil

UnsetData

func (o *IamAnswer) UnsetData()

UnsetData ensures that no value is present for Data, not even an explicit nil

GetData2

func (o *IamAnswer) GetData2() interface{}

GetData2 returns the Data2 field if non-nil, zero value otherwise.

GetData2Ok

func (o *IamAnswer) GetData2Ok() (*interface{}, bool)

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

SetData2

func (o *IamAnswer) SetData2(v interface{})

SetData2 sets Data2 field to given value.

HasData2

func (o *IamAnswer) HasData2() bool

HasData2 returns a boolean if a field has been set.

SetData2Nil

func (o *IamAnswer) SetData2Nil(b bool)

SetData2Nil sets the value for Data2 to be an explicit nil

UnsetData2

func (o *IamAnswer) UnsetData2()

UnsetData2 ensures that no value is present for Data2, not even an explicit nil

GetData3

func (o *IamAnswer) GetData3() interface{}

GetData3 returns the Data3 field if non-nil, zero value otherwise.

GetData3Ok

func (o *IamAnswer) GetData3Ok() (*interface{}, bool)

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

SetData3

func (o *IamAnswer) SetData3(v interface{})

SetData3 sets Data3 field to given value.

HasData3

func (o *IamAnswer) HasData3() bool

HasData3 returns a boolean if a field has been set.

SetData3Nil

func (o *IamAnswer) SetData3Nil(b bool)

SetData3Nil sets the value for Data3 to be an explicit nil

UnsetData3

func (o *IamAnswer) UnsetData3()

UnsetData3 ensures that no value is present for Data3, not even an explicit nil

GetMsg

func (o *IamAnswer) GetMsg() string

GetMsg returns the Msg field if non-nil, zero value otherwise.

GetMsgOk

func (o *IamAnswer) GetMsgOk() (*string, bool)

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

SetMsg

func (o *IamAnswer) SetMsg(v string)

SetMsg sets Msg field to given value.

HasMsg

func (o *IamAnswer) HasMsg() bool

HasMsg returns a boolean if a field has been set.

GetName

func (o *IamAnswer) GetName() string

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

GetNameOk

func (o *IamAnswer) 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 *IamAnswer) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *IamAnswer) HasName() bool

HasName returns a boolean if a field has been set.

GetStatus

func (o *IamAnswer) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *IamAnswer) GetStatusOk() (*string, bool)

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

SetStatus

func (o *IamAnswer) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *IamAnswer) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetSub

func (o *IamAnswer) GetSub() string

GetSub returns the Sub field if non-nil, zero value otherwise.

GetSubOk

func (o *IamAnswer) GetSubOk() (*string, bool)

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

SetSub

func (o *IamAnswer) SetSub(v string)

SetSub sets Sub field to given value.

HasSub

func (o *IamAnswer) HasSub() bool

HasSub returns a boolean if a field has been set.

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