Skip to content

Commit f56121b

Browse files
authored
Merge pull request #393 from watson-developer-cloud/7389-regenerate-compare-comply
Compare Comply update
2 parents e48dd4a + 95af39e commit f56121b

24 files changed

+171
-289
lines changed

src/IBM.Watson.CompareComply.v1/CompareComplyService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,9 @@ public DetailedResponse<FeedbackReturn> AddFeedback(FeedbackDataInput feedbackDa
505505
/// `model_id`. The only permitted value is `contracts`. (optional)</param>
506506
/// <param name="modelVersion">An optional string that filters the output to include only feedback with the
507507
/// specified `model_version`. (optional)</param>
508-
/// <param name="categoryRemoved">An optional string in the form of a comma-separated list of categories. If
509-
/// this is specified, the service filters the output to include only feedback that has at least one category
510-
/// from the list removed. (optional)</param>
508+
/// <param name="categoryRemoved">An optional string in the form of a comma-separated list of categories. If it
509+
/// is specified, the service filters the output to include only feedback that has at least one category from
510+
/// the list removed. (optional)</param>
511511
/// <param name="categoryAdded">An optional string in the form of a comma-separated list of categories. If this
512512
/// is specified, the service filters the output to include only feedback that has at least one category from
513513
/// the list added. (optional)</param>
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<Description>IBM.Watson.CompareComply.v1 wraps the Watson Compare Comply service (http://www.ibm.com/watson/developercloud/compare-comply.html)</Description>
5-
<AssemblyTitle>IBM.Watson.CompareComply.v1</AssemblyTitle>
6-
<VersionPrefix>3.4.1</VersionPrefix>
7-
<Authors>IBM Watson</Authors>
8-
<TargetFramework>netstandard2.0</TargetFramework>
9-
<AssemblyName>IBM.Watson.CompareComply.v1</AssemblyName>
10-
<PackageId>IBM.Watson.CompareComply.v1</PackageId>
11-
<PackageTags>watson;cognitive;speech;vision;machine-learning;ml;ai;artificial-intelligence;.NET;.NET-Standard</PackageTags>
12-
<PackageIconUrl>https://watson-developer-cloud.github.io/dotnet-standard-sdk/img/Watson_Avatar_Pos_RGB.png</PackageIconUrl>
13-
<PackageProjectUrl>https://github.com/watson-developer-cloud/dotnet-standard-sdk</PackageProjectUrl>
14-
<Version>3.4.1</Version>
15-
</PropertyGroup>
16-
17-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
18-
<DebugType>full</DebugType>
19-
<DebugSymbols>true</DebugSymbols>
20-
</PropertyGroup>
21-
22-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
23-
<DebugType>full</DebugType>
24-
<DebugSymbols>true</DebugSymbols>
25-
</PropertyGroup>
26-
27-
<ItemGroup>
28-
<PackageReference Include="IBM.Cloud.SDK.Core" Version="0.8.0" />
29-
<PackageReference Include="IBM.Watson.Common" Version="3.0.1" />
30-
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
31-
</ItemGroup>
32-
33-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<Description>IBM.Watson.CompareComply.v1 wraps the Watson Compare Comply service (http://www.ibm.com/watson/developercloud/compare-comply.html)</Description>
5+
<AssemblyTitle>IBM.Watson.CompareComply.v1</AssemblyTitle>
6+
<VersionPrefix>3.4.1</VersionPrefix>
7+
<Authors>IBM Watson</Authors>
8+
<TargetFramework>netstandard2.0</TargetFramework>
9+
<AssemblyName>IBM.Watson.CompareComply.v1</AssemblyName>
10+
<PackageId>IBM.Watson.CompareComply.v1</PackageId>
11+
<PackageTags>watson;cognitive;speech;vision;machine-learning;ml;ai;artificial-intelligence;.NET;.NET-Standard</PackageTags>
12+
<PackageIconUrl>https://watson-developer-cloud.github.io/dotnet-standard-sdk/img/Watson_Avatar_Pos_RGB.png</PackageIconUrl>
13+
<PackageProjectUrl>https://github.com/watson-developer-cloud/dotnet-standard-sdk</PackageProjectUrl>
14+
<Version>3.4.1</Version>
15+
</PropertyGroup>
16+
17+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
18+
<DebugType>full</DebugType>
19+
<DebugSymbols>true</DebugSymbols>
20+
</PropertyGroup>
21+
22+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
23+
<DebugType>full</DebugType>
24+
<DebugSymbols>true</DebugSymbols>
25+
</PropertyGroup>
26+
27+
<ItemGroup>
28+
<PackageReference Include="IBM.Cloud.SDK.Core" Version="0.8.0" />
29+
<PackageReference Include="IBM.Watson.Common" Version="3.0.1" />
30+
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
31+
</ItemGroup>
32+
33+
</Project>

src/IBM.Watson.CompareComply.v1/Model/AlignedElement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class AlignedElement
3838
[JsonProperty("identical_text", NullValueHandling = NullValueHandling.Ignore)]
3939
public bool? IdenticalText { get; set; }
4040
/// <summary>
41-
/// One or more hashed values that you can send to IBM to provide feedback or receive support.
41+
/// Hashed values that you can send to IBM to provide feedback or receive support.
4242
/// </summary>
4343
[JsonProperty("provenance_ids", NullValueHandling = NullValueHandling.Ignore)]
4444
public List<string> ProvenanceIds { get; set; }

src/IBM.Watson.CompareComply.v1/Model/BodyCells.cs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,35 +62,37 @@ public class BodyCells
6262
[JsonProperty("column_index_end", NullValueHandling = NullValueHandling.Ignore)]
6363
public long? ColumnIndexEnd { get; set; }
6464
/// <summary>
65-
/// Gets or Sets RowHeaderIds
65+
/// An array that contains the `id` value of a row header that is applicable to this body cell.
6666
/// </summary>
6767
[JsonProperty("row_header_ids", NullValueHandling = NullValueHandling.Ignore)]
68-
public List<RowHeaderIds> RowHeaderIds { get; set; }
68+
public List<string> RowHeaderIds { get; set; }
6969
/// <summary>
70-
/// Gets or Sets RowHeaderTexts
70+
/// An array that contains the `text` value of a row header that is applicable to this body cell.
7171
/// </summary>
7272
[JsonProperty("row_header_texts", NullValueHandling = NullValueHandling.Ignore)]
73-
public List<RowHeaderTexts> RowHeaderTexts { get; set; }
73+
public List<string> RowHeaderTexts { get; set; }
7474
/// <summary>
75-
/// Gets or Sets RowHeaderTextsNormalized
75+
/// If you provide customization input, the normalized version of the row header texts according to the
76+
/// customization; otherwise, the same value as `row_header_texts`.
7677
/// </summary>
7778
[JsonProperty("row_header_texts_normalized", NullValueHandling = NullValueHandling.Ignore)]
78-
public List<RowHeaderTextsNormalized> RowHeaderTextsNormalized { get; set; }
79+
public List<string> RowHeaderTextsNormalized { get; set; }
7980
/// <summary>
80-
/// Gets or Sets ColumnHeaderIds
81+
/// An array that contains the `id` value of a column header that is applicable to the current cell.
8182
/// </summary>
8283
[JsonProperty("column_header_ids", NullValueHandling = NullValueHandling.Ignore)]
83-
public List<ColumnHeaderIds> ColumnHeaderIds { get; set; }
84+
public List<string> ColumnHeaderIds { get; set; }
8485
/// <summary>
85-
/// Gets or Sets ColumnHeaderTexts
86+
/// An array that contains the `text` value of a column header that is applicable to the current cell.
8687
/// </summary>
8788
[JsonProperty("column_header_texts", NullValueHandling = NullValueHandling.Ignore)]
88-
public List<ColumnHeaderTexts> ColumnHeaderTexts { get; set; }
89+
public List<string> ColumnHeaderTexts { get; set; }
8990
/// <summary>
90-
/// Gets or Sets ColumnHeaderTextsNormalized
91+
/// If you provide customization input, the normalized version of the column header texts according to the
92+
/// customization; otherwise, the same value as `column_header_texts`.
9193
/// </summary>
9294
[JsonProperty("column_header_texts_normalized", NullValueHandling = NullValueHandling.Ignore)]
93-
public List<ColumnHeaderTextsNormalized> ColumnHeaderTextsNormalized { get; set; }
95+
public List<string> ColumnHeaderTextsNormalized { get; set; }
9496
/// <summary>
9597
/// Gets or Sets Attributes
9698
/// </summary>

src/IBM.Watson.CompareComply.v1/Model/Category.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public class LabelEnumValue
140140
[JsonProperty("label", NullValueHandling = NullValueHandling.Ignore)]
141141
public string Label { get; set; }
142142
/// <summary>
143-
/// One or more hashed values that you can send to IBM to provide feedback or receive support.
143+
/// Hashed values that you can send to IBM to provide feedback or receive support.
144144
/// </summary>
145145
[JsonProperty("provenance_ids", NullValueHandling = NullValueHandling.Ignore)]
146146
public List<string> ProvenanceIds { get; set; }

src/IBM.Watson.CompareComply.v1/Model/ClassifyReturn.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,31 @@ public class ClassifyReturn
5858
[JsonProperty("contract_amounts", NullValueHandling = NullValueHandling.Ignore)]
5959
public List<ContractAmts> ContractAmounts { get; set; }
6060
/// <summary>
61-
/// The date or dates on which the document is to be terminated.
61+
/// The dates on which the document is to be terminated.
6262
/// </summary>
6363
[JsonProperty("termination_dates", NullValueHandling = NullValueHandling.Ignore)]
6464
public List<TerminationDates> TerminationDates { get; set; }
6565
/// <summary>
66-
/// The document's contract type or types as declared in the document.
66+
/// The contract type as declared in the document.
6767
/// </summary>
6868
[JsonProperty("contract_types", NullValueHandling = NullValueHandling.Ignore)]
6969
public List<ContractTypes> ContractTypes { get; set; }
7070
/// <summary>
71-
/// The duration or durations of the contract.
71+
/// The durations of the contract.
7272
/// </summary>
7373
[JsonProperty("contract_terms", NullValueHandling = NullValueHandling.Ignore)]
7474
public List<ContractTerms> ContractTerms { get; set; }
7575
/// <summary>
76-
/// The document's payment duration or durations.
76+
/// The document's payment durations.
7777
/// </summary>
7878
[JsonProperty("payment_terms", NullValueHandling = NullValueHandling.Ignore)]
7979
public List<PaymentTerms> PaymentTerms { get; set; }
8080
/// <summary>
81+
/// The contract currencies as declared in the document.
82+
/// </summary>
83+
[JsonProperty("contract_currencies", NullValueHandling = NullValueHandling.Ignore)]
84+
public List<ContractCurrencies> ContractCurrencies { get; set; }
85+
/// <summary>
8186
/// Definition of tables identified in the input document.
8287
/// </summary>
8388
[JsonProperty("tables", NullValueHandling = NullValueHandling.Ignore)]

src/IBM.Watson.CompareComply.v1/Model/ColumnHeaderIds.cs

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/IBM.Watson.CompareComply.v1/Model/ColumnHeaderTexts.cs

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/IBM.Watson.CompareComply.v1/Model/ColumnHeaderTextsNormalized.cs

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/IBM.Watson.CompareComply.v1/Model/ContractAmts.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ public class ConfidenceLevelEnumValue
5757
[JsonProperty("text", NullValueHandling = NullValueHandling.Ignore)]
5858
public string Text { get; set; }
5959
/// <summary>
60-
/// The normalized form of the amount, which is listed as a string. This element is optional; that is, the
61-
/// service output lists it only if normalized text exists.
60+
/// The normalized form of the amount, which is listed as a string. This element is optional; it is returned
61+
/// only if normalized text exists.
6262
/// </summary>
6363
[JsonProperty("text_normalized", NullValueHandling = NullValueHandling.Ignore)]
6464
public string TextNormalized { get; set; }
6565
/// <summary>
66-
/// The details of the normalized text, if applicable. This element is optional; that is, the service output
67-
/// lists it only if normalized text exists.
66+
/// The details of the normalized text, if applicable. This element is optional; it is returned only if
67+
/// normalized text exists.
6868
/// </summary>
6969
[JsonProperty("interpretation", NullValueHandling = NullValueHandling.Ignore)]
7070
public Interpretation Interpretation { get; set; }
7171
/// <summary>
72-
/// One or more hash values that you can send to IBM to provide feedback or receive support.
72+
/// Hashed values that you can send to IBM to provide feedback or receive support.
7373
/// </summary>
7474
[JsonProperty("provenance_ids", NullValueHandling = NullValueHandling.Ignore)]
7575
public List<string> ProvenanceIds { get; set; }

0 commit comments

Comments
 (0)