RoleAssignmentResource
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The resource to which the role is assigned.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $externalId : string
- An identifier you provide to reference the resource in your system.
- $id : string
- The unique ID of the Resource.
- $resourceTypeSlug : string
- The slug of the resource type this resource belongs to.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$externalId
An identifier you provide to reference the resource in your system.
public
string
$externalId
$id
The unique ID of the Resource.
public
string
$id
$resourceTypeSlug
The slug of the resource type this resource belongs to.
public
string
$resourceTypeSlug
Methods
__construct()
public
__construct(string $id, string $externalId, string $resourceTypeSlug) : mixed
Parameters
- $id : string
- $externalId : string
- $resourceTypeSlug : string
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>