net.leanix.api.models.SignavioGlossaryCategoryMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leanix-sdk-java Show documentation
Show all versions of leanix-sdk-java Show documentation
SDK for Java to access leanIX REST API
/*
* 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;
/**
* SignavioGlossaryCategoryMapping
*/
public class SignavioGlossaryCategoryMapping {
@JsonProperty("active")
private Boolean active = false;
@JsonProperty("strict")
private Boolean strict = false;
@JsonProperty("glossaryCategoryId")
private String glossaryCategoryId = null;
@JsonProperty("leanixRelationName")
private String leanixRelationName = null;
/**
* Gets or Sets master
*/
public enum MasterEnum {
LEANIX("LEANIX"),
SIGNAVIO("SIGNAVIO");
private String value;
MasterEnum(String value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static MasterEnum fromValue(String text) {
for (MasterEnum b : MasterEnum.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
return null;
}
}
@JsonProperty("master")
private MasterEnum master = null;
public SignavioGlossaryCategoryMapping active(Boolean active) {
this.active = active;
return this;
}
/**
* Get active
* @return active
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getActive() {
return active;
}
public void setActive(Boolean active) {
this.active = active;
}
public SignavioGlossaryCategoryMapping strict(Boolean strict) {
this.strict = strict;
return this;
}
/**
* Get strict
* @return strict
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getStrict() {
return strict;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public SignavioGlossaryCategoryMapping glossaryCategoryId(String glossaryCategoryId) {
this.glossaryCategoryId = glossaryCategoryId;
return this;
}
/**
* Get glossaryCategoryId
* @return glossaryCategoryId
**/
@ApiModelProperty(example = "null", value = "")
public String getGlossaryCategoryId() {
return glossaryCategoryId;
}
public void setGlossaryCategoryId(String glossaryCategoryId) {
this.glossaryCategoryId = glossaryCategoryId;
}
public SignavioGlossaryCategoryMapping leanixRelationName(String leanixRelationName) {
this.leanixRelationName = leanixRelationName;
return this;
}
/**
* Get leanixRelationName
* @return leanixRelationName
**/
@ApiModelProperty(example = "null", value = "")
public String getLeanixRelationName() {
return leanixRelationName;
}
public void setLeanixRelationName(String leanixRelationName) {
this.leanixRelationName = leanixRelationName;
}
public SignavioGlossaryCategoryMapping master(MasterEnum master) {
this.master = master;
return this;
}
/**
* Get master
* @return master
**/
@ApiModelProperty(example = "null", value = "")
public MasterEnum getMaster() {
return master;
}
public void setMaster(MasterEnum master) {
this.master = master;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignavioGlossaryCategoryMapping signavioGlossaryCategoryMapping = (SignavioGlossaryCategoryMapping) o;
return Objects.equals(this.active, signavioGlossaryCategoryMapping.active) &&
Objects.equals(this.strict, signavioGlossaryCategoryMapping.strict) &&
Objects.equals(this.glossaryCategoryId, signavioGlossaryCategoryMapping.glossaryCategoryId) &&
Objects.equals(this.leanixRelationName, signavioGlossaryCategoryMapping.leanixRelationName) &&
Objects.equals(this.master, signavioGlossaryCategoryMapping.master);
}
@Override
public int hashCode() {
return Objects.hash(active, strict, glossaryCategoryId, leanixRelationName, master);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignavioGlossaryCategoryMapping {\n");
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" strict: ").append(toIndentedString(strict)).append("\n");
sb.append(" glossaryCategoryId: ").append(toIndentedString(glossaryCategoryId)).append("\n");
sb.append(" leanixRelationName: ").append(toIndentedString(leanixRelationName)).append("\n");
sb.append(" master: ").append(toIndentedString(master)).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