Skip to content

Commit 95f7fef

Browse files
committed
fix(Compare and Comply): Fix BodyCells definition and remove unnecessary nested models
1 parent d4f7016 commit 95f7fef

File tree

7 files changed

+26
-222
lines changed

7 files changed

+26
-222
lines changed

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/BodyCells.java

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ public class BodyCells extends GenericModel {
3535
@SerializedName("column_index_end")
3636
private Long columnIndexEnd;
3737
@SerializedName("row_header_ids")
38-
private List<RowHeaderIds> rowHeaderIds;
38+
private List<String> rowHeaderIds;
3939
@SerializedName("row_header_texts")
40-
private List<RowHeaderTexts> rowHeaderTexts;
40+
private List<String> rowHeaderTexts;
4141
@SerializedName("row_header_texts_normalized")
42-
private List<RowHeaderTextsNormalized> rowHeaderTextsNormalized;
42+
private List<String> rowHeaderTextsNormalized;
4343
@SerializedName("column_header_ids")
44-
private List<ColumnHeaderIds> columnHeaderIds;
44+
private List<String> columnHeaderIds;
4545
@SerializedName("column_header_texts")
46-
private List<ColumnHeaderTexts> columnHeaderTexts;
46+
private List<String> columnHeaderTexts;
4747
@SerializedName("column_header_texts_normalized")
48-
private List<ColumnHeaderTextsNormalized> columnHeaderTextsNormalized;
48+
private List<String> columnHeaderTextsNormalized;
4949

5050
/**
5151
* Gets the cellId.
@@ -129,54 +129,68 @@ public Long getColumnIndexEnd() {
129129
/**
130130
* Gets the rowHeaderIds.
131131
*
132+
* An array of values, each being the `id` value of a row header that is applicable to this body cell.
133+
*
132134
* @return the rowHeaderIds
133135
*/
134-
public List<RowHeaderIds> getRowHeaderIds() {
136+
public List<String> getRowHeaderIds() {
135137
return rowHeaderIds;
136138
}
137139

138140
/**
139141
* Gets the rowHeaderTexts.
140142
*
143+
* An array of values, each being the `text` value of a row header that is applicable to this body cell.
144+
*
141145
* @return the rowHeaderTexts
142146
*/
143-
public List<RowHeaderTexts> getRowHeaderTexts() {
147+
public List<String> getRowHeaderTexts() {
144148
return rowHeaderTexts;
145149
}
146150

147151
/**
148152
* Gets the rowHeaderTextsNormalized.
149153
*
154+
* If you provide customization input, the normalized version of the row header texts according to the customization;
155+
* otherwise, the same value as `row_header_texts`.
156+
*
150157
* @return the rowHeaderTextsNormalized
151158
*/
152-
public List<RowHeaderTextsNormalized> getRowHeaderTextsNormalized() {
159+
public List<String> getRowHeaderTextsNormalized() {
153160
return rowHeaderTextsNormalized;
154161
}
155162

156163
/**
157164
* Gets the columnHeaderIds.
158165
*
166+
* An array of values, each being the `id` value of a column header that is applicable to the current cell.
167+
*
159168
* @return the columnHeaderIds
160169
*/
161-
public List<ColumnHeaderIds> getColumnHeaderIds() {
170+
public List<String> getColumnHeaderIds() {
162171
return columnHeaderIds;
163172
}
164173

165174
/**
166175
* Gets the columnHeaderTexts.
167176
*
177+
* An array of values, each being the `text` value of a column header that is applicable to the current cell.
178+
*
168179
* @return the columnHeaderTexts
169180
*/
170-
public List<ColumnHeaderTexts> getColumnHeaderTexts() {
181+
public List<String> getColumnHeaderTexts() {
171182
return columnHeaderTexts;
172183
}
173184

174185
/**
175186
* Gets the columnHeaderTextsNormalized.
176187
*
188+
* If you provide customization input, the normalized version of the column header texts according to the
189+
* customization; otherwise, the same value as `column_header_texts`.
190+
*
177191
* @return the columnHeaderTextsNormalized
178192
*/
179-
public List<ColumnHeaderTextsNormalized> getColumnHeaderTextsNormalized() {
193+
public List<String> getColumnHeaderTextsNormalized() {
180194
return columnHeaderTextsNormalized;
181195
}
182196
}

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/ColumnHeaderIds.java

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

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/ColumnHeaderTexts.java

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

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/ColumnHeaderTextsNormalized.java

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

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/RowHeaderIds.java

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

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/RowHeaderTexts.java

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

compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/model/RowHeaderTextsNormalized.java

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

0 commit comments

Comments
 (0)