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

com.docusign.esign.model.ServiceInformation Maven / Gradle / Ivy

There is a newer version: 3.20.0
Show newest version
package com.docusign.esign.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;

/** ServiceInformation. */
public class ServiceInformation {
  @JsonProperty("buildBranch")
  private String buildBranch = null;

  @JsonProperty("buildBranchDeployedDateTime")
  private String buildBranchDeployedDateTime = null;

  @JsonProperty("buildSHA")
  private String buildSHA = null;

  @JsonProperty("buildVersion")
  private String buildVersion = null;

  @JsonProperty("linkedSites")
  private java.util.List linkedSites = null;

  @JsonProperty("serviceVersions")
  private java.util.List serviceVersions = null;

  /**
   * buildBranch.
   *
   * @return ServiceInformation
   */
  public ServiceInformation buildBranch(String buildBranch) {
    this.buildBranch = buildBranch;
    return this;
  }

  /**
   * Reserved: TBD.
   *
   * @return buildBranch
   */
  @ApiModelProperty(value = "Reserved: TBD")
  public String getBuildBranch() {
    return buildBranch;
  }

  /** setBuildBranch. */
  public void setBuildBranch(String buildBranch) {
    this.buildBranch = buildBranch;
  }

  /**
   * buildBranchDeployedDateTime.
   *
   * @return ServiceInformation
   */
  public ServiceInformation buildBranchDeployedDateTime(String buildBranchDeployedDateTime) {
    this.buildBranchDeployedDateTime = buildBranchDeployedDateTime;
    return this;
  }

  /**
   * Reserved: TBD.
   *
   * @return buildBranchDeployedDateTime
   */
  @ApiModelProperty(value = "Reserved: TBD")
  public String getBuildBranchDeployedDateTime() {
    return buildBranchDeployedDateTime;
  }

  /** setBuildBranchDeployedDateTime. */
  public void setBuildBranchDeployedDateTime(String buildBranchDeployedDateTime) {
    this.buildBranchDeployedDateTime = buildBranchDeployedDateTime;
  }

  /**
   * buildSHA.
   *
   * @return ServiceInformation
   */
  public ServiceInformation buildSHA(String buildSHA) {
    this.buildSHA = buildSHA;
    return this;
  }

  /**
   * Reserved: TBD.
   *
   * @return buildSHA
   */
  @ApiModelProperty(value = "Reserved: TBD")
  public String getBuildSHA() {
    return buildSHA;
  }

  /** setBuildSHA. */
  public void setBuildSHA(String buildSHA) {
    this.buildSHA = buildSHA;
  }

  /**
   * buildVersion.
   *
   * @return ServiceInformation
   */
  public ServiceInformation buildVersion(String buildVersion) {
    this.buildVersion = buildVersion;
    return this;
  }

  /**
   * Reserved: TBD.
   *
   * @return buildVersion
   */
  @ApiModelProperty(value = "Reserved: TBD")
  public String getBuildVersion() {
    return buildVersion;
  }

  /** setBuildVersion. */
  public void setBuildVersion(String buildVersion) {
    this.buildVersion = buildVersion;
  }

  /**
   * linkedSites.
   *
   * @return ServiceInformation
   */
  public ServiceInformation linkedSites(java.util.List linkedSites) {
    this.linkedSites = linkedSites;
    return this;
  }

  /**
   * addLinkedSitesItem.
   *
   * @return ServiceInformation
   */
  public ServiceInformation addLinkedSitesItem(String linkedSitesItem) {
    if (this.linkedSites == null) {
      this.linkedSites = new java.util.ArrayList();
    }
    this.linkedSites.add(linkedSitesItem);
    return this;
  }

  /**
   * .
   *
   * @return linkedSites
   */
  @ApiModelProperty(value = "")
  public java.util.List getLinkedSites() {
    return linkedSites;
  }

  /** setLinkedSites. */
  public void setLinkedSites(java.util.List linkedSites) {
    this.linkedSites = linkedSites;
  }

  /**
   * serviceVersions.
   *
   * @return ServiceInformation
   */
  public ServiceInformation serviceVersions(java.util.List serviceVersions) {
    this.serviceVersions = serviceVersions;
    return this;
  }

  /**
   * addServiceVersionsItem.
   *
   * @return ServiceInformation
   */
  public ServiceInformation addServiceVersionsItem(ServiceVersion serviceVersionsItem) {
    if (this.serviceVersions == null) {
      this.serviceVersions = new java.util.ArrayList();
    }
    this.serviceVersions.add(serviceVersionsItem);
    return this;
  }

  /**
   * .
   *
   * @return serviceVersions
   */
  @ApiModelProperty(value = "")
  public java.util.List getServiceVersions() {
    return serviceVersions;
  }

  /** setServiceVersions. */
  public void setServiceVersions(java.util.List serviceVersions) {
    this.serviceVersions = serviceVersions;
  }

  /**
   * Compares objects.
   *
   * @return true or false depending on comparison result.
   */
  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ServiceInformation serviceInformation = (ServiceInformation) o;
    return Objects.equals(this.buildBranch, serviceInformation.buildBranch)
        && Objects.equals(
            this.buildBranchDeployedDateTime, serviceInformation.buildBranchDeployedDateTime)
        && Objects.equals(this.buildSHA, serviceInformation.buildSHA)
        && Objects.equals(this.buildVersion, serviceInformation.buildVersion)
        && Objects.equals(this.linkedSites, serviceInformation.linkedSites)
        && Objects.equals(this.serviceVersions, serviceInformation.serviceVersions);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        buildBranch,
        buildBranchDeployedDateTime,
        buildSHA,
        buildVersion,
        linkedSites,
        serviceVersions);
  }

  /** Converts the given object to string. */
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ServiceInformation {\n");

    sb.append("    buildBranch: ").append(toIndentedString(buildBranch)).append("\n");
    sb.append("    buildBranchDeployedDateTime: ")
        .append(toIndentedString(buildBranchDeployedDateTime))
        .append("\n");
    sb.append("    buildSHA: ").append(toIndentedString(buildSHA)).append("\n");
    sb.append("    buildVersion: ").append(toIndentedString(buildVersion)).append("\n");
    sb.append("    linkedSites: ").append(toIndentedString(linkedSites)).append("\n");
    sb.append("    serviceVersions: ").append(toIndentedString(serviceVersions)).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