diff --git a/CHANGELOG.md b/CHANGELOG.md index db5367ee253..4a709e8ac92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [5.74.0] - 2023-10-13 + +### Changed + +- External/InternalSponsors for ConnectedOrganizationRequestBuilder are accessed via DirectoryObjectWithReferenceRequestBuilder, no longer DirectoryObjectRequestBuilder. + ## [5.73.0] - 2023-10-06 ### Added diff --git a/README.md b/README.md index 104cb632cc9..87fb1cf6ecd 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:5.73.0' + implementation 'com.microsoft.graph:microsoft-graph:5.74.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 - 5.73.0 + 5.74.0 @@ -204,5 +204,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI + diff --git a/gradle.properties b/gradle.properties index 2626ef38c6e..d7453a999bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph mavenMajorVersion = 5 -mavenMinorVersion = 73 +mavenMinorVersion = 74 mavenPatchVersion = 0 mavenArtifactSuffix = @@ -127,5 +127,6 @@ 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 2a735cae4c8..09cb91e3125 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 = "5.73.0"; + public static final String VERSION_NAME = "5.74.0"; } @@ -104,5 +104,6 @@ private Constants() { + diff --git a/src/main/java/com/microsoft/graph/models/AppliedConditionalAccessPolicy.java b/src/main/java/com/microsoft/graph/models/AppliedConditionalAccessPolicy.java index 53eb3192495..28f75ff28af 100644 --- a/src/main/java/com/microsoft/graph/models/AppliedConditionalAccessPolicy.java +++ b/src/main/java/com/microsoft/graph/models/AppliedConditionalAccessPolicy.java @@ -50,7 +50,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Enforced Grant Controls. - * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multifactor authentication'). */ @SerializedName(value = "enforcedGrantControls", alternate = {"EnforcedGrantControls"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java index 2fa85ce6fc1..ffc2778bb19 100644 --- a/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java +++ b/src/main/java/com/microsoft/graph/models/AuthenticationMethodsRoot.java @@ -29,7 +29,7 @@ public class AuthenticationMethodsRoot extends Entity implements IJsonBackedObje /** * The User Registration Details. - * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication). + * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). */ @SerializedName(value = "userRegistrationDetails", alternate = {"UserRegistrationDetails"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/CallTranscript.java b/src/main/java/com/microsoft/graph/models/CallTranscript.java index 1a3f73f6de4..2bb67733410 100644 --- a/src/main/java/com/microsoft/graph/models/CallTranscript.java +++ b/src/main/java/com/microsoft/graph/models/CallTranscript.java @@ -28,7 +28,7 @@ public class CallTranscript extends Entity implements IJsonBackedObject { /** * The Created Date Time. - * + * Date and time at which the transcript was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. */ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"}) @Expose @@ -37,7 +37,7 @@ public class CallTranscript extends Entity implements IJsonBackedObject { /** * The Meeting Id. - * + * The unique identifier of the online meeting related to this transcript. Read-only. */ @SerializedName(value = "meetingId", alternate = {"MeetingId"}) @Expose @@ -46,7 +46,7 @@ public class CallTranscript extends Entity implements IJsonBackedObject { /** * The Meeting Organizer. - * + * The identity information of the organizer of the onlineMeeting related to this transcript. Read-only. */ @SerializedName(value = "meetingOrganizer", alternate = {"MeetingOrganizer"}) @Expose @@ -55,7 +55,7 @@ public class CallTranscript extends Entity implements IJsonBackedObject { /** * The Transcript Content Url. - * + * The URL that can be used to access the content of the transcript. Read-only. */ @SerializedName(value = "transcriptContentUrl", alternate = {"TranscriptContentUrl"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ConnectedOrganization.java b/src/main/java/com/microsoft/graph/models/ConnectedOrganization.java index ef91534e648..310571add92 100644 --- a/src/main/java/com/microsoft/graph/models/ConnectedOrganization.java +++ b/src/main/java/com/microsoft/graph/models/ConnectedOrganization.java @@ -85,18 +85,14 @@ public class ConnectedOrganization extends Entity implements IJsonBackedObject { /** * The External Sponsors. * - */ - @SerializedName(value = "externalSponsors", alternate = {"ExternalSponsors"}) - @Expose + */ @Nullable public com.microsoft.graph.requests.DirectoryObjectCollectionPage externalSponsors; /** * The Internal Sponsors. * - */ - @SerializedName(value = "internalSponsors", alternate = {"InternalSponsors"}) - @Expose + */ @Nullable public com.microsoft.graph.requests.DirectoryObjectCollectionPage internalSponsors; diff --git a/src/main/java/com/microsoft/graph/models/CrossTenantAccessPolicyConfigurationPartner.java b/src/main/java/com/microsoft/graph/models/CrossTenantAccessPolicyConfigurationPartner.java index b431bb2f5bc..8d21cc0e1a3 100644 --- a/src/main/java/com/microsoft/graph/models/CrossTenantAccessPolicyConfigurationPartner.java +++ b/src/main/java/com/microsoft/graph/models/CrossTenantAccessPolicyConfigurationPartner.java @@ -115,7 +115,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Identity Synchronization. - * Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another. + * Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. */ @SerializedName(value = "identitySynchronization", alternate = {"IdentitySynchronization"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/EmailAuthenticationMethodConfiguration.java b/src/main/java/com/microsoft/graph/models/EmailAuthenticationMethodConfiguration.java index 11fd55b0e3c..60428674266 100644 --- a/src/main/java/com/microsoft/graph/models/EmailAuthenticationMethodConfiguration.java +++ b/src/main/java/com/microsoft/graph/models/EmailAuthenticationMethodConfiguration.java @@ -30,7 +30,7 @@ public class EmailAuthenticationMethodConfiguration extends AuthenticationMethod /** * The Allow External Id To Use Email Otp. - * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. + * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. */ @SerializedName(value = "allowExternalIdToUseEmailOtp", alternate = {"AllowExternalIdToUseEmailOtp"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/List.java b/src/main/java/com/microsoft/graph/models/List.java index fe9e18b603a..6d78a6073aa 100644 --- a/src/main/java/com/microsoft/graph/models/List.java +++ b/src/main/java/com/microsoft/graph/models/List.java @@ -46,7 +46,7 @@ public class List extends BaseItem implements IJsonBackedObject { /** * The List. - * Provides additional details about the list. + * Contains more details about the list. */ @SerializedName(value = "list", alternate = {"List"}) @Expose @@ -64,7 +64,7 @@ public class List extends BaseItem implements IJsonBackedObject { /** * The System. - * If present, indicates that this is a system-managed list. Read-only. + * If present, indicates that the list is system-managed. Read-only. */ @SerializedName(value = "system", alternate = {"System"}) @Expose @@ -91,7 +91,7 @@ public class List extends BaseItem implements IJsonBackedObject { /** * The Drive. - * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. + * Allows access to the list as a drive resource with driveItems. Only present on document libraries. */ @SerializedName(value = "drive", alternate = {"Drive"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/MalwareState.java b/src/main/java/com/microsoft/graph/models/MalwareState.java index b13d87d683c..61488b90e0b 100644 --- a/src/main/java/com/microsoft/graph/models/MalwareState.java +++ b/src/main/java/com/microsoft/graph/models/MalwareState.java @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Family. - * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * Provider-generated malware family (for example, 'wannacry,' 'notpetya,' etc.). */ @SerializedName(value = "family", alternate = {"Family"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ObjectIdentity.java b/src/main/java/com/microsoft/graph/models/ObjectIdentity.java index c4ffad0018e..df3c132903b 100644 --- a/src/main/java/com/microsoft/graph/models/ObjectIdentity.java +++ b/src/main/java/com/microsoft/graph/models/ObjectIdentity.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Issuer. - * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For guests from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. */ @SerializedName(value = "issuer", alternate = {"Issuer"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/OnlineMeeting.java b/src/main/java/com/microsoft/graph/models/OnlineMeeting.java index 4cf877cc02e..1b11a67f100 100644 --- a/src/main/java/com/microsoft/graph/models/OnlineMeeting.java +++ b/src/main/java/com/microsoft/graph/models/OnlineMeeting.java @@ -104,7 +104,7 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { /** * The Broadcast Settings. - * Settings related to a live event. + * */ @SerializedName(value = "broadcastSettings", alternate = {"BroadcastSettings"}) @Expose @@ -149,7 +149,7 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { /** * The Is Broadcast. - * Indicates if this is a Teams live event. + * */ @SerializedName(value = "isBroadcast", alternate = {"IsBroadcast"}) @Expose @@ -275,7 +275,7 @@ public class OnlineMeeting extends Entity implements IJsonBackedObject { /** * The Transcripts. - * + * The transcripts of an online meeting. Read-only. */ @SerializedName(value = "transcripts", alternate = {"Transcripts"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PlannerTask.java b/src/main/java/com/microsoft/graph/models/PlannerTask.java index 6f0babfb3c6..3a8e69097e0 100644 --- a/src/main/java/com/microsoft/graph/models/PlannerTask.java +++ b/src/main/java/com/microsoft/graph/models/PlannerTask.java @@ -71,7 +71,7 @@ public class PlannerTask extends Entity implements IJsonBackedObject { /** * The Bucket Id. - * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It's 28 characters long and case-sensitive. Format validation is done on the service. */ @SerializedName(value = "bucketId", alternate = {"BucketId"}) @Expose @@ -143,7 +143,7 @@ public class PlannerTask extends Entity implements IJsonBackedObject { /** * The Has Description. - * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. + * Read-only. Value is true if the details object of the task has a nonempty description and false otherwise. */ @SerializedName(value = "hasDescription", alternate = {"HasDescription"}) @Expose @@ -242,7 +242,7 @@ public class PlannerTask extends Entity implements IJsonBackedObject { /** * The Details. - * Read-only. Nullable. Additional details about the task. + * Read-only. Nullable. More details about the task. */ @SerializedName(value = "details", alternate = {"Details"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PresenceStatusMessage.java b/src/main/java/com/microsoft/graph/models/PresenceStatusMessage.java index 011d4ca68fc..5be2cd199e4 100644 --- a/src/main/java/com/microsoft/graph/models/PresenceStatusMessage.java +++ b/src/main/java/com/microsoft/graph/models/PresenceStatusMessage.java @@ -41,7 +41,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Expiry Date Time. - * Time in which the status message expires.If not provided, the status message does not expire.expiryDateTime.dateTime should not include time zone.expiryDateTime is not available when you request the presence of another user. + * Time in which the status message expires.If not provided, the status message doesn't expire.expiryDateTime.dateTime shouldn't include time zone.expiryDateTime isn't available when you request the presence of another user. */ @SerializedName(value = "expiryDateTime", alternate = {"ExpiryDateTime"}) @Expose @@ -59,7 +59,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Published Date Time. - * Time in which the status message was published.Read-only.publishedDateTime is not available when you request the presence of another user. + * Time in which the status message was published.Read-only.publishedDateTime isn't available when you request the presence of another user. */ @SerializedName(value = "publishedDateTime", alternate = {"PublishedDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/SubscribedSku.java b/src/main/java/com/microsoft/graph/models/SubscribedSku.java index b9e86a50461..b40d688f730 100644 --- a/src/main/java/com/microsoft/graph/models/SubscribedSku.java +++ b/src/main/java/com/microsoft/graph/models/SubscribedSku.java @@ -57,7 +57,7 @@ public class SubscribedSku extends Entity implements IJsonBackedObject { /** * The Capability Status. - * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. */ @SerializedName(value = "capabilityStatus", alternate = {"CapabilityStatus"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/UserRegistrationFeatureCount.java b/src/main/java/com/microsoft/graph/models/UserRegistrationFeatureCount.java index 57a2891fcc6..d5c5b1b9151 100644 --- a/src/main/java/com/microsoft/graph/models/UserRegistrationFeatureCount.java +++ b/src/main/java/com/microsoft/graph/models/UserRegistrationFeatureCount.java @@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Feature. - * Number of users registered or capable for multi-factor authentication, self-service password reset, and passwordless authentication. Possible values are: ssprRegistered, ssprEnabled, ssprCapable, passwordlessCapable, mfaCapable, unknownFutureValue. + * Number of users registered or capable for multifactor authentication, self-service password reset, and passwordless authentication. Possible values are: ssprRegistered, ssprEnabled, ssprCapable, passwordlessCapable, mfaCapable, unknownFutureValue. */ @SerializedName(value = "feature", alternate = {"Feature"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/WorkbookRange.java b/src/main/java/com/microsoft/graph/models/WorkbookRange.java index dcef2df48ed..4f2b402fc87 100644 --- a/src/main/java/com/microsoft/graph/models/WorkbookRange.java +++ b/src/main/java/com/microsoft/graph/models/WorkbookRange.java @@ -156,7 +156,7 @@ public class WorkbookRange extends Entity implements IJsonBackedObject { /** * The Text. - * Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. + * Text values of the specified range. The Text value doesn't depend on the cell width. The # sign substitution that happens in Excel UI doesn't affect the text value returned by the API. Read-only. */ @SerializedName(value = "text", alternate = {"Text"}) @Expose diff --git a/src/main/java/com/microsoft/graph/requests/ConnectedOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ConnectedOrganizationRequestBuilder.java index 6e37b5edbd7..614431ba383 100644 --- a/src/main/java/com/microsoft/graph/requests/ConnectedOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/ConnectedOrganizationRequestBuilder.java @@ -62,8 +62,8 @@ public ConnectedOrganizationRequest buildRequest(@Nonnull final java.util.List