Skip to content

Commit 80fbbc2

Browse files
authored
Merge pull request #1391 from microsoftgraph/v1.0/pipelinebuild/111491
Generated models and request builders
2 parents 8777ee4 + 861644f commit 80fbbc2

35 files changed

+1679
-23
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [5.51.0] - 2023-03-28
15+
16+
### Added
17+
18+
- Adds AuthenticationMethodConfiguration derived types instances
19+
- Added AuthenticationMethodsPolicyMigrationState
20+
21+
1422
## [5.50.0] - 2023-03-21
1523

1624
### Added

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.50.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.51.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.50.0</version>
39+
<version>5.51.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -181,5 +181,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
181181

182182

183183

184+
184185

185186

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

@@ -104,5 +104,6 @@ mavenCentralPublishingEnabled=false
104104

105105

106106

107+
107108

108109

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

2424

@@ -81,5 +81,6 @@ private Constants() {
8181

8282

8383

84+
8485

8586

src/main/java/com/microsoft/graph/models/AppManagementConfiguration.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 Key Credentials.
45-
*
45+
* Collection of keyCredential restrictions settings to be applied to an application or service principal.
4646
*/
4747
@SerializedName(value = "keyCredentials", alternate = {"KeyCredentials"})
4848
@Expose
@@ -51,7 +51,7 @@ public final AdditionalDataManager additionalDataManager() {
5151

5252
/**
5353
* The Password Credentials.
54-
*
54+
* Collection of password restrictions settings to be applied to an application or service principal.
5555
*/
5656
@SerializedName(value = "passwordCredentials", alternate = {"PasswordCredentials"})
5757
@Expose

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
265265

266266
/**
267267
* The Request Signature Verification.
268-
*
268+
* Specifies whether this application requires Azure AD to verify the signed authentication requests.
269269
*/
270270
@SerializedName(value = "requestSignatureVerification", alternate = {"RequestSignatureVerification"})
271271
@Expose
@@ -355,7 +355,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
355355

356356
/**
357357
* The App Management Policies.
358-
*
358+
* The appManagementPolicy applied to this application.
359359
*/
360360
@Nullable
361361
public com.microsoft.graph.requests.AppManagementPolicyCollectionPage appManagementPolicies;

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
12+
import com.microsoft.graph.models.ExcludeTarget;
1113
import com.microsoft.graph.models.AuthenticationMethodState;
1214
import com.microsoft.graph.models.Entity;
1315

@@ -26,6 +28,15 @@
2628
public class AuthenticationMethodConfiguration extends Entity implements IJsonBackedObject {
2729

2830

31+
/**
32+
* The Exclude Targets.
33+
* Groups of users that are excluded from a policy.
34+
*/
35+
@SerializedName(value = "excludeTargets", alternate = {"ExcludeTargets"})
36+
@Expose
37+
@Nullable
38+
public java.util.List<ExcludeTarget> excludeTargets;
39+
2940
/**
3041
* The State.
3142
* The state of the policy. Possible values are: enabled, disabled.

src/main/java/com/microsoft/graph/models/AuthenticationMethodsPolicy.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.AuthenticationMethodsPolicyMigrationState;
1213
import com.microsoft.graph.models.RegistrationEnforcement;
1314
import com.microsoft.graph.models.Entity;
1415
import com.microsoft.graph.requests.AuthenticationMethodConfigurationCollectionPage;
@@ -55,6 +56,15 @@ public class AuthenticationMethodsPolicy extends Entity implements IJsonBackedOb
5556
@Nullable
5657
public java.time.OffsetDateTime lastModifiedDateTime;
5758

59+
/**
60+
* The Policy Migration State.
61+
* The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use.
62+
*/
63+
@SerializedName(value = "policyMigrationState", alternate = {"PolicyMigrationState"})
64+
@Expose
65+
@Nullable
66+
public AuthenticationMethodsPolicyMigrationState policyMigrationState;
67+
5868
/**
5969
* The Policy Version.
6070
* The version of the policy in use. Read-only.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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 Authentication Methods Policy Migration State.
11+
*/
12+
public enum AuthenticationMethodsPolicyMigrationState
13+
{
14+
/**
15+
* pre Migration
16+
*/
17+
PRE_MIGRATION,
18+
/**
19+
* migration In Progress
20+
*/
21+
MIGRATION_IN_PROGRESS,
22+
/**
23+
* migration Complete
24+
*/
25+
MIGRATION_COMPLETE,
26+
/**
27+
* unknown Future Value
28+
*/
29+
UNKNOWN_FUTURE_VALUE,
30+
/**
31+
* For AuthenticationMethodsPolicyMigrationState values that were not expected from the service
32+
*/
33+
UNEXPECTED_VALUE
34+
}

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

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

5050
/**
5151
* The Restrict For Apps Created After Date Time.
52-
*
52+
* Timestamp when the policy is enforced for all apps created on or after the specified date. For existing applications, the enforcement date would be back dated. To apply to all applications regardless of their creation date, this property would be null. Nullable.
5353
*/
5454
@SerializedName(value = "restrictForAppsCreatedAfterDateTime", alternate = {"RestrictForAppsCreatedAfterDateTime"})
5555
@Expose
@@ -58,7 +58,7 @@ public final AdditionalDataManager additionalDataManager() {
5858

5959
/**
6060
* The Restriction Type.
61-
*
61+
* The type of restriction being applied. Possible values are asymmetricKeyLifetime, unknownFutureValue. Each value of restrictionType can be used only once per policy.
6262
*/
6363
@SerializedName(value = "restrictionType", alternate = {"RestrictionType"})
6464
@Expose

0 commit comments

Comments
 (0)