Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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
5 changes: 3 additions & 2 deletions 5 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.0.0'
implementation 'com.microsoft.graph:microsoft-graph:5.1.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.0.0</version>
<version>5.1.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -135,3 +135,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
## 9. Third-party notices

[Third-party notices](THIRD%20PARTY%20NOTICES)

3 changes: 2 additions & 1 deletion 3 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 = 0
mavenMinorVersion = 1
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -57,3 +57,4 @@ mavenCentralPublishingEnabled=false




3 changes: 2 additions & 1 deletion 3 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.0.0";
public static final String VERSION_NAME = "5.1.0";
}


Expand All @@ -34,3 +34,4 @@ private Constants() {




Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {

/**
* The Fallback Reviewers.
*
* This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select.
*/
@SerializedName(value = "fallbackReviewers", alternate = {"FallbackReviewers"})
@Expose
Expand All @@ -50,7 +50,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {

/**
* The Reviewers.
*
* This collection of access review scopes is used to define who the reviewers are. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API.
*/
@SerializedName(value = "reviewers", alternate = {"Reviewers"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke

/**
* The Scope.
* Defines scope of resources to review. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API.
* Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API.
*/
@SerializedName(value = "scope", alternate = {"Scope"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AuthenticationMethodTarget extends Entity implements IJsonBackedObj

/**
* The Target Type.
* Possible values are: user, group.
* Possible values are: user, group, and unknownFutureValue.
*/
@SerializedName(value = "targetType", alternate = {"TargetType"})
@Expose
Expand Down
50 changes: 50 additions & 0 deletions 50 src/main/java/com/microsoft/graph/models/Compliance.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// 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.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 Compliance.
*/
public class Compliance implements IJsonBackedObject {

/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}


/**
* 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) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ public final AdditionalDataManager additionalDataManager() {
@Nullable
public java.util.List<String> includeApplications;

/**
* The Include Authentication Context Class References.
* Authentication context class references include. Supported values are c1 through c25.
*/
@SerializedName(value = "includeAuthenticationContextClassReferences", alternate = {"IncludeAuthenticationContextClassReferences"})
@Expose
@Nullable
public java.util.List<String> includeAuthenticationContextClassReferences;

/**
* The Include User Actions.
* User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class EducationAssignmentResource extends Entity implements IJsonBackedOb

/**
* The Distribute For Student Work.
* Indicates whether this resource should be copied to each student submission for modification and submission.
* Indicates whether this resource should be copied to each student submission for modification and submission. Required
*/
@SerializedName(value = "distributeForStudentWork", alternate = {"DistributeForStudentWork"})
@Expose
Expand Down
2 changes: 1 addition & 1 deletion 2 src/main/java/com/microsoft/graph/models/Group.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public class Group extends DirectoryObject implements IJsonBackedObject {

/**
* The Is Assignable To Role.
* Indicates whether this group can be assigned to an Azure Active Directory role.This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must also be assigned the Directory.AccessAsUser.All permission to set this property. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, NOT).
* Indicates whether this group can be assigned to an Azure Active Directory role.This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, NOT).
*/
@SerializedName(value = "isAssignableToRole", alternate = {"IsAssignableToRole"})
@Expose
Expand Down
2 changes: 1 addition & 1 deletion 2 src/main/java/com/microsoft/graph/models/Invitation.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class Invitation extends Entity implements IJsonBackedObject {

/**
* The Send Invitation Message.
* Indicates whether an email should be sent to the user being invited or not. The default is false.
* Indicates whether an email should be sent to the user being invited. The default is false.
*/
@SerializedName(value = "sendInvitationMessage", alternate = {"SendInvitationMessage"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class MicrosoftAuthenticatorAuthenticationMethodTarget extends Authentica

/**
* The Authentication Mode.
* Determines which types of notifications can be used for sign-in. Possible values are: any, deviceBasedPush (passwordless only), push.
* Determines which types of notifications can be used for sign-in. The possible values are: deviceBasedPush (passwordless only), push, and any.
*/
@SerializedName(value = "authenticationMode", alternate = {"AuthenticationMode"})
@Expose
Expand All @@ -38,7 +38,7 @@ public class MicrosoftAuthenticatorAuthenticationMethodTarget extends Authentica

/**
* The Feature Settings.
* Determines what additional settings should be applied to Microsoft Authenticator. Possible values are: null, requireNumberMatching (Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications).
* Determines what additional settings should be applied to Microsoft Authenticator. The possible values are: requireNumberMatching (Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications). Nullable.
*/
@SerializedName(value = "featureSettings", alternate = {"FeatureSettings"})
@Expose
Expand Down
24 changes: 24 additions & 0 deletions 24 src/main/java/com/microsoft/graph/models/Site.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.microsoft.graph.models.List;
import com.microsoft.graph.models.Permission;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.termstore.models.Store;
import com.microsoft.graph.models.Onenote;
import com.microsoft.graph.requests.ColumnDefinitionCollectionPage;
import com.microsoft.graph.requests.ContentTypeCollectionPage;
Expand All @@ -29,6 +30,7 @@
import com.microsoft.graph.requests.ListCollectionPage;
import com.microsoft.graph.requests.PermissionCollectionPage;
import com.microsoft.graph.requests.SiteCollectionPage;
import com.microsoft.graph.termstore.requests.StoreCollectionPage;


import com.google.gson.JsonObject;
Expand Down Expand Up @@ -171,6 +173,24 @@ public class Site extends BaseItem implements IJsonBackedObject {
@Nullable
public SiteCollectionPage sites;

/**
* The Term Store.
* The termStore under this site.
*/
@SerializedName(value = "termStore", alternate = {"TermStore"})
@Expose
@Nullable
public Store termStore;

/**
* The Term Stores.
*
*/
@SerializedName(value = "termStores", alternate = {"TermStores"})
@Expose
@Nullable
public StoreCollectionPage termStores;

/**
* The Onenote.
* Calls the OneNote service for notebook related operations.
Expand Down Expand Up @@ -217,5 +237,9 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
if (json.has("sites")) {
sites = serializer.deserializeObject(json.get("sites"), SiteCollectionPage.class);
}

if (json.has("termStores")) {
termStores = serializer.deserializeObject(json.get("termStores"), StoreCollectionPage.class);
}
}
}
9 changes: 9 additions & 0 deletions 9 src/main/java/com/microsoft/graph/models/Subscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ public class Subscription extends Entity implements IJsonBackedObject {
@Nullable
public String notificationUrl;

/**
* The Notification Url App Id.
*
*/
@SerializedName(value = "notificationUrlAppId", alternate = {"NotificationUrlAppId"})
@Expose
@Nullable
public String notificationUrlAppId;

/**
* The Resource.
* Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Group;
import com.microsoft.graph.models.Device;
import com.microsoft.graph.models.AppRoleAssignment;
import com.microsoft.graph.models.DirectoryObject;
import com.microsoft.graph.models.ExtensionProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.Group;
import com.microsoft.graph.models.Device;
import com.microsoft.graph.models.AppRoleAssignment;
import com.microsoft.graph.models.DirectoryObject;
import com.microsoft.graph.models.ExtensionProperty;
Expand Down Expand Up @@ -40,7 +40,7 @@
public class AppRoleAssignmentCollectionRequestBuilder extends BaseCollectionRequestBuilder<AppRoleAssignment, AppRoleAssignmentRequestBuilder, AppRoleAssignmentCollectionResponse, AppRoleAssignmentCollectionPage, AppRoleAssignmentCollectionRequest> {

/**
* The request builder for this collection of Group
* The request builder for this collection of Device
*
* @param requestUrl the request URL
* @param client the service client
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.