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

com.nextbreakpoint.flink.client.model.Features Maven / Gradle / Ivy

The newest version!
/*
 * This file is part of Flink Client
 * https://github.com/nextbreakpoint/flink-client
 *
 * 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.flink.client.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;
/**
 * Features
 */

@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-12-19T19:01:19.933513Z[Europe/London]")

public class Features {
  @SerializedName("web-cancel")
  private Boolean webCancel = null;

  @SerializedName("web-history")
  private Boolean webHistory = null;

  @SerializedName("web-rescale")
  private Boolean webRescale = null;

  @SerializedName("web-submit")
  private Boolean webSubmit = null;

  public Features webCancel(Boolean webCancel) {
    this.webCancel = webCancel;
    return this;
  }

   /**
   * Get webCancel
   * @return webCancel
  **/
  @Schema(description = "")
  public Boolean isWebCancel() {
    return webCancel;
  }

  public void setWebCancel(Boolean webCancel) {
    this.webCancel = webCancel;
  }

  public Features webHistory(Boolean webHistory) {
    this.webHistory = webHistory;
    return this;
  }

   /**
   * Get webHistory
   * @return webHistory
  **/
  @Schema(description = "")
  public Boolean isWebHistory() {
    return webHistory;
  }

  public void setWebHistory(Boolean webHistory) {
    this.webHistory = webHistory;
  }

  public Features webRescale(Boolean webRescale) {
    this.webRescale = webRescale;
    return this;
  }

   /**
   * Get webRescale
   * @return webRescale
  **/
  @Schema(description = "")
  public Boolean isWebRescale() {
    return webRescale;
  }

  public void setWebRescale(Boolean webRescale) {
    this.webRescale = webRescale;
  }

  public Features webSubmit(Boolean webSubmit) {
    this.webSubmit = webSubmit;
    return this;
  }

   /**
   * Get webSubmit
   * @return webSubmit
  **/
  @Schema(description = "")
  public Boolean isWebSubmit() {
    return webSubmit;
  }

  public void setWebSubmit(Boolean webSubmit) {
    this.webSubmit = webSubmit;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Features features = (Features) o;
    return Objects.equals(this.webCancel, features.webCancel) &&
        Objects.equals(this.webHistory, features.webHistory) &&
        Objects.equals(this.webRescale, features.webRescale) &&
        Objects.equals(this.webSubmit, features.webSubmit);
  }

  @Override
  public int hashCode() {
    return Objects.hash(webCancel, webHistory, webRescale, webSubmit);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Features {\n");
    
    sb.append("    webCancel: ").append(toIndentedString(webCancel)).append("\n");
    sb.append("    webHistory: ").append(toIndentedString(webHistory)).append("\n");
    sb.append("    webRescale: ").append(toIndentedString(webRescale)).append("\n");
    sb.append("    webSubmit: ").append(toIndentedString(webSubmit)).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 - 2024 Weber Informatics LLC | Privacy Policy