diff --git a/README.md b/README.md index c26279a886f..c118b8b11a9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ repositories { dependencies { // Include the sdk as a dependency - implementation 'com.microsoft.graph:microsoft-graph:3.9.0' + implementation 'com.microsoft.graph:microsoft-graph:4.0.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 @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph - 3.9.0 + 4.0.0 @@ -144,3 +144,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI + diff --git a/gradle.properties b/gradle.properties index d80d16a7643..b3de44db5a7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,8 +25,8 @@ org.gradle.caching=true mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph -mavenMajorVersion = 3 -mavenMinorVersion = 9 +mavenMajorVersion = 4 +mavenMinorVersion = 0 mavenPatchVersion = 0 mavenArtifactSuffix = @@ -53,3 +53,4 @@ mavenCentralPublishingEnabled=false + diff --git a/src/main/java/com/microsoft/graph/info/Constants.java b/src/main/java/com/microsoft/graph/info/Constants.java index 47ae12f13d8..df9c26ef8d9 100644 --- a/src/main/java/com/microsoft/graph/info/Constants.java +++ b/src/main/java/com/microsoft/graph/info/Constants.java @@ -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 = "3.9.0"; + public static final String VERSION_NAME = "4.0.0"; } @@ -30,3 +30,4 @@ private Constants() { + diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewInstance.java b/src/main/java/com/microsoft/graph/models/AccessReviewInstance.java index c4562451b40..c4b5f669007 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewInstance.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewInstance.java @@ -31,7 +31,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject { /** * The End Date Time. - * DateTime when review instance is scheduled to end.The DatetimeOffset 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. + * DateTime when review instance is scheduled to end.The DatetimeOffset 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. Supports $select. Read-only. */ @SerializedName(value = "endDateTime", alternate = {"EndDateTime"}) @Expose @@ -40,7 +40,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject { /** * The Scope. - * Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. In the case of a single-group review, the scope defined at the accessReviewScheduleDefinition level applies to all instances. In the case of all groups review, scope may be different for each group. Read-only. + * Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. Supports $select and $filter (contains only). Read-only. */ @SerializedName(value = "scope", alternate = {"Scope"}) @Expose @@ -49,7 +49,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject { /** * The Start Date Time. - * DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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. + * DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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. Supports $select. Read-only. */ @SerializedName(value = "startDateTime", alternate = {"StartDateTime"}) @Expose @@ -58,7 +58,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject { /** * The Status. - * Specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Read-only. + * Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. */ @SerializedName(value = "status", alternate = {"Status"}) @Expose @@ -67,7 +67,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject { /** * The Decisions. - * Each user reviewed in an accessReviewInstance has a decision item representing if their access was approved, denied, or not yet reviewed. + * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. */ @SerializedName(value = "decisions", alternate = {"Decisions"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java b/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java index f08f69f8095..5ae90fdd742 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewInstanceDecisionItem.java @@ -30,7 +30,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Access Review Id. - * The identifier of the accessReviewInstance parent. + * The identifier of the accessReviewInstance parent. Supports $select. Read-only. */ @SerializedName(value = "accessReviewId", alternate = {"AccessReviewId"}) @Expose @@ -39,7 +39,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Applied By. - * The identifier of the user who applied the decision. + * The identifier of the user who applied the decision. Read-only. */ @SerializedName(value = "appliedBy", alternate = {"AppliedBy"}) @Expose @@ -48,7 +48,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Applied Date Time. - * The timestamp when the approval decision was applied. The DatetimeOffset 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 timestamp when the approval decision was applied. The DatetimeOffset 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. Supports $select. Read-only. */ @SerializedName(value = "appliedDateTime", alternate = {"AppliedDateTime"}) @Expose @@ -57,7 +57,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Apply Result. - * The result of applying the decision. Possible values: NotApplied, Success, Failed, NotFound, or NotSupported. + * The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only. */ @SerializedName(value = "applyResult", alternate = {"ApplyResult"}) @Expose @@ -66,7 +66,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Decision. - * Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. + * Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only). */ @SerializedName(value = "decision", alternate = {"Decision"}) @Expose @@ -75,7 +75,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Justification. - * The review decision justification. + * Justification left by the reviewer when they made the decision. */ @SerializedName(value = "justification", alternate = {"Justification"}) @Expose @@ -84,7 +84,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Principal. - * Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. */ @SerializedName(value = "principal", alternate = {"Principal"}) @Expose @@ -93,7 +93,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Principal Link. - * + * Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only. */ @SerializedName(value = "principalLink", alternate = {"PrincipalLink"}) @Expose @@ -102,7 +102,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Recommendation. - * A system-generated recommendation for the approval decision. Possible values: Approve, Deny, or NotAvailable. + * A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only. */ @SerializedName(value = "recommendation", alternate = {"Recommendation"}) @Expose @@ -111,7 +111,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Resource. - * Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only. */ @SerializedName(value = "resource", alternate = {"Resource"}) @Expose @@ -120,7 +120,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Resource Link. - * + * A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only. */ @SerializedName(value = "resourceLink", alternate = {"ResourceLink"}) @Expose @@ -129,7 +129,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Reviewed By. - * The identifier of the reviewer. + * The identifier of the reviewer. Supports $select. Read-only. */ @SerializedName(value = "reviewedBy", alternate = {"ReviewedBy"}) @Expose @@ -138,7 +138,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac /** * The Reviewed Date Time. - * The timestamp when the review occurred. + * The timestamp when the review decision occurred. Supports $select. Read-only. */ @SerializedName(value = "reviewedDateTime", alternate = {"ReviewedDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java index 646945bad5c..1a06cfc834b 100644 --- a/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java +++ b/src/main/java/com/microsoft/graph/models/AccessReviewScheduleDefinition.java @@ -34,7 +34,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Created By. - * User who created this review. + * User who created this review. Read-only. */ @SerializedName(value = "createdBy", alternate = {"CreatedBy"}) @Expose @@ -43,7 +43,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Created Date Time. - * Timestamp when the access review series was created. Supports $select. + * Timestamp when the access review series was created. Supports $select. Read-only. */ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"}) @Expose @@ -70,7 +70,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Display Name. - * Name of the access review series. Required on create. Supports $select. + * Name of the access review series. Supports $select and $orderBy. Required on create. */ @SerializedName(value = "displayName", alternate = {"DisplayName"}) @Expose @@ -79,7 +79,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * 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. + * 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. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. */ @SerializedName(value = "fallbackReviewers", alternate = {"FallbackReviewers"}) @Expose @@ -97,7 +97,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Last Modified Date Time. - * Timestamp when the access review series was last modified. Supports $select. + * Timestamp when the access review series was last modified. Supports $select. Read-only. */ @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"}) @Expose @@ -106,7 +106,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Reviewers. - * This collection of access review scopes is used to define who are the reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. 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 @@ -124,7 +124,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Settings. - * The settings for an access review series, see type definition below. Supports $select. + * The settings for an access review series, see type definition below. Supports $select. Required on create. */ @SerializedName(value = "settings", alternate = {"Settings"}) @Expose @@ -133,7 +133,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke /** * The Status. - * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). + * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. */ @SerializedName(value = "status", alternate = {"Status"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/AlertTrigger.java b/src/main/java/com/microsoft/graph/models/AlertTrigger.java index b9916498378..b6b9f0994e1 100644 --- a/src/main/java/com/microsoft/graph/models/AlertTrigger.java +++ b/src/main/java/com/microsoft/graph/models/AlertTrigger.java @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Type. - * Type of the property in the key:value pair for interpretation. For example, String, Boolean, etc. + * Type of the property in the key:value pair for interpretation. For example, String, Boolean etc. */ @SerializedName(value = "type", alternate = {"Type"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ChangeNotification.java b/src/main/java/com/microsoft/graph/models/ChangeNotification.java index a3918593529..114c86f6cfd 100644 --- a/src/main/java/com/microsoft/graph/models/ChangeNotification.java +++ b/src/main/java/com/microsoft/graph/models/ChangeNotification.java @@ -79,7 +79,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. + * The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired. */ @SerializedName(value = "lifecycleEvent", alternate = {"LifecycleEvent"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/Channel.java b/src/main/java/com/microsoft/graph/models/Channel.java index 9ae3e8e74b0..75f2dbe385e 100644 --- a/src/main/java/com/microsoft/graph/models/Channel.java +++ b/src/main/java/com/microsoft/graph/models/Channel.java @@ -81,7 +81,7 @@ public class Channel extends Entity implements IJsonBackedObject { /** * The Membership Type. - * The type of the channel. Can be set during creation and cannot be changed. Default: standard. + * The type of the channel. Can be set during creation and can't be changed. Default: standard. */ @SerializedName(value = "membershipType", alternate = {"MembershipType"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ChannelGetAllMessagesParameterSet.java b/src/main/java/com/microsoft/graph/models/ChannelGetAllMessagesParameterSet.java new file mode 100644 index 00000000000..24f5a6d22e5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/ChannelGetAllMessagesParameterSet.java @@ -0,0 +1,69 @@ +// Template Source: BaseMethodParameterSet.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.models.ChatMessage; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; +import com.google.gson.JsonObject; +import java.util.EnumSet; +import java.util.ArrayList; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Channel Get All Messages Parameter Set. + */ +public class ChannelGetAllMessagesParameterSet { + + /** + * Instiaciates a new ChannelGetAllMessagesParameterSet + */ + public ChannelGetAllMessagesParameterSet() {} + /** + * Instiaciates a new ChannelGetAllMessagesParameterSet + * @param builder builder bearing the parameters to initialize from + */ + protected ChannelGetAllMessagesParameterSet(@Nonnull final ChannelGetAllMessagesParameterSetBuilder builder) { + } + /** + * Gets a new builder for the body + * @return a new builder + */ + @Nonnull + public static ChannelGetAllMessagesParameterSetBuilder newBuilder() { + return new ChannelGetAllMessagesParameterSetBuilder(); + } + /** + * Fluent builder for the ChannelGetAllMessagesParameterSet + */ + public static final class ChannelGetAllMessagesParameterSetBuilder { + /** + * Instanciates a new ChannelGetAllMessagesParameterSetBuilder + */ + @Nullable + protected ChannelGetAllMessagesParameterSetBuilder(){} + /** + * Buils the resulting body object to be passed to the request + * @return the body object to pass to the request + */ + @Nonnull + public ChannelGetAllMessagesParameterSet build() { + return new ChannelGetAllMessagesParameterSet(this); + } + } + /** + * Gets the functions options from the properties that have been set + * @return a list of function options for the request + */ + @Nonnull + public java.util.List getFunctionOptions() { + final ArrayList result = new ArrayList<>(); + return result; + } +} diff --git a/src/main/java/com/microsoft/graph/models/ChatMessage.java b/src/main/java/com/microsoft/graph/models/ChatMessage.java index f18b60c2ba3..c530de97364 100644 --- a/src/main/java/com/microsoft/graph/models/ChatMessage.java +++ b/src/main/java/com/microsoft/graph/models/ChatMessage.java @@ -12,7 +12,7 @@ import com.microsoft.graph.models.ChatMessageAttachment; import com.microsoft.graph.models.ItemBody; import com.microsoft.graph.models.ChannelIdentity; -import com.microsoft.graph.models.IdentitySet; +import com.microsoft.graph.models.ChatMessageFromIdentitySet; import com.microsoft.graph.models.ChatMessageImportance; import com.microsoft.graph.models.ChatMessageMention; import com.microsoft.graph.models.ChatMessageType; @@ -109,7 +109,7 @@ public class ChatMessage extends Entity implements IJsonBackedObject { @SerializedName(value = "from", alternate = {"From"}) @Expose @Nullable - public IdentitySet from; + public ChatMessageFromIdentitySet from; /** * The Importance. diff --git a/src/main/java/com/microsoft/graph/models/ChatMessageFromIdentitySet.java b/src/main/java/com/microsoft/graph/models/ChatMessageFromIdentitySet.java new file mode 100644 index 00000000000..3b717fe4f23 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/ChatMessageFromIdentitySet.java @@ -0,0 +1,39 @@ +// 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.IdentitySet; + + +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; +import java.util.HashMap; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Chat Message From Identity Set. + */ +public class ChatMessageFromIdentitySet extends IdentitySet implements IJsonBackedObject { + + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/ChatMessageMention.java b/src/main/java/com/microsoft/graph/models/ChatMessageMention.java index 4f4146da0e5..3f7bd0f09d7 100644 --- a/src/main/java/com/microsoft/graph/models/ChatMessageMention.java +++ b/src/main/java/com/microsoft/graph/models/ChatMessageMention.java @@ -8,7 +8,7 @@ import com.microsoft.graph.serializer.IJsonBackedObject; import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.EnumSet; -import com.microsoft.graph.models.IdentitySet; +import com.microsoft.graph.models.ChatMessageMentionedIdentitySet; import com.google.gson.JsonObject; @@ -49,12 +49,12 @@ public final AdditionalDataManager additionalDataManager() { /** * The Mentioned. - * The entity (user, application, team, or channel) that was mentioned. If it was a channel or team that was @mentioned, the identitySet contains a conversation property giving the ID of the team/channel, and a conversationIdentityType property that represents either the team or channel. + * The entity (user, application, team, or channel) that was @mentioned. */ @SerializedName(value = "mentioned", alternate = {"Mentioned"}) @Expose @Nullable - public IdentitySet mentioned; + public ChatMessageMentionedIdentitySet mentioned; /** * The Mention Text. diff --git a/src/main/java/com/microsoft/graph/models/ChatMessageMentionedIdentitySet.java b/src/main/java/com/microsoft/graph/models/ChatMessageMentionedIdentitySet.java new file mode 100644 index 00000000000..708cc097f6f --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/ChatMessageMentionedIdentitySet.java @@ -0,0 +1,48 @@ +// 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.TeamworkConversationIdentity; +import com.microsoft.graph.models.IdentitySet; + + +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 Chat Message Mentioned Identity Set. + */ +public class ChatMessageMentionedIdentitySet extends IdentitySet implements IJsonBackedObject { + + + /** + * The Conversation. + * If present, represents a conversation (for example, team or channel) @mentioned in a message. + */ + @SerializedName(value = "conversation", alternate = {"Conversation"}) + @Expose + @Nullable + public TeamworkConversationIdentity conversation; + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/ChatMessageReaction.java b/src/main/java/com/microsoft/graph/models/ChatMessageReaction.java index 4100cd3f6a9..58e5d406ba9 100644 --- a/src/main/java/com/microsoft/graph/models/ChatMessageReaction.java +++ b/src/main/java/com/microsoft/graph/models/ChatMessageReaction.java @@ -8,7 +8,7 @@ import com.microsoft.graph.serializer.IJsonBackedObject; import com.microsoft.graph.serializer.AdditionalDataManager; import java.util.EnumSet; -import com.microsoft.graph.models.IdentitySet; +import com.microsoft.graph.models.ChatMessageReactionIdentitySet; import com.google.gson.JsonObject; @@ -63,7 +63,7 @@ public final AdditionalDataManager additionalDataManager() { @SerializedName(value = "user", alternate = {"User"}) @Expose @Nullable - public IdentitySet user; + public ChatMessageReactionIdentitySet user; /** diff --git a/src/main/java/com/microsoft/graph/models/ChatMessageReactionIdentitySet.java b/src/main/java/com/microsoft/graph/models/ChatMessageReactionIdentitySet.java new file mode 100644 index 00000000000..26272a59a6c --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/ChatMessageReactionIdentitySet.java @@ -0,0 +1,39 @@ +// 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.IdentitySet; + + +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; +import java.util.HashMap; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Chat Message Reaction Identity Set. + */ +public class ChatMessageReactionIdentitySet extends IdentitySet implements IJsonBackedObject { + + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/Group.java b/src/main/java/com/microsoft/graph/models/Group.java index 2339b176562..9cb557ca386 100644 --- a/src/main/java/com/microsoft/graph/models/Group.java +++ b/src/main/java/com/microsoft/graph/models/Group.java @@ -138,6 +138,15 @@ public class Group extends DirectoryObject implements IJsonBackedObject { @Nullable public Boolean hasMembersWithLicenseErrors; + /** + * 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. For more, see Using a group to manage Azure AD role assignmentsReturned by default. + */ + @SerializedName(value = "isAssignableToRole", alternate = {"IsAssignableToRole"}) + @Expose + @Nullable + public Boolean isAssignableToRole; + /** * The License Processing State. * Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. @@ -438,7 +447,7 @@ public class Group extends DirectoryObject implements IJsonBackedObject { /** * The Permission Grants. - * The permission that has been granted for a group to a specific application. + * The permissions that have been granted for a group to a specific application. */ @SerializedName(value = "permissionGrants", alternate = {"PermissionGrants"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/LicenseUnitsDetail.java b/src/main/java/com/microsoft/graph/models/LicenseUnitsDetail.java index b3ab3b6749f..9c538c34814 100644 --- a/src/main/java/com/microsoft/graph/models/LicenseUnitsDetail.java +++ b/src/main/java/com/microsoft/graph/models/LicenseUnitsDetail.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Enabled. - * The number of units that are enabled. + * The number of units that are enabled for the active subscription of the service SKU. */ @SerializedName(value = "enabled", alternate = {"Enabled"}) @Expose @@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Suspended. - * The number of units that are suspended. + * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. */ @SerializedName(value = "suspended", alternate = {"Suspended"}) @Expose @@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Warning. - * The number of units that are in warning status. + * The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). */ @SerializedName(value = "warning", alternate = {"Warning"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PasswordProfile.java b/src/main/java/com/microsoft/graph/models/PasswordProfile.java index cf0dc74e00d..8797ac4652a 100644 --- a/src/main/java/com/microsoft/graph/models/PasswordProfile.java +++ b/src/main/java/com/microsoft/graph/models/PasswordProfile.java @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() { /** * The Force Change Password Next Sign In. - * If true, at next sign-in, the user must change their password. After a password change, this property will be automatically reset to false. If not set, default is false. + * true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon. */ @SerializedName(value = "forceChangePasswordNextSignIn", alternate = {"ForceChangePasswordNextSignIn"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/PrincipalResourceMembershipsScope.java b/src/main/java/com/microsoft/graph/models/PrincipalResourceMembershipsScope.java index 0305e8a2074..df105e464c8 100644 --- a/src/main/java/com/microsoft/graph/models/PrincipalResourceMembershipsScope.java +++ b/src/main/java/com/microsoft/graph/models/PrincipalResourceMembershipsScope.java @@ -28,7 +28,7 @@ public class PrincipalResourceMembershipsScope extends AccessReviewScope impleme /** * The Principal Scopes. - * Defines the scopes of the principals to be included in an access review. + * Defines the scopes of the principals whose access to resources are reviewed in the access review. */ @SerializedName(value = "principalScopes", alternate = {"PrincipalScopes"}) @Expose @@ -37,7 +37,7 @@ public class PrincipalResourceMembershipsScope extends AccessReviewScope impleme /** * The Resource Scopes. - * Defines the scopes of the resources for which access will be reviewed. + * Defines the scopes of the resources for which access is reviewed. */ @SerializedName(value = "resourceScopes", alternate = {"ResourceScopes"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/ResourceSpecificPermissionGrant.java b/src/main/java/com/microsoft/graph/models/ResourceSpecificPermissionGrant.java index 64048b8077a..176c3daea3c 100644 --- a/src/main/java/com/microsoft/graph/models/ResourceSpecificPermissionGrant.java +++ b/src/main/java/com/microsoft/graph/models/ResourceSpecificPermissionGrant.java @@ -45,7 +45,7 @@ public class ResourceSpecificPermissionGrant extends DirectoryObject implements /** * The Permission. - * The name of the permission. Read-only. + * The name of the resource-specific permission. Read-only. */ @SerializedName(value = "permission", alternate = {"Permission"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/SubscribedSku.java b/src/main/java/com/microsoft/graph/models/SubscribedSku.java index b35ed65441e..c84860c0679 100644 --- a/src/main/java/com/microsoft/graph/models/SubscribedSku.java +++ b/src/main/java/com/microsoft/graph/models/SubscribedSku.java @@ -39,7 +39,7 @@ public class SubscribedSku extends Entity implements IJsonBackedObject { /** * The Capability Status. - * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. + * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. */ @SerializedName(value = "capabilityStatus", alternate = {"CapabilityStatus"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/TeamworkApplicationIdentity.java b/src/main/java/com/microsoft/graph/models/TeamworkApplicationIdentity.java new file mode 100644 index 00000000000..435d58eb8ba --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkApplicationIdentity.java @@ -0,0 +1,48 @@ +// 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.TeamworkApplicationIdentityType; +import com.microsoft.graph.models.Identity; + + +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 Teamwork Application Identity. + */ +public class TeamworkApplicationIdentity extends Identity implements IJsonBackedObject { + + + /** + * The Application Identity Type. + * Type of application that is referenced. Possible values are: aadApplication, bot, tenantBot, office365Connector, and outgoingWebhook. + */ + @SerializedName(value = "applicationIdentityType", alternate = {"ApplicationIdentityType"}) + @Expose + @Nullable + public TeamworkApplicationIdentityType applicationIdentityType; + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/TeamworkApplicationIdentityType.java b/src/main/java/com/microsoft/graph/models/TeamworkApplicationIdentityType.java new file mode 100644 index 00000000000..34f8c365d95 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkApplicationIdentityType.java @@ -0,0 +1,42 @@ +// 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 Teamwork Application Identity Type. +*/ +public enum TeamworkApplicationIdentityType +{ + /** + * aad Application + */ + AAD_APPLICATION, + /** + * bot + */ + BOT, + /** + * tenant Bot + */ + TENANT_BOT, + /** + * office365Connector + */ + OFFICE365_CONNECTOR, + /** + * outgoing Webhook + */ + OUTGOING_WEBHOOK, + /** + * unknown Future Value + */ + UNKNOWN_FUTURE_VALUE, + /** + * For TeamworkApplicationIdentityType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/TeamworkConversationIdentity.java b/src/main/java/com/microsoft/graph/models/TeamworkConversationIdentity.java new file mode 100644 index 00000000000..b3d462ae0e9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkConversationIdentity.java @@ -0,0 +1,48 @@ +// 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.TeamworkConversationIdentityType; +import com.microsoft.graph.models.Identity; + + +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 Teamwork Conversation Identity. + */ +public class TeamworkConversationIdentity extends Identity implements IJsonBackedObject { + + + /** + * The Conversation Identity Type. + * Type of conversation. Possible values are: team, channel, and chat. + */ + @SerializedName(value = "conversationIdentityType", alternate = {"ConversationIdentityType"}) + @Expose + @Nullable + public TeamworkConversationIdentityType conversationIdentityType; + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/TeamworkConversationIdentityType.java b/src/main/java/com/microsoft/graph/models/TeamworkConversationIdentityType.java new file mode 100644 index 00000000000..99c3d96da6e --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkConversationIdentityType.java @@ -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 Teamwork Conversation Identity Type. +*/ +public enum TeamworkConversationIdentityType +{ + /** + * team + */ + TEAM, + /** + * channel + */ + CHANNEL, + /** + * chat + */ + CHAT, + /** + * unknown Future Value + */ + UNKNOWN_FUTURE_VALUE, + /** + * For TeamworkConversationIdentityType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/TeamworkTagIdentity.java b/src/main/java/com/microsoft/graph/models/TeamworkTagIdentity.java new file mode 100644 index 00000000000..662f4dae261 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkTagIdentity.java @@ -0,0 +1,39 @@ +// 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.Identity; + + +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; +import java.util.HashMap; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Teamwork Tag Identity. + */ +public class TeamworkTagIdentity extends Identity implements IJsonBackedObject { + + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/TeamworkUserIdentity.java b/src/main/java/com/microsoft/graph/models/TeamworkUserIdentity.java new file mode 100644 index 00000000000..828192383f9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkUserIdentity.java @@ -0,0 +1,48 @@ +// 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.TeamworkUserIdentityType; +import com.microsoft.graph.models.Identity; + + +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 Teamwork User Identity. + */ +public class TeamworkUserIdentity extends Identity implements IJsonBackedObject { + + + /** + * The User Identity Type. + * Type of user. Possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, and phoneUser. + */ + @SerializedName(value = "userIdentityType", alternate = {"UserIdentityType"}) + @Expose + @Nullable + public TeamworkUserIdentityType userIdentityType; + + + /** + * 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) { + + } +} diff --git a/src/main/java/com/microsoft/graph/models/TeamworkUserIdentityType.java b/src/main/java/com/microsoft/graph/models/TeamworkUserIdentityType.java new file mode 100644 index 00000000000..ae2beee48b8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/models/TeamworkUserIdentityType.java @@ -0,0 +1,50 @@ +// 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 Teamwork User Identity Type. +*/ +public enum TeamworkUserIdentityType +{ + /** + * aad User + */ + AAD_USER, + /** + * on Premise Aad User + */ + ON_PREMISE_AAD_USER, + /** + * anonymous Guest + */ + ANONYMOUS_GUEST, + /** + * federated User + */ + FEDERATED_USER, + /** + * personal Microsoft Account User + */ + PERSONAL_MICROSOFT_ACCOUNT_USER, + /** + * skype User + */ + SKYPE_USER, + /** + * phone User + */ + PHONE_USER, + /** + * unknown Future Value + */ + UNKNOWN_FUTURE_VALUE, + /** + * For TeamworkUserIdentityType values that were not expected from the service + */ + UNEXPECTED_VALUE +} diff --git a/src/main/java/com/microsoft/graph/models/User.java b/src/main/java/com/microsoft/graph/models/User.java index bd0ebba4c1c..8164bad06f5 100644 --- a/src/main/java/com/microsoft/graph/models/User.java +++ b/src/main/java/com/microsoft/graph/models/User.java @@ -178,7 +178,7 @@ public class User extends DirectoryObject implements IJsonBackedObject { /** * The Created Date Time. - * The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Read-only. Supports $filter (eq, ne, NOT , ge, le, and in operators) and $orderBy. + * The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Read-only. Supports $filter (eq, ne, NOT , ge, le, and in operators). */ @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"}) @Expose diff --git a/src/main/java/com/microsoft/graph/models/UserSettings.java b/src/main/java/com/microsoft/graph/models/UserSettings.java index ff477a08c63..2dc0c38f840 100644 --- a/src/main/java/com/microsoft/graph/models/UserSettings.java +++ b/src/main/java/com/microsoft/graph/models/UserSettings.java @@ -28,7 +28,7 @@ public class UserSettings extends Entity implements IJsonBackedObject { /** * The Contribution To Content Discovery As Organization Disabled. - * Reflects the organization level setting controlling delegate access to the trending API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected for the whole organization. This setting is read-only and can only be changed by administrators in the SharePoint admin center. + * Reflects the Office Delve organization level setting. When set to true, the organization doesn't have access to Office Delve. This setting is read-only and can only be changed by administrators in the SharePoint admin center. */ @SerializedName(value = "contributionToContentDiscoveryAsOrganizationDisabled", alternate = {"ContributionToContentDiscoveryAsOrganizationDisabled"}) @Expose @@ -37,7 +37,7 @@ public class UserSettings extends Entity implements IJsonBackedObject { /** * The Contribution To Content Discovery Disabled. - * When set to true, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. Users can control this setting in Office Delve. + * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. */ @SerializedName(value = "contributionToContentDiscoveryDisabled", alternate = {"ContributionToContentDiscoveryDisabled"}) @Expose diff --git a/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequest.java index bff30faf651..cc5ffe2d8dc 100644 --- a/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequest.java +++ b/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequest.java @@ -9,6 +9,7 @@ import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.Team; import com.microsoft.graph.models.Channel; +import com.microsoft.graph.models.ChatMessage; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; diff --git a/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequestBuilder.java index 65e082d43ee..5daa1637241 100644 --- a/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/ChannelCollectionRequestBuilder.java @@ -9,6 +9,7 @@ import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.Team; import com.microsoft.graph.models.Channel; +import com.microsoft.graph.models.ChatMessage; import java.util.Arrays; import java.util.EnumSet; import javax.annotation.Nullable; @@ -17,6 +18,7 @@ import com.microsoft.graph.requests.ChannelCollectionRequestBuilder; import com.microsoft.graph.requests.ChannelRequestBuilder; import com.microsoft.graph.requests.ChannelCollectionRequest; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequestBuilder; import com.microsoft.graph.http.BaseCollectionRequestBuilder; import com.microsoft.graph.core.IBaseClient; import com.microsoft.graph.http.PrimitiveRequestBuilder; @@ -40,6 +42,15 @@ public ChannelCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnul + /** + * Gets a builder to execute the method + * @return the request builder collection + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequestBuilder getAllMessages() { + return new ChannelGetAllMessagesCollectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.getAllMessages"), getClient(), null); + } + /** * Gets the raw count request for the collection * @return The raw count request for the collection diff --git a/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionPage.java b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionPage.java new file mode 100644 index 00000000000..7b62e7f3d20 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionPage.java @@ -0,0 +1,47 @@ +// Template Source: BaseMethodCollectionPage.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.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.ChatMessage; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.http.BaseCollectionPage; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequestBuilder; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionPage; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Channel Get All Messages Collection Page. + */ +public class ChannelGetAllMessagesCollectionPage extends BaseCollectionPage { + + /** + * A collection page for ChatMessage. + * + * @param response The serialized ChannelGetAllMessagesCollectionResponse from the service + * @param builder The request builder for the next collection page + */ + public ChannelGetAllMessagesCollectionPage(@Nonnull final ChannelGetAllMessagesCollectionResponse response, @Nonnull final ChannelGetAllMessagesCollectionRequestBuilder builder) { + super(response, builder); + } + + /** + * Creates the collection page for ChannelGetAllMessages + * + * @param pageContents the contents of this page + * @param nextRequestBuilder the request builder for the next page + */ + public ChannelGetAllMessagesCollectionPage(@Nonnull final java.util.List pageContents, @Nullable final ChannelGetAllMessagesCollectionRequestBuilder nextRequestBuilder) { + super(pageContents, nextRequestBuilder); + } +} diff --git a/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionRequest.java b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionRequest.java new file mode 100644 index 00000000000..b87ac7b7288 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionRequest.java @@ -0,0 +1,145 @@ +// Template Source: BaseMethodCollectionRequest.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.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.ChatMessage; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequestBuilder; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionResponse; +import com.microsoft.graph.models.ChatMessage; +import com.microsoft.graph.options.QueryOption; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseFunctionCollectionRequest; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Channel Get All Messages Collection Request. + */ +public class ChannelGetAllMessagesCollectionRequest extends BaseFunctionCollectionRequest { + + + /** + * The request for this ChannelGetAllMessages + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ChannelGetAllMessagesCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ChannelGetAllMessagesCollectionResponse.class, ChannelGetAllMessagesCollectionPage.class, ChannelGetAllMessagesCollectionRequestBuilder.class); + } + + /** + * Sets the select clause for the request + * + * @param value the select clause + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest select(@Nonnull final String value) { + addSelectOption(value); + return this; + } + + /** + * Sets the expand clause for the request + * + * @param value the expand clause + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest expand(@Nonnull final String value) { + addExpandOption(value); + return this; + } + + /** + * Sets the filter clause for the request + * + * @param value the filter clause + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest filter(@Nonnull final String value) { + addFilterOption(value); + return this; + } + + /** + * Sets the order by clause for the request + * + * @param value the order by clause + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest orderBy(@Nonnull final String value) { + addOrderByOption(value); + return this; + } + + /** + * Sets the count value for the request + * + * @param value whether or not to return the count of objects with the request + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest count(final boolean value) { + addCountOption(value); + return this; + } + /** + * Sets the count value to true for the request + * + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest count() { + addCountOption(true); + return this; + } + + /** + * Sets the top value for the request + * + * @param value the max number of items to return + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest top(final int value) { + addTopOption(value); + return this; + } + /** + * Sets the skip value for the request + * + * @param value of the number of items to skip + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest skip(final int value) { + addSkipOption(value); + return this; + } + /** + * Add Skip token for pagination + * @param skipToken - Token for pagination + * @return the updated request + */ + @Nonnull + public ChannelGetAllMessagesCollectionRequest skipToken(@Nonnull final String skipToken) { + addSkipTokenOption(skipToken); + return this; + } + +} diff --git a/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionRequestBuilder.java new file mode 100644 index 00000000000..e399075408b --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionRequestBuilder.java @@ -0,0 +1,52 @@ +// Template Source: BaseMethodCollectionRequestBuilder.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.requests; + +import com.microsoft.graph.http.IRequestBuilder; +import com.microsoft.graph.core.ClientException; +import com.microsoft.graph.models.ChatMessage; +import java.util.Arrays; +import java.util.EnumSet; +import javax.annotation.Nullable; +import javax.annotation.Nonnull; + +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequestBuilder; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest; +import com.microsoft.graph.requests.ChannelGetAllMessagesCollectionResponse; +import com.microsoft.graph.options.FunctionOption; +import com.microsoft.graph.core.IBaseClient; +import com.microsoft.graph.http.BaseFunctionCollectionRequestBuilder; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Channel Get All Messages Collection Request Builder. + */ +public class ChannelGetAllMessagesCollectionRequestBuilder extends BaseFunctionCollectionRequestBuilder { + + /** + * The request builder for this collection of Channel + * + * @param requestUrl the request URL + * @param client the service client + * @param requestOptions the options for this request + */ + public ChannelGetAllMessagesCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) { + super(requestUrl, client, requestOptions, ChannelGetAllMessagesCollectionRequestBuilder.class, ChannelGetAllMessagesCollectionRequest.class); + } + /** + * Creates the request + * + * @param requestOptions the options for this request + * @return the ChannelGetAllMessagesCollectionRequest instance + */ + @Override + @Nonnull + public ChannelGetAllMessagesCollectionRequest buildRequest(@Nullable final java.util.List requestOptions) { + final ChannelGetAllMessagesCollectionRequest request = super.buildRequest(requestOptions); + return request; + } +} diff --git a/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionResponse.java b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionResponse.java new file mode 100644 index 00000000000..37c5cfc2558 --- /dev/null +++ b/src/main/java/com/microsoft/graph/requests/ChannelGetAllMessagesCollectionResponse.java @@ -0,0 +1,20 @@ +// Template Source: BaseMethodCollectionResponse.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.requests; +import com.microsoft.graph.models.ChatMessage; + + +import javax.annotation.Nullable; +import javax.annotation.Nonnull; +import com.microsoft.graph.http.BaseCollectionResponse; + +// **NOTE** This file was generated by a tool and any changes will be overwritten. + +/** + * The class for the Channel Get All Messages Collection Response. + */ +public class ChannelGetAllMessagesCollectionResponse extends BaseCollectionResponse { +} diff --git a/src/main/java/com/microsoft/graph/requests/ChannelRequest.java b/src/main/java/com/microsoft/graph/requests/ChannelRequest.java index 7a62cae62df..63814685665 100644 --- a/src/main/java/com/microsoft/graph/requests/ChannelRequest.java +++ b/src/main/java/com/microsoft/graph/requests/ChannelRequest.java @@ -8,6 +8,7 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.Channel; +import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.requests.DriveItemRequestBuilder; import com.microsoft.graph.requests.ConversationMemberCollectionRequestBuilder; import com.microsoft.graph.requests.ConversationMemberRequestBuilder; diff --git a/src/main/java/com/microsoft/graph/requests/ChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/requests/ChannelRequestBuilder.java index 0d7f0075b10..5c223f2f4ac 100644 --- a/src/main/java/com/microsoft/graph/requests/ChannelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/requests/ChannelRequestBuilder.java @@ -8,6 +8,7 @@ import com.microsoft.graph.http.IRequestBuilder; import com.microsoft.graph.core.ClientException; import com.microsoft.graph.models.Channel; +import com.microsoft.graph.models.ChatMessage; import com.microsoft.graph.requests.DriveItemRequestBuilder; import com.microsoft.graph.requests.ConversationMemberCollectionRequestBuilder; import com.microsoft.graph.requests.ConversationMemberRequestBuilder; diff --git a/src/test/java/com/microsoft/graph/serialization/AdditionalDataTests.java b/src/test/java/com/microsoft/graph/serialization/AdditionalDataTests.java index 3a0a68c7ba5..b7c7974dfa8 100644 --- a/src/test/java/com/microsoft/graph/serialization/AdditionalDataTests.java +++ b/src/test/java/com/microsoft/graph/serialization/AdditionalDataTests.java @@ -25,7 +25,7 @@ import com.microsoft.graph.models.DriveItemCreateUploadSessionParameterSet; import com.microsoft.graph.models.DriveItemUploadableProperties; import com.microsoft.graph.models.Entity; -import com.microsoft.graph.models.IdentitySet; +import com.microsoft.graph.models.ChatMessageMentionedIdentitySet; import com.microsoft.graph.models.PlannerAssignment; import com.microsoft.graph.models.PlannerAssignments; import com.microsoft.graph.models.PlannerTask; @@ -162,7 +162,7 @@ public void testSerializeAdditionalDataOnCollections() { final ChatMessage chatMessage = new ChatMessage(); final ChatMessageMention chatMessageMention = new ChatMessageMention(); chatMessageMention.additionalDataManager().put("helloWorld", new JsonPrimitive("3.141516")); - final IdentitySet identitySet = new IdentitySet(); + final ChatMessageMentionedIdentitySet identitySet = new ChatMessageMentionedIdentitySet(); identitySet.additionalDataManager().put("identitySetKey", new JsonPrimitive("identitySetValue")); chatMessageMention.mentioned = identitySet; chatMessage.mentions = Collections.singletonList(chatMessageMention); diff --git a/typeSummary.txt b/typeSummary.txt index e2a78601b12..afad087404f 100644 --- a/typeSummary.txt +++ b/typeSummary.txt @@ -2093,6 +2093,30 @@ ENTITY_URL TEXT UNEXPECTED_VALUE + enum com.microsoft.graph.models.TeamworkApplicationIdentityType + AAD_APPLICATION + BOT + TENANT_BOT + OFFICE365_CONNECTOR + OUTGOING_WEBHOOK + UNKNOWN_FUTURE_VALUE + UNEXPECTED_VALUE + enum com.microsoft.graph.models.TeamworkConversationIdentityType + TEAM + CHANNEL + CHAT + UNKNOWN_FUTURE_VALUE + UNEXPECTED_VALUE + enum com.microsoft.graph.models.TeamworkUserIdentityType + AAD_USER + ON_PREMISE_AAD_USER + ANONYMOUS_GUEST + FEDERATED_USER + PERSONAL_MICROSOFT_ACCOUNT_USER + SKYPE_USER + PHONE_USER + UNKNOWN_FUTURE_VALUE + UNEXPECTED_VALUE enum com.microsoft.graph.models.ThreatAssessmentContentType MAIL URL @@ -7602,6 +7626,11 @@ return type java.util.List method newBuilder return type com.microsoft.graph.models.ChannelCompleteMigrationParameterSet$ChannelCompleteMigrationParameterSetBuilder + class com.microsoft.graph.models.ChannelGetAllMessagesParameterSet + method getFunctionOptions + return type java.util.List + method newBuilder + return type com.microsoft.graph.models.ChannelGetAllMessagesParameterSet$ChannelGetAllMessagesParameterSetBuilder class com.microsoft.graph.models.ChannelIdentity property channelId : java.lang.String property oDataType : java.lang.String @@ -7653,7 +7682,7 @@ property createdDateTime : java.time.OffsetDateTime property deletedDateTime : java.time.OffsetDateTime property etag : java.lang.String - property from : com.microsoft.graph.models.IdentitySet + property from : com.microsoft.graph.models.ChatMessageFromIdentitySet property hostedContents : com.microsoft.graph.requests.ChatMessageHostedContentCollectionPage property id : java.lang.String property importance : com.microsoft.graph.models.ChatMessageImportance @@ -7695,6 +7724,17 @@ return type java.util.List method newBuilder return type com.microsoft.graph.models.ChatMessageDeltaParameterSet$ChatMessageDeltaParameterSetBuilder + class com.microsoft.graph.models.ChatMessageFromIdentitySet : com.microsoft.graph.models.IdentitySet + property application : com.microsoft.graph.models.Identity + property device : com.microsoft.graph.models.Identity + property oDataType : java.lang.String + property user : com.microsoft.graph.models.Identity + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject class com.microsoft.graph.models.ChatMessageHostedContent : com.microsoft.graph.models.TeamworkHostedContent property contentBytes : [B property contentType : java.lang.String @@ -7709,7 +7749,7 @@ class com.microsoft.graph.models.ChatMessageMention property id : java.lang.Integer property mentionText : java.lang.String - property mentioned : com.microsoft.graph.models.IdentitySet + property mentioned : com.microsoft.graph.models.ChatMessageMentionedIdentitySet property oDataType : java.lang.String method additionalDataManager return type com.microsoft.graph.serializer.AdditionalDataManager @@ -7717,6 +7757,18 @@ return type void param arg0 : com.microsoft.graph.serializer.ISerializer param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.models.ChatMessageMentionedIdentitySet : com.microsoft.graph.models.IdentitySet + property application : com.microsoft.graph.models.Identity + property conversation : com.microsoft.graph.models.TeamworkConversationIdentity + property device : com.microsoft.graph.models.Identity + property oDataType : java.lang.String + property user : com.microsoft.graph.models.Identity + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject class com.microsoft.graph.models.ChatMessagePolicyViolation property dlpAction : java.util.EnumSet property justificationText : java.lang.String @@ -7745,7 +7797,18 @@ property createdDateTime : java.time.OffsetDateTime property oDataType : java.lang.String property reactionType : java.lang.String - property user : com.microsoft.graph.models.IdentitySet + property user : com.microsoft.graph.models.ChatMessageReactionIdentitySet + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.models.ChatMessageReactionIdentitySet : com.microsoft.graph.models.IdentitySet + property application : com.microsoft.graph.models.Identity + property device : com.microsoft.graph.models.Identity + property oDataType : java.lang.String + property user : com.microsoft.graph.models.Identity method additionalDataManager return type com.microsoft.graph.serializer.AdditionalDataManager method setRawObject @@ -11261,6 +11324,7 @@ property hideFromOutlookClients : java.lang.Boolean property id : java.lang.String property isArchived : java.lang.Boolean + property isAssignableToRole : java.lang.Boolean property isSubscribedByMail : java.lang.Boolean property licenseProcessingState : com.microsoft.graph.models.LicenseProcessingState property mail : java.lang.String @@ -19854,6 +19918,17 @@ return type void param arg0 : com.microsoft.graph.serializer.ISerializer param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.models.TeamworkApplicationIdentity : com.microsoft.graph.models.Identity + property applicationIdentityType : com.microsoft.graph.models.TeamworkApplicationIdentityType + property displayName : java.lang.String + property id : java.lang.String + property oDataType : java.lang.String + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject class com.microsoft.graph.models.TeamworkBot : com.microsoft.graph.models.Entity property id : java.lang.String property oDataType : java.lang.String @@ -19863,6 +19938,17 @@ return type void param arg0 : com.microsoft.graph.serializer.ISerializer param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.models.TeamworkConversationIdentity : com.microsoft.graph.models.Identity + property conversationIdentityType : com.microsoft.graph.models.TeamworkConversationIdentityType + property displayName : java.lang.String + property id : java.lang.String + property oDataType : java.lang.String + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject class com.microsoft.graph.models.TeamworkHostedContent : com.microsoft.graph.models.Entity property contentBytes : [B property contentType : java.lang.String @@ -19882,6 +19968,27 @@ return type void param arg0 : com.microsoft.graph.serializer.ISerializer param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.models.TeamworkTagIdentity : com.microsoft.graph.models.Identity + property displayName : java.lang.String + property id : java.lang.String + property oDataType : java.lang.String + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.models.TeamworkUserIdentity : com.microsoft.graph.models.Identity + property displayName : java.lang.String + property id : java.lang.String + property oDataType : java.lang.String + property userIdentityType : com.microsoft.graph.models.TeamworkUserIdentityType + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject class com.microsoft.graph.models.TelecomExpenseManagementPartner : com.microsoft.graph.models.Entity property appAuthorized : java.lang.Boolean property displayName : java.lang.String @@ -43998,6 +44105,8 @@ param arg0 : java.lang.String method count return type com.microsoft.graph.http.PrimitiveRequestBuilder + method getAllMessages + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequestBuilder method getClient return type com.microsoft.graph.core.IBaseClient method getOptions @@ -44117,6 +44226,152 @@ method getRequestUrlWithAdditionalSegment return type java.lang.String param arg0 : java.lang.String + class com.microsoft.graph.requests.ChannelGetAllMessagesCollectionPage : com.microsoft.graph.http.BaseCollectionPage + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method getCount + return type java.lang.Long + method getCurrentPage + return type java.util.List + method getNextPage + return type com.microsoft.graph.http.BaseRequestBuilder + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject + class com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest : com.microsoft.graph.http.BaseFunctionCollectionRequest + method addFunctionOption + return type void + param arg0 : com.microsoft.graph.options.FunctionOption + method addHeader + return type void + param arg0 : java.lang.String + param arg1 : java.lang.String + method addQueryOption + return type void + param arg0 : com.microsoft.graph.options.QueryOption + method buildFromResponse + return type com.microsoft.graph.http.BaseCollectionPage + param arg0 : com.microsoft.graph.http.ICollectionResponse + method count + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + method count + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : boolean + method expand + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : java.lang.String + method filter + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : java.lang.String + method get + return type com.microsoft.graph.http.BaseCollectionPage + method getAsync + return type java.util.concurrent.CompletableFuture + method getBaseRequest + return type com.microsoft.graph.http.BaseRequest + method getCollectionPageClass + return type java.lang.Class + method getDelay + return type long + method getHeaders + return type java.util.List + method getHttpMethod + return type com.microsoft.graph.http.HttpMethod + method getHttpRequest + return type java.lang.Object + method getHttpRequest + return type java.lang.Object + param arg0 : java.lang.Object + method getMaxRedirects + return type int + method getMaxRetries + return type int + method getOptions + return type java.util.List + method getRequestUrl + return type java.net.URL + method getShouldRedirect + return type com.microsoft.graph.httpcore.middlewareoption.IShouldRedirect + method getShouldRetry + return type com.microsoft.graph.httpcore.middlewareoption.IShouldRetry + method getUseCaches + return type boolean + method orderBy + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : java.lang.String + method select + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : java.lang.String + method setDelay + return type void + param arg0 : long + method setMaxRedirects + return type void + param arg0 : int + method setMaxRetries + return type void + param arg0 : int + method setShouldRedirect + return type void + param arg0 : com.microsoft.graph.httpcore.middlewareoption.IShouldRedirect + method setShouldRetry + return type void + param arg0 : com.microsoft.graph.httpcore.middlewareoption.IShouldRetry + method setUseCaches + return type void + param arg0 : boolean + method skipToken + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : java.lang.String + method skip + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : int + method top + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : int + method withHttpMethod + return type com.microsoft.graph.http.IHttpRequest + param arg0 : com.microsoft.graph.http.HttpMethod + class com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequestBuilder : com.microsoft.graph.http.BaseFunctionCollectionRequestBuilder + method buildRequest + return type com.microsoft.graph.http.BaseCollectionRequest + param arg0 : [Lcom.microsoft.graph.options.Option; + method buildRequest + return type com.microsoft.graph.requests.ChannelGetAllMessagesCollectionRequest + param arg0 : java.util.List + method buildRequest + return type com.microsoft.graph.http.BaseCollectionRequest + param arg0 : java.util.List + method byId + return type com.microsoft.graph.http.BaseRequestBuilder + param arg0 : java.lang.String + method getClient + return type com.microsoft.graph.core.IBaseClient + method getOptions + return type java.util.List + param arg0 : [Lcom.microsoft.graph.options.Option; + method getRequestUrl + return type java.lang.String + method getRequestUrlWithAdditionalParameter + return type java.lang.String + param arg0 : java.lang.String + method getRequestUrlWithAdditionalSegment + return type java.lang.String + param arg0 : java.lang.String + class com.microsoft.graph.requests.ChannelGetAllMessagesCollectionResponse : com.microsoft.graph.http.BaseCollectionResponse + property nextLink : java.lang.String + property value : java.util.List + method additionalDataManager + return type com.microsoft.graph.serializer.AdditionalDataManager + method nextLink + return type java.lang.String + method setRawObject + return type void + param arg0 : com.microsoft.graph.serializer.ISerializer + param arg1 : com.google.gson.JsonObject + method values + return type java.util.List class com.microsoft.graph.requests.ChannelRequest : com.microsoft.graph.http.BaseRequest property REQUEST_STATS_HEADER_VALUE_FORMAT_STRING : java.lang.String method addFunctionOption