Stored_Resource
Stored_Resource
- Full name:
\Onslip360\API\Stored_Resource
- Parent class:
\Onslip360\Onslip360Object
Properties
created
public string $created
id
public int $id
location
public int $location
name
public string $name
updated
public string $updated
deleted
public string|null $deleted
labels
public array|null $labels
tags
public array|null $tags
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
Methods
__construct
public __construct(string $created, int $id, int $location, string $name, string $updated, string|null $deleted = null, int[]|null $labels = null, string[]|null $tags = null, int|null $updatedBy = null, int|null $updatedFrom = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$created | string | |
$id | int | |
$location | int | |
$name | string | |
$updated | string | |
$deleted | string|null | |
$labels | int[]|null | |
$tags | string[]|null | |
$updatedBy | int|null | |
$updatedFrom | int|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05