Skip to content

Commit

Permalink
Update response for schedule list (#351)
Browse files Browse the repository at this point in the history
* update response for schedule list

* Fixup! refactoring

* Fixup! remove single quote
  • Loading branch information
imnutz authored Jul 19, 2024
1 parent c0ac3b3 commit 3e0e2c4
Showing 1 changed file with 19 additions and 1 deletion.
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()
{
Expand All @@ -198,6 +214,8 @@ public String toString()
", result='" + result + '\'' +
", nextTime='" + nextTime + '\'' +
", engineVersion='" + engineVersion + '\'' +
", executingUserid=" + executingUserId +
", description='" + description + '\'' +
'}';
}
}

0 comments on commit 3e0e2c4

Please sign in to comment.