@@ -20,25 +20,25 @@ export class UsageTopAvgMetricsMetadata {
20
20
/**
21
21
* The day value from the user request that contains the returned usage data. (If day was used the request)
22
22
*/
23
- 'day' ?: Object ;
23
+ 'day' ?: Date ;
24
24
/**
25
25
* The month value from the user request that contains the returned usage data. (If month was used the request)
26
26
*/
27
- 'month' ?: Object ;
27
+ 'month' ?: Date ;
28
28
'pagination' ?: UsageAttributionPagination ;
29
29
30
30
static readonly discriminator : string | undefined = undefined ;
31
31
32
32
static readonly attributeTypeMap : { [ key : string ] : { baseName : string , type : string , format : string } } = {
33
33
"day" : {
34
34
"baseName" : "day" ,
35
- "type" : "Object " ,
36
- "format" : ""
35
+ "type" : "Date " ,
36
+ "format" : "date-time "
37
37
} ,
38
38
"month" : {
39
39
"baseName" : "month" ,
40
- "type" : "Object " ,
41
- "format" : ""
40
+ "type" : "Date " ,
41
+ "format" : "date-time "
42
42
} ,
43
43
"pagination" : {
44
44
"baseName" : "pagination" ,
@@ -53,9 +53,9 @@ export class UsageTopAvgMetricsMetadata {
53
53
static deserialize ( data : { [ key : string ] : any } ) : UsageTopAvgMetricsMetadata {
54
54
let res = new UsageTopAvgMetricsMetadata ( ) ;
55
55
56
- res . day = ObjectSerializer . deserialize ( data . day , "Object " , "" )
56
+ res . day = ObjectSerializer . deserialize ( data . day , "Date " , "date-time " )
57
57
58
- res . month = ObjectSerializer . deserialize ( data . month , "Object " , "" )
58
+ res . month = ObjectSerializer . deserialize ( data . month , "Date " , "date-time " )
59
59
60
60
res . pagination = ObjectSerializer . deserialize ( data . pagination , "UsageAttributionPagination" , "" )
61
61
@@ -71,9 +71,9 @@ export class UsageTopAvgMetricsMetadata {
71
71
throw new TypeError ( `${ key } attribute not in schema` ) ;
72
72
}
73
73
}
74
- res . day = ObjectSerializer . serialize ( data . day , "Object " , "" )
74
+ res . day = ObjectSerializer . serialize ( data . day , "Date " , "date-time " )
75
75
76
- res . month = ObjectSerializer . serialize ( data . month , "Object " , "" )
76
+ res . month = ObjectSerializer . serialize ( data . month , "Date " , "date-time " )
77
77
78
78
res . pagination = ObjectSerializer . serialize ( data . pagination , "UsageAttributionPagination" , "" )
79
79
0 commit comments