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

com.nutanix.dp1.sec.security.v4.report.Summary Maven / Gradle / Ivy

Go to download

Manage security features, such as encryption, certificates, or platform hardening.

The newest version!
/*
 * Generated file ..
 *
 * Product version: 4.0.1-beta-1
 *
 * Part of the Nutanix Security APIs
 *
 * (c) 2024 Nutanix Inc.  All rights reserved
 *
 */

package com.nutanix.dp1.sec.security.v4.report;

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 java.util.stream.Collectors;
import com.nutanix.dp1.sec.deserializers.SecObjectTypeTypedObject;

import javax.validation.constraints.*;

import java.time.OffsetDateTime;
import java.util.List;

import static com.nutanix.dp1.sec.deserializers.SecDeserializerUtils.*;


/**
 * Number of security related issues for a single cluster
 */
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class Summary extends com.nutanix.dp1.sec.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, SecObjectTypeTypedObject {

  

  public Summary() {
    super();

  }

  @lombok.Builder(builderMethodName = "SummaryBuilder")
  public Summary(String tenantId, String extId, java.util.List links, String clusterExtId, com.nutanix.dp1.sec.security.v4.report.IssueSummary securityHardeningSummary, com.nutanix.dp1.sec.security.v4.report.IssueSummary stigSummary, com.nutanix.dp1.sec.security.v4.report.IssueSummary vulnerabilitiesSummary, com.nutanix.dp1.sec.security.v4.report.IssueSummary passwordSummary, com.nutanix.dp1.sec.security.v4.common.Timescale trendType, java.time.OffsetDateTime lastRefreshTime) {
    super(tenantId, extId, links);
    this.setClusterExtId(clusterExtId);
    this.setSecurityHardeningSummary(securityHardeningSummary);
    this.setStigSummary(stigSummary);
    this.setVulnerabilitiesSummary(vulnerabilitiesSummary);
    this.setPasswordSummary(passwordSummary);
    this.setTrendType(trendType);
    this.setLastRefreshTime(lastRefreshTime);
  }

  @Override 
  protected String initialize$objectType() {
    return "security.v4.report.Summary";
  }

  @Override 
  protected String initialize$fv() {
    return "v4.r0.b1";
  }


  
    @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}$")
    
    
    
    
    private String clusterExtId = null;
  
    /**
     * UUID for the cluster.
     */
    public void setClusterExtId(String clusterExtId) {
      if (this.clusterExtId == null) {
        this.clusterExtId = clusterExtId;
      }
      else {
        log.warn("Read-only property clusterExtId already contains a non-null value and cannot be set again");
      }
    }
  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("securityHardeningSummary")
    public com.nutanix.dp1.sec.security.v4.report.IssueSummary securityHardeningSummary = null;
  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("stigSummary")
    public com.nutanix.dp1.sec.security.v4.report.IssueSummary stigSummary = null;
  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("vulnerabilitiesSummary")
    public com.nutanix.dp1.sec.security.v4.report.IssueSummary vulnerabilitiesSummary = null;
  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("passwordSummary")
    public com.nutanix.dp1.sec.security.v4.report.IssueSummary passwordSummary = null;
  
  
  
    /**
    * 
    */
    
    
    @JsonProperty("trendType")
    public com.nutanix.dp1.sec.security.v4.common.Timescale trendType = null;
  
  
  
    /**
    * The date the dashboard information was last refreshed
    */
    
    
    @JsonProperty("lastRefreshTime")
    public OffsetDateTime lastRefreshTime = null;
  
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy