From 199ddc9363ffc9b6a06ff9fe8b02575258c3b527 Mon Sep 17 00:00:00 2001
From: glorialimicrosoft <67171398+glorialimicrosoft@users.noreply.github.com>
Date: Thu, 29 Feb 2024 15:38:54 -0500
Subject: [PATCH] Update the typespec to the one in Main branch (#42296)
---
.../Generated/CommunicationMessagesModelFactory.cs | 12 ++++++------
.../src/Generated/MessageTemplateDocument.cs | 4 ++--
.../src/Generated/MessageTemplateImage.cs | 4 ++--
.../src/Generated/MessageTemplateQuickAction.cs | 4 ++--
.../src/Generated/MessageTemplateText.cs | 4 ++--
.../src/Generated/MessageTemplateValue.cs | 6 +++---
.../src/Generated/MessageTemplateVideo.cs | 4 ++--
.../src/Generated/UnknownMessageTemplateValue.cs | 2 +-
.../src/Generated/tspCodeModel.json | 2 +-
.../Azure.Communication.Messages/tsp-location.yaml | 2 +-
10 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/CommunicationMessagesModelFactory.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/CommunicationMessagesModelFactory.cs
index 9ba52f0fbb896..836b52863ef9a 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/CommunicationMessagesModelFactory.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/CommunicationMessagesModelFactory.cs
@@ -114,7 +114,7 @@ public static MessageTemplate MessageTemplate(string name = null, string languag
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// A new instance for mocking.
public static MessageTemplateValue MessageTemplateValue(string name = null, string kind = null)
@@ -123,7 +123,7 @@ public static MessageTemplateValue MessageTemplateValue(string name = null, stri
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The text value.
/// A new instance for mocking.
public static MessageTemplateText MessageTemplateText(string name = null, string text = null)
@@ -132,7 +132,7 @@ public static MessageTemplateText MessageTemplateText(string name = null, string
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The (public) URL of the media.
/// The [optional] caption of the media object.
/// The [optional] filename of the media file.
@@ -149,7 +149,7 @@ public static MessageTemplateImage MessageTemplateImage(string name = null, Uri
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The (public) URL of the media.
/// The [optional] caption of the media object.
/// The [optional] filename of the media file.
@@ -166,7 +166,7 @@ public static MessageTemplateDocument MessageTemplateDocument(string name = null
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The (public) URL of the media.
/// The [optional] caption of the media object.
/// The [optional] filename of the media file.
@@ -183,7 +183,7 @@ public static MessageTemplateVideo MessageTemplateVideo(string name = null, Uri
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The [Optional] quick action text.
/// The [Optional] quick action payload.
/// A new instance for mocking.
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateDocument.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateDocument.cs
index 99efb89e43087..fb20f268ba61d 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateDocument.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateDocument.cs
@@ -14,7 +14,7 @@ namespace Azure.Communication.Messages
public partial class MessageTemplateDocument : MessageTemplateValue
{
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The (public) URL of the media.
/// or is null.
public MessageTemplateDocument(string name, Uri uri) : base(name)
@@ -33,7 +33,7 @@ public MessageTemplateDocument(string name, Uri uri) : base(name)
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
/// The (public) URL of the media.
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateImage.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateImage.cs
index 3ed61dd657033..a7945293ce46f 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateImage.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateImage.cs
@@ -14,7 +14,7 @@ namespace Azure.Communication.Messages
public partial class MessageTemplateImage : MessageTemplateValue
{
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The (public) URL of the media.
/// or is null.
public MessageTemplateImage(string name, Uri uri) : base(name)
@@ -33,7 +33,7 @@ public MessageTemplateImage(string name, Uri uri) : base(name)
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
/// The (public) URL of the media.
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateQuickAction.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateQuickAction.cs
index 4c87b1dd0f75c..6fe6fe38cbc1e 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateQuickAction.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateQuickAction.cs
@@ -14,7 +14,7 @@ namespace Azure.Communication.Messages
public partial class MessageTemplateQuickAction : MessageTemplateValue
{
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// is null.
public MessageTemplateQuickAction(string name) : base(name)
{
@@ -27,7 +27,7 @@ public MessageTemplateQuickAction(string name) : base(name)
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
/// The [Optional] quick action text.
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateText.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateText.cs
index 8edf415c5ff3f..2a3fdf5b15320 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateText.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateText.cs
@@ -14,7 +14,7 @@ namespace Azure.Communication.Messages
public partial class MessageTemplateText : MessageTemplateValue
{
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The text value.
/// or is null.
public MessageTemplateText(string name, string text) : base(name)
@@ -33,7 +33,7 @@ public MessageTemplateText(string name, string text) : base(name)
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
/// The text value.
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateValue.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateValue.cs
index c97f943e3b72b..a3ffce4df8cc8 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateValue.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateValue.cs
@@ -50,7 +50,7 @@ public abstract partial class MessageTemplateValue
private protected IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// is null.
protected MessageTemplateValue(string name)
{
@@ -63,7 +63,7 @@ protected MessageTemplateValue(string name)
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
internal MessageTemplateValue(string name, string kind, IDictionary serializedAdditionalRawData)
@@ -78,7 +78,7 @@ internal MessageTemplateValue()
{
}
- /// Name of the Template value.
+ /// Template binding reference name.
public string Name { get; }
/// The type discriminator describing a template parameter type.
internal string Kind { get; set; }
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateVideo.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateVideo.cs
index fba94e73d5328..3b12e6a2418d0 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateVideo.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/MessageTemplateVideo.cs
@@ -14,7 +14,7 @@ namespace Azure.Communication.Messages
public partial class MessageTemplateVideo : MessageTemplateValue
{
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The (public) URL of the media.
/// or is null.
public MessageTemplateVideo(string name, Uri uri) : base(name)
@@ -33,7 +33,7 @@ public MessageTemplateVideo(string name, Uri uri) : base(name)
}
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
/// The (public) URL of the media.
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/UnknownMessageTemplateValue.cs b/sdk/communication/Azure.Communication.Messages/src/Generated/UnknownMessageTemplateValue.cs
index e93c3a1fd96f0..8b7e4d373509f 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/UnknownMessageTemplateValue.cs
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/UnknownMessageTemplateValue.cs
@@ -14,7 +14,7 @@ namespace Azure.Communication.Messages
internal partial class UnknownMessageTemplateValue : MessageTemplateValue
{
/// Initializes a new instance of .
- /// Name of the Template value.
+ /// Template binding reference name.
/// The type discriminator describing a template parameter type.
/// Keeps track of any properties unknown to the library.
internal UnknownMessageTemplateValue(string name, string kind, IDictionary serializedAdditionalRawData) : base(name, kind, serializedAdditionalRawData)
diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json b/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json
index 8dbbfc800b84a..801587c212eb7 100644
--- a/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json
+++ b/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json
@@ -677,7 +677,7 @@
"$id": "83",
"Name": "name",
"SerializedName": "name",
- "Description": "Name of the Template value",
+ "Description": "Template binding reference name",
"Type": {
"$id": "84",
"Kind": "Primitive",
diff --git a/sdk/communication/Azure.Communication.Messages/tsp-location.yaml b/sdk/communication/Azure.Communication.Messages/tsp-location.yaml
index 016cf391ff824..af117338e8601 100644
--- a/sdk/communication/Azure.Communication.Messages/tsp-location.yaml
+++ b/sdk/communication/Azure.Communication.Messages/tsp-location.yaml
@@ -1,4 +1,4 @@
-commit: 2c535d9e0a407d8a03ee96e6815d84849377b9f5
+commit: c1a6baa03bc5861ade8be93e4ad0a7673732ad2d
directory: specification/communication/Communication.Messages
additionalDirectories: []
repo: Azure/azure-rest-api-specs
\ No newline at end of file