Skip to content

Commit f341e92

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 108339
1 parent a9d2459 commit f341e92

File tree

106 files changed

+5552
-1029
lines changed

Some content is hidden

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

106 files changed

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

179179

180180

181+
181182

182183

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

@@ -101,5 +101,6 @@ mavenCentralPublishingEnabled=false
101101

102102

103103

104+
104105

105106

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

2424

@@ -78,5 +78,6 @@ private Constants() {
7878

7979

8080

81+
8182

8283

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked
155155

156156
/**
157157
* The Questions.
158-
*
158+
* Questions that are posed to the requestor.
159159
*/
160160
@SerializedName(value = "questions", alternate = {"Questions"})
161161
@Expose
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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 App Credential Restriction Type.
11+
*/
12+
public enum AppCredentialRestrictionType
13+
{
14+
/**
15+
* password Addition
16+
*/
17+
PASSWORD_ADDITION,
18+
/**
19+
* password Lifetime
20+
*/
21+
PASSWORD_LIFETIME,
22+
/**
23+
* symmetric Key Addition
24+
*/
25+
SYMMETRIC_KEY_ADDITION,
26+
/**
27+
* symmetric Key Lifetime
28+
*/
29+
SYMMETRIC_KEY_LIFETIME,
30+
/**
31+
* custom Password Addition
32+
*/
33+
CUSTOM_PASSWORD_ADDITION,
34+
/**
35+
* unknown Future Value
36+
*/
37+
UNKNOWN_FUTURE_VALUE,
38+
/**
39+
* For AppCredentialRestrictionType values that were not expected from the service
40+
*/
41+
UNEXPECTED_VALUE
42+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 App Key Credential Restriction Type.
11+
*/
12+
public enum AppKeyCredentialRestrictionType
13+
{
14+
/**
15+
* asymmetric Key Lifetime
16+
*/
17+
ASYMMETRIC_KEY_LIFETIME,
18+
/**
19+
* unknown Future Value
20+
*/
21+
UNKNOWN_FUTURE_VALUE,
22+
/**
23+
* For AppKeyCredentialRestrictionType values that were not expected from the service
24+
*/
25+
UNEXPECTED_VALUE
26+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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.KeyCredentialConfiguration;
13+
import com.microsoft.graph.models.PasswordCredentialConfiguration;
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 App Management Configuration.
26+
*/
27+
public class AppManagementConfiguration implements IJsonBackedObject {
28+
29+
/** the OData type of the object as returned by the service */
30+
@SerializedName("@odata.type")
31+
@Expose
32+
@Nullable
33+
public String oDataType;
34+
35+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
36+
37+
@Override
38+
@Nonnull
39+
public final AdditionalDataManager additionalDataManager() {
40+
return additionalDataManager;
41+
}
42+
43+
/**
44+
* The Key Credentials.
45+
*
46+
*/
47+
@SerializedName(value = "keyCredentials", alternate = {"KeyCredentials"})
48+
@Expose
49+
@Nullable
50+
public java.util.List<KeyCredentialConfiguration> keyCredentials;
51+
52+
/**
53+
* The Password Credentials.
54+
*
55+
*/
56+
@SerializedName(value = "passwordCredentials", alternate = {"PasswordCredentials"})
57+
@Expose
58+
@Nullable
59+
public java.util.List<PasswordCredentialConfiguration> passwordCredentials;
60+
61+
62+
/**
63+
* Sets the raw JSON object
64+
*
65+
* @param serializer the serializer
66+
* @param json the JSON object to set this object to
67+
*/
68+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
69+
70+
}
71+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.AppManagementConfiguration;
13+
import com.microsoft.graph.models.PolicyBase;
14+
import com.microsoft.graph.requests.DirectoryObjectCollectionPage;
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 App Management Policy.
27+
*/
28+
public class AppManagementPolicy extends PolicyBase implements IJsonBackedObject {
29+
30+
31+
/**
32+
* The Is Enabled.
33+
*
34+
*/
35+
@SerializedName(value = "isEnabled", alternate = {"IsEnabled"})
36+
@Expose
37+
@Nullable
38+
public Boolean isEnabled;
39+
40+
/**
41+
* The Restrictions.
42+
*
43+
*/
44+
@SerializedName(value = "restrictions", alternate = {"Restrictions"})
45+
@Expose
46+
@Nullable
47+
public AppManagementConfiguration restrictions;
48+
49+
/**
50+
* The Applies To.
51+
*
52+
*/
53+
@Nullable
54+
public com.microsoft.graph.requests.DirectoryObjectCollectionPage appliesTo;
55+
56+
57+
/**
58+
* Sets the raw JSON object
59+
*
60+
* @param serializer the serializer
61+
* @param json the JSON object to set this object to
62+
*/
63+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
64+
65+
66+
if (json.has("appliesTo")) {
67+
appliesTo = serializer.deserializeObject(json.get("appliesTo"), com.microsoft.graph.requests.DirectoryObjectCollectionPage.class);
68+
}
69+
}
70+
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.microsoft.graph.models.VerifiedPublisher;
2626
import com.microsoft.graph.models.WebApplication;
2727
import com.microsoft.graph.models.DirectoryObject;
28+
import com.microsoft.graph.requests.AppManagementPolicyCollectionPage;
2829
import com.microsoft.graph.requests.ExtensionPropertyCollectionPage;
2930
import com.microsoft.graph.requests.FederatedIdentityCredentialCollectionPage;
3031
import com.microsoft.graph.requests.HomeRealmDiscoveryPolicyCollectionPage;
@@ -352,6 +353,13 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
352353
@Nullable
353354
public WebApplication web;
354355

356+
/**
357+
* The App Management Policies.
358+
*
359+
*/
360+
@Nullable
361+
public com.microsoft.graph.requests.AppManagementPolicyCollectionPage appManagementPolicies;
362+
355363
/**
356364
* The Created On Behalf Of.
357365
* Supports $filter (/$count eq 0, /$count ne 0). Read-only.
@@ -417,6 +425,10 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
417425
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
418426

419427

428+
if (json.has("appManagementPolicies")) {
429+
appManagementPolicies = serializer.deserializeObject(json.get("appManagementPolicies"), com.microsoft.graph.requests.AppManagementPolicyCollectionPage.class);
430+
}
431+
420432
if (json.has("extensionProperties")) {
421433
extensionProperties = serializer.deserializeObject(json.get("extensionProperties"), com.microsoft.graph.requests.ExtensionPropertyCollectionPage.class);
422434
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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.ConversationMember;
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 Azure Communication Services User Conversation Member.
24+
*/
25+
public class AzureCommunicationServicesUserConversationMember extends ConversationMember implements IJsonBackedObject {
26+
27+
28+
/**
29+
* The Azure Communication Services Id.
30+
* Azure Communication Services ID of the user.
31+
*/
32+
@SerializedName(value = "azureCommunicationServicesId", alternate = {"AzureCommunicationServicesId"})
33+
@Expose
34+
@Nullable
35+
public String azureCommunicationServicesId;
36+
37+
38+
/**
39+
* Sets the raw JSON object
40+
*
41+
* @param serializer the serializer
42+
* @param json the JSON object to set this object to
43+
*/
44+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
45+
46+
}
47+
}

0 commit comments

Comments
 (0)