Skip to content

Commit 1b7b3f0

Browse files
Merge pull request #1415 from microsoftgraph/v1.0/pipelinebuild/112909
Generated models and request builders
2 parents 1d3ce9f + a78c3d2 commit 1b7b3f0

File tree

65 files changed

+4147
-13
lines changed

Some content is hidden

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

65 files changed

+4147
-13
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.54.0] - 2023-04-20
15+
16+
### Added
17+
18+
- AuthenticationCombinationConfiguration model and requests.
19+
- AuthenticationMethodMode derived models and requests.
20+
- AuthenticationStrengthPolicy derived models and requests.
21+
1422
## [5.53.0] - 2023-04-11
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.53.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.54.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.53.0</version>
39+
<version>5.54.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -184,5 +184,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
184184

185185

186186

187+
187188

188189

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

@@ -107,5 +107,6 @@ mavenCentralPublishingEnabled=false
107107

108108

109109

110+
110111

111112

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

2424

@@ -84,5 +84,6 @@ private Constants() {
8484

8585

8686

87+
8788

8889

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class AppManagementPolicy extends PolicyBase implements IJsonBackedObject
3030

3131
/**
3232
* The Is Enabled.
33-
*
33+
* Denotes whether the policy is enabled.
3434
*/
3535
@SerializedName(value = "isEnabled", alternate = {"IsEnabled"})
3636
@Expose
@@ -39,7 +39,7 @@ public class AppManagementPolicy extends PolicyBase implements IJsonBackedObject
3939

4040
/**
4141
* The Restrictions.
42-
*
42+
* Restrictions that apply to an application or service principal object.
4343
*/
4444
@SerializedName(value = "restrictions", alternate = {"Restrictions"})
4545
@Expose
@@ -48,7 +48,7 @@ public class AppManagementPolicy extends PolicyBase implements IJsonBackedObject
4848

4949
/**
5050
* The Applies To.
51-
*
51+
* Collection of applications and service principals to which the policy is applied.
5252
*/
5353
@Nullable
5454
public com.microsoft.graph.requests.DirectoryObjectCollectionPage appliesTo;
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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.AuthenticationMethodModes;
13+
import com.microsoft.graph.models.Entity;
14+
15+
16+
import com.google.gson.JsonObject;
17+
import com.google.gson.annotations.SerializedName;
18+
import com.google.gson.annotations.Expose;
19+
import javax.annotation.Nullable;
20+
import javax.annotation.Nonnull;
21+
22+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
23+
24+
/**
25+
* The class for the Authentication Combination Configuration.
26+
*/
27+
public class AuthenticationCombinationConfiguration extends Entity implements IJsonBackedObject {
28+
29+
30+
/**
31+
* The Applies To Combinations.
32+
*
33+
*/
34+
@SerializedName(value = "appliesToCombinations", alternate = {"AppliesToCombinations"})
35+
@Expose
36+
@Nullable
37+
public java.util.List<EnumSet<AuthenticationMethodModes>> appliesToCombinations;
38+
39+
40+
/**
41+
* Sets the raw JSON object
42+
*
43+
* @param serializer the serializer
44+
* @param json the JSON object to set this object to
45+
*/
46+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
47+
48+
}
49+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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.BaseAuthenticationMethod;
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 Authentication Method Mode Detail.
25+
*/
26+
public class AuthenticationMethodModeDetail extends Entity implements IJsonBackedObject {
27+
28+
29+
/**
30+
* The Authentication Method.
31+
*
32+
*/
33+
@SerializedName(value = "authenticationMethod", alternate = {"AuthenticationMethod"})
34+
@Expose
35+
@Nullable
36+
public BaseAuthenticationMethod authenticationMethod;
37+
38+
/**
39+
* The Display Name.
40+
*
41+
*/
42+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
43+
@Expose
44+
@Nullable
45+
public String displayName;
46+
47+
48+
/**
49+
* Sets the raw JSON object
50+
*
51+
* @param serializer the serializer
52+
* @param json the JSON object to set this object to
53+
*/
54+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
55+
56+
}
57+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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 Method Modes.
11+
*/
12+
public enum AuthenticationMethodModes
13+
{
14+
/**
15+
* password
16+
*/
17+
PASSWORD,
18+
/**
19+
* voice
20+
*/
21+
VOICE,
22+
/**
23+
* hardware Oath
24+
*/
25+
HARDWARE_OATH,
26+
/**
27+
* software Oath
28+
*/
29+
SOFTWARE_OATH,
30+
/**
31+
* sms
32+
*/
33+
SMS,
34+
/**
35+
* fido2
36+
*/
37+
FIDO2,
38+
/**
39+
* windows Hello For Business
40+
*/
41+
WINDOWS_HELLO_FOR_BUSINESS,
42+
/**
43+
* microsoft Authenticator Push
44+
*/
45+
MICROSOFT_AUTHENTICATOR_PUSH,
46+
/**
47+
* device Based Push
48+
*/
49+
DEVICE_BASED_PUSH,
50+
/**
51+
* temporary Access Pass One Time
52+
*/
53+
TEMPORARY_ACCESS_PASS_ONE_TIME,
54+
/**
55+
* temporary Access Pass Multi Use
56+
*/
57+
TEMPORARY_ACCESS_PASS_MULTI_USE,
58+
/**
59+
* email
60+
*/
61+
EMAIL,
62+
/**
63+
* x509Certificate Single Factor
64+
*/
65+
X509_CERTIFICATE_SINGLE_FACTOR,
66+
/**
67+
* x509Certificate Multi Factor
68+
*/
69+
X509_CERTIFICATE_MULTI_FACTOR,
70+
/**
71+
* federated Single Factor
72+
*/
73+
FEDERATED_SINGLE_FACTOR,
74+
/**
75+
* federated Multi Factor
76+
*/
77+
FEDERATED_MULTI_FACTOR,
78+
/**
79+
* unknown Future Value
80+
*/
81+
UNKNOWN_FUTURE_VALUE,
82+
/**
83+
* For AuthenticationMethodModes values that were not expected from the service
84+
*/
85+
UNEXPECTED_VALUE
86+
}

0 commit comments

Comments
 (0)