Partial_Shift
Partial_Shift
- Full name:
\Onslip360\API\Partial_Shift
- Parent class:
\Onslip360\Onslip360Object
Properties
deleted
public string|null|\Onslip360\Nil $deleted
endDate
public string|null|\Onslip360\Nil $endDate
history
public array|null $history
identityNumber
public string|null $identityNumber
labels
public array|null|\Onslip360\Nil $labels
name
public string|null $name
startDate
public string|null $startDate
status
public \Onslip360\API\Shift\Status|null $status
tags
public array|null|\Onslip360\Nil $tags
user
public int|null $user
Methods
__construct
public __construct(string|null|\Onslip360\Nil $deleted = null, string|null|\Onslip360\Nil $endDate = null, \Onslip360\API\Partial_ShiftHistory[]|null $history = null, string|null $identityNumber = null, int[]|null|\Onslip360\Nil $labels = null, string|null $name = null, string|null $startDate = null, \Onslip360\API\Shift\Status|null $status = null, string[]|null|\Onslip360\Nil $tags = null, int|null $user = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$deleted | string|null|\Onslip360\Nil | |
$endDate | string|null|\Onslip360\Nil | |
$history | \Onslip360\API\Partial_ShiftHistory[]|null | |
$identityNumber | string|null | |
$labels | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$startDate | string|null | |
$status | \Onslip360\API\Shift\Status|null | |
$tags | string[]|null|\Onslip360\Nil | |
$user | 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