Skip to content

Commit ae08492

Browse files
Microsoft Graph DevX Toolingbaywet
authored andcommitted
Update generated files with build 53629
1 parent 2eb9673 commit ae08492

File tree

91 files changed

+6134
-51
lines changed

Some content is hidden

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

91 files changed

+6134
-51
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:4.1.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:4.2.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>4.1.0</version>
39+
<version>4.2.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -146,3 +146,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
146146

147147

148148

149+

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 = 4
29-
mavenMinorVersion = 1
29+
mavenMinorVersion = 2
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -55,3 +55,4 @@ mavenCentralPublishingEnabled=false
5555

5656

5757

58+

src/main/java/com/microsoft/graph/externalconnectors/models/Property.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public final AdditionalDataManager additionalDataManager() {
8787

8888
/**
8989
* The Labels.
90-
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Supported labels: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, containerName, and containerUrl. Optional.
90+
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl.
9191
*/
9292
@SerializedName(value = "labels", alternate = {"Labels"})
9393
@Expose
@@ -105,7 +105,7 @@ public final AdditionalDataManager additionalDataManager() {
105105

106106
/**
107107
* The Type.
108-
* The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection. Required.
108+
* The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required.
109109
*/
110110
@SerializedName(value = "type", alternate = {"Type"})
111111
@Expose

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

2424

@@ -32,3 +32,4 @@ private Constants() {
3232

3333

3434

35+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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.models.ServiceAnnouncement;
12+
13+
14+
import com.google.gson.JsonObject;
15+
import com.google.gson.annotations.SerializedName;
16+
import com.google.gson.annotations.Expose;
17+
import javax.annotation.Nullable;
18+
import javax.annotation.Nonnull;
19+
20+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
21+
22+
/**
23+
* The class for the Admin.
24+
*/
25+
public class Admin implements IJsonBackedObject {
26+
27+
/** the OData type of the object as returned by the service */
28+
@SerializedName("@odata.type")
29+
@Expose
30+
@Nullable
31+
public String oDataType;
32+
33+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
34+
35+
@Override
36+
@Nonnull
37+
public final AdditionalDataManager additionalDataManager() {
38+
return additionalDataManager;
39+
}
40+
41+
/**
42+
* The Service Announcement.
43+
*
44+
*/
45+
@SerializedName(value = "serviceAnnouncement", alternate = {"ServiceAnnouncement"})
46+
@Expose
47+
@Nullable
48+
public ServiceAnnouncement serviceAnnouncement;
49+
50+
51+
/**
52+
* Sets the raw JSON object
53+
*
54+
* @param serializer the serializer
55+
* @param json the JSON object to set this object to
56+
*/
57+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
58+
59+
}
60+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public final AdditionalDataManager additionalDataManager() {
7777

7878
/**
7979
* The Result.
80-
* Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted
80+
* Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted.
8181
*/
8282
@SerializedName(value = "result", alternate = {"Result"})
8383
@Expose
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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.BitlockerRecoveryKey;
13+
import com.microsoft.graph.models.Entity;
14+
import com.microsoft.graph.requests.BitlockerRecoveryKeyCollectionPage;
15+
16+
17+
import com.google.gson.JsonObject;
18+
import com.google.gson.annotations.SerializedName;
19+
import com.google.gson.annotations.Expose;
20+
import javax.annotation.Nullable;
21+
import javax.annotation.Nonnull;
22+
23+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
24+
25+
/**
26+
* The class for the Bitlocker.
27+
*/
28+
public class Bitlocker extends Entity implements IJsonBackedObject {
29+
30+
31+
/**
32+
* The Recovery Keys.
33+
* The recovery keys associated with the bitlocker entity.
34+
*/
35+
@SerializedName(value = "recoveryKeys", alternate = {"RecoveryKeys"})
36+
@Expose
37+
@Nullable
38+
public BitlockerRecoveryKeyCollectionPage recoveryKeys;
39+
40+
41+
/**
42+
* Sets the raw JSON object
43+
*
44+
* @param serializer the serializer
45+
* @param json the JSON object to set this object to
46+
*/
47+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
48+
49+
50+
if (json.has("recoveryKeys")) {
51+
recoveryKeys = serializer.deserializeObject(json.get("recoveryKeys"), BitlockerRecoveryKeyCollectionPage.class);
52+
}
53+
}
54+
}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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.models.VolumeType;
12+
import com.microsoft.graph.models.Entity;
13+
14+
15+
import com.google.gson.JsonObject;
16+
import com.google.gson.annotations.SerializedName;
17+
import com.google.gson.annotations.Expose;
18+
import javax.annotation.Nullable;
19+
import javax.annotation.Nonnull;
20+
21+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
22+
23+
/**
24+
* The class for the Bitlocker Recovery Key.
25+
*/
26+
public class BitlockerRecoveryKey extends Entity implements IJsonBackedObject {
27+
28+
29+
/**
30+
* The Created Date Time.
31+
* The date and time when the key was originally backed up to Azure Active Directory.
32+
*/
33+
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
34+
@Expose
35+
@Nullable
36+
public java.time.OffsetDateTime createdDateTime;
37+
38+
/**
39+
* The Device Id.
40+
* ID of the device the BitLocker key is originally backed up from.
41+
*/
42+
@SerializedName(value = "deviceId", alternate = {"DeviceId"})
43+
@Expose
44+
@Nullable
45+
public String deviceId;
46+
47+
/**
48+
* The Key.
49+
* The BitLocker recovery key.
50+
*/
51+
@SerializedName(value = "key", alternate = {"Key"})
52+
@Expose
53+
@Nullable
54+
public String key;
55+
56+
/**
57+
* The Volume Type.
58+
* Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue.
59+
*/
60+
@SerializedName(value = "volumeType", alternate = {"VolumeType"})
61+
@Expose
62+
@Nullable
63+
public VolumeType volumeType;
64+
65+
66+
/**
67+
* Sets the raw JSON object
68+
*
69+
* @param serializer the serializer
70+
* @param json the JSON object to set this object to
71+
*/
72+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
73+
74+
}
75+
}

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

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

8282
/**
8383
* The Membership Type.
84-
* The type of the channel. Can be set during creation and can't be changed. Default: standard.
84+
* The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared.
8585
*/
8686
@SerializedName(value = "membershipType", alternate = {"MembershipType"})
8787
@Expose

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

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

159159
/**
160160
* The Message Type.
161-
* The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage.
161+
* The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage.
162162
*/
163163
@SerializedName(value = "messageType", alternate = {"MessageType"})
164164
@Expose

0 commit comments

Comments
 (0)