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 schedule list #351

Merged
merged 3 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
20 changes: 19 additions & 1 deletion src/main/java/com/treasuredata/client/model/TDSavedQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ public TDSavedQueryUpdateRequestBuilder toUpdateRequestBuilder()
private final String result;
private final String nextTime;
private final TDJob.EngineVersion engineVersion;
private final Integer executingUserId;
private final String description;

public TDSavedQuery(
@JsonProperty("id") String id,
Expand All @@ -87,7 +89,9 @@ public TDSavedQuery(
@JsonProperty("retry_limit") int retryLimit,
@JsonProperty("result") String result,
@JsonProperty("next_time") String nextTime,
@JsonProperty("engine_version") TDJob.EngineVersion engineVersion
@JsonProperty("engine_version") TDJob.EngineVersion engineVersion,
@JsonProperty("executing_user_id") Integer executingUserId,
@JsonProperty("description") String description
)
{
this.id = id;
Expand All @@ -104,6 +108,8 @@ public TDSavedQuery(
this.result = result;
this.nextTime = nextTime;
this.engineVersion = engineVersion;
this.executingUserId = executingUserId;
this.description = description;
}

public String getId()
Expand Down Expand Up @@ -181,6 +187,16 @@ public TDJob.EngineVersion getEngineVersion()
return engineVersion;
}

public Integer getExecutingUserId()
{
return executingUserId;
}

public String getDescription()
{
return description;
}

@Override
public String toString()
yuokada marked this conversation as resolved.
Show resolved Hide resolved
{
Expand All @@ -198,6 +214,8 @@ public String toString()
", result='" + result + '\'' +
", nextTime='" + nextTime + '\'' +
", engineVersion='" + engineVersion + '\'' +
", executingUserid=" + executingUserId +
", description='" + description + '\'' +
'}';
}
}
Loading