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

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

There is a newer version: 3.9.32
Show newest version
/*
 * LeanIX Pathfinder REST API
 * Core application for storage and analysis of IT landscape data
 *
 * OpenAPI spec version: 4.0.217
 * 
 *
 * 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;
import net.leanix.api.models.CustomTranslation;
import net.leanix.api.models.DashboardModelTranslation;
import net.leanix.api.models.DataModelTranslation;
import net.leanix.api.models.ReportingModelTranslation;
import net.leanix.api.models.ViewModelTranslation;

/**
 * Translation
 */

public class Translation {
  @JsonProperty("dataModel")
  private DataModelTranslation dataModel = null;

  @JsonProperty("viewModel")
  private ViewModelTranslation viewModel = null;

  @JsonProperty("reportingModel")
  private ReportingModelTranslation reportingModel = null;

  @JsonProperty("dashboardModel")
  private DashboardModelTranslation dashboardModel = null;

  @JsonProperty("custom")
  private CustomTranslation custom = null;

  public Translation dataModel(DataModelTranslation dataModel) {
    this.dataModel = dataModel;
    return this;
  }

   /**
   * Get dataModel
   * @return dataModel
  **/
  @ApiModelProperty(example = "null", value = "")
  public DataModelTranslation getDataModel() {
    return dataModel;
  }

  public void setDataModel(DataModelTranslation dataModel) {
    this.dataModel = dataModel;
  }

  public Translation viewModel(ViewModelTranslation viewModel) {
    this.viewModel = viewModel;
    return this;
  }

   /**
   * Get viewModel
   * @return viewModel
  **/
  @ApiModelProperty(example = "null", value = "")
  public ViewModelTranslation getViewModel() {
    return viewModel;
  }

  public void setViewModel(ViewModelTranslation viewModel) {
    this.viewModel = viewModel;
  }

  public Translation reportingModel(ReportingModelTranslation reportingModel) {
    this.reportingModel = reportingModel;
    return this;
  }

   /**
   * Get reportingModel
   * @return reportingModel
  **/
  @ApiModelProperty(example = "null", value = "")
  public ReportingModelTranslation getReportingModel() {
    return reportingModel;
  }

  public void setReportingModel(ReportingModelTranslation reportingModel) {
    this.reportingModel = reportingModel;
  }

  public Translation dashboardModel(DashboardModelTranslation dashboardModel) {
    this.dashboardModel = dashboardModel;
    return this;
  }

   /**
   * Get dashboardModel
   * @return dashboardModel
  **/
  @ApiModelProperty(example = "null", value = "")
  public DashboardModelTranslation getDashboardModel() {
    return dashboardModel;
  }

  public void setDashboardModel(DashboardModelTranslation dashboardModel) {
    this.dashboardModel = dashboardModel;
  }

  public Translation custom(CustomTranslation custom) {
    this.custom = custom;
    return this;
  }

   /**
   * Get custom
   * @return custom
  **/
  @ApiModelProperty(example = "null", value = "")
  public CustomTranslation getCustom() {
    return custom;
  }

  public void setCustom(CustomTranslation custom) {
    this.custom = custom;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Translation translation = (Translation) o;
    return Objects.equals(this.dataModel, translation.dataModel) &&
        Objects.equals(this.viewModel, translation.viewModel) &&
        Objects.equals(this.reportingModel, translation.reportingModel) &&
        Objects.equals(this.dashboardModel, translation.dashboardModel) &&
        Objects.equals(this.custom, translation.custom);
  }

  @Override
  public int hashCode() {
    return Objects.hash(dataModel, viewModel, reportingModel, dashboardModel, custom);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Translation {\n");
    
    sb.append("    dataModel: ").append(toIndentedString(dataModel)).append("\n");
    sb.append("    viewModel: ").append(toIndentedString(viewModel)).append("\n");
    sb.append("    reportingModel: ").append(toIndentedString(reportingModel)).append("\n");
    sb.append("    dashboardModel: ").append(toIndentedString(dashboardModel)).append("\n");
    sb.append("    custom: ").append(toIndentedString(custom)).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