Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.72.0] - 2023-09-29

### Added

- AssignmentSchedule, EligibilitySchedule, PrivilegedAccessGroup, PrivilegedAccessRoot, ResellerDelegatedAdminRelationship models and derived requests.
- ScheduleRequestActions model.

### Changed

- DelegatedAdminRelationshipRequest, DirectoryRequestBuilder, IdentityGovernance, IdentityGovernanceRequestBuilder, Incident, SubjectRightsRequest classes.

## [5.71.0] - 2023-09-22

### 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.71.0'
implementation 'com.microsoft.graph:microsoft-graph:5.72.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.71.0</version>
<version>5.72.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -202,5 +202,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 = 71
mavenMinorVersion = 72
mavenPatchVersion = 0
mavenArtifactSuffix =

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






Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Value.
* The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup
* The unique identifer of the identity. For Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup
*/
@SerializedName(value = "value", alternate = {"Value"})
@Expose
Expand Down
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.71.0";
public static final String VERSION_NAME = "5.72.0";
}


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






Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AgreementFileProperties extends Entity implements IJsonBackedObject

/**
* The Created Date Time.
* The date time representing when the file was created.The Timestamp 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.
* The date time representing when the file was created. The Timestamp 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.
*/
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
@Expose
Expand Down Expand Up @@ -64,7 +64,7 @@ public class AgreementFileProperties extends Entity implements IJsonBackedObject

/**
* The Is Default.
* If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only.
* If none of the languages matches the client preference, indicates whether this is the default agreement file. If none of the files are marked as default, the first one is treated as the default. Read-only.
*/
@SerializedName(value = "isDefault", alternate = {"IsDefault"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Pre Authorized Applications.
* Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
* Lists the client applications that are preauthorized with the specified delegated permissions to access this application's APIs. Users aren't required to consent to any preauthorized application (for the permissions specified). However, any other permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
*/
@SerializedName(value = "preAuthorizedApplications", alternate = {"PreAuthorizedApplications"})
@Expose
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/AppIdentity.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Display Name.
* Refers to the Application Name displayed in the Azure Portal.
* Refers to the application name displayed in the Microsoft Entra admin center.
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Assignment Schedule Filter By Current User Options.
*/
public enum AssignmentScheduleFilterByCurrentUserOptions
{
/**
* principal
*/
PRINCIPAL,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For AssignmentScheduleFilterByCurrentUserOptions values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Assignment Schedule Instance Filter By Current User Options.
*/
public enum AssignmentScheduleInstanceFilterByCurrentUserOptions
{
/**
* principal
*/
PRINCIPAL,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For AssignmentScheduleInstanceFilterByCurrentUserOptions values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Assignment Schedule Request Filter By Current User Options.
*/
public enum AssignmentScheduleRequestFilterByCurrentUserOptions
{
/**
* principal
*/
PRINCIPAL,
/**
* created By
*/
CREATED_BY,
/**
* approver
*/
APPROVER,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For AssignmentScheduleRequestFilterByCurrentUserOptions values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class AttachmentBase extends Entity implements IJsonBackedObject {

/**
* The Name.
* The display name of the attachment. This does not need to be the actual file name.
* The display name of the attachment. This doesn't need to be the actual file name.
*/
@SerializedName(value = "name", alternate = {"Name"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class AuthenticationContextClassReference extends Entity implements IJson

/**
* The Is Available.
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in authentication context selection UX, or used to protect app resources. It will be shown and available for Conditional Access policy authoring. The default value is false. Supports $filter (eq).
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it's set to false, it shouldn't be shown in authentication context selection UX, or used to protect app resources. It's shown and available for Conditional Access policy authoring. The default value is false. Supports $filter (eq).
*/
@SerializedName(value = "isAvailable", alternate = {"IsAvailable"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Allowed To Create Apps.
* Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Azure portal.
* Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Microsoft Entra admin center.
*/
@SerializedName(value = "allowedToCreateApps", alternate = {"AllowedToCreateApps"})
@Expose
Expand All @@ -49,7 +49,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Allowed To Create Security Groups.
* Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu.
* Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Microsoft Entra admin center: The Users can create security groups in Microsoft Entra admin centers, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu.
*/
@SerializedName(value = "allowedToCreateSecurityGroups", alternate = {"AllowedToCreateSecurityGroups"})
@Expose
Expand All @@ -58,7 +58,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Allowed To Create Tenants.
* Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned the Tenant Creator role can still create tenants.
* Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Microsoft Entra admin center. When this setting is false, users assigned the Tenant Creator role can still create tenants.
*/
@SerializedName(value = "allowedToCreateTenants", alternate = {"AllowedToCreateTenants"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class DelegatedAdminRelationshipRequest extends Entity implements IJsonBa

/**
* The Action.
* The action to be performed on the delegated admin relationship.
* The action to be performed on the delegated admin relationship. The possible values are: lockForApproval, approve, terminate, unknownFutureValue, reject. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reject. For a partner to finalize a relationship in the created status, set the action to lockForApproval. For a partner to terminate a relationship in the active status, set the action to terminate. For an indirect reseller to approve a relationship created by an indirect provider in the approvalPending status, set the action to approve. For an indirect reseller to reject a relationship created by an indirect provider in the approvalPending status, set the action to reject.
*/
@SerializedName(value = "action", alternate = {"Action"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public enum DelegatedAdminRelationshipRequestAction
*/
UNKNOWN_FUTURE_VALUE,
/**
* reject
*/
REJECT,
/**
* For DelegatedAdminRelationshipRequestAction values that were not expected from the service
*/
UNEXPECTED_VALUE
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/com/microsoft/graph/models/Directory.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ public class Directory extends Entity implements IJsonBackedObject {
/**
* The Deleted Items.
* Recently deleted items. Read-only. Nullable.
*/
@SerializedName(value = "deletedItems", alternate = {"DeletedItems"})
@Expose
*/
@Nullable
public com.microsoft.graph.requests.DirectoryObjectCollectionPage deletedItems;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Eligibility Schedule Filter By Current User Options.
*/
public enum EligibilityScheduleFilterByCurrentUserOptions
{
/**
* principal
*/
PRINCIPAL,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For EligibilityScheduleFilterByCurrentUserOptions values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Eligibility Schedule Instance Filter By Current User Options.
*/
public enum EligibilityScheduleInstanceFilterByCurrentUserOptions
{
/**
* principal
*/
PRINCIPAL,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For EligibilityScheduleInstanceFilterByCurrentUserOptions values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// Template Source: Enum.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;


/**
* The Enum Eligibility Schedule Request Filter By Current User Options.
*/
public enum EligibilityScheduleRequestFilterByCurrentUserOptions
{
/**
* principal
*/
PRINCIPAL,
/**
* created By
*/
CREATED_BY,
/**
* approver
*/
APPROVER,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For EligibilityScheduleRequestFilterByCurrentUserOptions values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Os.
* Host Operating System. (For example, Windows10, MacOS, RHEL, etc.).
* Host Operating System. (For example, Windows 10, macOS, RHEL, etc.).
*/
@SerializedName(value = "os", alternate = {"Os"})
@Expose
Expand Down
Loading