Skip to content

Commit 3b8a8d1

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 57392
1 parent 35f1393 commit 3b8a8d1

File tree

277 files changed

+19061
-91
lines changed

Some content is hidden

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

277 files changed

+19061
-91
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
2020
dependencies {
2121
// Include the sdk as a dependency
22-
implementation 'com.microsoft.graph:microsoft-graph:5.5.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.6.0'
2323
// Uncomment the line below if you are building an android application
2424
//implementation 'com.google.guava:guava:30.1.1-android'
2525
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
3636
<!-- Include the sdk as a dependency -->
3737
<groupId>com.microsoft.graph</groupId>
3838
<artifactId>microsoft-graph</artifactId>
39-
<version>5.5.0</version>
39+
<version>5.6.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -139,3 +139,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
139139

140140

141141

142+

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph
2828
mavenMajorVersion = 5
29-
mavenMinorVersion = 5
29+
mavenMinorVersion = 6
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -60,5 +60,6 @@ mavenCentralPublishingEnabled=false
6060

6161

6262

63+
6364

6465

Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
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+
package com.microsoft.graph.ediscovery.models;
7+
import com.microsoft.graph.serializer.ISerializer;
8+
import com.microsoft.graph.serializer.IJsonBackedObject;
9+
import com.microsoft.graph.serializer.AdditionalDataManager;
10+
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
12+
import com.microsoft.graph.models.IdentitySet;
13+
import com.microsoft.graph.ediscovery.models.CaseStatus;
14+
import com.microsoft.graph.ediscovery.models.Custodian;
15+
import com.microsoft.graph.ediscovery.models.LegalHold;
16+
import com.microsoft.graph.ediscovery.models.NoncustodialDataSource;
17+
import com.microsoft.graph.ediscovery.models.CaseOperation;
18+
import com.microsoft.graph.ediscovery.models.ReviewSet;
19+
import com.microsoft.graph.ediscovery.models.CaseSettings;
20+
import com.microsoft.graph.ediscovery.models.SourceCollection;
21+
import com.microsoft.graph.ediscovery.models.Tag;
22+
import com.microsoft.graph.models.Entity;
23+
import com.microsoft.graph.ediscovery.requests.CustodianCollectionPage;
24+
import com.microsoft.graph.ediscovery.requests.LegalHoldCollectionPage;
25+
import com.microsoft.graph.ediscovery.requests.NoncustodialDataSourceCollectionPage;
26+
import com.microsoft.graph.ediscovery.requests.CaseOperationCollectionPage;
27+
import com.microsoft.graph.ediscovery.requests.ReviewSetCollectionPage;
28+
import com.microsoft.graph.ediscovery.requests.SourceCollectionCollectionPage;
29+
import com.microsoft.graph.ediscovery.requests.TagCollectionPage;
30+
31+
32+
import com.google.gson.JsonObject;
33+
import com.google.gson.annotations.SerializedName;
34+
import com.google.gson.annotations.Expose;
35+
import javax.annotation.Nullable;
36+
import javax.annotation.Nonnull;
37+
38+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
39+
40+
/**
41+
* The class for the Case.
42+
*/
43+
public class Case extends Entity implements IJsonBackedObject {
44+
45+
46+
/**
47+
* The Closed By.
48+
* The user who closed the case.
49+
*/
50+
@SerializedName(value = "closedBy", alternate = {"ClosedBy"})
51+
@Expose
52+
@Nullable
53+
public IdentitySet closedBy;
54+
55+
/**
56+
* The Closed Date Time.
57+
* The date and time when the case was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
58+
*/
59+
@SerializedName(value = "closedDateTime", alternate = {"ClosedDateTime"})
60+
@Expose
61+
@Nullable
62+
public java.time.OffsetDateTime closedDateTime;
63+
64+
/**
65+
* The Created Date Time.
66+
* The date and time when the entity was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
67+
*/
68+
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
69+
@Expose
70+
@Nullable
71+
public java.time.OffsetDateTime createdDateTime;
72+
73+
/**
74+
* The Description.
75+
* The case description.
76+
*/
77+
@SerializedName(value = "description", alternate = {"Description"})
78+
@Expose
79+
@Nullable
80+
public String description;
81+
82+
/**
83+
* The Display Name.
84+
* The case name.
85+
*/
86+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
87+
@Expose
88+
@Nullable
89+
public String displayName;
90+
91+
/**
92+
* The External Id.
93+
* The external case number for customer reference.
94+
*/
95+
@SerializedName(value = "externalId", alternate = {"ExternalId"})
96+
@Expose
97+
@Nullable
98+
public String externalId;
99+
100+
/**
101+
* The Last Modified By.
102+
* The last user who modified the entity.
103+
*/
104+
@SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
105+
@Expose
106+
@Nullable
107+
public IdentitySet lastModifiedBy;
108+
109+
/**
110+
* The Last Modified Date Time.
111+
* The latest date and time when the case was modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
112+
*/
113+
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
114+
@Expose
115+
@Nullable
116+
public java.time.OffsetDateTime lastModifiedDateTime;
117+
118+
/**
119+
* The Status.
120+
* The case status. Possible values are unknown, active, pendingDelete, closing, closed, and closedWithError. For details, see the following table.
121+
*/
122+
@SerializedName(value = "status", alternate = {"Status"})
123+
@Expose
124+
@Nullable
125+
public CaseStatus status;
126+
127+
/**
128+
* The Custodians.
129+
* Returns a list of case custodian objects for this case. Nullable.
130+
*/
131+
@SerializedName(value = "custodians", alternate = {"Custodians"})
132+
@Expose
133+
@Nullable
134+
public CustodianCollectionPage custodians;
135+
136+
/**
137+
* The Legal Holds.
138+
* Returns a list of case legalHold objects for this case. Nullable.
139+
*/
140+
@SerializedName(value = "legalHolds", alternate = {"LegalHolds"})
141+
@Expose
142+
@Nullable
143+
public LegalHoldCollectionPage legalHolds;
144+
145+
/**
146+
* The Noncustodial Data Sources.
147+
* Returns a list of case noncustodialDataSource objects for this case. Nullable.
148+
*/
149+
@SerializedName(value = "noncustodialDataSources", alternate = {"NoncustodialDataSources"})
150+
@Expose
151+
@Nullable
152+
public NoncustodialDataSourceCollectionPage noncustodialDataSources;
153+
154+
/**
155+
* The Operations.
156+
* Returns a list of case operation objects for this case. Nullable.
157+
*/
158+
@SerializedName(value = "operations", alternate = {"Operations"})
159+
@Expose
160+
@Nullable
161+
public CaseOperationCollectionPage operations;
162+
163+
/**
164+
* The Review Sets.
165+
* Returns a list of reviewSet objects in the case. Read-only. Nullable.
166+
*/
167+
@SerializedName(value = "reviewSets", alternate = {"ReviewSets"})
168+
@Expose
169+
@Nullable
170+
public ReviewSetCollectionPage reviewSets;
171+
172+
/**
173+
* The Settings.
174+
*
175+
*/
176+
@SerializedName(value = "settings", alternate = {"Settings"})
177+
@Expose
178+
@Nullable
179+
public CaseSettings settings;
180+
181+
/**
182+
* The Source Collections.
183+
* Returns a list of sourceCollection objects associated with this case.
184+
*/
185+
@SerializedName(value = "sourceCollections", alternate = {"SourceCollections"})
186+
@Expose
187+
@Nullable
188+
public SourceCollectionCollectionPage sourceCollections;
189+
190+
/**
191+
* The Tags.
192+
* Returns a list of tag objects associated to this case.
193+
*/
194+
@SerializedName(value = "tags", alternate = {"Tags"})
195+
@Expose
196+
@Nullable
197+
public TagCollectionPage tags;
198+
199+
200+
/**
201+
* Sets the raw JSON object
202+
*
203+
* @param serializer the serializer
204+
* @param json the JSON object to set this object to
205+
*/
206+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
207+
208+
209+
if (json.has("custodians")) {
210+
custodians = serializer.deserializeObject(json.get("custodians"), CustodianCollectionPage.class);
211+
}
212+
213+
if (json.has("legalHolds")) {
214+
legalHolds = serializer.deserializeObject(json.get("legalHolds"), LegalHoldCollectionPage.class);
215+
}
216+
217+
if (json.has("noncustodialDataSources")) {
218+
noncustodialDataSources = serializer.deserializeObject(json.get("noncustodialDataSources"), NoncustodialDataSourceCollectionPage.class);
219+
}
220+
221+
if (json.has("operations")) {
222+
operations = serializer.deserializeObject(json.get("operations"), CaseOperationCollectionPage.class);
223+
}
224+
225+
if (json.has("reviewSets")) {
226+
reviewSets = serializer.deserializeObject(json.get("reviewSets"), ReviewSetCollectionPage.class);
227+
}
228+
229+
if (json.has("sourceCollections")) {
230+
sourceCollections = serializer.deserializeObject(json.get("sourceCollections"), SourceCollectionCollectionPage.class);
231+
}
232+
233+
if (json.has("tags")) {
234+
tags = serializer.deserializeObject(json.get("tags"), TagCollectionPage.class);
235+
}
236+
}
237+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// Template Source: Enum.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+
package com.microsoft.graph.ediscovery.models;
7+
8+
9+
/**
10+
* The Enum Case Action.
11+
*/
12+
public enum CaseAction
13+
{
14+
/**
15+
* content Export
16+
*/
17+
CONTENT_EXPORT,
18+
/**
19+
* apply Tags
20+
*/
21+
APPLY_TAGS,
22+
/**
23+
* convert To Pdf
24+
*/
25+
CONVERT_TO_PDF,
26+
/**
27+
* index
28+
*/
29+
INDEX,
30+
/**
31+
* estimate Statistics
32+
*/
33+
ESTIMATE_STATISTICS,
34+
/**
35+
* add To Review Set
36+
*/
37+
ADD_TO_REVIEW_SET,
38+
/**
39+
* unknown Future Value
40+
*/
41+
UNKNOWN_FUTURE_VALUE,
42+
/**
43+
* For CaseAction values that were not expected from the service
44+
*/
45+
UNEXPECTED_VALUE
46+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Template Source: BaseMethodParameterSet.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+
package com.microsoft.graph.ediscovery.models;
7+
8+
9+
import com.google.gson.annotations.Expose;
10+
import com.google.gson.annotations.SerializedName;
11+
import javax.annotation.Nonnull;
12+
import javax.annotation.Nullable;
13+
import com.google.gson.JsonObject;
14+
import java.util.EnumSet;
15+
import java.util.ArrayList;
16+
17+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
18+
19+
/**
20+
* The class for the Case Close Parameter Set.
21+
*/
22+
public class CaseCloseParameterSet {
23+
24+
/**
25+
* Instiaciates a new CaseCloseParameterSet
26+
*/
27+
public CaseCloseParameterSet() {}
28+
/**
29+
* Instiaciates a new CaseCloseParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected CaseCloseParameterSet(@Nonnull final CaseCloseParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static CaseCloseParameterSetBuilder newBuilder() {
40+
return new CaseCloseParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the CaseCloseParameterSet
44+
*/
45+
public static final class CaseCloseParameterSetBuilder {
46+
/**
47+
* Instanciates a new CaseCloseParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected CaseCloseParameterSetBuilder(){}
51+
/**
52+
* Buils the resulting body object to be passed to the request
53+
* @return the body object to pass to the request
54+
*/
55+
@Nonnull
56+
public CaseCloseParameterSet build() {
57+
return new CaseCloseParameterSet(this);
58+
}
59+
}
60+
/**
61+
* Gets the functions options from the properties that have been set
62+
* @return a list of function options for the request
63+
*/
64+
@Nonnull
65+
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
66+
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
67+
return result;
68+
}
69+
}

0 commit comments

Comments
 (0)