Documentation

UserInfo
in package
implements ArrayAccess

UserInfo Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

Interfaces, Classes, Traits and Enums

ArrayAccess

Table of Contents

DISCRIMINATOR  = null
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : mixed
getAccounts()  : Accounts
Gets accounts
getCreated()  : string
Gets created
getEmail()  : string
Gets email
getErrorDetails()  : ErrorDetails
Gets error_details
getFamilyName()  : string
Gets family_name
getGivenName()  : string
Gets send_activation_email
getName()  : string
Gets name
getSub()  : string
Gets sub
getters()  : mixed
listInvalidProperties()  : array<string|int, mixed>
show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setAccounts()  : $this
Sets accounts
setCreated()  : $this
Sets created
setEmail()  : $this
Sets email
setErrorDetails()  : $this
Sets error_details
setFamilyName()  : $this
Sets family_name
setGivenName()  : $this
Sets given_name
setName()  : $this
Sets name
setSub()  : $this
Sets sub
setters()  : mixed
swaggerTypes()  : mixed
valid()  : bool
validate all the properties in the model return true if all passed

Constants

DISCRIMINATOR

public mixed DISCRIMINATOR = null

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['sub' => 'sub', 'email' => 'email', 'error_details' => 'error_details', 'accounts' => 'accounts', 'name' => 'name', 'given_name' => 'given_name', 'family_name' => 'family_name', 'created' => 'created']

$container

Associative array for storing property values

protected array<string|int, mixed> $container = []

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['sub' => 'getSub', 'email' => 'getEmail', 'error_details' => 'getErrorDetails', 'accounts' => 'getAccounts', 'name' => 'getName', 'given_name' => 'getGivenName', 'family_name' => 'getFamilyName', 'created' => 'getCreated']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['sub' => 'setSub', 'email' => 'setEmail', 'error_details' => 'setErrorDetails', 'accounts' => 'setAccounts', 'name' => 'setName', 'given_name' => 'setGivenName', 'family_name' => 'setFamilyName', 'created' => 'setCreated']

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'userInfo'

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['sub' => 'string', 'email' => 'string', 'error_details' => '\\DocuSign\\eSign\\Model\\ErrorDetails', 'accounts' => '\\DocuSign\\eSign\\Client\\Auth\\Account[]', 'name' => 'string', 'given_name' => 'string', 'family_name' => 'string', 'created' => 'string']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed

__toString()

Gets the string presentation of the object

public __toString() : string
Return values
string

attributeMap()

public static attributeMap() : mixed
Return values
mixed

getAccounts()

Gets accounts

public getAccounts() : Accounts
Return values
Accounts

getCreated()

Gets created

public getCreated() : string
Return values
string

getEmail()

Gets email

public getEmail() : string
Return values
string

getFamilyName()

Gets family_name

public getFamilyName() : string
Return values
string

getGivenName()

Gets send_activation_email

public getGivenName() : string
Return values
string

getName()

Gets name

public getName() : string
Return values
string

getSub()

Gets sub

public getSub() : string
Return values
string

getters()

public static getters() : mixed
Return values
mixed

listInvalidProperties()

show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

invalid properties with reasons

offsetExists()

Returns true if offset exists. False otherwise.

public offsetExists(int $offset) : bool
Parameters
$offset : int

Offset

Return values
bool

offsetGet()

Gets offset.

public offsetGet(int $offset) : mixed
Parameters
$offset : int

Offset

Return values
mixed

offsetSet()

Sets value based on offset.

public offsetSet(int $offset, mixed $value) : void
Parameters
$offset : int

Offset

$value : mixed

Value to be set

Return values
void

offsetUnset()

Unsets offset.

public offsetUnset(int $offset) : void
Parameters
$offset : int

Offset

Return values
void

setAccounts()

Sets accounts

public setAccounts(Accounts $accounts) : $this
Parameters
$accounts : Accounts
Return values
$this

setCreated()

Sets created

public setCreated(string $created) : $this
Parameters
$created : string
Return values
$this

setEmail()

Sets email

public setEmail(string $email) : $this
Parameters
$email : string
Return values
$this

setErrorDetails()

Sets error_details

public setErrorDetails(ErrorDetails $error_details) : $this
Parameters
$error_details : ErrorDetails
Return values
$this

setFamilyName()

Sets family_name

public setFamilyName(string $family_name) : $this
Parameters
$family_name : string
Return values
$this

setGivenName()

Sets given_name

public setGivenName(string $given_name) : $this
Parameters
$given_name : string
Return values
$this

setName()

Sets name

public setName(string $name) : $this
Parameters
$name : string
Return values
$this

setSub()

Sets sub

public setSub(string $sub) : $this
Parameters
$sub : string
Return values
$this

setters()

public static setters() : mixed
Return values
mixed

swaggerTypes()

public static swaggerTypes() : mixed
Return values
mixed

valid()

validate all the properties in the model return true if all passed

public valid() : bool
Return values
bool

True if all properteis are valid

Search results