diff --git a/src/main/java/com/treasuredata/client/model/TDTable.java b/src/main/java/com/treasuredata/client/model/TDTable.java index e18005d6..68945182 100644 --- a/src/main/java/com/treasuredata/client/model/TDTable.java +++ b/src/main/java/com/treasuredata/client/model/TDTable.java @@ -37,6 +37,8 @@ public class TDTable private final String expireDays; private final String createdAt; private final String updatedAt; + private final Integer userId; + private final String description; @JsonCreator public TDTable( @@ -49,7 +51,9 @@ public TDTable( @JsonProperty("last_log_timestamp") String lastLogTimeStamp, @JsonProperty("expire_days") String expireDays, @JsonProperty("created_at") String createdAt, - @JsonProperty("updated_at") String updatedAt + @JsonProperty("updated_at") String updatedAt, + @JsonProperty("user_id") Integer userId, + @JsonProperty("description") String description ) { this.id = id; @@ -62,6 +66,8 @@ public TDTable( this.expireDays = expireDays; this.createdAt = createdAt; this.updatedAt = updatedAt; + this.userId = userId; + this.description = description; } public String getId() @@ -126,6 +132,15 @@ public String getUpdatedAt() return updatedAt; } + public Integer getUserId() + { + return userId; + } + + public String getDescription() + { + return description; + } @Override public boolean equals(Object obj) { diff --git a/src/test/java/com/treasuredata/client/TestTDClient.java b/src/test/java/com/treasuredata/client/TestTDClient.java index 241a9c1e..c1b85888 100644 --- a/src/test/java/com/treasuredata/client/TestTDClient.java +++ b/src/test/java/com/treasuredata/client/TestTDClient.java @@ -262,6 +262,8 @@ public void listTables() Set tableSet = new HashSet<>(); for (final TDTable t : tableList) { logger.info("id: " + t.getId()); + logger.info("user id:" + t.getUserId()); + logger.info("description: " + t.getDescription()); logger.info("type: " + t.getType()); logger.info("estimated size:" + t.getEstimatedStorageSize()); logger.info("last log timestamp: " + t.getLastLogTimeStamp());