UpdateAuthorizationResource
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $description : string|null
- An optional description of the resource.
- $name : string|null
- A display name for the resource.
- $parentResourceExternalId : string|null
- The external ID of the parent resource. Required with `parent_resource_type_slug`. Mutually exclusive with `parent_resource_id`.
- $parentResourceId : string|null
- The ID of the parent resource. Mutually exclusive with `parent_resource_external_id` and `parent_resource_type_slug`.
- $parentResourceTypeSlug : string|null
- The resource type slug of the parent resource. Required with `parent_resource_external_id`. Mutually exclusive with `parent_resource_id`.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$description
An optional description of the resource.
public
string|null
$description
= null
$name
A display name for the resource.
public
string|null
$name
= null
$parentResourceExternalId
The external ID of the parent resource. Required with `parent_resource_type_slug`. Mutually exclusive with `parent_resource_id`.
public
string|null
$parentResourceExternalId
= null
$parentResourceId
The ID of the parent resource. Mutually exclusive with `parent_resource_external_id` and `parent_resource_type_slug`.
public
string|null
$parentResourceId
= null
$parentResourceTypeSlug
The resource type slug of the parent resource. Required with `parent_resource_external_id`. Mutually exclusive with `parent_resource_id`.
public
string|null
$parentResourceTypeSlug
= null
Methods
__construct()
public
__construct([string|null $name = null ][, string|null $description = null ][, string|null $parentResourceId = null ][, string|null $parentResourceExternalId = null ][, string|null $parentResourceTypeSlug = null ]) : mixed
Parameters
- $name : string|null = null
- $description : string|null = null
- $parentResourceId : string|null = null
- $parentResourceExternalId : string|null = null
- $parentResourceTypeSlug : string|null = null
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>