Skip to content

Commit cd4cc85

Browse files
author
Caitlin Bales (MSFT)
committed
Add duration model to type helper
1 parent 8264ad5 commit cd4cc85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GraphODataTemplateWriter/CodeHelpers/Android/TypeHelperAndroid.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public static string GetTypeString(this OdcmType @type)
4242
return "com.microsoft.graph.model.DateOnly";
4343
case "TimeOfDay":
4444
return "com.microsoft.graph.model.TimeOfDay";
45+
case "Duration":
46+
return "javax.xml.datatype.Duration";
4547
case "Json":
4648
return "com.google.gson.JsonElement";
4749
case "Binary":

0 commit comments

Comments
 (0)