33// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
44// ------------------------------------------------------------------------------
55
6- package com .microsoft .graph .models .extensions ;
6+ package com .microsoft .graph .ediscovery . models .extensions ;
77import com .microsoft .graph .serializer .ISerializer ;
88import com .microsoft .graph .serializer .IJsonBackedObject ;
99import com .microsoft .graph .serializer .AdditionalDataManager ;
1010import java .util .EnumSet ;
1111import com .microsoft .graph .models .extensions .IdentitySet ;
12- import com .microsoft .graph .models .generated .CaseStatus ;
13- import com .microsoft .graph .models .extensions .Custodian ;
14- import com .microsoft .graph .models .extensions .Legalhold ;
15- import com .microsoft .graph .models .extensions .CaseOperation ;
16- import com .microsoft .graph .models .extensions .ReviewSet ;
12+ import com .microsoft .graph .ediscovery .models .generated .CaseStatus ;
13+ import com .microsoft .graph .ediscovery .models .extensions .Custodian ;
14+ import com .microsoft .graph .ediscovery .models .extensions .LegalHold ;
15+ import com .microsoft .graph .ediscovery .models .extensions .NoncustodialDataSource ;
16+ import com .microsoft .graph .ediscovery .models .extensions .CaseOperation ;
17+ import com .microsoft .graph .ediscovery .models .extensions .ReviewSet ;
18+ import com .microsoft .graph .ediscovery .models .extensions .Settings ;
19+ import com .microsoft .graph .ediscovery .models .extensions .SourceCollection ;
20+ import com .microsoft .graph .ediscovery .models .extensions .Tag ;
1721import com .microsoft .graph .models .extensions .Entity ;
18- import com .microsoft .graph .requests .extensions .CustodianCollectionPage ;
19- import com .microsoft .graph .requests .extensions .LegalholdCollectionPage ;
20- import com .microsoft .graph .requests .extensions .CaseOperationCollectionPage ;
21- import com .microsoft .graph .requests .extensions .ReviewSetCollectionPage ;
22+ import com .microsoft .graph .ediscovery .requests .extensions .CustodianCollectionPage ;
23+ import com .microsoft .graph .ediscovery .requests .extensions .LegalHoldCollectionPage ;
24+ import com .microsoft .graph .ediscovery .requests .extensions .NoncustodialDataSourceCollectionPage ;
25+ import com .microsoft .graph .ediscovery .requests .extensions .CaseOperationCollectionPage ;
26+ import com .microsoft .graph .ediscovery .requests .extensions .ReviewSetCollectionPage ;
27+ import com .microsoft .graph .ediscovery .requests .extensions .SourceCollectionCollectionPage ;
28+ import com .microsoft .graph .ediscovery .requests .extensions .TagCollectionPage ;
2229
2330
2431import com .google .gson .JsonObject ;
@@ -114,12 +121,20 @@ public class Case extends Entity implements IJsonBackedObject {
114121 public CustodianCollectionPage custodians ;
115122
116123 /**
117- * The Legalholds .
124+ * The Legal Holds .
118125 *
119126 */
120- @ SerializedName (value = "legalholds " , alternate = {"Legalholds " })
127+ @ SerializedName (value = "legalHolds " , alternate = {"LegalHolds " })
121128 @ Expose
122- public LegalholdCollectionPage legalholds ;
129+ public LegalHoldCollectionPage legalHolds ;
130+
131+ /**
132+ * The Noncustodial Data Sources.
133+ *
134+ */
135+ @ SerializedName (value = "noncustodialDataSources" , alternate = {"NoncustodialDataSources" })
136+ @ Expose
137+ public NoncustodialDataSourceCollectionPage noncustodialDataSources ;
123138
124139 /**
125140 * The Operations.
@@ -137,6 +152,30 @@ public class Case extends Entity implements IJsonBackedObject {
137152 @ Expose
138153 public ReviewSetCollectionPage reviewSets ;
139154
155+ /**
156+ * The Settings.
157+ *
158+ */
159+ @ SerializedName (value = "settings" , alternate = {"Settings" })
160+ @ Expose
161+ public Settings settings ;
162+
163+ /**
164+ * The Source Collections.
165+ *
166+ */
167+ @ SerializedName (value = "sourceCollections" , alternate = {"SourceCollections" })
168+ @ Expose
169+ public SourceCollectionCollectionPage sourceCollections ;
170+
171+ /**
172+ * The Tags.
173+ *
174+ */
175+ @ SerializedName (value = "tags" , alternate = {"Tags" })
176+ @ Expose
177+ public TagCollectionPage tags ;
178+
140179
141180 /**
142181 * The raw representation of this class
@@ -181,8 +220,12 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
181220 custodians = serializer .deserializeObject (json .get ("custodians" ).toString (), CustodianCollectionPage .class );
182221 }
183222
184- if (json .has ("legalholds" )) {
185- legalholds = serializer .deserializeObject (json .get ("legalholds" ).toString (), LegalholdCollectionPage .class );
223+ if (json .has ("legalHolds" )) {
224+ legalHolds = serializer .deserializeObject (json .get ("legalHolds" ).toString (), LegalHoldCollectionPage .class );
225+ }
226+
227+ if (json .has ("noncustodialDataSources" )) {
228+ noncustodialDataSources = serializer .deserializeObject (json .get ("noncustodialDataSources" ).toString (), NoncustodialDataSourceCollectionPage .class );
186229 }
187230
188231 if (json .has ("operations" )) {
@@ -192,5 +235,13 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
192235 if (json .has ("reviewSets" )) {
193236 reviewSets = serializer .deserializeObject (json .get ("reviewSets" ).toString (), ReviewSetCollectionPage .class );
194237 }
238+
239+ if (json .has ("sourceCollections" )) {
240+ sourceCollections = serializer .deserializeObject (json .get ("sourceCollections" ).toString (), SourceCollectionCollectionPage .class );
241+ }
242+
243+ if (json .has ("tags" )) {
244+ tags = serializer .deserializeObject (json .get ("tags" ).toString (), TagCollectionPage .class );
245+ }
195246 }
196247}
0 commit comments