com.nutanix.dp1.pri.prism.v4.config.AssociationDetailOld 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.config;
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 java.util.Map;
import static com.nutanix.dp1.pri.deserializers.PriDeserializerUtils.*;
/**
* This attribute contains the list of entities which have been assigned the given category.
* These entities are grouped by entity types (like VM or HOST) or policy types (like PROTECTION_POLICY or
* NGT_POLICY).
* Each associated object contains the total entities belonging to the given entity type, category extId, and
* references (for example for VM it'd be VM UUID).
*
*/
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class AssociationDetailOld extends com.nutanix.dp1.pri.prism.v4.config.CategoryAssociationSummaryOld implements java.io.Serializable, PriObjectTypeTypedObject {
public AssociationDetailOld() {
super();
}
@lombok.Builder(builderMethodName = "AssociationDetailOldBuilder")
public AssociationDetailOld(String categoryId, com.nutanix.dp1.pri.prism.v4.config.ResourceType resourceType, com.nutanix.dp1.pri.prism.v4.config.ResourceGroup resourceGroup, Integer count, java.util.List resourceReferences) {
super(categoryId, resourceType, resourceGroup, count);
this.setResourceReferences(resourceReferences);
}
@Override
protected String initialize$objectType() {
return "prism.v4.config.AssociationDetailOld";
}
@Override
protected String initialize$fqObjectType() {
return "prism.v4.r0.a2.config.AssociationDetailOld";
}
/**
*
*/
@JsonProperty("resourceReferences")
public List resourceReferences = null;
}