Skip to content

Commit f93ac6e

Browse files
committed
chore(conversation2): Apply manual changes
1 parent 0f83065 commit f93ac6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/IBM.WatsonDeveloperCloud.Conversation.v1/ConversationService.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ public string VersionDate
3737
set { _versionDate = value; }
3838
}
3939

40+
[Obsolete("Conversation V1 is deprecated and will be removed in the next major release of the SDK. Use Assistant V1 or Assistant V2.")]
4041
public ConversationService() : base(SERVICE_NAME, URL)
4142
{
4243
if(!string.IsNullOrEmpty(this.Endpoint))
4344
this.Endpoint = URL;
4445
}
4546

47+
[Obsolete("Conversation V1 is deprecated and will be removed in the next major release of the SDK. Use Assistant V1 or Assistant V2.")]
4648
public ConversationService(string userName, string password, string versionDate) : this()
4749
{
4850
if (string.IsNullOrEmpty(userName))
@@ -58,6 +60,7 @@ public ConversationService(string userName, string password, string versionDate)
5860
VersionDate = versionDate;
5961
}
6062

63+
[Obsolete("Conversation V1 is deprecated and will be removed in the next major release of the SDK. Use Assistant V1 or Assistant V2.")]
6164
public ConversationService(TokenOptions options, string versionDate) : this()
6265
{
6366
if (string.IsNullOrEmpty(options.IamApiKey) && string.IsNullOrEmpty(options.IamAccessToken))
@@ -79,6 +82,7 @@ public ConversationService(TokenOptions options, string versionDate) : this()
7982
_tokenManager = new TokenManager(options);
8083
}
8184

85+
[Obsolete("Conversation V1 is deprecated and will be removed in the next major release of the SDK. Use Assistant V1 or Assistant V2.")]
8286
public ConversationService(IClient httpClient) : this()
8387
{
8488
if (httpClient == null)

0 commit comments

Comments
 (0)