File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,6 @@ class <#=entity.Name.ToCheckedCase()#>
3535 {
3636 return $this->_propDict;
3737 }
38-
39- /**
40- * Gets the item ID
41- *
42- * @return int The item ID
43- */
44- public function getId()
45- {
46- return $this->_propDict['id'];
47- }
4838<#
4939 foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString() != "bytes")){
5040 var propertyName = property.Name.ToUnderscore();
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ var enumT = host.CurrentType.AsOdcmEnum();
1010<#=writer.WriteHeader(writer.GetDocBlock(enumT.Name.ToCheckedCase()))#>
1111namespace Microsoft\Graph\Model;
1212
13+ use Microsoft\Graph\Core\Enum;
14+
1315<#=writer.GetClassBlock(enumT.Name.ToCheckedCase().ToString(), "Model")#>
14- class <#=enumT.Name.ToUpperFirstChar()#> extends SplEnum
16+ class <#=enumT.Name.ToUpperFirstChar()#> extends Enum
1517{
1618 /**
1719 * The Enum <#=enumT.Name.ToUpperFirstChar()#>
You can’t perform that action at this time.
0 commit comments