All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nextbreakpoint.flinkclient.model.CheckpointDurationSummary Maven / Gradle / Ivy

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.StatsSummaryDto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
 * CheckpointDurationSummary
 */

@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-11-23T19:15:53.419913Z[Europe/London]")

public class CheckpointDurationSummary {
  @SerializedName("async")
  private StatsSummaryDto async = null;

  @SerializedName("sync")
  private StatsSummaryDto sync = null;

  public CheckpointDurationSummary async(StatsSummaryDto async) {
    this.async = async;
    return this;
  }

   /**
   * Get async
   * @return async
  **/
  @Schema(description = "")
  public StatsSummaryDto getAsync() {
    return async;
  }

  public void setAsync(StatsSummaryDto async) {
    this.async = async;
  }

  public CheckpointDurationSummary sync(StatsSummaryDto sync) {
    this.sync = sync;
    return this;
  }

   /**
   * Get sync
   * @return sync
  **/
  @Schema(description = "")
  public StatsSummaryDto getSync() {
    return sync;
  }

  public void setSync(StatsSummaryDto sync) {
    this.sync = sync;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CheckpointDurationSummary checkpointDurationSummary = (CheckpointDurationSummary) o;
    return Objects.equals(this.async, checkpointDurationSummary.async) &&
        Objects.equals(this.sync, checkpointDurationSummary.sync);
  }

  @Override
  public int hashCode() {
    return Objects.hash(async, sync);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CheckpointDurationSummary {\n");
    
    sb.append("    async: ").append(toIndentedString(async)).append("\n");
    sb.append("    sync: ").append(toIndentedString(sync)).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