MaintenanceCreation extends BaseMaintenance
Table of Contents
- $groupId : string|null
- identifier of the group of this maintenance
- $name : string|null
- The maintenance's name
- from() : static
- Initializing a model from an array
- getGroupId() : string
- Getter for groupId
- getName() : string
- Getter for name
- jsonSerialize() : array<string|int, mixed>
- setGroupId() : static
- Setter for groupId
- setName() : static
- Setter for name
Properties
$groupId
identifier of the group of this maintenance
protected
string|null
$groupId
= null
$name
The maintenance's name
protected
string|null
$name
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getGroupId()
Getter for groupId
public
getGroupId() : string
Return values
string —identifier of the group of this maintenance
getName()
Getter for name
public
getName() : string
Return values
string —The maintenance's name
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setGroupId()
Setter for groupId
public
setGroupId(string $groupId) : static
Parameters
- $groupId : string
-
identifier of the group of this maintenance
Return values
static —To use in method chains
setName()
Setter for name
public
setName(string $name) : static
Parameters
- $name : string
-
The maintenance's name
Return values
static —To use in method chains