We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c95c3 commit 34550e0Copy full SHA for 34550e0
Templates/PHP/Model/EntityType.php.tt
@@ -194,6 +194,28 @@ foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString(
194
}
195
if (entity.Name.ToCheckedCase() == "Entity") {
196
#>
197
+ /**
198
+ * Gets the ODataType
199
+ *
200
+ * @return string The ODataType
201
+ */
202
+ public function getODataType()
203
+ {
204
+ return $this->_propDict["@odata.type"];
205
+ }
206
+
207
208
+ * Sets the ODataType
209
210
+ * @param string The ODataType
211
212
+ * @return Entity
213
214
+ public function setODataType($val)
215
216
+ $this->_propDict["@odata.type"] = $val;
217
218
219
/**
220
* Serializes the object by property array
221
*
0 commit comments