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
|
getCode(): int|null
Gets code
|
#
|
public
|
setCode(int|null $code): self
Sets code
|
#
|
public
|
getType(): string|null
Gets type
|
#
|
public
|
setType(string|null $type): self
Sets type
|
#
|
public
|
getMessage(): string|null
Gets message
|
#
|
public
|
setMessage(string|null $message): self
Sets message
|
#
|
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
|
#
|
Properties |
protected
static
|
string
|
$openAPIModelName = 'ApiResponse'
|
#
|
protected
static
|
string[]
|
$openAPITypes = ['code' => 'int', 'type' => 'string', 'message' => 'string']
|
#
|
protected
static
|
string[]
|
$openAPIFormats = ['code' => 'int32', 'type' => null, 'message' => null]
|
#
|
protected
static
|
boolean[]
|
$openAPINullables = ['code' => false, 'type' => false, 'message' => false]
|
#
|
protected
|
boolean[]
|
$openAPINullablesSetToNull = []
|
#
|
protected
static
|
string[]
|
$attributeMap = ['code' => 'code', 'type' => 'type', 'message' => 'message']
|
#
|
protected
static
|
string[]
|
$setters = ['code' => 'setCode', 'type' => 'setType', 'message' => 'setMessage']
|
#
|
protected
static
|
string[]
|
$getters = ['code' => 'getCode', 'type' => 'getType', 'message' => 'getMessage']
|
#
|
protected
|
mixed[]
|
$container = []
|
#
|