Skip to content

Commit 6cb2e58

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 63008
1 parent 8cb9f7a commit 6cb2e58

Some content is hidden

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

42 files changed

+3086
-8
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.10.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.11.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.10.0</version>
39+
<version>5.11.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -144,3 +144,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
144144

145145

146146

147+

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

@@ -65,5 +65,6 @@ mavenCentralPublishingEnabled=false
6565

6666

6767

68+
6869

6970

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 = "5.10.0";
21+
public static final String VERSION_NAME = "5.11.0";
2222
}
2323

2424

@@ -42,5 +42,6 @@ private Constants() {
4242

4343

4444

45+
4546

4647

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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.models;
7+
8+
9+
/**
10+
* The Enum Activity Type.
11+
*/
12+
public enum ActivityType
13+
{
14+
/**
15+
* signin
16+
*/
17+
SIGNIN,
18+
/**
19+
* user
20+
*/
21+
USER,
22+
/**
23+
* unknown Future Value
24+
*/
25+
UNKNOWN_FUTURE_VALUE,
26+
/**
27+
* For ActivityType values that were not expected from the service
28+
*/
29+
UNEXPECTED_VALUE
30+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
293293

294294
/**
295295
* The Verified Publisher.
296-
* Specifies the verified publisher of the application.
296+
* Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.
297297
*/
298298
@SerializedName(value = "verifiedPublisher", alternate = {"VerifiedPublisher"})
299299
@Expose

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ public final AdditionalDataManager additionalDataManager() {
4747
@Nullable
4848
public AttachmentType attachmentType;
4949

50+
/**
51+
* The Content Id.
52+
*
53+
*/
54+
@SerializedName(value = "contentId", alternate = {"ContentId"})
55+
@Expose
56+
@Nullable
57+
public String contentId;
58+
5059
/**
5160
* The Content Type.
5261
* The nature of the data in the attachment. Optional.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class DriveItem extends BaseItem implements IJsonBackedObject {
6060

6161
/**
6262
* The Audio.
63-
* Audio metadata, if the item is an audio file. Read-only.
63+
* Audio metadata, if the item is an audio file. Read-only. Only on OneDrive Personal.
6464
*/
6565
@SerializedName(value = "audio", alternate = {"Audio"})
6666
@Expose
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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.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.RiskDetection;
13+
import com.microsoft.graph.models.RiskyUser;
14+
import com.microsoft.graph.requests.RiskDetectionCollectionPage;
15+
import com.microsoft.graph.requests.RiskyUserCollectionPage;
16+
17+
18+
import com.google.gson.JsonObject;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.annotations.Expose;
21+
import javax.annotation.Nullable;
22+
import javax.annotation.Nonnull;
23+
24+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
25+
26+
/**
27+
* The class for the Identity Protection Root.
28+
*/
29+
public class IdentityProtectionRoot implements IJsonBackedObject {
30+
31+
/** the OData type of the object as returned by the service */
32+
@SerializedName("@odata.type")
33+
@Expose
34+
@Nullable
35+
public String oDataType;
36+
37+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
38+
39+
@Override
40+
@Nonnull
41+
public final AdditionalDataManager additionalDataManager() {
42+
return additionalDataManager;
43+
}
44+
45+
/**
46+
* The Risk Detections.
47+
*
48+
*/
49+
@SerializedName(value = "riskDetections", alternate = {"RiskDetections"})
50+
@Expose
51+
@Nullable
52+
public RiskDetectionCollectionPage riskDetections;
53+
54+
/**
55+
* The Risky Users.
56+
*
57+
*/
58+
@SerializedName(value = "riskyUsers", alternate = {"RiskyUsers"})
59+
@Expose
60+
@Nullable
61+
public RiskyUserCollectionPage riskyUsers;
62+
63+
64+
/**
65+
* Sets the raw JSON object
66+
*
67+
* @param serializer the serializer
68+
* @param json the JSON object to set this object to
69+
*/
70+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
71+
72+
73+
if (json.has("riskDetections")) {
74+
riskDetections = serializer.deserializeObject(json.get("riskDetections"), RiskDetectionCollectionPage.class);
75+
}
76+
77+
if (json.has("riskyUsers")) {
78+
riskyUsers = serializer.deserializeObject(json.get("riskyUsers"), RiskyUserCollectionPage.class);
79+
}
80+
}
81+
}

0 commit comments

Comments
 (0)