Skip to main content

Partial_Shift


Partial_Shift

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:

ParameterTypeDescription
$deletedstring|null|\Onslip360\Nil
$endDatestring|null|\Onslip360\Nil
$history\Onslip360\API\Partial_ShiftHistory[]|null
$identityNumberstring|null
$labelsint[]|null|\Onslip360\Nil
$namestring|null
$startDatestring|null
$status\Onslip360\API\Shift\Status|null
$tagsstring[]|null|\Onslip360\Nil
$userint|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05