interface ModelInterface

Interface abstracting model access.

Methods

string
getModelName()

The original name of the model.

static array
openAPITypes()

Array of property to type mappings. Used for (de)serialization

static array
openAPIFormats()

Array of property to format mappings. Used for (de)serialization

static array
attributeMap()

Array of attributes where the key is the local name, and the value is the original name

static array
setters()

Array of attributes to setter functions (for deserialization of responses)

static array
getters()

Array of attributes to getter functions (for serialization of requests)

array
listInvalidProperties()

Show all the invalid properties with reasons.

bool
valid()

Validate all the properties in the model return true if all passed

static bool
isNullable(string $property)

Checks if a property is nullable

bool
isNullableSetToNull(string $property)

Checks if a nullable property is set to null.

Details

at line 44
string getModelName()

The original name of the model.

Return Value

string

at line 51
static array openAPITypes()

Array of property to type mappings. Used for (de)serialization

Return Value

array

at line 58
static array openAPIFormats()

Array of property to format mappings. Used for (de)serialization

Return Value

array

at line 65
static array attributeMap()

Array of attributes where the key is the local name, and the value is the original name

Return Value

array

at line 72
static array setters()

Array of attributes to setter functions (for deserialization of responses)

Return Value

array

at line 79
static array getters()

Array of attributes to getter functions (for serialization of requests)

Return Value

array

at line 86
array listInvalidProperties()

Show all the invalid properties with reasons.

Return Value

array

at line 94
bool valid()

Validate all the properties in the model return true if all passed

Return Value

bool

at line 102
static bool isNullable(string $property)

Checks if a property is nullable

Parameters

string $property

Return Value

bool

at line 110
bool isNullableSetToNull(string $property)

Checks if a nullable property is set to null.

Parameters

string $property

Return Value

bool