|
1 | | -// Template Source: BaseEntity.java.tt |
2 | | -// ------------------------------------------------------------------------------ |
3 | | -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
4 | | -// ------------------------------------------------------------------------------ |
5 | | - |
| 1 | +// Template Source: BaseEntity.java.tt |
| 2 | +// ------------------------------------------------------------------------------ |
| 3 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 4 | +// ------------------------------------------------------------------------------ |
| 5 | + |
6 | 6 | package com.microsoft.graph.models; |
7 | | -import com.microsoft.graph.serializer.ISerializer; |
8 | | -import com.microsoft.graph.serializer.IJsonBackedObject; |
9 | | -import com.microsoft.graph.serializer.AdditionalDataManager; |
| 7 | +import com.microsoft.graph.serializer.ISerializer; |
| 8 | +import com.microsoft.graph.serializer.IJsonBackedObject; |
| 9 | +import com.microsoft.graph.serializer.AdditionalDataManager; |
10 | 10 | import java.util.EnumSet; |
11 | 11 | import com.microsoft.graph.models.Entity; |
12 | | - |
13 | | - |
14 | | -import com.google.gson.JsonObject; |
15 | | -import com.google.gson.annotations.SerializedName; |
16 | | -import com.google.gson.annotations.Expose; |
17 | | -import javax.annotation.Nullable; |
18 | | -import javax.annotation.Nonnull; |
19 | | - |
20 | | -// **NOTE** This file was generated by a tool and any changes will be overwritten. |
21 | | - |
22 | | -/** |
23 | | - * The class for the Device Log Collection Response. |
24 | | - */ |
25 | | -public class DeviceLogCollectionResponse extends Entity implements IJsonBackedObject { |
26 | | - |
27 | | - |
28 | | - /** |
29 | | - * The Error Code. |
30 | | - * The error code, if any. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 |
31 | | - */ |
32 | | - @SerializedName(value = "errorCode", alternate = {"ErrorCode"}) |
| 12 | + |
| 13 | + |
| 14 | +import com.google.gson.JsonObject; |
| 15 | +import com.google.gson.annotations.SerializedName; |
| 16 | +import com.google.gson.annotations.Expose; |
| 17 | +import javax.annotation.Nullable; |
| 18 | +import javax.annotation.Nonnull; |
| 19 | + |
| 20 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 21 | + |
| 22 | +/** |
| 23 | + * The class for the Device Log Collection Response. |
| 24 | + */ |
| 25 | +public class DeviceLogCollectionResponse extends Entity implements IJsonBackedObject { |
| 26 | + |
| 27 | + |
| 28 | + /** |
| 29 | + * The Error Code. |
| 30 | + * The error code, if any. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 |
| 31 | + */ |
| 32 | + @SerializedName(value = "errorCode", alternate = {"ErrorCode"}) |
33 | 33 | @Expose |
34 | | - @Nullable |
35 | | - public Long errorCode; |
36 | | - |
37 | | - /** |
38 | | - * The Expiration Date Time UTC. |
39 | | - * The DateTime of the expiration of the logs |
40 | | - */ |
41 | | - @SerializedName(value = "expirationDateTimeUTC", alternate = {"ExpirationDateTimeUTC"}) |
| 34 | + @Nullable |
| 35 | + public Long errorCode; |
| 36 | + |
| 37 | + /** |
| 38 | + * The Expiration Date Time UTC. |
| 39 | + * The DateTime of the expiration of the logs |
| 40 | + */ |
| 41 | + @SerializedName(value = "expirationDateTimeUTC", alternate = {"ExpirationDateTimeUTC"}) |
42 | 42 | @Expose |
43 | | - @Nullable |
44 | | - public java.time.OffsetDateTime expirationDateTimeUTC; |
45 | | - |
46 | | - /** |
47 | | - * The Initiated By User Principal Name. |
48 | | - * The UPN for who initiated the request |
49 | | - */ |
50 | | - @SerializedName(value = "initiatedByUserPrincipalName", alternate = {"InitiatedByUserPrincipalName"}) |
| 43 | + @Nullable |
| 44 | + public java.time.OffsetDateTime expirationDateTimeUTC; |
| 45 | + |
| 46 | + /** |
| 47 | + * The Initiated By User Principal Name. |
| 48 | + * The UPN for who initiated the request |
| 49 | + */ |
| 50 | + @SerializedName(value = "initiatedByUserPrincipalName", alternate = {"InitiatedByUserPrincipalName"}) |
51 | 51 | @Expose |
52 | | - @Nullable |
53 | | - public String initiatedByUserPrincipalName; |
54 | | - |
55 | | - /** |
56 | | - * The Managed Device Id. |
57 | | - * The device Id |
58 | | - */ |
59 | | - @SerializedName(value = "managedDeviceId", alternate = {"ManagedDeviceId"}) |
| 52 | + @Nullable |
| 53 | + public String initiatedByUserPrincipalName; |
| 54 | + |
| 55 | + /** |
| 56 | + * The Managed Device Id. |
| 57 | + * The device Id |
| 58 | + */ |
| 59 | + @SerializedName(value = "managedDeviceId", alternate = {"ManagedDeviceId"}) |
60 | 60 | @Expose |
61 | | - @Nullable |
62 | | - public java.util.UUID managedDeviceId; |
63 | | - |
64 | | - /** |
65 | | - * The Received Date Time UTC. |
66 | | - * The DateTime the request was received |
67 | | - */ |
68 | | - @SerializedName(value = "receivedDateTimeUTC", alternate = {"ReceivedDateTimeUTC"}) |
| 61 | + @Nullable |
| 62 | + public java.util.UUID managedDeviceId; |
| 63 | + |
| 64 | + /** |
| 65 | + * The Received Date Time UTC. |
| 66 | + * The DateTime the request was received |
| 67 | + */ |
| 68 | + @SerializedName(value = "receivedDateTimeUTC", alternate = {"ReceivedDateTimeUTC"}) |
69 | 69 | @Expose |
70 | | - @Nullable |
71 | | - public java.time.OffsetDateTime receivedDateTimeUTC; |
72 | | - |
73 | | - /** |
74 | | - * The Requested Date Time UTC. |
75 | | - * The DateTime of the request |
76 | | - */ |
77 | | - @SerializedName(value = "requestedDateTimeUTC", alternate = {"RequestedDateTimeUTC"}) |
| 70 | + @Nullable |
| 71 | + public java.time.OffsetDateTime receivedDateTimeUTC; |
| 72 | + |
| 73 | + /** |
| 74 | + * The Requested Date Time UTC. |
| 75 | + * The DateTime of the request |
| 76 | + */ |
| 77 | + @SerializedName(value = "requestedDateTimeUTC", alternate = {"RequestedDateTimeUTC"}) |
78 | 78 | @Expose |
79 | | - @Nullable |
80 | | - public java.time.OffsetDateTime requestedDateTimeUTC; |
81 | | - |
82 | | - /** |
83 | | - * The Size. |
84 | | - * The size of the logs. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 |
85 | | - */ |
86 | | - @SerializedName(value = "size", alternate = {"Size"}) |
| 79 | + @Nullable |
| 80 | + public java.time.OffsetDateTime requestedDateTimeUTC; |
| 81 | + |
| 82 | + /** |
| 83 | + * The Size. |
| 84 | + * The size of the logs. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 |
| 85 | + */ |
| 86 | + @SerializedName(value = "size", alternate = {"Size"}) |
87 | 87 | @Expose |
88 | | - @Nullable |
89 | | - public Double size; |
90 | | - |
91 | | - /** |
92 | | - * The Status. |
93 | | - * The status of the log collection request |
94 | | - */ |
95 | | - @SerializedName(value = "status", alternate = {"Status"}) |
| 88 | + @Nullable |
| 89 | + public Double size; |
| 90 | + |
| 91 | + /** |
| 92 | + * The Status. |
| 93 | + * The status of the log collection request |
| 94 | + */ |
| 95 | + @SerializedName(value = "status", alternate = {"Status"}) |
96 | 96 | @Expose |
97 | | - @Nullable |
98 | | - public String status; |
99 | | - |
100 | | - |
101 | | - /** |
102 | | - * Sets the raw JSON object |
103 | | - * |
104 | | - * @param serializer the serializer |
105 | | - * @param json the JSON object to set this object to |
106 | | - */ |
107 | | - public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
108 | | - |
109 | | - } |
110 | | -} |
| 97 | + @Nullable |
| 98 | + public String status; |
| 99 | + |
| 100 | + |
| 101 | + /** |
| 102 | + * Sets the raw JSON object |
| 103 | + * |
| 104 | + * @param serializer the serializer |
| 105 | + * @param json the JSON object to set this object to |
| 106 | + */ |
| 107 | + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
| 108 | + |
| 109 | + } |
| 110 | +} |
0 commit comments