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

net.leanix.api.models.RelationBaseFieldsTranslation Maven / Gradle / Ivy

/*
 * Pathfinder
 * Core application for storage and analysis of IT landscape data
 *
 * OpenAPI spec version: 5.0.813
 * 
 *
 * 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 net.leanix.api.models;

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

/**
 * RelationBaseFieldsTranslation
 */

public class RelationBaseFieldsTranslation {
  @JsonProperty("description")
  private String description = null;

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

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

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

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

   /**
   * Get description
   * @return description
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public RelationBaseFieldsTranslation activeFrom(String activeFrom) {
    this.activeFrom = activeFrom;
    return this;
  }

   /**
   * Get activeFrom
   * @return activeFrom
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getActiveFrom() {
    return activeFrom;
  }

  public void setActiveFrom(String activeFrom) {
    this.activeFrom = activeFrom;
  }

  public RelationBaseFieldsTranslation activeUntil(String activeUntil) {
    this.activeUntil = activeUntil;
    return this;
  }

   /**
   * Get activeUntil
   * @return activeUntil
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getActiveUntil() {
    return activeUntil;
  }

  public void setActiveUntil(String activeUntil) {
    this.activeUntil = activeUntil;
  }

  public RelationBaseFieldsTranslation activeBetween(String activeBetween) {
    this.activeBetween = activeBetween;
    return this;
  }

   /**
   * Get activeBetween
   * @return activeBetween
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getActiveBetween() {
    return activeBetween;
  }

  public void setActiveBetween(String activeBetween) {
    this.activeBetween = activeBetween;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    RelationBaseFieldsTranslation relationBaseFieldsTranslation = (RelationBaseFieldsTranslation) o;
    return Objects.equals(this.description, relationBaseFieldsTranslation.description) &&
        Objects.equals(this.activeFrom, relationBaseFieldsTranslation.activeFrom) &&
        Objects.equals(this.activeUntil, relationBaseFieldsTranslation.activeUntil) &&
        Objects.equals(this.activeBetween, relationBaseFieldsTranslation.activeBetween);
  }

  @Override
  public int hashCode() {
    return Objects.hash(description, activeFrom, activeUntil, activeBetween);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class RelationBaseFieldsTranslation {\n");
    
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    activeFrom: ").append(toIndentedString(activeFrom)).append("\n");
    sb.append("    activeUntil: ").append(toIndentedString(activeUntil)).append("\n");
    sb.append("    activeBetween: ").append(toIndentedString(activeBetween)).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 - 2025 Weber Informatics LLC | Privacy Policy