Skip to content

Commit 4896ac0

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 112909
1 parent 1d3ce9f commit 4896ac0

File tree

64 files changed

+4139
-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.

64 files changed

+4139
-13
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.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+
}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
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.AuthenticationStrengthPolicyType;
14+
import com.microsoft.graph.models.AuthenticationStrengthRequirements;
15+
import com.microsoft.graph.models.Entity;
16+
import com.microsoft.graph.requests.AuthenticationCombinationConfigurationCollectionPage;
17+
18+
19+
import com.google.gson.JsonObject;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.google.gson.annotations.Expose;
22+
import javax.annotation.Nullable;
23+
import javax.annotation.Nonnull;
24+
25+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
26+
27+
/**
28+
* The class for the Authentication Strength Policy.
29+
*/
30+
public class AuthenticationStrengthPolicy extends Entity implements IJsonBackedObject {
31+
32+
33+
/**
34+
* The Allowed Combinations.
35+
*
36+
*/
37+
@SerializedName(value = "allowedCombinations", alternate = {"AllowedCombinations"})
38+
@Expose
39+
@Nullable
40+
public java.util.List<EnumSet<AuthenticationMethodModes>> allowedCombinations;
41+
42+
/**
43+
* The Created Date Time.
44+
*
45+
*/
46+
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
47+
@Expose
48+
@Nullable
49+
public java.time.OffsetDateTime createdDateTime;
50+
51+
/**
52+
* The Description.
53+
*
54+
*/
55+
@SerializedName(value = "description", alternate = {"Description"})
56+
@Expose
57+
@Nullable
58+
public String description;
59+
60+
/**
61+
* The Display Name.
62+
*
63+
*/
64+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
65+
@Expose
66+
@Nullable
67+
public String displayName;
68+
69+
/**
70+
* The Modified Date Time.
71+
*
72+
*/
73+
@SerializedName(value = "modifiedDateTime", alternate = {"ModifiedDateTime"})
74+
@Expose
75+
@Nullable
76+
public java.time.OffsetDateTime modifiedDateTime;
77+
78+
/**
79+
* The Policy Type.
80+
*
81+
*/
82+
@SerializedName(value = "policyType", alternate = {"PolicyType"})
83+
@Expose
84+
@Nullable
85+
public AuthenticationStrengthPolicyType policyType;
86+
87+
/**
88+
* The Requirements Satisfied.
89+
*
90+
*/
91+
@SerializedName(value = "requirementsSatisfied", alternate = {"RequirementsSatisfied"})
92+
@Expose
93+
@Nullable
94+
public EnumSet<AuthenticationStrengthRequirements> requirementsSatisfied;
95+
96+
/**
97+
* The Combination Configurations.
98+
*
99+
*/
100+
@SerializedName(value = "combinationConfigurations", alternate = {"CombinationConfigurations"})
101+
@Expose
102+
@Nullable
103+
public com.microsoft.graph.requests.AuthenticationCombinationConfigurationCollectionPage combinationConfigurations;
104+
105+
106+
/**
107+
* Sets the raw JSON object
108+
*
109+
* @param serializer the serializer
110+
* @param json the JSON object to set this object to
111+
*/
112+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
113+
114+
115+
if (json.has("combinationConfigurations")) {
116+
combinationConfigurations = serializer.deserializeObject(json.get("combinationConfigurations"), com.microsoft.graph.requests.AuthenticationCombinationConfigurationCollectionPage.class);
117+
}
118+
}
119+
}

0 commit comments

Comments
 (0)