Skip to content

Commit ae140d5

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 50950
1 parent 304fa9a commit ae140d5

File tree

84 files changed

+2661
-35
lines changed

Some content is hidden

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

84 files changed

+2661
-35
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-beta:0.17.0-SNAPSHOT'
22+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.18.0-SNAPSHOT'
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-beta</artifactId>
39-
<version>0.17.0-SNAPSHOT</version>
39+
<version>0.18.0-SNAPSHOT</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -157,3 +157,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
157157

158158

159159

160+

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 = 17
29+
mavenMinorVersion = 18
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -56,3 +56,4 @@ mavenCentralPublishingEnabled=false
5656

5757

5858

59+

src/main/java/com/microsoft/graph/info/Constants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private Constants() {
1818
/** The client secret to use for unit testing */
1919
public static final String CLIENTSECRET = "clientsecret";
2020
/** The SDK version */
21-
public static final String VERSION_NAME = "0.17.0";
21+
public static final String VERSION_NAME = "0.18.0";
2222
}
2323

2424

@@ -31,3 +31,4 @@ private Constants() {
3131

3232

3333

34+

src/main/java/com/microsoft/graph/models/Application.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
103103
@Nullable
104104
public String description;
105105

106+
/**
107+
* The Disabled By Microsoft Status.
108+
* Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement).
109+
*/
110+
@SerializedName(value = "disabledByMicrosoftStatus", alternate = {"DisabledByMicrosoftStatus"})
111+
@Expose
112+
@Nullable
113+
public String disabledByMicrosoftStatus;
114+
106115
/**
107116
* The Display Name.
108117
* The display name for the application.

src/main/java/com/microsoft/graph/models/Authentication.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ public class Authentication extends Entity implements IJsonBackedObject {
7575

7676
/**
7777
* The Microsoft Authenticator Methods.
78-
*
79-
*/
78+
*
79+
* @deprecated
80+
*/
81+
@Deprecated
8082
@SerializedName(value = "microsoftAuthenticatorMethods", alternate = {"MicrosoftAuthenticatorMethods"})
8183
@Expose
8284
@Nullable
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.models;
7+
8+
import com.microsoft.graph.models.ProvisionChannelEmailResult;
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 Channel Provision Email Parameter Set.
21+
*/
22+
public class ChannelProvisionEmailParameterSet {
23+
24+
/**
25+
* Instiaciates a new ChannelProvisionEmailParameterSet
26+
*/
27+
public ChannelProvisionEmailParameterSet() {}
28+
/**
29+
* Instiaciates a new ChannelProvisionEmailParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected ChannelProvisionEmailParameterSet(@Nonnull final ChannelProvisionEmailParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static ChannelProvisionEmailParameterSetBuilder newBuilder() {
40+
return new ChannelProvisionEmailParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the ChannelProvisionEmailParameterSet
44+
*/
45+
public static final class ChannelProvisionEmailParameterSetBuilder {
46+
/**
47+
* Instanciates a new ChannelProvisionEmailParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected ChannelProvisionEmailParameterSetBuilder(){}
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 ChannelProvisionEmailParameterSet build() {
57+
return new ChannelProvisionEmailParameterSet(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+
}
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.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 Channel Remove Email Parameter Set.
21+
*/
22+
public class ChannelRemoveEmailParameterSet {
23+
24+
/**
25+
* Instiaciates a new ChannelRemoveEmailParameterSet
26+
*/
27+
public ChannelRemoveEmailParameterSet() {}
28+
/**
29+
* Instiaciates a new ChannelRemoveEmailParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected ChannelRemoveEmailParameterSet(@Nonnull final ChannelRemoveEmailParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static ChannelRemoveEmailParameterSetBuilder newBuilder() {
40+
return new ChannelRemoveEmailParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the ChannelRemoveEmailParameterSet
44+
*/
45+
public static final class ChannelRemoveEmailParameterSetBuilder {
46+
/**
47+
* Instanciates a new ChannelRemoveEmailParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected ChannelRemoveEmailParameterSetBuilder(){}
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 ChannelRemoveEmailParameterSet build() {
57+
return new ChannelRemoveEmailParameterSet(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+
}

src/main/java/com/microsoft/graph/models/Chat.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
import com.microsoft.graph.models.TeamsAppInstallation;
1414
import com.microsoft.graph.models.ConversationMember;
1515
import com.microsoft.graph.models.ChatMessage;
16+
import com.microsoft.graph.models.TeamsAsyncOperation;
1617
import com.microsoft.graph.models.ResourceSpecificPermissionGrant;
1718
import com.microsoft.graph.models.TeamsTab;
1819
import com.microsoft.graph.models.Entity;
1920
import com.microsoft.graph.requests.TeamsAppInstallationCollectionPage;
2021
import com.microsoft.graph.requests.ConversationMemberCollectionPage;
2122
import com.microsoft.graph.requests.ChatMessageCollectionPage;
23+
import com.microsoft.graph.requests.TeamsAsyncOperationCollectionPage;
2224
import com.microsoft.graph.requests.ResourceSpecificPermissionGrantCollectionPage;
2325
import com.microsoft.graph.requests.TeamsTabCollectionPage;
2426

@@ -100,6 +102,15 @@ public class Chat extends Entity implements IJsonBackedObject {
100102
@Nullable
101103
public ChatMessageCollectionPage messages;
102104

105+
/**
106+
* The Operations.
107+
*
108+
*/
109+
@SerializedName(value = "operations", alternate = {"Operations"})
110+
@Expose
111+
@Nullable
112+
public TeamsAsyncOperationCollectionPage operations;
113+
103114
/**
104115
* The Permission Grants.
105116
* A collection of permissions granted to apps for the chat.
@@ -140,6 +151,10 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
140151
messages = serializer.deserializeObject(json.get("messages"), ChatMessageCollectionPage.class);
141152
}
142153

154+
if (json.has("operations")) {
155+
operations = serializer.deserializeObject(json.get("operations"), TeamsAsyncOperationCollectionPage.class);
156+
}
157+
143158
if (json.has("permissionGrants")) {
144159
permissionGrants = serializer.deserializeObject(json.get("permissionGrants"), ResourceSpecificPermissionGrantCollectionPage.class);
145160
}

src/main/java/com/microsoft/graph/models/ChatMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject {
231231

232232
/**
233233
* The Hosted Contents.
234-
* Content in a message hosted by Microsoft Teams e.g., images, code snippets etc.
234+
* Content in a message hosted by Microsoft Teams - for example, images or code snippets.
235235
*/
236236
@SerializedName(value = "hostedContents", alternate = {"HostedContents"})
237237
@Expose

src/main/java/com/microsoft/graph/models/CloudPC.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class CloudPC extends Entity implements IJsonBackedObject {
3838

3939
/**
4040
* The Grace Period End Date Time.
41-
*
41+
* The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
4242
*/
4343
@SerializedName(value = "gracePeriodEndDateTime", alternate = {"GracePeriodEndDateTime"})
4444
@Expose
@@ -83,7 +83,7 @@ public class CloudPC extends Entity implements IJsonBackedObject {
8383

8484
/**
8585
* The On Premises Connection Name.
86-
*
86+
* The on-premises connection that is applied during provisioning of cloud PCs.
8787
*/
8888
@SerializedName(value = "onPremisesConnectionName", alternate = {"OnPremisesConnectionName"})
8989
@Expose
@@ -101,7 +101,7 @@ public class CloudPC extends Entity implements IJsonBackedObject {
101101

102102
/**
103103
* The Provisioning Policy Name.
104-
*
104+
* The provisioning policy that is applied during provisioning of cloud PCs.
105105
*/
106106
@SerializedName(value = "provisioningPolicyName", alternate = {"ProvisioningPolicyName"})
107107
@Expose

0 commit comments

Comments
 (0)