Skip to content

Commit 96abe65

Browse files
authored
Revert "Update response for table list (#352)" (#371)
This reverts commit 125f90d.
1 parent f04185c commit 96abe65

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

src/main/java/com/treasuredata/client/model/TDTable.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ public class TDTable
3737
private final String expireDays;
3838
private final String createdAt;
3939
private final String updatedAt;
40-
private final Integer userId;
41-
private final String description;
4240

4341
@JsonCreator
4442
public TDTable(
@@ -51,9 +49,7 @@ public TDTable(
5149
@JsonProperty("last_log_timestamp") String lastLogTimeStamp,
5250
@JsonProperty("expire_days") String expireDays,
5351
@JsonProperty("created_at") String createdAt,
54-
@JsonProperty("updated_at") String updatedAt,
55-
@JsonProperty("user_id") Integer userId,
56-
@JsonProperty("description") String description
52+
@JsonProperty("updated_at") String updatedAt
5753
)
5854
{
5955
this.id = id;
@@ -66,8 +62,6 @@ public TDTable(
6662
this.expireDays = expireDays;
6763
this.createdAt = createdAt;
6864
this.updatedAt = updatedAt;
69-
this.userId = userId;
70-
this.description = description;
7165
}
7266

7367
public String getId()
@@ -132,15 +126,6 @@ public String getUpdatedAt()
132126
return updatedAt;
133127
}
134128

135-
public Integer getUserId()
136-
{
137-
return userId;
138-
}
139-
140-
public String getDescription()
141-
{
142-
return description;
143-
}
144129
@Override
145130
public boolean equals(Object obj)
146131
{

src/test/java/com/treasuredata/client/TestTDClient.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ public void listTables()
262262
Set<TDTable> tableSet = new HashSet<>();
263263
for (final TDTable t : tableList) {
264264
logger.info("id: " + t.getId());
265-
logger.info("user id:" + t.getUserId());
266-
logger.info("description: " + t.getDescription());
267265
logger.info("type: " + t.getType());
268266
logger.info("estimated size:" + t.getEstimatedStorageSize());
269267
logger.info("last log timestamp: " + t.getLastLogTimeStamp());

0 commit comments

Comments
 (0)