Skip to content

Commit ae34c6a

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 56949
1 parent 0a347fc commit ae34c6a

File tree

207 files changed

+9939
-593
lines changed

Some content is hidden

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

207 files changed

+9939
-593
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-beta:0.31.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.32.0-SNAPSHOT'
2424
// Uncomment the line below if you are building an android application
2525
//implementation 'com.google.guava:guava:30.1.1-android'
2626
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3737
<!-- Include the sdk as a dependency -->
3838
<groupId>com.microsoft.graph</groupId>
3939
<artifactId>microsoft-graph-beta</artifactId>
40-
<version>0.31.0-SNAPSHOT</version>
40+
<version>0.32.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -169,5 +169,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
169169

170170

171171

172+
172173

173174

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-beta
2828
mavenMajorVersion = 0
29-
mavenMinorVersion = 31
29+
mavenMinorVersion = 32
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -68,5 +68,6 @@ mavenCentralPublishingEnabled=false
6868

6969

7070

71+
7172

7273

src/main/java/com/microsoft/graph/ediscovery/models/Case.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import com.microsoft.graph.ediscovery.models.NoncustodialDataSource;
1717
import com.microsoft.graph.ediscovery.models.CaseOperation;
1818
import com.microsoft.graph.ediscovery.models.ReviewSet;
19-
import com.microsoft.graph.ediscovery.models.Settings;
19+
import com.microsoft.graph.ediscovery.models.CaseSettings;
2020
import com.microsoft.graph.ediscovery.models.SourceCollection;
2121
import com.microsoft.graph.ediscovery.models.Tag;
2222
import com.microsoft.graph.models.Entity;
@@ -176,7 +176,7 @@ public class Case extends Entity implements IJsonBackedObject {
176176
@SerializedName(value = "settings", alternate = {"Settings"})
177177
@Expose
178178
@Nullable
179-
public Settings settings;
179+
public CaseSettings settings;
180180

181181
/**
182182
* The Source Collections.

src/main/java/com/microsoft/graph/ediscovery/models/Settings.java renamed to src/main/java/com/microsoft/graph/ediscovery/models/CaseSettings.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
// **NOTE** This file was generated by a tool and any changes will be overwritten.
2424

2525
/**
26-
* The class for the Settings.
26+
* The class for the Case Settings.
2727
*/
28-
public class Settings extends Entity implements IJsonBackedObject {
28+
public class CaseSettings extends Entity implements IJsonBackedObject {
2929

3030

3131
/**
3232
* The Ocr.
33-
* The OCR (Optical Character Recognition) settings for the case.
33+
*
3434
*/
3535
@SerializedName(value = "ocr", alternate = {"Ocr"})
3636
@Expose
@@ -39,7 +39,7 @@ public class Settings extends Entity implements IJsonBackedObject {
3939

4040
/**
4141
* The Redundancy Detection.
42-
* The redundancy (near duplicate and email threading) detection settings for the case.
42+
*
4343
*/
4444
@SerializedName(value = "redundancyDetection", alternate = {"RedundancyDetection"})
4545
@Expose
@@ -48,7 +48,7 @@ public class Settings extends Entity implements IJsonBackedObject {
4848

4949
/**
5050
* The Topic Modeling.
51-
* The Topic Modeling (Themes) settings for the case.
51+
*
5252
*/
5353
@SerializedName(value = "topicModeling", alternate = {"TopicModeling"})
5454
@Expose

src/main/java/com/microsoft/graph/ediscovery/models/SettingsResetToDefaultParameterSet.java renamed to src/main/java/com/microsoft/graph/ediscovery/models/CaseSettingsResetToDefaultParameterSet.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,44 @@
1717
// **NOTE** This file was generated by a tool and any changes will be overwritten.
1818

1919
/**
20-
* The class for the Settings Reset To Default Parameter Set.
20+
* The class for the Case Settings Reset To Default Parameter Set.
2121
*/
22-
public class SettingsResetToDefaultParameterSet {
22+
public class CaseSettingsResetToDefaultParameterSet {
2323

2424
/**
25-
* Instiaciates a new SettingsResetToDefaultParameterSet
25+
* Instiaciates a new CaseSettingsResetToDefaultParameterSet
2626
*/
27-
public SettingsResetToDefaultParameterSet() {}
27+
public CaseSettingsResetToDefaultParameterSet() {}
2828
/**
29-
* Instiaciates a new SettingsResetToDefaultParameterSet
29+
* Instiaciates a new CaseSettingsResetToDefaultParameterSet
3030
* @param builder builder bearing the parameters to initialize from
3131
*/
32-
protected SettingsResetToDefaultParameterSet(@Nonnull final SettingsResetToDefaultParameterSetBuilder builder) {
32+
protected CaseSettingsResetToDefaultParameterSet(@Nonnull final CaseSettingsResetToDefaultParameterSetBuilder builder) {
3333
}
3434
/**
3535
* Gets a new builder for the body
3636
* @return a new builder
3737
*/
3838
@Nonnull
39-
public static SettingsResetToDefaultParameterSetBuilder newBuilder() {
40-
return new SettingsResetToDefaultParameterSetBuilder();
39+
public static CaseSettingsResetToDefaultParameterSetBuilder newBuilder() {
40+
return new CaseSettingsResetToDefaultParameterSetBuilder();
4141
}
4242
/**
43-
* Fluent builder for the SettingsResetToDefaultParameterSet
43+
* Fluent builder for the CaseSettingsResetToDefaultParameterSet
4444
*/
45-
public static final class SettingsResetToDefaultParameterSetBuilder {
45+
public static final class CaseSettingsResetToDefaultParameterSetBuilder {
4646
/**
47-
* Instanciates a new SettingsResetToDefaultParameterSetBuilder
47+
* Instanciates a new CaseSettingsResetToDefaultParameterSetBuilder
4848
*/
4949
@Nullable
50-
protected SettingsResetToDefaultParameterSetBuilder(){}
50+
protected CaseSettingsResetToDefaultParameterSetBuilder(){}
5151
/**
5252
* Buils the resulting body object to be passed to the request
5353
* @return the body object to pass to the request
5454
*/
5555
@Nonnull
56-
public SettingsResetToDefaultParameterSet build() {
57-
return new SettingsResetToDefaultParameterSet(this);
56+
public CaseSettingsResetToDefaultParameterSet build() {
57+
return new CaseSettingsResetToDefaultParameterSet(this);
5858
}
5959
}
6060
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import com.microsoft.graph.ediscovery.requests.CaseOperationRequestBuilder;
1919
import com.microsoft.graph.ediscovery.requests.ReviewSetCollectionRequestBuilder;
2020
import com.microsoft.graph.ediscovery.requests.ReviewSetRequestBuilder;
21-
import com.microsoft.graph.ediscovery.requests.SettingsRequestBuilder;
21+
import com.microsoft.graph.ediscovery.requests.CaseSettingsRequestBuilder;
2222
import com.microsoft.graph.ediscovery.requests.SourceCollectionCollectionRequestBuilder;
2323
import com.microsoft.graph.ediscovery.requests.SourceCollectionRequestBuilder;
2424
import com.microsoft.graph.ediscovery.requests.TagCollectionRequestBuilder;

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import com.microsoft.graph.ediscovery.requests.CaseOperationRequestBuilder;
1919
import com.microsoft.graph.ediscovery.requests.ReviewSetCollectionRequestBuilder;
2020
import com.microsoft.graph.ediscovery.requests.ReviewSetRequestBuilder;
21-
import com.microsoft.graph.ediscovery.requests.SettingsRequestBuilder;
21+
import com.microsoft.graph.ediscovery.requests.CaseSettingsRequestBuilder;
2222
import com.microsoft.graph.ediscovery.requests.SourceCollectionCollectionRequestBuilder;
2323
import com.microsoft.graph.ediscovery.requests.SourceCollectionRequestBuilder;
2424
import com.microsoft.graph.ediscovery.requests.TagCollectionRequestBuilder;
@@ -173,13 +173,13 @@ public ReviewSetRequestBuilder reviewSets(@Nonnull final String id) {
173173
}
174174

175175
/**
176-
* Gets the request builder for Settings
176+
* Gets the request builder for CaseSettings
177177
*
178-
* @return the SettingsRequestBuilder instance
178+
* @return the CaseSettingsRequestBuilder instance
179179
*/
180180
@Nonnull
181-
public SettingsRequestBuilder settings() {
182-
return new SettingsRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null);
181+
public CaseSettingsRequestBuilder settings() {
182+
return new CaseSettingsRequestBuilder(getRequestUrlWithAdditionalSegment("settings"), getClient(), null);
183183
}
184184
/**
185185
* Gets a request builder for the SourceCollection collection
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
// Template Source: BaseEntityRequest.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.requests;
7+
8+
import com.microsoft.graph.http.IRequestBuilder;
9+
import com.microsoft.graph.core.ClientException;
10+
import com.microsoft.graph.ediscovery.models.CaseSettings;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import javax.annotation.Nullable;
14+
import javax.annotation.Nonnull;
15+
import com.microsoft.graph.core.IBaseClient;
16+
import com.microsoft.graph.http.BaseRequest;
17+
import com.microsoft.graph.http.HttpMethod;
18+
19+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
20+
21+
/**
22+
* The class for the Case Settings Request.
23+
*/
24+
public class CaseSettingsRequest extends BaseRequest<CaseSettings> {
25+
26+
/**
27+
* The request for the CaseSettings
28+
*
29+
* @param requestUrl the request URL
30+
* @param client the service client
31+
* @param requestOptions the options for this request
32+
*/
33+
public CaseSettingsRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
34+
super(requestUrl, client, requestOptions, CaseSettings.class);
35+
}
36+
37+
/**
38+
* Gets the CaseSettings from the service
39+
*
40+
* @return a future with the result
41+
*/
42+
@Nonnull
43+
public java.util.concurrent.CompletableFuture<CaseSettings> getAsync() {
44+
return sendAsync(HttpMethod.GET, null);
45+
}
46+
47+
/**
48+
* Gets the CaseSettings from the service
49+
*
50+
* @return the CaseSettings from the request
51+
* @throws ClientException this exception occurs if the request was unable to complete for any reason
52+
*/
53+
@Nullable
54+
public CaseSettings get() throws ClientException {
55+
return send(HttpMethod.GET, null);
56+
}
57+
58+
/**
59+
* Delete this item from the service
60+
*
61+
* @return a future with the deletion result
62+
*/
63+
@Nonnull
64+
public java.util.concurrent.CompletableFuture<CaseSettings> deleteAsync() {
65+
return sendAsync(HttpMethod.DELETE, null);
66+
}
67+
68+
/**
69+
* Delete this item from the service
70+
* @return the resulting response if the service returns anything on deletion
71+
*
72+
* @throws ClientException if there was an exception during the delete operation
73+
*/
74+
@Nullable
75+
public CaseSettings delete() throws ClientException {
76+
return send(HttpMethod.DELETE, null);
77+
}
78+
79+
/**
80+
* Patches this CaseSettings with a source
81+
*
82+
* @param sourceCaseSettings the source object with updates
83+
* @return a future with the result
84+
*/
85+
@Nonnull
86+
public java.util.concurrent.CompletableFuture<CaseSettings> patchAsync(@Nonnull final CaseSettings sourceCaseSettings) {
87+
return sendAsync(HttpMethod.PATCH, sourceCaseSettings);
88+
}
89+
90+
/**
91+
* Patches this CaseSettings with a source
92+
*
93+
* @param sourceCaseSettings the source object with updates
94+
* @return the updated CaseSettings
95+
* @throws ClientException this exception occurs if the request was unable to complete for any reason
96+
*/
97+
@Nullable
98+
public CaseSettings patch(@Nonnull final CaseSettings sourceCaseSettings) throws ClientException {
99+
return send(HttpMethod.PATCH, sourceCaseSettings);
100+
}
101+
102+
/**
103+
* Creates a CaseSettings with a new object
104+
*
105+
* @param newCaseSettings the new object to create
106+
* @return a future with the result
107+
*/
108+
@Nonnull
109+
public java.util.concurrent.CompletableFuture<CaseSettings> postAsync(@Nonnull final CaseSettings newCaseSettings) {
110+
return sendAsync(HttpMethod.POST, newCaseSettings);
111+
}
112+
113+
/**
114+
* Creates a CaseSettings with a new object
115+
*
116+
* @param newCaseSettings the new object to create
117+
* @return the created CaseSettings
118+
* @throws ClientException this exception occurs if the request was unable to complete for any reason
119+
*/
120+
@Nullable
121+
public CaseSettings post(@Nonnull final CaseSettings newCaseSettings) throws ClientException {
122+
return send(HttpMethod.POST, newCaseSettings);
123+
}
124+
125+
/**
126+
* Creates a CaseSettings with a new object
127+
*
128+
* @param newCaseSettings the object to create/update
129+
* @return a future with the result
130+
*/
131+
@Nonnull
132+
public java.util.concurrent.CompletableFuture<CaseSettings> putAsync(@Nonnull final CaseSettings newCaseSettings) {
133+
return sendAsync(HttpMethod.PUT, newCaseSettings);
134+
}
135+
136+
/**
137+
* Creates a CaseSettings with a new object
138+
*
139+
* @param newCaseSettings the object to create/update
140+
* @return the created CaseSettings
141+
* @throws ClientException this exception occurs if the request was unable to complete for any reason
142+
*/
143+
@Nullable
144+
public CaseSettings put(@Nonnull final CaseSettings newCaseSettings) throws ClientException {
145+
return send(HttpMethod.PUT, newCaseSettings);
146+
}
147+
148+
/**
149+
* Sets the select clause for the request
150+
*
151+
* @param value the select clause
152+
* @return the updated request
153+
*/
154+
@Nonnull
155+
public CaseSettingsRequest select(@Nonnull final String value) {
156+
addSelectOption(value);
157+
return this;
158+
}
159+
160+
/**
161+
* Sets the expand clause for the request
162+
*
163+
* @param value the expand clause
164+
* @return the updated request
165+
*/
166+
@Nonnull
167+
public CaseSettingsRequest expand(@Nonnull final String value) {
168+
addExpandOption(value);
169+
return this;
170+
}
171+
172+
}
173+

0 commit comments

Comments
 (0)