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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.64.0] - 2023-07-13

### Added

- AccessPackage derived types and related requests.
- The following were added to the SecurityNamespace:
- EdiscoveryExportOperation model and requests.
- EdiscoveryReviewSetExport model and related requests.
- EdiscoveryReviewSetQueryExport model and related requests.
- ExportFileMetadata model.
- ExportFileStructure model.
- ExportOptions model.

## [5.63.0] - 2023-07-07

### 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.63.0'
implementation 'com.microsoft.graph:microsoft-graph:5.64.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.63.0</version>
<version>5.64.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -194,5 +194,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 = 63
mavenMinorVersion = 64
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -117,5 +117,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.63.0";
public static final String VERSION_NAME = "5.64.0";
}


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






14 changes: 14 additions & 0 deletions src/main/java/com/microsoft/graph/models/AccessPackage.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.requests.AccessPackageAssignmentPolicyCollectionPage;
import com.microsoft.graph.requests.GroupCollectionPage;
import com.microsoft.graph.requests.AccessPackageResourceRoleScopeCollectionPage;


import com.google.gson.JsonObject;
Expand Down Expand Up @@ -115,6 +116,15 @@ public class AccessPackage extends Entity implements IJsonBackedObject {
@Nullable
public com.microsoft.graph.requests.GroupCollectionPage incompatibleGroups;

/**
* The Resource Role Scopes.
*
*/
@SerializedName(value = "resourceRoleScopes", alternate = {"ResourceRoleScopes"})
@Expose
@Nullable
public com.microsoft.graph.requests.AccessPackageResourceRoleScopeCollectionPage resourceRoleScopes;


/**
* Sets the raw JSON object
Expand All @@ -140,5 +150,9 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
if (json.has("incompatibleGroups")) {
incompatibleGroups = serializer.deserializeObject(json.get("incompatibleGroups"), com.microsoft.graph.requests.GroupCollectionPage.class);
}

if (json.has("resourceRoleScopes")) {
resourceRoleScopes = serializer.deserializeObject(json.get("resourceRoleScopes"), com.microsoft.graph.requests.AccessPackageResourceRoleScopeCollectionPage.class);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.CustomExtensionCalloutInstance;
import com.microsoft.graph.models.EntitlementManagementSchedule;
import com.microsoft.graph.models.AccessPackageAssignmentState;
import com.microsoft.graph.models.AccessPackage;
Expand All @@ -30,6 +32,15 @@
public class AccessPackageAssignment extends Entity implements IJsonBackedObject {


/**
* The Custom Extension Callout Instances.
*
*/
@SerializedName(value = "customExtensionCalloutInstances", alternate = {"CustomExtensionCalloutInstances"})
@Expose
@Nullable
public java.util.List<CustomExtensionCalloutInstance> customExtensionCalloutInstances;

/**
* The Expired Date Time.
* 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. Read-only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.microsoft.graph.models.AccessPackage;
import com.microsoft.graph.models.AccessPackageCatalog;
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.requests.CustomExtensionStageSettingCollectionPage;
import com.microsoft.graph.requests.AccessPackageQuestionCollectionPage;


Expand Down Expand Up @@ -153,6 +154,15 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked
@Nullable
public AccessPackageCatalog catalog;

/**
* The Custom Extension Stage Settings.
*
*/
@SerializedName(value = "customExtensionStageSettings", alternate = {"CustomExtensionStageSettings"})
@Expose
@Nullable
public com.microsoft.graph.requests.CustomExtensionStageSettingCollectionPage customExtensionStageSettings;

/**
* The Questions.
* Questions that are posed to the requestor.
Expand All @@ -172,6 +182,10 @@ public class AccessPackageAssignmentPolicy extends Entity implements IJsonBacked
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {


if (json.has("customExtensionStageSettings")) {
customExtensionStageSettings = serializer.deserializeObject(json.get("customExtensionStageSettings"), com.microsoft.graph.requests.CustomExtensionStageSettingCollectionPage.class);
}

if (json.has("questions")) {
questions = serializer.deserializeObject(json.get("questions"), com.microsoft.graph.requests.AccessPackageQuestionCollectionPage.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.AccessPackageAnswer;
import com.microsoft.graph.models.CustomExtensionCalloutInstance;
import com.microsoft.graph.models.AccessPackageRequestType;
import com.microsoft.graph.models.EntitlementManagementSchedule;
import com.microsoft.graph.models.AccessPackageRequestState;
Expand Down Expand Up @@ -60,6 +61,15 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke
@Nullable
public java.time.OffsetDateTime createdDateTime;

/**
* The Custom Extension Callout Instances.
*
*/
@SerializedName(value = "customExtensionCalloutInstances", alternate = {"CustomExtensionCalloutInstances"})
@Expose
@Nullable
public java.util.List<CustomExtensionCalloutInstance> customExtensionCalloutInstances;

/**
* The Request Type.
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// Template Source: BaseEntity.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;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.AccessPackageCustomExtensionStage;
import com.microsoft.graph.models.CustomExtensionData;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Access Package Assignment Request Callback Data.
*/
public class AccessPackageAssignmentRequestCallbackData extends CustomExtensionData implements IJsonBackedObject {


/**
* The Custom Extension Stage Instance Detail.
*
*/
@SerializedName(value = "customExtensionStageInstanceDetail", alternate = {"CustomExtensionStageInstanceDetail"})
@Expose
@Nullable
public String customExtensionStageInstanceDetail;

/**
* The Custom Extension Stage Instance Id.
*
*/
@SerializedName(value = "customExtensionStageInstanceId", alternate = {"CustomExtensionStageInstanceId"})
@Expose
@Nullable
public String customExtensionStageInstanceId;

/**
* The Stage.
*
*/
@SerializedName(value = "stage", alternate = {"Stage"})
@Expose
@Nullable
public AccessPackageCustomExtensionStage stage;

/**
* The State.
*
*/
@SerializedName(value = "state", alternate = {"State"})
@Expose
@Nullable
public String state;


/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {

}
}
Loading