79 if (is_object($value) && isset($value->$fieldName)) {
81 $discriminatorValue = $value->$fieldName;
82 if (isset(self::$discriminatorClasses[$discriminatorValue])) {
83 return self::$discriminatorClasses[$discriminatorValue];
86 if (is_array($value) && isset($value[$fieldName])) {
88 $discriminatorValue = $value[$fieldName];
89 if (isset(self::$discriminatorClasses[$discriminatorValue])) {
90 return self::$discriminatorClasses[$discriminatorValue];
95 $type = QuoteRequestUpdateActionModel::class;