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

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

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





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

  

  public AlertEmailConfiguration() {
    super();
    
  }

  @lombok.Builder(builderMethodName = "AlertEmailConfigurationBuilder")
  public AlertEmailConfiguration(String tenantId, String extId, java.util.List links, String defaultNutanixEmail, Boolean isEnabled, Boolean hasDefaultNutanixEmail, Boolean isEmailDigestEnabled, Boolean isEmptyAlertEmailDigestSkipped, java.util.List emailConfigRules, java.util.List emailContactList, com.nutanix.dp1.pri.prism.v4.serviceability.EmailTemplate emailTemplate, com.nutanix.dp1.pri.prism.v4.serviceability.RemoteTunnelDetails tunnelDetails, String alertEmailDigestSendTime, String alertEmailDigestSendTimezone) {
    super(tenantId, extId, links);

    this.setDefaultNutanixEmail(defaultNutanixEmail);

    this.setIsEnabled(isEnabled);

    this.setHasDefaultNutanixEmail(hasDefaultNutanixEmail);

    this.setIsEmailDigestEnabled(isEmailDigestEnabled);

    this.setIsEmptyAlertEmailDigestSkipped(isEmptyAlertEmailDigestSkipped);

    this.setEmailConfigRules(emailConfigRules);

    this.setEmailContactList(emailContactList);

    this.setEmailTemplate(emailTemplate);

    this.setTunnelDetails(tunnelDetails);

    this.setAlertEmailDigestSendTime(alertEmailDigestSendTime);

    this.setAlertEmailDigestSendTimezone(alertEmailDigestSendTimezone);
  }

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

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


  
  

  
    /**
    * The default Nutanix email ID to which alert emails would be sent.
    */
    @javax.validation.constraints.Pattern(regexp="^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$")
    
    @JsonProperty("defaultNutanixEmail")
    public String defaultNutanixEmail = null;
  
  

  
    /**
    * Indicates whether alert emails should be enabled or not.
    */
    
    @JsonProperty("isEnabled")
    public Boolean isEnabled = false;
  
  

  
    /**
    * Indicates whether alert emails should be enabled or not on default Nutanix email ID.
    */
    
    @JsonProperty("hasDefaultNutanixEmail")
    public Boolean hasDefaultNutanixEmail = false;
  
  

  
    /**
    * Indicates whether alert email digest should be enabled or not.
    */
    
    @JsonProperty("isEmailDigestEnabled")
    public Boolean isEmailDigestEnabled = false;
  
  

  
    /**
    * Send alert email digest only if there are one or more alerts.
    */
    
    @JsonProperty("isEmptyAlertEmailDigestSkipped")
    public Boolean isEmptyAlertEmailDigestSkipped = false;
  
  

  
    /**
    * Rules for email configuration.
    */
    @javax.validation.constraints.Size(min = 0, max = 100)
    
    @JsonProperty("emailConfigRules")
    public List emailConfigRules = null;
  
  

  
    /**
    * List of email contacts.
    */
    @javax.validation.constraints.Size(min = 0, max = 100)
    
    @JsonProperty("emailContactList")
    public List emailContactList = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("emailTemplate")
    public com.nutanix.dp1.pri.prism.v4.serviceability.EmailTemplate emailTemplate = null;
  
  

  
    /**
    * 
    */
    
    @JsonProperty("tunnelDetails")
    public com.nutanix.dp1.pri.prism.v4.serviceability.RemoteTunnelDetails tunnelDetails = null;
  
  

  
    /**
    * Time in HH:mm format when the alert email digest is to be sent daily.
    */
    
    @JsonProperty("alertEmailDigestSendTime")
    public String alertEmailDigestSendTime = null;
  
  

  
    /**
    * Timezone for the time at which the alert email digest is to be sent daily.
    */
    
    @JsonProperty("alertEmailDigestSendTimezone")
    public String alertEmailDigestSendTimezone = null;
  
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy