Skip to content
Closed
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 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.39.0'
implementation 'com.microsoft.graph:microsoft-graph:5.40.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.39.0</version>
<version>5.40.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -170,5 +170,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 = 39
mavenMinorVersion = 40
mavenPatchVersion = 0
mavenArtifactSuffix =

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


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






232 changes: 120 additions & 112 deletions src/main/java/com/microsoft/graph/models/Invitation.java
Original file line number Diff line number Diff line change
@@ -1,121 +1,129 @@
// 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.InvitedUserMessageInfo;
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Entity;


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 Invitation.
*/
public class Invitation extends Entity implements IJsonBackedObject {


/**
* The Invited User Display Name.
* The display name of the user being invited.
*/
@SerializedName(value = "invitedUserDisplayName", alternate = {"InvitedUserDisplayName"})
// 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.InvitedUserMessageInfo;
import com.microsoft.graph.models.User;
import com.microsoft.graph.models.Entity;

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 Invitation.
*/
public class Invitation extends Entity implements IJsonBackedObject {


/**
* The Invited User Display Name.
* The display name of the user being invited.
*/
@SerializedName(value = "invitedUserDisplayName", alternate = {"InvitedUserDisplayName"})
@Expose
@Nullable
public String invitedUserDisplayName;

/**
* The Invited User Email Address.
* The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&amp;)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (&amp;lt; &amp;gt;)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name.
*/
@SerializedName(value = "invitedUserEmailAddress", alternate = {"InvitedUserEmailAddress"})
@Nullable
public String invitedUserDisplayName;
/**
* The Invited User Email Address.
* The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&amp;)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (&amp;lt; &amp;gt;)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name.
*/
@SerializedName(value = "invitedUserEmailAddress", alternate = {"InvitedUserEmailAddress"})
@Expose
@Nullable
public String invitedUserEmailAddress;

/**
* The Invited User Message Info.
* Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list.
*/
@SerializedName(value = "invitedUserMessageInfo", alternate = {"InvitedUserMessageInfo"})
@Nullable
public String invitedUserEmailAddress;
/**
* The Invited User Message Info.
* Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list.
*/
@SerializedName(value = "invitedUserMessageInfo", alternate = {"InvitedUserMessageInfo"})
@Expose
@Nullable
public InvitedUserMessageInfo invitedUserMessageInfo;

/**
* The Invited User Type.
* The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator.
*/
@SerializedName(value = "invitedUserType", alternate = {"InvitedUserType"})
@Nullable
public InvitedUserMessageInfo invitedUserMessageInfo;
/**
* The Invited User Type.
* The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator.
*/
@SerializedName(value = "invitedUserType", alternate = {"InvitedUserType"})
@Expose
@Nullable
public String invitedUserType;

/**
* The Invite Redeem Url.
* The URL the user can use to redeem their invitation. Read-only.
*/
@SerializedName(value = "inviteRedeemUrl", alternate = {"InviteRedeemUrl"})
@Nullable
public String invitedUserType;
/**
* The Invite Redeem Url.
* The URL the user can use to redeem their invitation. Read-only.
*/
@SerializedName(value = "inviteRedeemUrl", alternate = {"InviteRedeemUrl"})
@Expose
@Nullable
public String inviteRedeemUrl;

/**
* The Invite Redirect Url.
* The URL the user should be redirected to once the invitation is redeemed. Required.
*/
@SerializedName(value = "inviteRedirectUrl", alternate = {"InviteRedirectUrl"})
@Nullable
public String inviteRedeemUrl;
/**
* The Invite Redirect Url.
* The URL the user should be redirected to once the invitation is redeemed. Required.
*/
@SerializedName(value = "inviteRedirectUrl", alternate = {"InviteRedirectUrl"})
@Expose
@Nullable
public String inviteRedirectUrl;

/**
* The Send Invitation Message.
* Indicates whether an email should be sent to the user being invited. The default is false.
*/
@SerializedName(value = "sendInvitationMessage", alternate = {"SendInvitationMessage"})
@Nullable
public String inviteRedirectUrl;
/**
* The Reset Redemption.
*
*/
@SerializedName(value = "resetRedemption", alternate = {"ResetRedemption"})
@Expose
@Nullable
public Boolean sendInvitationMessage;

/**
* The Status.
* The status of the invitation. Possible values are: PendingAcceptance, Completed, InProgress, and Error.
*/
@SerializedName(value = "status", alternate = {"Status"})
@Nullable
public Boolean resetRedemption;
/**
* The Send Invitation Message.
* Indicates whether an email should be sent to the user being invited. The default is false.
*/
@SerializedName(value = "sendInvitationMessage", alternate = {"SendInvitationMessage"})
@Expose
@Nullable
public String status;

/**
* The Invited User.
* The user created as part of the invitation creation. Read-Only
*/
@SerializedName(value = "invitedUser", alternate = {"InvitedUser"})
@Nullable
public Boolean sendInvitationMessage;
/**
* The Status.
* The status of the invitation. Possible values are: PendingAcceptance, Completed, InProgress, and Error.
*/
@SerializedName(value = "status", alternate = {"Status"})
@Expose
@Nullable
public User invitedUser;


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

}
}
@Nullable
public String status;

/**
* The Invited User.
* The user created as part of the invitation creation. Read-Only
*/
@SerializedName(value = "invitedUser", alternate = {"InvitedUser"})
@Expose
@Nullable
public User invitedUser;


/**
* 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 @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package com.microsoft.graph.models;

import com.microsoft.graph.models.Report;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
Expand Down
Loading