class Identity extends Model

Identity

Properties

protected string $endpoint
protected int $host

Methods

__construct($endpoint = '', $host)

Constructor

multitype:
getProperties()

Get the Model Properties

from Model
setOptions(stdClass $object = null, array $options = null)

Sets Properties with matching Array Values

from Model
stdClass
getPublic(array $publics = null)

Convert the Model into array

toJson()

No description

from Model
string
getEndpoint()

Gets the value of endpoint.

setEndpoint(string $endpoint)

Sets the value of endpoint.

int
getHost()

Gets the value of host.

setHost(int $host)

Sets the value of host.

array
toArray()

Convert to Array

static Identity
fromArray(array $data)

Convert from Array

static Identity
convert($data)

Dynamic Converter

Details

at line 42
__construct($endpoint = '', $host)

Constructor

Parameters

$endpoint
$host

in Model at line 33
multitype: getProperties()

Get the Model Properties

Return Value

multitype: string

in Model at line 45
Model setOptions(stdClass $object = null, array $options = null)

Sets Properties with matching Array Values

Parameters

stdClass $object
array $options

Return Value

Model

at line 109
stdClass getPublic(array $publics = null)

Convert the Model into array

Parameters

array $publics

Return Value

stdClass $object

in Model at line 115
toJson()

at line 53
string getEndpoint()

Gets the value of endpoint.

Return Value

string

at line 65
Identity setEndpoint(string $endpoint)

Sets the value of endpoint.

Parameters

string $endpoint the endpoint

Return Value

Identity

at line 76
int getHost()

Gets the value of host.

Return Value

int

at line 88
Identity setHost(int $host)

Sets the value of host.

Parameters

int $host the host

Return Value

Identity

at line 99
array toArray()

Convert to Array

Return Value

array

at line 120
static Identity fromArray(array $data)

Convert from Array

Parameters

array $data

Return Value

Identity

Exceptions

InvalidArgumentException

at line 134
static Identity convert($data)

Dynamic Converter

Parameters

$data

Return Value

Identity