
com.nextbreakpoint.flinkclient.model.CheckpointAlignment 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 io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
* CheckpointAlignment
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-11-23T19:15:53.419913Z[Europe/London]")
public class CheckpointAlignment {
@SerializedName("buffered")
private Long buffered = null;
@SerializedName("duration")
private Long duration = null;
@SerializedName("persisted")
private Long persisted = null;
@SerializedName("processed")
private Long processed = null;
public CheckpointAlignment buffered(Long buffered) {
this.buffered = buffered;
return this;
}
/**
* Get buffered
* @return buffered
**/
@Schema(description = "")
public Long getBuffered() {
return buffered;
}
public void setBuffered(Long buffered) {
this.buffered = buffered;
}
public CheckpointAlignment duration(Long duration) {
this.duration = duration;
return this;
}
/**
* Get duration
* @return duration
**/
@Schema(description = "")
public Long getDuration() {
return duration;
}
public void setDuration(Long duration) {
this.duration = duration;
}
public CheckpointAlignment persisted(Long persisted) {
this.persisted = persisted;
return this;
}
/**
* Get persisted
* @return persisted
**/
@Schema(description = "")
public Long getPersisted() {
return persisted;
}
public void setPersisted(Long persisted) {
this.persisted = persisted;
}
public CheckpointAlignment processed(Long processed) {
this.processed = processed;
return this;
}
/**
* Get processed
* @return processed
**/
@Schema(description = "")
public Long getProcessed() {
return processed;
}
public void setProcessed(Long processed) {
this.processed = processed;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CheckpointAlignment checkpointAlignment = (CheckpointAlignment) o;
return Objects.equals(this.buffered, checkpointAlignment.buffered) &&
Objects.equals(this.duration, checkpointAlignment.duration) &&
Objects.equals(this.persisted, checkpointAlignment.persisted) &&
Objects.equals(this.processed, checkpointAlignment.processed);
}
@Override
public int hashCode() {
return Objects.hash(buffered, duration, persisted, processed);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CheckpointAlignment {\n");
sb.append(" buffered: ").append(toIndentedString(buffered)).append("\n");
sb.append(" duration: ").append(toIndentedString(duration)).append("\n");
sb.append(" persisted: ").append(toIndentedString(persisted)).append("\n");
sb.append(" processed: ").append(toIndentedString(processed)).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