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

com.nutanix.dp1.pri.prism.v4.common.AlertEntityReference 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.common;

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 AlertEntityReference extends com.nutanix.dp1.pri.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, PriObjectTypeTypedObject {

  

  public AlertEntityReference() {
    super();
    
  }

  @lombok.Builder(builderMethodName = "AlertEntityReferenceBuilder")
  public AlertEntityReference(String tenantId, String extId, java.util.List links, String type, String name) {
    super(tenantId, extId, links);

    this.setType(type);

    this.setName(name);
  }

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

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


  
  

  
    /**
    * The type of entity. For example, VM, node, cluster and so on.
    */
    
    @JsonProperty("type")
    public String type = null;
  
  

  
    /**
    * The name of the entity.
    */
    
    @JsonProperty("name")
    public String name = null;
  
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy