Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.ChatMessageCollectionResponse>(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Models.ChatMessage"/></returns>
/// <param name="body">The request body</param>
Expand Down Expand Up @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
return requestInfo;
}
/// <summary>
/// Send a new chatMessage in the specified channel or a chat.
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#pragma warning disable CS0618
using Microsoft.Graph.Communications.CallRecords;
using Microsoft.Graph.Communications.Calls;
using Microsoft.Graph.Communications.GetAllOnlineMeetingMessages;
using Microsoft.Graph.Communications.GetPresencesByUserId;
using Microsoft.Graph.Communications.OnlineMeetingConversations;
using Microsoft.Graph.Communications.OnlineMeetings;
using Microsoft.Graph.Communications.Presences;
using Microsoft.Graph.Models.ODataErrors;
Expand Down Expand Up @@ -33,11 +35,21 @@ public partial class CommunicationsRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Communications.Calls.CallsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to call the getAllOnlineMeetingMessages method.</summary>
public global::Microsoft.Graph.Communications.GetAllOnlineMeetingMessages.GetAllOnlineMeetingMessagesRequestBuilder GetAllOnlineMeetingMessages
{
get => new global::Microsoft.Graph.Communications.GetAllOnlineMeetingMessages.GetAllOnlineMeetingMessagesRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to call the getPresencesByUserId method.</summary>
public global::Microsoft.Graph.Communications.GetPresencesByUserId.GetPresencesByUserIdRequestBuilder GetPresencesByUserId
{
get => new global::Microsoft.Graph.Communications.GetPresencesByUserId.GetPresencesByUserIdRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the onlineMeetingConversations property of the microsoft.graph.cloudCommunications entity.</summary>
public global::Microsoft.Graph.Communications.OnlineMeetingConversations.OnlineMeetingConversationsRequestBuilder OnlineMeetingConversations
{
get => new global::Microsoft.Graph.Communications.OnlineMeetingConversations.OnlineMeetingConversationsRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity.</summary>
public global::Microsoft.Graph.Communications.OnlineMeetings.OnlineMeetingsRequestBuilder OnlineMeetings
{
Expand Down Expand Up @@ -91,7 +103,7 @@ public CommunicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
/// Update communications
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Models.CloudCommunications"/></returns>
/// <param name="body">The request body</param>
/// <param name="body">Represents a container that exposes navigation properties for cloud communications resources.</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
/// <exception cref="global::Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
Expand Down Expand Up @@ -135,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
/// Update communications
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
/// <param name="body">Represents a container that exposes navigation properties for cloud communications resources.</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Graph.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
using System.IO;
using System;
namespace Microsoft.Graph.Communications.GetAllOnlineMeetingMessages
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
#pragma warning disable CS1591
public partial class GetAllOnlineMeetingMessagesGetResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable
#pragma warning restore CS1591
{
/// <summary>The value property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.Models.EngagementConversationMessage>? Value
{
get { return BackingStore?.Get<List<global::Microsoft.Graph.Models.EngagementConversationMessage>?>("value"); }
set { BackingStore?.Set("value", value); }
}
#nullable restore
#else
public List<global::Microsoft.Graph.Models.EngagementConversationMessage> Value
{
get { return BackingStore?.Get<List<global::Microsoft.Graph.Models.EngagementConversationMessage>>("value"); }
set { BackingStore?.Set("value", value); }
}
#endif
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Communications.GetAllOnlineMeetingMessages.GetAllOnlineMeetingMessagesGetResponse"/></returns>
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
public static new global::Microsoft.Graph.Communications.GetAllOnlineMeetingMessages.GetAllOnlineMeetingMessagesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode)
{
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
return new global::Microsoft.Graph.Communications.GetAllOnlineMeetingMessages.GetAllOnlineMeetingMessagesGetResponse();
}
/// <summary>
/// The deserialization information for the current model
/// </summary>
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>(base.GetFieldDeserializers())
{
{ "value", n => { Value = n.GetCollectionOfObjectValues<global::Microsoft.Graph.Models.EngagementConversationMessage>(global::Microsoft.Graph.Models.EngagementConversationMessage.CreateFromDiscriminatorValue)?.AsList(); } },
};
}
/// <summary>
/// Serializes information the current object
/// </summary>
/// <param name="writer">Serialization writer to use to serialize this model</param>
public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.Models.EngagementConversationMessage>("value", Value);
}
}
}
#pragma warning restore CS0618
Loading
Loading