Skip to content

Commit 3bc306e

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 54810
1 parent 85b3c18 commit 3bc306e

File tree

113 files changed

+5823
-99
lines changed

Some content is hidden

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

113 files changed

+5823
-99
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.24.0-SNAPSHOT'
22+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.25.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.24.0-SNAPSHOT</version>
39+
<version>0.25.0-SNAPSHOT</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -164,3 +164,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
164164

165165

166166

167+

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

@@ -61,5 +61,6 @@ mavenCentralPublishingEnabled=false
6161

6262

6363

64+
6465

6566

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

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

4343
/**
4444
* The Aliases.
45-
* A set of aliases or a friendly names for the property. Maximum 32 characters. Each string must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &amp;, ?, @, #, /, ~, ', ', &amp;lt;, &amp;gt;, `
45+
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &amp;, ?, @, #, /, ~, ', ', &amp;lt;, &amp;gt;, `, ^. Optional.
4646
*/
4747
@SerializedName(value = "aliases", alternate = {"Aliases"})
4848
@Expose
@@ -96,7 +96,7 @@ public final AdditionalDataManager additionalDataManager() {
9696

9797
/**
9898
* The Name.
99-
* The name of the property. Maximum 32 characters. Must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &amp;, ?, @, #, /, ~, ', ', &amp;lt;, &amp;gt;, `
99+
* The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &amp;, ?, @, #, /, ~, ', ', &amp;lt;, &amp;gt;, `, ^. Required.
100100
*/
101101
@SerializedName(value = "name", alternate = {"Name"})
102102
@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 = "0.24.0";
21+
public static final String VERSION_NAME = "0.25.0";
2222
}
2323

2424

@@ -38,3 +38,4 @@ private Constants() {
3838

3939

4040

41+

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke
123123

124124
/**
125125
* The Access Package.
126-
* The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable.
126+
* The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand.
127127
*/
128128
@SerializedName(value = "accessPackage", alternate = {"AccessPackage"})
129129
@Expose
@@ -132,7 +132,7 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke
132132

133133
/**
134134
* The Access Package Assignment.
135-
*
135+
* For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
136136
*/
137137
@SerializedName(value = "accessPackageAssignment", alternate = {"AccessPackageAssignment"})
138138
@Expose
@@ -141,7 +141,7 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke
141141

142142
/**
143143
* The Requestor.
144-
* The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable.
144+
* The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand.
145145
*/
146146
@SerializedName(value = "requestor", alternate = {"Requestor"})
147147
@Expose
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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.GenericError;
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 Access Review Error.
24+
*/
25+
public class AccessReviewError extends GenericError implements IJsonBackedObject {
26+
27+
28+
29+
/**
30+
* Sets the raw JSON object
31+
*
32+
* @param serializer the serializer
33+
* @param json the JSON object to set this object to
34+
*/
35+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
36+
37+
}
38+
}

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
1111
import com.microsoft.graph.http.BaseCollectionPage;
12+
import com.microsoft.graph.models.AccessReviewError;
1213
import com.microsoft.graph.models.AccessReviewReviewerScope;
1314
import com.microsoft.graph.models.AccessReviewScope;
1415
import com.microsoft.graph.models.AccessReviewReviewer;
@@ -42,6 +43,15 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {
4243
@Nullable
4344
public java.time.OffsetDateTime endDateTime;
4445

46+
/**
47+
* The Errors.
48+
* Collection of errors in an access review instance lifecycle. Read-only.
49+
*/
50+
@SerializedName(value = "errors", alternate = {"Errors"})
51+
@Expose
52+
@Nullable
53+
public java.util.List<AccessReviewError> errors;
54+
4555
/**
4656
* The Fallback Reviewers.
4757
* This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
12+
13+
import com.google.gson.JsonObject;
14+
import com.google.gson.annotations.SerializedName;
15+
import com.google.gson.annotations.Expose;
16+
import javax.annotation.Nullable;
17+
import javax.annotation.Nonnull;
18+
19+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
20+
21+
/**
22+
* The class for the Assigned Training Info.
23+
*/
24+
public class AssignedTrainingInfo implements IJsonBackedObject {
25+
26+
/** the OData type of the object as returned by the service */
27+
@SerializedName("@odata.type")
28+
@Expose
29+
@Nullable
30+
public String oDataType;
31+
32+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
33+
34+
@Override
35+
@Nonnull
36+
public final AdditionalDataManager additionalDataManager() {
37+
return additionalDataManager;
38+
}
39+
40+
/**
41+
* The Assigned User Count.
42+
*
43+
*/
44+
@SerializedName(value = "assignedUserCount", alternate = {"AssignedUserCount"})
45+
@Expose
46+
@Nullable
47+
public Integer assignedUserCount;
48+
49+
/**
50+
* The Completed User Count.
51+
*
52+
*/
53+
@SerializedName(value = "completedUserCount", alternate = {"CompletedUserCount"})
54+
@Expose
55+
@Nullable
56+
public Integer completedUserCount;
57+
58+
/**
59+
* The Display Name.
60+
*
61+
*/
62+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
63+
@Expose
64+
@Nullable
65+
public String displayName;
66+
67+
68+
/**
69+
* Sets the raw JSON object
70+
*
71+
* @param serializer the serializer
72+
* @param json the JSON object to set this object to
73+
*/
74+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
75+
76+
}
77+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.AttackSimulationUser;
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 Attack Simulation Repeat Offender.
24+
*/
25+
public class AttackSimulationRepeatOffender 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 Attack Simulation User.
43+
*
44+
*/
45+
@SerializedName(value = "attackSimulationUser", alternate = {"AttackSimulationUser"})
46+
@Expose
47+
@Nullable
48+
public AttackSimulationUser attackSimulationUser;
49+
50+
/**
51+
* The Repeat Offence Count.
52+
*
53+
*/
54+
@SerializedName(value = "repeatOffenceCount", alternate = {"RepeatOffenceCount"})
55+
@Expose
56+
@Nullable
57+
public Integer repeatOffenceCount;
58+
59+
60+
/**
61+
* Sets the raw JSON object
62+
*
63+
* @param serializer the serializer
64+
* @param json the JSON object to set this object to
65+
*/
66+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
67+
68+
}
69+
}
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.Simulation;
13+
import com.microsoft.graph.models.Entity;
14+
import com.microsoft.graph.requests.SimulationCollectionPage;
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 Attack Simulation Root.
27+
*/
28+
public class AttackSimulationRoot extends Entity implements IJsonBackedObject {
29+
30+
31+
/**
32+
* The Simulations.
33+
*
34+
*/
35+
@SerializedName(value = "simulations", alternate = {"Simulations"})
36+
@Expose
37+
@Nullable
38+
public SimulationCollectionPage simulations;
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("simulations")) {
51+
simulations = serializer.deserializeObject(json.get("simulations"), SimulationCollectionPage.class);
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)