Methods |
public
static
|
openAPITypes(): array
Array of property to type mappings. Used for (de)serialization
Array of property to type mappings. Used for (de)serialization
Implements
|
#
|
public
static
|
openAPIFormats(): array
Array of property to format mappings. Used for (de)serialization
Array of property to format mappings. Used for (de)serialization
Implements
|
#
|
protected
static
|
openAPINullables(): array
Array of nullable properties
Array of nullable properties
|
#
|
public
static
|
isNullable(string $property): bool
Checks if a property is nullable
Checks if a property is nullable
Implements
|
#
|
public
|
isNullableSetToNull(string $property): bool
Checks if a nullable property is set to null.
Checks if a nullable property is set to null.
Implements
|
#
|
public
static
|
attributeMap(): array
Array of attributes where the key is the local name,
and the value is the original name
Array of attributes where the key is the local name,
and the value is the original name
Implements
|
#
|
public
static
|
setters(): array
Array of attributes to setter functions (for deserialization of responses)
Array of attributes to setter functions (for deserialization of responses)
Implements
|
#
|
public
static
|
getters(): array
Array of attributes to getter functions (for serialization of requests)
Array of attributes to getter functions (for serialization of requests)
Implements
|
#
|
public
|
getModelName(): string
The original name of the model.
The original name of the model.
Implements
|
#
|
public
|
__construct(mixed[] $data = null)
Constructor
Parameters
$data |
Associated array of property values
initializing the model
|
|
#
|
public
|
listInvalidProperties(): array
Show all the invalid properties with reasons.
Show all the invalid properties with reasons.
Returns
invalid properties with reasons
Implements
|
#
|
public
|
valid(): bool
Validate all the properties in the model
return true if all passed
Validate all the properties in the model
return true if all passed
Returns
True if all properties are valid
Implements
|
#
|
public
|
getId(): int|null
Gets id
|
#
|
public
|
setId(int|null $id): self
Sets id
|
#
|
public
|
getName(): string|null
Gets name
|
#
|
public
|
setName(string|null $name): self
Sets name
|
#
|
public
|
offsetExists(integer $offset): boolean
Returns true if offset exists. False otherwise.
Returns true if offset exists. False otherwise.
Parameters
Implements
|
#
|
public
|
offsetGet(integer $offset): mixed|null
Gets offset.
|
#
|
public
|
offsetSet(int|null $offset, mixed $value): void
Sets value based on offset.
Sets value based on offset.
Parameters
$offset |
Offset
|
$value |
Value to be set
|
Implements
|
#
|
public
|
offsetUnset(integer $offset): void
Unsets offset.
|
#
|
public
|
jsonSerialize(): mixed
Serializes the object to a value that can be serialized natively by json_encode().
Serializes the object to a value that can be serialized natively by json_encode().
Returns
Returns data which can be serialized by json_encode(), which is a value
of any type other than a resource.
Implements
|
#
|
public
|
__toString(): string
Gets the string presentation of the object
Gets the string presentation of the object
|
#
|
public
|
toHeaderValue(): string
Gets a header-safe presentation of the object
Gets a header-safe presentation of the object
|
#
|