ModelInterface
interface ModelInterface
Interface abstracting model access.
Methods
The original name of the model.
Array of property to type mappings. Used for (de)serialization
Array of property to format mappings. Used for (de)serialization
Array of attributes where the key is the local name, and the value is the original name
Array of attributes to setter functions (for deserialization of responses)
Array of attributes to getter functions (for serialization of requests)
Show all the invalid properties with reasons.
Validate all the properties in the model return true if all passed
Checks if a property is nullable
Checks if a nullable property is set to null.
Details
at line 44
string
getModelName()
The original name of the model.
at line 51
static array
openAPITypes()
Array of property to type mappings. Used for (de)serialization
at line 58
static array
openAPIFormats()
Array of property to format mappings. Used for (de)serialization
at line 65
static array
attributeMap()
Array of attributes where the key is the local name, and the value is the original name
at line 72
static array
setters()
Array of attributes to setter functions (for deserialization of responses)
at line 79
static array
getters()
Array of attributes to getter functions (for serialization of requests)
at line 86
array
listInvalidProperties()
Show all the invalid properties with reasons.
at line 94
bool
valid()
Validate all the properties in the model return true if all passed
at line 102
static bool
isNullable(string $property)
Checks if a property is nullable
at line 110
bool
isNullableSetToNull(string $property)
Checks if a nullable property is set to null.