com.nutanix.dp1.pri.prism.v4.serviceability.RootCauseAnalysis Maven / Gradle / Ivy
/*
* Generated file ..
*
* Product version: 4.0.3-alpha-2
*
* Part of the Nutanix Prism Versioned APIs
*
* (c) 2023 Nutanix Inc. All rights reserved
*
*/
package com.nutanix.dp1.pri.prism.v4.serviceability;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.AccessLevel;
import com.nutanix.devplatform.models.PrettyModeViews.*;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.nutanix.dp1.pri.deserializers.PriObjectTypeTypedObject;
import javax.validation.constraints.*;
import java.util.List;
import static com.nutanix.dp1.pri.deserializers.PriDeserializerUtils.*;
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class RootCauseAnalysis extends com.nutanix.dp1.pri.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, PriObjectTypeTypedObject {
public RootCauseAnalysis() {
super();
}
@lombok.Builder(builderMethodName = "RootCauseAnalysisBuilder")
public RootCauseAnalysis(String tenantId, String extId, java.util.List links, String cause, String resolution, String detail) {
super(tenantId, extId, links);
this.setCause(cause);
this.setResolution(resolution);
this.setDetail(detail);
}
@Override
protected String initialize$objectType() {
return "prism.v4.serviceability.RootCauseAnalysis";
}
@Override
protected String initialize$fqObjectType() {
return "prism.v4.r0.a2.serviceability.RootCauseAnalysis";
}
/**
* Possible causes to this alert.
*/
@JsonProperty("cause")
public String cause = null;
/**
* Possible resolutions to troubleshoot this alert.
*/
@JsonProperty("resolution")
public String resolution = null;
/**
* Additional details to troubleshoot this alert.
*/
@JsonProperty("detail")
public String detail = null;
}