diff --git a/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs b/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs index 1500e811a4fc..92282a076566 100644 --- a/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs @@ -101,15 +101,6 @@ internal ChatThreadInfo() { } public System.DateTimeOffset? LastMessageReceivedOn { get { throw null; } } public string Topic { get { throw null; } } } - public partial class ChatThreadInternal - { - internal ChatThreadInternal() { } - public string CreatedBy { get { throw null; } } - public System.DateTimeOffset? CreatedOn { get { throw null; } } - public string Id { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Members { get { throw null; } } - public string Topic { get { throw null; } } - } public partial class ChatThreadMember { public ChatThreadMember(Azure.Communication.CommunicationUser communicationUser) { } @@ -117,13 +108,6 @@ public ChatThreadMember(Azure.Communication.CommunicationUser communicationUser) public System.DateTimeOffset? ShareHistoryTime { get { throw null; } set { } } public Azure.Communication.CommunicationUser User { get { throw null; } set { } } } - public partial class ChatThreadMemberInternal - { - public ChatThreadMemberInternal(string id) { } - public string DisplayName { get { throw null; } set { } } - public string Id { get { throw null; } set { } } - public System.DateTimeOffset? ShareHistoryTime { get { throw null; } set { } } - } public partial class ReadReceipt { internal ReadReceipt() { } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs index 71f131942402..7264bb59975a 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs @@ -12,7 +12,7 @@ namespace Azure.Communication.Chat { - public partial class ChatThreadInternal + internal partial class ChatThreadInternal { internal static ChatThreadInternal DeserializeChatThreadInternal(JsonElement element) { diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs index 13bae41c372e..6a3b7ea2b5f6 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs @@ -12,7 +12,7 @@ namespace Azure.Communication.Chat { /// The ChatThread. - public partial class ChatThreadInternal + internal partial class ChatThreadInternal { /// Initializes a new instance of ChatThreadInternal. internal ChatThreadInternal() diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs index 7247f20460e1..2d77dba7e2ec 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs @@ -11,7 +11,7 @@ namespace Azure.Communication.Chat { - public partial class ChatThreadMemberInternal : IUtf8JsonSerializable + internal partial class ChatThreadMemberInternal : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs index 121c21753f78..667a48cef655 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs @@ -10,7 +10,7 @@ namespace Azure.Communication.Chat { /// A member of the chat thread. - public partial class ChatThreadMemberInternal + internal partial class ChatThreadMemberInternal { /// Initializes a new instance of ChatThreadMemberInternal. /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadInternal.cs index 5c8ed25b41fa..097e7988254f 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadInternal.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadInternal.cs @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using Azure.Core; -using Azure.Communication; namespace Azure.Communication.Chat { [CodeGenModel("ChatThread")] - public partial class ChatThreadInternal + internal partial class ChatThreadInternal { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs index 1df9e12a97c6..bd80ccb0d753 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using Azure.Core; -using Azure.Communication; namespace Azure.Communication.Chat { [CodeGenModel("ChatThreadMember")] - public partial class ChatThreadMemberInternal + internal partial class ChatThreadMemberInternal { internal ChatThreadMember ToChatThreadMember() {