Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update response for database api #350

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/main/java/com/treasuredata/client/model/TDDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class TDDatabase
private final String id;
private final String name;
private final long count;
private final Integer userId;
private final String description;
private final String createdAt;
private final String updatedAt;
private final Optional<String> organization;
Expand All @@ -39,6 +41,8 @@ public class TDDatabase
public TDDatabase(
@JsonProperty("id") String id,
@JsonProperty("name") String name,
@JsonProperty("user_id") Integer userId,
@JsonProperty("description") String description,
@JsonProperty("count") long count,
@JsonProperty("created_at") String createdAt,
@JsonProperty("updated_at") String updatedAt,
Expand All @@ -48,6 +52,8 @@ public TDDatabase(
{
this.id = id;
this.name = name;
this.userId = userId;
this.description = description;
this.count = count;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
Expand All @@ -67,6 +73,15 @@ public String getName()
return name;
}

public Integer getUserId()
{
return userId;
}

public String getDescription()
{
return description;
}
/**
* Record count
*
Expand Down
Loading