PatchGroupMemberships
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $add : array<string|int, string>|null
- The IDs of the organization memberships to add to the group. Adding a membership that's already in the group has no effect.
- $remove : array<string|int, string>|null
- The IDs of the organization memberships to remove from the group. Removing a membership that isn't in the group has no effect.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$add
The IDs of the organization memberships to add to the group. Adding a membership that's already in the group has no effect.
public
array<string|int, string>|null
$add
= null
$remove
The IDs of the organization memberships to remove from the group. Removing a membership that isn't in the group has no effect.
public
array<string|int, string>|null
$remove
= null
Methods
__construct()
public
__construct([array<string|int, mixed>|null $add = null ][, array<string|int, mixed>|null $remove = null ]) : mixed
Parameters
- $add : array<string|int, mixed>|null = null
- $remove : array<string|int, mixed>|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>