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

net.leanix.api.models.FactSheetViewModel 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;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.leanix.api.models.FacetViewState;
import net.leanix.api.models.HoverConfig;
import net.leanix.api.models.Section;

/**
 * FactSheetViewModel
 */

public class FactSheetViewModel {
  @JsonProperty("type")
  private String type = null;

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

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

  @JsonProperty("onTheFlyCreation")
  private Boolean onTheFlyCreation = false;

  @JsonProperty("hiddenForRoles")
  private List hiddenForRoles = new ArrayList();

  @JsonProperty("fieldMetaData")
  private Map> fieldMetaData = new HashMap>();

  @JsonProperty("facetViewStates")
  private List facetViewStates = new ArrayList();

  @JsonProperty("sections")
  private List
sections = new ArrayList
(); @JsonProperty("hoverConfig") private HoverConfig hoverConfig = null; @JsonProperty("factSheetTabRestriction") private Map> factSheetTabRestriction = new HashMap>(); public FactSheetViewModel type(String type) { this.type = type; return this; } /** * Get type * @return type **/ @ApiModelProperty(example = "null", value = "") public String getType() { return type; } public void setType(String type) { this.type = type; } public FactSheetViewModel bgColor(String bgColor) { this.bgColor = bgColor; return this; } /** * Get bgColor * @return bgColor **/ @ApiModelProperty(example = "null", value = "") public String getBgColor() { return bgColor; } public void setBgColor(String bgColor) { this.bgColor = bgColor; } public FactSheetViewModel color(String color) { this.color = color; return this; } /** * Get color * @return color **/ @ApiModelProperty(example = "null", value = "") public String getColor() { return color; } public void setColor(String color) { this.color = color; } public FactSheetViewModel onTheFlyCreation(Boolean onTheFlyCreation) { this.onTheFlyCreation = onTheFlyCreation; return this; } /** * Get onTheFlyCreation * @return onTheFlyCreation **/ @ApiModelProperty(example = "null", required = true, value = "") public Boolean getOnTheFlyCreation() { return onTheFlyCreation; } public void setOnTheFlyCreation(Boolean onTheFlyCreation) { this.onTheFlyCreation = onTheFlyCreation; } public FactSheetViewModel hiddenForRoles(List hiddenForRoles) { this.hiddenForRoles = hiddenForRoles; return this; } public FactSheetViewModel addHiddenForRolesItem(String hiddenForRolesItem) { this.hiddenForRoles.add(hiddenForRolesItem); return this; } /** * Get hiddenForRoles * @return hiddenForRoles **/ @ApiModelProperty(example = "null", value = "") public List getHiddenForRoles() { return hiddenForRoles; } public void setHiddenForRoles(List hiddenForRoles) { this.hiddenForRoles = hiddenForRoles; } public FactSheetViewModel fieldMetaData(Map> fieldMetaData) { this.fieldMetaData = fieldMetaData; return this; } public FactSheetViewModel putFieldMetaDataItem(String key, Map fieldMetaDataItem) { this.fieldMetaData.put(key, fieldMetaDataItem); return this; } /** * Get fieldMetaData * @return fieldMetaData **/ @ApiModelProperty(example = "null", value = "") public Map> getFieldMetaData() { return fieldMetaData; } public void setFieldMetaData(Map> fieldMetaData) { this.fieldMetaData = fieldMetaData; } public FactSheetViewModel facetViewStates(List facetViewStates) { this.facetViewStates = facetViewStates; return this; } public FactSheetViewModel addFacetViewStatesItem(FacetViewState facetViewStatesItem) { this.facetViewStates.add(facetViewStatesItem); return this; } /** * Get facetViewStates * @return facetViewStates **/ @ApiModelProperty(example = "null", required = true, value = "") public List getFacetViewStates() { return facetViewStates; } public void setFacetViewStates(List facetViewStates) { this.facetViewStates = facetViewStates; } public FactSheetViewModel sections(List
sections) { this.sections = sections; return this; } public FactSheetViewModel addSectionsItem(Section sectionsItem) { this.sections.add(sectionsItem); return this; } /** * Get sections * @return sections **/ @ApiModelProperty(example = "null", value = "") public List
getSections() { return sections; } public void setSections(List
sections) { this.sections = sections; } public FactSheetViewModel hoverConfig(HoverConfig hoverConfig) { this.hoverConfig = hoverConfig; return this; } /** * Get hoverConfig * @return hoverConfig **/ @ApiModelProperty(example = "null", value = "") public HoverConfig getHoverConfig() { return hoverConfig; } public void setHoverConfig(HoverConfig hoverConfig) { this.hoverConfig = hoverConfig; } public FactSheetViewModel factSheetTabRestriction(Map> factSheetTabRestriction) { this.factSheetTabRestriction = factSheetTabRestriction; return this; } public FactSheetViewModel putFactSheetTabRestrictionItem(String key, List factSheetTabRestrictionItem) { this.factSheetTabRestriction.put(key, factSheetTabRestrictionItem); return this; } /** * Get factSheetTabRestriction * @return factSheetTabRestriction **/ @ApiModelProperty(example = "null", value = "") public Map> getFactSheetTabRestriction() { return factSheetTabRestriction; } public void setFactSheetTabRestriction(Map> factSheetTabRestriction) { this.factSheetTabRestriction = factSheetTabRestriction; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FactSheetViewModel factSheetViewModel = (FactSheetViewModel) o; return Objects.equals(this.type, factSheetViewModel.type) && Objects.equals(this.bgColor, factSheetViewModel.bgColor) && Objects.equals(this.color, factSheetViewModel.color) && Objects.equals(this.onTheFlyCreation, factSheetViewModel.onTheFlyCreation) && Objects.equals(this.hiddenForRoles, factSheetViewModel.hiddenForRoles) && Objects.equals(this.fieldMetaData, factSheetViewModel.fieldMetaData) && Objects.equals(this.facetViewStates, factSheetViewModel.facetViewStates) && Objects.equals(this.sections, factSheetViewModel.sections) && Objects.equals(this.hoverConfig, factSheetViewModel.hoverConfig) && Objects.equals(this.factSheetTabRestriction, factSheetViewModel.factSheetTabRestriction); } @Override public int hashCode() { return Objects.hash(type, bgColor, color, onTheFlyCreation, hiddenForRoles, fieldMetaData, facetViewStates, sections, hoverConfig, factSheetTabRestriction); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FactSheetViewModel {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" bgColor: ").append(toIndentedString(bgColor)).append("\n"); sb.append(" color: ").append(toIndentedString(color)).append("\n"); sb.append(" onTheFlyCreation: ").append(toIndentedString(onTheFlyCreation)).append("\n"); sb.append(" hiddenForRoles: ").append(toIndentedString(hiddenForRoles)).append("\n"); sb.append(" fieldMetaData: ").append(toIndentedString(fieldMetaData)).append("\n"); sb.append(" facetViewStates: ").append(toIndentedString(facetViewStates)).append("\n"); sb.append(" sections: ").append(toIndentedString(sections)).append("\n"); sb.append(" hoverConfig: ").append(toIndentedString(hoverConfig)).append("\n"); sb.append(" factSheetTabRestriction: ").append(toIndentedString(factSheetTabRestriction)).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