From 04f12718afa08273083685ec1881d3a033b83148 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Jun 2021 10:10:02 +0000 Subject: [PATCH 1/2] Update generated files with build 50950 --- README.md | 5 +++-- gradle.properties | 3 ++- src/main/java/com/microsoft/graph/info/Constants.java | 3 ++- .../java/com/microsoft/graph/models/Application.java | 9 +++++++++ .../java/com/microsoft/graph/models/ChatMessage.java | 2 +- .../com/microsoft/graph/models/ServicePrincipal.java | 9 +++++++++ .../com/microsoft/graph/models/WorkforceIntegration.java | 2 +- 7 files changed, 27 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 05aa48b1d5d..26191bb324d 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ repositories { dependencies { // Include the sdk as a dependency - implementation 'com.microsoft.graph:microsoft-graph:3.7.0' + implementation 'com.microsoft.graph:microsoft-graph:3.8.0' // Uncomment the line below if you are building an android application //implementation 'com.google.guava:guava:30.1.1-android' // This dependency is only needed if you are using the TokenCrendentialAuthProvider @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph - 3.7.0 + 3.8.0 @@ -142,3 +142,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI + diff --git a/gradle.properties b/gradle.properties index 424e9ae3e60..33519f39e68 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph mavenMajorVersion = 3 -mavenMinorVersion = 7 +mavenMinorVersion = 8 mavenPatchVersion = 0 mavenArtifactSuffix = @@ -51,3 +51,4 @@ mavenCentralPublishingEnabled=false + diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java index d0ece0b9e25..fd2c4183437 100644 --- a/src/main/java/com/microsoft/graph/info/Constants.java +++ b/src/main/java/com/microsoft/graph/info/Constants.java @@ -18,7 +18,7 @@ private Constants() { /** The client secret to use for unit testing */ public static final String CLIENTSECRET = "clientsecret"; /** The SDK version */ - public static final String VERSION_NAME = "3.7.0"; + public static final String VERSION_NAME = "3.8.0"; } @@ -28,3 +28,4 @@ private Constants() { + diff --git a/src/main/java/com/microsoft/graph/models/Application.java b/src/main/java/com/microsoft/graph/models/Application.java index 341339dc36b..66e23ba40ab 100644 --- a/src/main/java/com/microsoft/graph/models/Application.java +++ b/src/main/java/com/microsoft/graph/models/Application.java @@ -110,6 +110,15 @@ public class Application extends DirectoryObject implements IJsonBackedObject { @Nullable public String description; + /** + * The Disabled By Microsoft Status. + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). + */ + @SerializedName(value = "disabledByMicrosoftStatus", alternate = {"DisabledByMicrosoftStatus"}) + @Expose + @Nullable + public String disabledByMicrosoftStatus; + /** * The Display Name. * The display name for the application. diff --git a/src/main/java/com/microsoft/graph/models/ChatMessage.java b/src/main/java/com/microsoft/graph/models/ChatMessage.java index 7781426a68d..f18b60c2ba3 100644 --- a/src/main/java/com/microsoft/graph/models/ChatMessage.java +++ b/src/main/java/com/microsoft/graph/models/ChatMessage.java @@ -221,7 +221,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject { /** * The Hosted Contents. - * Content in a message hosted by Microsoft Teams e.g., images, code snippets etc. + * Content in a message hosted by Microsoft Teams - for example, images or code snippets. */ @SerializedName(value = "hostedContents", alternate = {"HostedContents"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ServicePrincipal.java b/src/main/java/com/microsoft/graph/models/ServicePrincipal.java index 8164e18450b..f844650b791 100644 --- a/src/main/java/com/microsoft/graph/models/ServicePrincipal.java +++ b/src/main/java/com/microsoft/graph/models/ServicePrincipal.java @@ -149,6 +149,15 @@ public class ServicePrincipal extends DirectoryObject implements IJsonBackedObje @Nullable public String description; + /** + * The Disabled By Microsoft Status. + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). + */ + @SerializedName(value = "disabledByMicrosoftStatus", alternate = {"DisabledByMicrosoftStatus"}) + @Expose + @Nullable + public String disabledByMicrosoftStatus; + /** * The Display Name. * The display name for the service principal. diff --git a/src/main/java/com/microsoft/graph/models/WorkforceIntegration.java b/src/main/java/com/microsoft/graph/models/WorkforceIntegration.java index f9dd72098e9..2dfda7f2fbe 100644 --- a/src/main/java/com/microsoft/graph/models/WorkforceIntegration.java +++ b/src/main/java/com/microsoft/graph/models/WorkforceIntegration.java @@ -65,7 +65,7 @@ public class WorkforceIntegration extends ChangeTrackedEntity implements IJsonBa /** * The Supported Entities. - * This property will replace supports in v1.0. We recommend that you use this property instead of supports. The supports property will still be supported in beta for the time being. Possible values are none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences. If selecting more than one value, all values must start with the first letter in uppercase. + * This property will replace supports in v1.0. We recommend that you use this property instead of supports. The supports property will still be supported in beta for the time being. Possible values are none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, timeCard, timeOffReason, timeOff, timeOffRequest and unknownFutureValue. If selecting more than one value, all values must start with the first letter in uppercase. */ @SerializedName(value = "supportedEntities", alternate = {"SupportedEntities"}) @Expose From 2ca026a87164d3dbe024efd51dce27ec3d3b15a7 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Jun 2021 11:29:28 +0000 Subject: [PATCH 2/2] - updates types summary --- typeSummary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/typeSummary.txt b/typeSummary.txt index b7d5ae5c730..e770dabdc83 100644 --- a/typeSummary.txt +++ b/typeSummary.txt @@ -6609,6 +6609,7 @@ property createdOnBehalfOf : com.microsoft.graph.models.DirectoryObject property deletedDateTime : java.time.OffsetDateTime property description : java.lang.String + property disabledByMicrosoftStatus : java.lang.String property displayName : java.lang.String property extensionProperties : com.microsoft.graph.requests.ExtensionPropertyCollectionPage property groupMembershipClaims : java.lang.String @@ -18335,6 +18336,7 @@ property delegatedPermissionClassifications : com.microsoft.graph.requests.DelegatedPermissionClassificationCollectionPage property deletedDateTime : java.time.OffsetDateTime property description : java.lang.String + property disabledByMicrosoftStatus : java.lang.String property displayName : java.lang.String property endpoints : com.microsoft.graph.requests.EndpointCollectionPage property homeRealmDiscoveryPolicies : com.microsoft.graph.requests.HomeRealmDiscoveryPolicyCollectionPage