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

com.nutanix.dp1.pri.prism.v4.serviceability.AlertDb 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.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;

import static com.nutanix.dp1.pri.deserializers.PriDeserializerUtils.*;





@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class AlertDb extends com.nutanix.dp1.pri.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, PriObjectTypeTypedObject {

  

  public AlertDb() {
    super();
    
  }

  @lombok.Builder(builderMethodName = "AlertDbBuilder")
  public AlertDb(String tenantId, String extId, java.util.List links, String protobuf, Boolean isAcknowledged, String serviceName, com.nutanix.dp1.pri.prism.v4.common.Severity severity, Boolean isAutoResolved, Boolean isResolved, String alertType, java.util.List classifications, String originatingClusterUUID, java.time.OffsetDateTime creationTime, java.util.List impactTypes, java.time.OffsetDateTime lastUpdatedTime, java.time.OffsetDateTime acknowledgedTime, java.time.OffsetDateTime resolvedTime, com.nutanix.dp1.pri.prism.v4.common.AlertEntityReference sourceEntity, java.util.List cluster, Boolean isUserDefined, String resolvedByUsername, String acknowledgedByUsername) {
    super(tenantId, extId, links);

    this.setProtobuf(protobuf);

    this.setIsAcknowledged(isAcknowledged);

    this.setServiceName(serviceName);

    this.setSeverity(severity);

    this.setIsAutoResolved(isAutoResolved);

    this.setIsResolved(isResolved);

    this.setAlertType(alertType);

    this.setClassifications(classifications);

    this.setOriginatingClusterUUID(originatingClusterUUID);

    this.setCreationTime(creationTime);

    this.setImpactTypes(impactTypes);

    this.setLastUpdatedTime(lastUpdatedTime);

    this.setAcknowledgedTime(acknowledgedTime);

    this.setResolvedTime(resolvedTime);

    this.setSourceEntity(sourceEntity);

    this.setCluster(cluster);

    this.setIsUserDefined(isUserDefined);

    this.setResolvedByUsername(resolvedByUsername);

    this.setAcknowledgedByUsername(acknowledgedByUsername);
  }

  @Override 
  protected String initialize$objectType() {
    return "prism.v4.serviceability.AlertDb";
  }

  @Override 
  protected String initialize$fqObjectType() {
    return "prism.v4.r0.a2.serviceability.AlertDb";
  }


  
  

  
    /**
    * 
    */
    
    @JsonProperty("protobuf")
    public String protobuf = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("isAcknowledged")
    public Boolean isAcknowledged = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("serviceName")
    public String serviceName = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("severity")
    public com.nutanix.dp1.pri.prism.v4.common.Severity severity = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("isAutoResolved")
    public Boolean isAutoResolved = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("isResolved")
    public Boolean isResolved = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("alertType")
    public String alertType = null;
  
  

  
    /**
    * 
    */
    @javax.validation.constraints.Size(min = 0, max = 15)
    
    @JsonProperty("classifications")
    public List classifications = null;
  
  

  
    /**
    * 
    */
    @javax.validation.constraints.Pattern(regexp="^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")
    
    @JsonProperty("originatingClusterUUID")
    public String originatingClusterUUID = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("creationTime")
    public OffsetDateTime creationTime = null;
  
  

  
    /**
    * 
    */
    @javax.validation.constraints.Size(min = 0, max = 8)
    
    @JsonProperty("impactTypes")
    public List impactTypes = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("lastUpdatedTime")
    public OffsetDateTime lastUpdatedTime = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("acknowledgedTime")
    public OffsetDateTime acknowledgedTime = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("resolvedTime")
    public OffsetDateTime resolvedTime = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("sourceEntity")
    public com.nutanix.dp1.pri.prism.v4.common.AlertEntityReference sourceEntity = null;
  
  

  
    /**
    * 
    */
    @javax.validation.constraints.Size(min = 0, max = 50)
    
    @JsonProperty("cluster")
    public List cluster = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("isUserDefined")
    public Boolean isUserDefined = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("resolvedByUsername")
    public String resolvedByUsername = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("acknowledgedByUsername")
    public String acknowledgedByUsername = null;
  
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy