![JAR search and dependency download from the Maven repository](/logo.png)
net.leanix.api.models.ImpactManagementDefinition 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.List;
/**
* ImpactManagementDefinition
*/
public class ImpactManagementDefinition {
@JsonProperty("enabled")
private Boolean enabled = false;
@JsonProperty("impactDisplayingSubtypes")
private List impactDisplayingSubtypes = new ArrayList();
@JsonProperty("impactDefiningSubtypes")
private List impactDefiningSubtypes = new ArrayList();
public ImpactManagementDefinition enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* Get enabled
* @return enabled
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public ImpactManagementDefinition impactDisplayingSubtypes(List impactDisplayingSubtypes) {
this.impactDisplayingSubtypes = impactDisplayingSubtypes;
return this;
}
public ImpactManagementDefinition addImpactDisplayingSubtypesItem(String impactDisplayingSubtypesItem) {
this.impactDisplayingSubtypes.add(impactDisplayingSubtypesItem);
return this;
}
/**
* Get impactDisplayingSubtypes
* @return impactDisplayingSubtypes
**/
@ApiModelProperty(example = "null", value = "")
public List getImpactDisplayingSubtypes() {
return impactDisplayingSubtypes;
}
public void setImpactDisplayingSubtypes(List impactDisplayingSubtypes) {
this.impactDisplayingSubtypes = impactDisplayingSubtypes;
}
public ImpactManagementDefinition impactDefiningSubtypes(List impactDefiningSubtypes) {
this.impactDefiningSubtypes = impactDefiningSubtypes;
return this;
}
public ImpactManagementDefinition addImpactDefiningSubtypesItem(String impactDefiningSubtypesItem) {
this.impactDefiningSubtypes.add(impactDefiningSubtypesItem);
return this;
}
/**
* Get impactDefiningSubtypes
* @return impactDefiningSubtypes
**/
@ApiModelProperty(example = "null", value = "")
public List getImpactDefiningSubtypes() {
return impactDefiningSubtypes;
}
public void setImpactDefiningSubtypes(List impactDefiningSubtypes) {
this.impactDefiningSubtypes = impactDefiningSubtypes;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ImpactManagementDefinition impactManagementDefinition = (ImpactManagementDefinition) o;
return Objects.equals(this.enabled, impactManagementDefinition.enabled) &&
Objects.equals(this.impactDisplayingSubtypes, impactManagementDefinition.impactDisplayingSubtypes) &&
Objects.equals(this.impactDefiningSubtypes, impactManagementDefinition.impactDefiningSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(enabled, impactDisplayingSubtypes, impactDefiningSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ImpactManagementDefinition {\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" impactDisplayingSubtypes: ").append(toIndentedString(impactDisplayingSubtypes)).append("\n");
sb.append(" impactDefiningSubtypes: ").append(toIndentedString(impactDefiningSubtypes)).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