
com.nextbreakpoint.flinkclient.model.SubtasksTimesInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.nextbreakpoint.flinkclient.core Show documentation
Show all versions of com.nextbreakpoint.flinkclient.core Show documentation
Cope API for managing Apache Flink
The newest version!
/*
* This file is part of FlinkClient
* https://github.com/nextbreakpoint/flinkclient
*
* OpenAPI spec version: v1/1.20-SNAPSHOT
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.nextbreakpoint.flinkclient.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.nextbreakpoint.flinkclient.model.SubtaskTimeInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* SubtasksTimesInfo
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-11-23T19:15:53.419913Z[Europe/London]")
public class SubtasksTimesInfo {
@SerializedName("id")
private String id = null;
@SerializedName("name")
private String name = null;
@SerializedName("now")
private Long now = null;
@SerializedName("subtasks")
private List subtasks = null;
public SubtasksTimesInfo id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@Schema(description = "")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public SubtasksTimesInfo name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@Schema(description = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public SubtasksTimesInfo now(Long now) {
this.now = now;
return this;
}
/**
* Get now
* @return now
**/
@Schema(description = "")
public Long getNow() {
return now;
}
public void setNow(Long now) {
this.now = now;
}
public SubtasksTimesInfo subtasks(List subtasks) {
this.subtasks = subtasks;
return this;
}
public SubtasksTimesInfo addSubtasksItem(SubtaskTimeInfo subtasksItem) {
if (this.subtasks == null) {
this.subtasks = new ArrayList<>();
}
this.subtasks.add(subtasksItem);
return this;
}
/**
* Get subtasks
* @return subtasks
**/
@Schema(description = "")
public List getSubtasks() {
return subtasks;
}
public void setSubtasks(List subtasks) {
this.subtasks = subtasks;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SubtasksTimesInfo subtasksTimesInfo = (SubtasksTimesInfo) o;
return Objects.equals(this.id, subtasksTimesInfo.id) &&
Objects.equals(this.name, subtasksTimesInfo.name) &&
Objects.equals(this.now, subtasksTimesInfo.now) &&
Objects.equals(this.subtasks, subtasksTimesInfo.subtasks);
}
@Override
public int hashCode() {
return Objects.hash(id, name, now, subtasks);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SubtasksTimesInfo {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" now: ").append(toIndentedString(now)).append("\n");
sb.append(" subtasks: ").append(toIndentedString(subtasks)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy