Skip to content

Commit 5a2dea1

Browse files
authored
Merge pull request #122 from microsoftgraph/bugfix/noop-set-raw-json
removes noop method in collection resposne for set raw data
2 parents 2d4c8ea + 794a8f6 commit 5a2dea1

File tree

260 files changed

+302
-715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+302
-715
lines changed

src/main/java/com/microsoft/graph/ediscovery/requests/TagAsHierarchyCollectionResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717
* The class for the Tag As Hierarchy Collection Response.
1818
*/
1919
public class TagAsHierarchyCollectionResponse extends BaseCollectionResponse<Tag> {
20-
2120
}

src/main/java/com/microsoft/graph/managedtenants/requests/TenantGroupTenantSearchCollectionResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717
* The class for the Tenant Group Tenant Search Collection Response.
1818
*/
1919
public class TenantGroupTenantSearchCollectionResponse extends BaseCollectionResponse<TenantGroup> {
20-
2120
}
Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,110 @@
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+
66
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;
1010
import java.util.EnumSet;
1111
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"})
3333
@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"})
4242
@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"})
5151
@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"})
6060
@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"})
6969
@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"})
7878
@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"})
8787
@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"})
9696
@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

Comments
 (0)