Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Latest commit

 

History

History
176 lines (95 loc) · 6.4 KB

AdminCreateIdentityBody.md

File metadata and controls

176 lines (95 loc) · 6.4 KB

AdminCreateIdentityBody

Properties

Name Type Description Notes
Credentials Pointer to AdminIdentityImportCredentials [optional]
RecoveryAddresses Pointer to []RecoveryAddress RecoveryAddresses contains all the addresses that can be used to recover an identity. Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. [optional]
SchemaId string SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
State Pointer to IdentityState [optional]
Traits map[string]interface{} Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
VerifiableAddresses Pointer to []VerifiableIdentityAddress VerifiableAddresses contains all the addresses that can be verified by the user. Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. [optional]

Methods

NewAdminCreateIdentityBody

func NewAdminCreateIdentityBody(schemaId string, traits map[string]interface{}, ) *AdminCreateIdentityBody

NewAdminCreateIdentityBody instantiates a new AdminCreateIdentityBody 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

NewAdminCreateIdentityBodyWithDefaults

func NewAdminCreateIdentityBodyWithDefaults() *AdminCreateIdentityBody

NewAdminCreateIdentityBodyWithDefaults instantiates a new AdminCreateIdentityBody 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

GetCredentials

func (o *AdminCreateIdentityBody) GetCredentials() AdminIdentityImportCredentials

GetCredentials returns the Credentials field if non-nil, zero value otherwise.

GetCredentialsOk

func (o *AdminCreateIdentityBody) GetCredentialsOk() (*AdminIdentityImportCredentials, bool)

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

SetCredentials

func (o *AdminCreateIdentityBody) SetCredentials(v AdminIdentityImportCredentials)

SetCredentials sets Credentials field to given value.

HasCredentials

func (o *AdminCreateIdentityBody) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

GetRecoveryAddresses

func (o *AdminCreateIdentityBody) GetRecoveryAddresses() []RecoveryAddress

GetRecoveryAddresses returns the RecoveryAddresses field if non-nil, zero value otherwise.

GetRecoveryAddressesOk

func (o *AdminCreateIdentityBody) GetRecoveryAddressesOk() (*[]RecoveryAddress, bool)

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

SetRecoveryAddresses

func (o *AdminCreateIdentityBody) SetRecoveryAddresses(v []RecoveryAddress)

SetRecoveryAddresses sets RecoveryAddresses field to given value.

HasRecoveryAddresses

func (o *AdminCreateIdentityBody) HasRecoveryAddresses() bool

HasRecoveryAddresses returns a boolean if a field has been set.

GetSchemaId

func (o *AdminCreateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field if non-nil, zero value otherwise.

GetSchemaIdOk

func (o *AdminCreateIdentityBody) GetSchemaIdOk() (*string, bool)

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

SetSchemaId

func (o *AdminCreateIdentityBody) SetSchemaId(v string)

SetSchemaId sets SchemaId field to given value.

GetState

func (o *AdminCreateIdentityBody) GetState() IdentityState

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *AdminCreateIdentityBody) GetStateOk() (*IdentityState, bool)

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

SetState

func (o *AdminCreateIdentityBody) SetState(v IdentityState)

SetState sets State field to given value.

HasState

func (o *AdminCreateIdentityBody) HasState() bool

HasState returns a boolean if a field has been set.

GetTraits

func (o *AdminCreateIdentityBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field if non-nil, zero value otherwise.

GetTraitsOk

func (o *AdminCreateIdentityBody) GetTraitsOk() (*map[string]interface{}, bool)

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

SetTraits

func (o *AdminCreateIdentityBody) SetTraits(v map[string]interface{})

SetTraits sets Traits field to given value.

GetVerifiableAddresses

func (o *AdminCreateIdentityBody) GetVerifiableAddresses() []VerifiableIdentityAddress

GetVerifiableAddresses returns the VerifiableAddresses field if non-nil, zero value otherwise.

GetVerifiableAddressesOk

func (o *AdminCreateIdentityBody) GetVerifiableAddressesOk() (*[]VerifiableIdentityAddress, bool)

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

SetVerifiableAddresses

func (o *AdminCreateIdentityBody) SetVerifiableAddresses(v []VerifiableIdentityAddress)

SetVerifiableAddresses sets VerifiableAddresses field to given value.

HasVerifiableAddresses

func (o *AdminCreateIdentityBody) HasVerifiableAddresses() bool

HasVerifiableAddresses returns a boolean if a field has been set.

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