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

com.volcengine.vefaas.model.MountPointForUpdateFunctionOutput Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * vefaas
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * 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.volcengine.vefaas.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;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * MountPointForUpdateFunctionOutput
 */



public class MountPointForUpdateFunctionOutput {
  @SerializedName("BucketName")
  private String bucketName = null;

  @SerializedName("BucketPath")
  private String bucketPath = null;

  @SerializedName("Endpoint")
  private String endpoint = null;

  @SerializedName("LocalMountPath")
  private String localMountPath = null;

  @SerializedName("ReadOnly")
  private Boolean readOnly = null;

  public MountPointForUpdateFunctionOutput bucketName(String bucketName) {
    this.bucketName = bucketName;
    return this;
  }

   /**
   * Get bucketName
   * @return bucketName
  **/
  @Schema(description = "")
  public String getBucketName() {
    return bucketName;
  }

  public void setBucketName(String bucketName) {
    this.bucketName = bucketName;
  }

  public MountPointForUpdateFunctionOutput bucketPath(String bucketPath) {
    this.bucketPath = bucketPath;
    return this;
  }

   /**
   * Get bucketPath
   * @return bucketPath
  **/
  @Schema(description = "")
  public String getBucketPath() {
    return bucketPath;
  }

  public void setBucketPath(String bucketPath) {
    this.bucketPath = bucketPath;
  }

  public MountPointForUpdateFunctionOutput endpoint(String endpoint) {
    this.endpoint = endpoint;
    return this;
  }

   /**
   * Get endpoint
   * @return endpoint
  **/
  @Schema(description = "")
  public String getEndpoint() {
    return endpoint;
  }

  public void setEndpoint(String endpoint) {
    this.endpoint = endpoint;
  }

  public MountPointForUpdateFunctionOutput localMountPath(String localMountPath) {
    this.localMountPath = localMountPath;
    return this;
  }

   /**
   * Get localMountPath
   * @return localMountPath
  **/
  @Schema(description = "")
  public String getLocalMountPath() {
    return localMountPath;
  }

  public void setLocalMountPath(String localMountPath) {
    this.localMountPath = localMountPath;
  }

  public MountPointForUpdateFunctionOutput readOnly(Boolean readOnly) {
    this.readOnly = readOnly;
    return this;
  }

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

  public void setReadOnly(Boolean readOnly) {
    this.readOnly = readOnly;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    MountPointForUpdateFunctionOutput mountPointForUpdateFunctionOutput = (MountPointForUpdateFunctionOutput) o;
    return Objects.equals(this.bucketName, mountPointForUpdateFunctionOutput.bucketName) &&
        Objects.equals(this.bucketPath, mountPointForUpdateFunctionOutput.bucketPath) &&
        Objects.equals(this.endpoint, mountPointForUpdateFunctionOutput.endpoint) &&
        Objects.equals(this.localMountPath, mountPointForUpdateFunctionOutput.localMountPath) &&
        Objects.equals(this.readOnly, mountPointForUpdateFunctionOutput.readOnly);
  }

  @Override
  public int hashCode() {
    return Objects.hash(bucketName, bucketPath, endpoint, localMountPath, readOnly);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class MountPointForUpdateFunctionOutput {\n");
    
    sb.append("    bucketName: ").append(toIndentedString(bucketName)).append("\n");
    sb.append("    bucketPath: ").append(toIndentedString(bucketPath)).append("\n");
    sb.append("    endpoint: ").append(toIndentedString(endpoint)).append("\n");
    sb.append("    localMountPath: ").append(toIndentedString(localMountPath)).append("\n");
    sb.append("    readOnly: ").append(toIndentedString(readOnly)).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