Skip to content

Commit

Permalink
Merge pull request #1568 from microsoftgraph/v1.0/pipelinebuild/126471
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Oct 13, 2023
2 parents c7b0743 + fb8d150 commit 1b38dbe
Show file tree
Hide file tree
Showing 20 changed files with 47 additions and 42 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>5.73.0</version>
<version>5.74.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -204,5 +204,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI






3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
mavenMinorVersion = 73
mavenMinorVersion = 74
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -127,5 +127,6 @@ mavenCentralPublishingEnabled=false






3 changes: 2 additions & 1 deletion src/main/java/com/microsoft/graph/info/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}


Expand Down Expand Up @@ -104,5 +104,6 @@ private Constants() {






Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/microsoft/graph/models/CallTranscript.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/graph/models/List.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/MalwareState.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/graph/models/OnlineMeeting.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/graph/models/PlannerTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public ConnectedOrganizationRequest buildRequest(@Nonnull final java.util.List<?
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.DirectoryObjectCollectionRequestBuilder externalSponsors() {
return new com.microsoft.graph.requests.DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("externalSponsors"), getClient(), null);
public com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesRequestBuilder externalSponsors() {
return new com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("externalSponsors"), getClient(), null);
}

/**
Expand All @@ -73,17 +73,17 @@ public com.microsoft.graph.requests.DirectoryObjectCollectionRequestBuilder exte
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.DirectoryObjectRequestBuilder externalSponsors(@Nonnull final String id) {
return new com.microsoft.graph.requests.DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("externalSponsors") + "/" + id, getClient(), null);
public com.microsoft.graph.requests.DirectoryObjectWithReferenceRequestBuilder externalSponsors(@Nonnull final String id) {
return new com.microsoft.graph.requests.DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("externalSponsors") + "/" + id, getClient(), null);
}
/**
* Gets a request builder for the DirectoryObject collection
*
* @return the collection request builder
*/
@Nonnull
public com.microsoft.graph.requests.DirectoryObjectCollectionRequestBuilder internalSponsors() {
return new com.microsoft.graph.requests.DirectoryObjectCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("internalSponsors"), getClient(), null);
public com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesRequestBuilder internalSponsors() {
return new com.microsoft.graph.requests.DirectoryObjectCollectionWithReferencesRequestBuilder(getRequestUrlWithAdditionalSegment("internalSponsors"), getClient(), null);
}

/**
Expand All @@ -93,7 +93,7 @@ public com.microsoft.graph.requests.DirectoryObjectCollectionRequestBuilder inte
* @param id the item identifier
*/
@Nonnull
public com.microsoft.graph.requests.DirectoryObjectRequestBuilder internalSponsors(@Nonnull final String id) {
return new com.microsoft.graph.requests.DirectoryObjectRequestBuilder(getRequestUrlWithAdditionalSegment("internalSponsors") + "/" + id, getClient(), null);
public com.microsoft.graph.requests.DirectoryObjectWithReferenceRequestBuilder internalSponsors(@Nonnull final String id) {
return new com.microsoft.graph.requests.DirectoryObjectWithReferenceRequestBuilder(getRequestUrlWithAdditionalSegment("internalSponsors") + "/" + id, getClient(), null);
}
}

0 comments on commit 1b38dbe

Please sign in to comment.