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

io.lakefs.clients.api.model.PrepareGCUncommittedResponse Maven / Gradle / Ivy

There is a newer version: 1.43.0
Show newest version
/*
 * lakeFS API
 * lakeFS HTTP API
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package io.lakefs.clients.api.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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * PrepareGCUncommittedResponse
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PrepareGCUncommittedResponse {
  public static final String SERIALIZED_NAME_RUN_ID = "run_id";
  @SerializedName(SERIALIZED_NAME_RUN_ID)
  private String runId;

  public static final String SERIALIZED_NAME_GC_UNCOMMITTED_LOCATION = "gc_uncommitted_location";
  @SerializedName(SERIALIZED_NAME_GC_UNCOMMITTED_LOCATION)
  private String gcUncommittedLocation;

  public static final String SERIALIZED_NAME_CONTINUATION_TOKEN = "continuation_token";
  @SerializedName(SERIALIZED_NAME_CONTINUATION_TOKEN)
  private String continuationToken;


  public PrepareGCUncommittedResponse runId(String runId) {
    
    this.runId = runId;
    return this;
  }

   /**
   * Get runId
   * @return runId
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(required = true, value = "")

  public String getRunId() {
    return runId;
  }


  public void setRunId(String runId) {
    this.runId = runId;
  }


  public PrepareGCUncommittedResponse gcUncommittedLocation(String gcUncommittedLocation) {
    
    this.gcUncommittedLocation = gcUncommittedLocation;
    return this;
  }

   /**
   * location of uncommitted information data
   * @return gcUncommittedLocation
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(required = true, value = "location of uncommitted information data")

  public String getGcUncommittedLocation() {
    return gcUncommittedLocation;
  }


  public void setGcUncommittedLocation(String gcUncommittedLocation) {
    this.gcUncommittedLocation = gcUncommittedLocation;
  }


  public PrepareGCUncommittedResponse continuationToken(String continuationToken) {
    
    this.continuationToken = continuationToken;
    return this;
  }

   /**
   * Get continuationToken
   * @return continuationToken
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getContinuationToken() {
    return continuationToken;
  }


  public void setContinuationToken(String continuationToken) {
    this.continuationToken = continuationToken;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PrepareGCUncommittedResponse prepareGCUncommittedResponse = (PrepareGCUncommittedResponse) o;
    return Objects.equals(this.runId, prepareGCUncommittedResponse.runId) &&
        Objects.equals(this.gcUncommittedLocation, prepareGCUncommittedResponse.gcUncommittedLocation) &&
        Objects.equals(this.continuationToken, prepareGCUncommittedResponse.continuationToken);
  }

  @Override
  public int hashCode() {
    return Objects.hash(runId, gcUncommittedLocation, continuationToken);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PrepareGCUncommittedResponse {\n");
    sb.append("    runId: ").append(toIndentedString(runId)).append("\n");
    sb.append("    gcUncommittedLocation: ").append(toIndentedString(gcUncommittedLocation)).append("\n");
    sb.append("    continuationToken: ").append(toIndentedString(continuationToken)).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(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy