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

com.dominodatalab.api.model.DominoDatasetrwApiDatasetRwSnapshotDto Maven / Gradle / Ivy

/*
 * Domino Data Lab API v4
 * This API is going to provide access to all the Domino functions available in the user interface. To authenticate your requests, include your API Key (which you can find on your account page) with the header X-Domino-Api-Key. 
 *
 * The version of the OpenAPI document: 4.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 com.dominodatalab.api.model;

import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.StringJoiner;
import java.util.Objects;
import java.util.Map;
import java.util.HashMap;
import com.dominodatalab.api.model.DominoDatasetrwApiDatasetRwResourceDto;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * DominoDatasetrwApiDatasetRwSnapshotDto
 */
@JsonPropertyOrder({
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_ID,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_RESOURCE,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_DATASET_ID,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_AUTHOR,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_VERSION,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_DESCRIPTION,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_CREATION_TIME,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_LIFECYCLE_STATUS,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_STATUS_LAST_UPDATED_BY,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_STATUS_LAST_UPDATED_TIME,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_STORAGE_SIZE,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_IS_PARTIAL_SIZE,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_LAST_USED_TIME,
  DominoDatasetrwApiDatasetRwSnapshotDto.JSON_PROPERTY_IS_READ_WRITE
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-17T15:20:46.682098100-04:00[America/New_York]")
public class DominoDatasetrwApiDatasetRwSnapshotDto {
  public static final String JSON_PROPERTY_ID = "id";
  private String id;

  public static final String JSON_PROPERTY_RESOURCE = "resource";
  private DominoDatasetrwApiDatasetRwResourceDto resource;

  public static final String JSON_PROPERTY_DATASET_ID = "datasetId";
  private String datasetId;

  public static final String JSON_PROPERTY_AUTHOR = "author";
  private String author;

  public static final String JSON_PROPERTY_VERSION = "version";
  private Integer version;

  public static final String JSON_PROPERTY_DESCRIPTION = "description";
  private String description;

  public static final String JSON_PROPERTY_CREATION_TIME = "creationTime";
  private Long creationTime;

  /**
   * Gets or Sets lifecycleStatus
   */
  public enum LifecycleStatusEnum {
    PENDING("Pending"),
    
    DELETED("Deleted"),
    
    DELETIONINPROGRESS("DeletionInProgress"),
    
    COPYING("Copying"),
    
    FAILED("Failed"),
    
    ACTIVE("Active"),
    
    MARKEDFORDELETION("MarkedForDeletion");

    private String value;

    LifecycleStatusEnum(String value) {
      this.value = value;
    }

    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    @JsonCreator
    public static LifecycleStatusEnum fromValue(String value) {
      for (LifecycleStatusEnum b : LifecycleStatusEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }
  }

  public static final String JSON_PROPERTY_LIFECYCLE_STATUS = "lifecycleStatus";
  private LifecycleStatusEnum lifecycleStatus;

  public static final String JSON_PROPERTY_STATUS_LAST_UPDATED_BY = "statusLastUpdatedBy";
  private String statusLastUpdatedBy;

  public static final String JSON_PROPERTY_STATUS_LAST_UPDATED_TIME = "statusLastUpdatedTime";
  private Long statusLastUpdatedTime;

  public static final String JSON_PROPERTY_STORAGE_SIZE = "storageSize";
  private Long storageSize;

  public static final String JSON_PROPERTY_IS_PARTIAL_SIZE = "isPartialSize";
  private Boolean isPartialSize;

  public static final String JSON_PROPERTY_LAST_USED_TIME = "lastUsedTime";
  private Long lastUsedTime;

  public static final String JSON_PROPERTY_IS_READ_WRITE = "isReadWrite";
  private Boolean isReadWrite;

  public DominoDatasetrwApiDatasetRwSnapshotDto() { 
  }

  public DominoDatasetrwApiDatasetRwSnapshotDto id(String id) {
    this.id = id;
    return this;
  }

   /**
   * Get id
   * @return id
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_ID)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public String getId() {
    return id;
  }


  @JsonProperty(JSON_PROPERTY_ID)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setId(String id) {
    this.id = id;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto resource(DominoDatasetrwApiDatasetRwResourceDto resource) {
    this.resource = resource;
    return this;
  }

   /**
   * Get resource
   * @return resource
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_RESOURCE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public DominoDatasetrwApiDatasetRwResourceDto getResource() {
    return resource;
  }


  @JsonProperty(JSON_PROPERTY_RESOURCE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setResource(DominoDatasetrwApiDatasetRwResourceDto resource) {
    this.resource = resource;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto datasetId(String datasetId) {
    this.datasetId = datasetId;
    return this;
  }

   /**
   * Get datasetId
   * @return datasetId
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_DATASET_ID)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public String getDatasetId() {
    return datasetId;
  }


  @JsonProperty(JSON_PROPERTY_DATASET_ID)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setDatasetId(String datasetId) {
    this.datasetId = datasetId;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto author(String author) {
    this.author = author;
    return this;
  }

   /**
   * Get author
   * @return author
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_AUTHOR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getAuthor() {
    return author;
  }


  @JsonProperty(JSON_PROPERTY_AUTHOR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAuthor(String author) {
    this.author = author;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto version(Integer version) {
    this.version = version;
    return this;
  }

   /**
   * Get version
   * @return version
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_VERSION)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Integer getVersion() {
    return version;
  }


  @JsonProperty(JSON_PROPERTY_VERSION)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setVersion(Integer version) {
    this.version = version;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto description(String description) {
    this.description = description;
    return this;
  }

   /**
   * Get description
   * @return description
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getDescription() {
    return description;
  }


  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDescription(String description) {
    this.description = description;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto creationTime(Long creationTime) {
    this.creationTime = creationTime;
    return this;
  }

   /**
   * Get creationTime
   * @return creationTime
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_CREATION_TIME)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Long getCreationTime() {
    return creationTime;
  }


  @JsonProperty(JSON_PROPERTY_CREATION_TIME)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setCreationTime(Long creationTime) {
    this.creationTime = creationTime;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto lifecycleStatus(LifecycleStatusEnum lifecycleStatus) {
    this.lifecycleStatus = lifecycleStatus;
    return this;
  }

   /**
   * Get lifecycleStatus
   * @return lifecycleStatus
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_LIFECYCLE_STATUS)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public LifecycleStatusEnum getLifecycleStatus() {
    return lifecycleStatus;
  }


  @JsonProperty(JSON_PROPERTY_LIFECYCLE_STATUS)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setLifecycleStatus(LifecycleStatusEnum lifecycleStatus) {
    this.lifecycleStatus = lifecycleStatus;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto statusLastUpdatedBy(String statusLastUpdatedBy) {
    this.statusLastUpdatedBy = statusLastUpdatedBy;
    return this;
  }

   /**
   * Get statusLastUpdatedBy
   * @return statusLastUpdatedBy
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_STATUS_LAST_UPDATED_BY)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public String getStatusLastUpdatedBy() {
    return statusLastUpdatedBy;
  }


  @JsonProperty(JSON_PROPERTY_STATUS_LAST_UPDATED_BY)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setStatusLastUpdatedBy(String statusLastUpdatedBy) {
    this.statusLastUpdatedBy = statusLastUpdatedBy;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto statusLastUpdatedTime(Long statusLastUpdatedTime) {
    this.statusLastUpdatedTime = statusLastUpdatedTime;
    return this;
  }

   /**
   * Get statusLastUpdatedTime
   * @return statusLastUpdatedTime
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_STATUS_LAST_UPDATED_TIME)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Long getStatusLastUpdatedTime() {
    return statusLastUpdatedTime;
  }


  @JsonProperty(JSON_PROPERTY_STATUS_LAST_UPDATED_TIME)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setStatusLastUpdatedTime(Long statusLastUpdatedTime) {
    this.statusLastUpdatedTime = statusLastUpdatedTime;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto storageSize(Long storageSize) {
    this.storageSize = storageSize;
    return this;
  }

   /**
   * Get storageSize
   * @return storageSize
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_STORAGE_SIZE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Long getStorageSize() {
    return storageSize;
  }


  @JsonProperty(JSON_PROPERTY_STORAGE_SIZE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setStorageSize(Long storageSize) {
    this.storageSize = storageSize;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto isPartialSize(Boolean isPartialSize) {
    this.isPartialSize = isPartialSize;
    return this;
  }

   /**
   * Get isPartialSize
   * @return isPartialSize
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_IS_PARTIAL_SIZE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getIsPartialSize() {
    return isPartialSize;
  }


  @JsonProperty(JSON_PROPERTY_IS_PARTIAL_SIZE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setIsPartialSize(Boolean isPartialSize) {
    this.isPartialSize = isPartialSize;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto lastUsedTime(Long lastUsedTime) {
    this.lastUsedTime = lastUsedTime;
    return this;
  }

   /**
   * Get lastUsedTime
   * @return lastUsedTime
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_LAST_USED_TIME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Long getLastUsedTime() {
    return lastUsedTime;
  }


  @JsonProperty(JSON_PROPERTY_LAST_USED_TIME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setLastUsedTime(Long lastUsedTime) {
    this.lastUsedTime = lastUsedTime;
  }


  public DominoDatasetrwApiDatasetRwSnapshotDto isReadWrite(Boolean isReadWrite) {
    this.isReadWrite = isReadWrite;
    return this;
  }

   /**
   * Get isReadWrite
   * @return isReadWrite
  **/
  @javax.annotation.Nonnull
  @JsonProperty(JSON_PROPERTY_IS_READ_WRITE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public Boolean getIsReadWrite() {
    return isReadWrite;
  }


  @JsonProperty(JSON_PROPERTY_IS_READ_WRITE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setIsReadWrite(Boolean isReadWrite) {
    this.isReadWrite = isReadWrite;
  }


  /**
   * Return true if this domino.datasetrw.api.DatasetRwSnapshotDto object is equal to o.
   */
  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DominoDatasetrwApiDatasetRwSnapshotDto dominoDatasetrwApiDatasetRwSnapshotDto = (DominoDatasetrwApiDatasetRwSnapshotDto) o;
    return Objects.equals(this.id, dominoDatasetrwApiDatasetRwSnapshotDto.id) &&
        Objects.equals(this.resource, dominoDatasetrwApiDatasetRwSnapshotDto.resource) &&
        Objects.equals(this.datasetId, dominoDatasetrwApiDatasetRwSnapshotDto.datasetId) &&
        Objects.equals(this.author, dominoDatasetrwApiDatasetRwSnapshotDto.author) &&
        Objects.equals(this.version, dominoDatasetrwApiDatasetRwSnapshotDto.version) &&
        Objects.equals(this.description, dominoDatasetrwApiDatasetRwSnapshotDto.description) &&
        Objects.equals(this.creationTime, dominoDatasetrwApiDatasetRwSnapshotDto.creationTime) &&
        Objects.equals(this.lifecycleStatus, dominoDatasetrwApiDatasetRwSnapshotDto.lifecycleStatus) &&
        Objects.equals(this.statusLastUpdatedBy, dominoDatasetrwApiDatasetRwSnapshotDto.statusLastUpdatedBy) &&
        Objects.equals(this.statusLastUpdatedTime, dominoDatasetrwApiDatasetRwSnapshotDto.statusLastUpdatedTime) &&
        Objects.equals(this.storageSize, dominoDatasetrwApiDatasetRwSnapshotDto.storageSize) &&
        Objects.equals(this.isPartialSize, dominoDatasetrwApiDatasetRwSnapshotDto.isPartialSize) &&
        Objects.equals(this.lastUsedTime, dominoDatasetrwApiDatasetRwSnapshotDto.lastUsedTime) &&
        Objects.equals(this.isReadWrite, dominoDatasetrwApiDatasetRwSnapshotDto.isReadWrite);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, resource, datasetId, author, version, description, creationTime, lifecycleStatus, statusLastUpdatedBy, statusLastUpdatedTime, storageSize, isPartialSize, lastUsedTime, isReadWrite);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DominoDatasetrwApiDatasetRwSnapshotDto {\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    resource: ").append(toIndentedString(resource)).append("\n");
    sb.append("    datasetId: ").append(toIndentedString(datasetId)).append("\n");
    sb.append("    author: ").append(toIndentedString(author)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    creationTime: ").append(toIndentedString(creationTime)).append("\n");
    sb.append("    lifecycleStatus: ").append(toIndentedString(lifecycleStatus)).append("\n");
    sb.append("    statusLastUpdatedBy: ").append(toIndentedString(statusLastUpdatedBy)).append("\n");
    sb.append("    statusLastUpdatedTime: ").append(toIndentedString(statusLastUpdatedTime)).append("\n");
    sb.append("    storageSize: ").append(toIndentedString(storageSize)).append("\n");
    sb.append("    isPartialSize: ").append(toIndentedString(isPartialSize)).append("\n");
    sb.append("    lastUsedTime: ").append(toIndentedString(lastUsedTime)).append("\n");
    sb.append("    isReadWrite: ").append(toIndentedString(isReadWrite)).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    ");
  }

  /**
   * Convert the instance into URL query string.
   *
   * @return URL query string
   */
  public String toUrlQueryString() {
    return toUrlQueryString(null);
  }

  /**
   * Convert the instance into URL query string.
   *
   * @param prefix prefix of the query string
   * @return URL query string
   */
  public String toUrlQueryString(String prefix) {
    String suffix = "";
    String containerSuffix = "";
    String containerPrefix = "";
    if (prefix == null) {
      // style=form, explode=true, e.g. /pet?name=cat&type=manx
      prefix = "";
    } else {
      // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
      prefix = prefix + "[";
      suffix = "]";
      containerSuffix = "]";
      containerPrefix = "[";
    }

    StringJoiner joiner = new StringJoiner("&");

    // add `id` to the URL query string
    if (getId() != null) {
      joiner.add(String.format("%sid%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getId()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `resource` to the URL query string
    if (getResource() != null) {
      joiner.add(getResource().toUrlQueryString(prefix + "resource" + suffix));
    }

    // add `datasetId` to the URL query string
    if (getDatasetId() != null) {
      joiner.add(String.format("%sdatasetId%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getDatasetId()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `author` to the URL query string
    if (getAuthor() != null) {
      joiner.add(String.format("%sauthor%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getAuthor()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `version` to the URL query string
    if (getVersion() != null) {
      joiner.add(String.format("%sversion%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersion()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `description` to the URL query string
    if (getDescription() != null) {
      joiner.add(String.format("%sdescription%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getDescription()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `creationTime` to the URL query string
    if (getCreationTime() != null) {
      joiner.add(String.format("%screationTime%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getCreationTime()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `lifecycleStatus` to the URL query string
    if (getLifecycleStatus() != null) {
      joiner.add(String.format("%slifecycleStatus%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getLifecycleStatus()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `statusLastUpdatedBy` to the URL query string
    if (getStatusLastUpdatedBy() != null) {
      joiner.add(String.format("%sstatusLastUpdatedBy%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getStatusLastUpdatedBy()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `statusLastUpdatedTime` to the URL query string
    if (getStatusLastUpdatedTime() != null) {
      joiner.add(String.format("%sstatusLastUpdatedTime%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getStatusLastUpdatedTime()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `storageSize` to the URL query string
    if (getStorageSize() != null) {
      joiner.add(String.format("%sstorageSize%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getStorageSize()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `isPartialSize` to the URL query string
    if (getIsPartialSize() != null) {
      joiner.add(String.format("%sisPartialSize%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getIsPartialSize()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `lastUsedTime` to the URL query string
    if (getLastUsedTime() != null) {
      joiner.add(String.format("%slastUsedTime%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getLastUsedTime()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    // add `isReadWrite` to the URL query string
    if (getIsReadWrite() != null) {
      joiner.add(String.format("%sisReadWrite%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getIsReadWrite()), StandardCharsets.UTF_8).replaceAll("\\+", "%20")));
    }

    return joiner.toString();
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy