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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Add the dependency in `dependencies` in pom.xml
<dependency>
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>2.3.1</version>
<version>2.3.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 2
mavenMinorVersion = 3
mavenPatchVersion = 1
mavenPatchVersion = 2
mavenArtifactSuffix =
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/core/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ private Constants() {
public static final String PASSWORD = "password";
public static final String TENANTID = "tenantid";
public static final String CLIENTSECRET = "clientsecret";
public static final String VERSION_NAME = "2.3.1";
public static final String VERSION_NAME = "2.3.2";
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class AdministrativeUnit extends DirectoryObject implements IJsonBackedOb

/**
* The Visibility.
* Controls whether the adminstrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
* Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
*/
@SerializedName(value = "visibility", alternate = {"Visibility"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ public class Calendar extends Entity implements IJsonBackedObject {
@Expose
public String hexColor;

/**
* The Is Default Calendar.
*
*/
@SerializedName(value = "isDefaultCalendar", alternate = {"IsDefaultCalendar"})
@Expose
public Boolean isDefaultCalendar;

/**
* The Is Removable.
* Indicates whether this user calendar can be deleted from the user mailbox.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Lifecycle Event.
*
* The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, removed, reauthorizationRequired.
*/
@SerializedName(value = "lifecycleEvent", alternate = {"LifecycleEvent"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ public class Device extends DirectoryObject implements IJsonBackedObject {

/**
* The Device Metadata.
* For interal use only. Set to null.
* For internal use only. Set to null.
*/
@SerializedName(value = "deviceMetadata", alternate = {"DeviceMetadata"})
@Expose
public String deviceMetadata;

/**
* The Device Version.
* For interal use only.
* For internal use only.
*/
@SerializedName(value = "deviceVersion", alternate = {"DeviceVersion"})
@Expose
Expand Down Expand Up @@ -116,7 +116,7 @@ public class Device extends DirectoryObject implements IJsonBackedObject {

/**
* The On Premises Last Sync Date Time.
* The last time at which the object was synced with the on-premises directory.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 would look like this: '2014-01-01T00:00:00Z' Read-only.
* The last time at which the object was synced with the on-premises directory. 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 would look like this: '2014-01-01T00:00:00Z' Read-only.
*/
@SerializedName(value = "onPremisesLastSyncDateTime", alternate = {"OnPremisesLastSyncDateTime"})
@Expose
Expand Down Expand Up @@ -148,7 +148,7 @@ public class Device extends DirectoryObject implements IJsonBackedObject {

/**
* The Physical Ids.
* For interal use only. Not nullable.
* For internal use only. Not nullable.
*/
@SerializedName(value = "physicalIds", alternate = {"PhysicalIds"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
// ------------------------------------------------------------------------------
// 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.extensions;
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.extensions.Entity;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;

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

/**
* The class for the Linked Resource.
*/
public class LinkedResource extends Entity implements IJsonBackedObject {


/**
* The Application Name.
*
*/
@SerializedName(value = "applicationName", alternate = {"ApplicationName"})
@Expose
public String applicationName;

/**
* The Display Name.
*
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
public String displayName;

/**
* The External Id.
*
*/
@SerializedName(value = "externalId", alternate = {"ExternalId"})
@Expose
public String externalId;

/**
* The Web Url.
*
*/
@SerializedName(value = "webUrl", alternate = {"WebUrl"})
@Expose
public String webUrl;


/**
* The raw representation of this class
*/
private JsonObject rawObject;

/**
* The serializer
*/
private ISerializer serializer;

/**
* Gets the raw representation of this class
*
* @return the raw representation of this class
*/
public JsonObject getRawObject() {
return rawObject;
}

/**
* Gets serializer
*
* @return the serializer
*/
protected ISerializer getSerializer() {
return serializer;
}

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public class Message extends OutlookItem implements IJsonBackedObject {

/**
* The Web Link.
* The URL to open the message in Outlook Web App.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.The message will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you are not already logged in with the browser.This URL can be accessed from within an iFrame.
* The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook on the web review pane.The message will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame.
*/
@SerializedName(value = "webLink", alternate = {"WebLink"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.microsoft.graph.models.extensions.AppRoleAssignment;
import com.microsoft.graph.models.extensions.ClaimsMappingPolicy;
import com.microsoft.graph.models.extensions.DirectoryObject;
import com.microsoft.graph.models.extensions.DelegatedPermissionClassification;
import com.microsoft.graph.models.extensions.Endpoint;
import com.microsoft.graph.models.extensions.HomeRealmDiscoveryPolicy;
import com.microsoft.graph.models.extensions.OAuth2PermissionGrant;
Expand All @@ -25,6 +26,7 @@
import com.microsoft.graph.requests.extensions.AppRoleAssignmentCollectionPage;
import com.microsoft.graph.requests.extensions.ClaimsMappingPolicyCollectionPage;
import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage;
import com.microsoft.graph.requests.extensions.DelegatedPermissionClassificationCollectionPage;
import com.microsoft.graph.requests.extensions.EndpointCollectionPage;
import com.microsoft.graph.requests.extensions.HomeRealmDiscoveryPolicyCollectionPage;
import com.microsoft.graph.requests.extensions.OAuth2PermissionGrantCollectionPage;
Expand Down Expand Up @@ -304,6 +306,14 @@ public class ServicePrincipal extends DirectoryObject implements IJsonBackedObje
*/
public DirectoryObjectCollectionPage createdObjects;

/**
* The Delegated Permission Classifications.
*
*/
@SerializedName(value = "delegatedPermissionClassifications", alternate = {"DelegatedPermissionClassifications"})
@Expose
public DelegatedPermissionClassificationCollectionPage delegatedPermissionClassifications;

/**
* The Endpoints.
* Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences.
Expand Down Expand Up @@ -416,6 +426,10 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
createdObjects = serializer.deserializeObject(json.get("createdObjects").toString(), DirectoryObjectCollectionPage.class);
}

if (json.has("delegatedPermissionClassifications")) {
delegatedPermissionClassifications = serializer.deserializeObject(json.get("delegatedPermissionClassifications").toString(), DelegatedPermissionClassificationCollectionPage.class);
}

if (json.has("endpoints")) {
endpoints = serializer.deserializeObject(json.get("endpoints").toString(), EndpointCollectionPage.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class Subscription extends Entity implements IJsonBackedObject {

/**
* The Lifecycle Notification Url.
*
* The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle notifications.
*/
@SerializedName(value = "lifecycleNotificationUrl", alternate = {"LifecycleNotificationUrl"})
@Expose
Expand Down
79 changes: 79 additions & 0 deletions src/main/java/com/microsoft/graph/models/extensions/Todo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
// ------------------------------------------------------------------------------
// 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.extensions;
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.extensions.TodoTaskList;
import com.microsoft.graph.models.extensions.Entity;
import com.microsoft.graph.requests.extensions.TodoTaskListCollectionPage;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;

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

/**
* The class for the Todo.
*/
public class Todo extends Entity implements IJsonBackedObject {


/**
* The Lists.
*
*/
@SerializedName(value = "lists", alternate = {"Lists"})
@Expose
public TodoTaskListCollectionPage lists;


/**
* The raw representation of this class
*/
private JsonObject rawObject;

/**
* The serializer
*/
private ISerializer serializer;

/**
* Gets the raw representation of this class
*
* @return the raw representation of this class
*/
public JsonObject getRawObject() {
return rawObject;
}

/**
* Gets serializer
*
* @return the serializer
*/
protected ISerializer getSerializer() {
return serializer;
}

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


if (json.has("lists")) {
lists = serializer.deserializeObject(json.get("lists").toString(), TodoTaskListCollectionPage.class);
}
}
}
Loading