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

com.akeyless.auth.swagger.model.UAMStatusReplyObj Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
/*
 * Auth - Application API
 * Auth manages access policies for services that need access policies management for their clients. Auth also issues temporary credentials for the services' clients and validates them for the services
 *
 * OpenAPI spec version: 1.0.2
 * 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.akeyless.auth.swagger.model;

import java.util.Objects;
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;

/**
 * UAM status result
 */
@ApiModel(description = "UAM status result")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-11-21T16:11:23.052+02:00")
public class UAMStatusReplyObj {
  @SerializedName("auth_dns")
  private String authDns = null;

  @SerializedName("kfm_instances")
  private String kfmInstances = null;

  @SerializedName("version")
  private String version = null;

  public UAMStatusReplyObj authDns(String authDns) {
    this.authDns = authDns;
    return this;
  }

   /**
   * The DNS of the Auth server
   * @return authDns
  **/
  @ApiModelProperty(value = "The DNS of the Auth server")
  public String getAuthDns() {
    return authDns;
  }

  public void setAuthDns(String authDns) {
    this.authDns = authDns;
  }

  public UAMStatusReplyObj kfmInstances(String kfmInstances) {
    this.kfmInstances = kfmInstances;
    return this;
  }

   /**
   * The IDs of the KFM instances the UAM server works with
   * @return kfmInstances
  **/
  @ApiModelProperty(value = "The IDs of the KFM instances the UAM server works with")
  public String getKfmInstances() {
    return kfmInstances;
  }

  public void setKfmInstances(String kfmInstances) {
    this.kfmInstances = kfmInstances;
  }

  public UAMStatusReplyObj version(String version) {
    this.version = version;
    return this;
  }

   /**
   * Current UAM version
   * @return version
  **/
  @ApiModelProperty(value = "Current UAM version")
  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UAMStatusReplyObj uaMStatusReplyObj = (UAMStatusReplyObj) o;
    return Objects.equals(this.authDns, uaMStatusReplyObj.authDns) &&
        Objects.equals(this.kfmInstances, uaMStatusReplyObj.kfmInstances) &&
        Objects.equals(this.version, uaMStatusReplyObj.version);
  }

  @Override
  public int hashCode() {
    return Objects.hash(authDns, kfmInstances, version);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UAMStatusReplyObj {\n");
    
    sb.append("    authDns: ").append(toIndentedString(authDns)).append("\n");
    sb.append("    kfmInstances: ").append(toIndentedString(kfmInstances)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).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