Skip to content

Commit 2233ac0

Browse files
committed
chore(discovery): removed incompatible enums
1 parent 395aff8 commit 2233ac0

File tree

2 files changed

+2
-52
lines changed

2 files changed

+2
-52
lines changed

Scripts/Services/Discovery/v1/Models/LogQueryResponseResult.cs

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,6 @@ namespace IBM.Watson.DeveloperCloud.Services.Discovery.v1
2727
[fsObject]
2828
public class LogQueryResponseResult
2929
{
30-
/// <summary>
31-
/// The type of log entry returned.
32-
///
33-
/// **query** indicates that the log represents the results of a call to the single collection **query**
34-
/// method.
35-
///
36-
/// **event** indicates that the log represents a call to the **events** API.
37-
/// </summary>
38-
public enum DocumentTypeEnum
39-
{
40-
/// <summary>
41-
/// Enum query for query
42-
/// </summary>
43-
[EnumMember(Value = "query")]
44-
query,
45-
/// <summary>
46-
/// Enum _event for event
47-
/// </summary>
48-
[EnumMember(Value = "event")]
49-
_event
50-
}
51-
5230
/// <summary>
5331
/// The type of event that this object respresents. Possible values are
5432
///
@@ -91,7 +69,7 @@ public enum ResultTypeEnum
9169
/// **event** indicates that the log represents a call to the **events** API.
9270
/// </summary>
9371
[fsProperty("document_type")]
94-
public DocumentTypeEnum? DocumentType { get; set; }
72+
public string DocumentType { get; set; }
9573
/// <summary>
9674
/// The type of event that this object respresents. Possible values are
9775
///

Scripts/Services/Discovery/v1/Models/TokenDictStatusResponse.cs

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,11 @@ namespace IBM.Watson.DeveloperCloud.Services.Discovery.v1
2626
[fsObject]
2727
public class TokenDictStatusResponse
2828
{
29-
/// <summary>
30-
/// Current tokenization dictionary status for the specified collection.
31-
/// </summary>
32-
/// <value>
33-
/// Current tokenization dictionary status for the specified collection.
34-
/// </value>
35-
public enum StatusEnum
36-
{
37-
38-
/// <summary>
39-
/// Enum ACTIVE for active
40-
/// </summary>
41-
[EnumMember(Value = "active")]
42-
ACTIVE,
43-
44-
/// <summary>
45-
/// Enum PENDING for pending
46-
/// </summary>
47-
[EnumMember(Value = "pending")]
48-
PENDING,
49-
50-
/// <summary>
51-
/// Enum NOT_FOUND for not found
52-
/// </summary>
53-
[EnumMember(Value = "not found")]
54-
NOT_FOUND
55-
}
56-
5729
/// <summary>
5830
/// Current tokenization dictionary status for the specified collection.
5931
/// </summary>
6032
[fsProperty("status")]
61-
public StatusEnum? Status { get; set; }
33+
public string Status { get; set; }
6234
/// <summary>
6335
/// The type for this dictionary. Always returns `tokenization_dictionary`.
6436
/// </summary>

0 commit comments

Comments
 (0)