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

com.nutanix.dp1.aio.aiops.v4.stats.DeprecationModel Maven / Gradle / Ivy

Go to download

Manage infrastructure on-premises and in the cloud seamlessly through AIOps features such as Analysis, Reporting, Capacity Planning, What if Analysis, VM Rightsizing, Troubleshooting, App Discovery, Broad Observability, and Ops Automation through Playbooks.

The newest version!
/*
 * Generated file ..
 *
 * Product version: 4.0.3-alpha-2
 *
 * Part of the Nutanix Aiops Versioned APIs
 *
 * (c) 2023 Nutanix Inc.  All rights reserved
 *
 */

package com.nutanix.dp1.aio.aiops.v4.stats;

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.aio.deserializers.AioObjectTypeTypedObject;

import javax.validation.constraints.*;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import static com.nutanix.dp1.aio.deserializers.AioDeserializerUtils.*;


/**
 * An abstract representation of an object which has the deprecated information.
 */



@Data
@lombok.extern.slf4j.Slf4j
public class DeprecationModel implements java.io.Serializable, AioObjectTypeTypedObject {

  

  public DeprecationModel() {

    this.$objectType = this.initialize$objectType();
    this.$reserved = new java.util.LinkedHashMap<>();
    this.$reserved.put("$fqObjectType", this.initialize$fqObjectType());
    this.$unknownFields = new java.util.LinkedHashMap<>();

  }

  @lombok.Builder(builderMethodName = "DeprecationModelBuilder")
  public DeprecationModel(String deprecatedVersion, String deprecatedDate, String deprecatedBy, String deprecatedReason) {
    this.$objectType = this.initialize$objectType();
    this.$reserved = new java.util.LinkedHashMap<>();
    this.$reserved.put("$fqObjectType", this.initialize$fqObjectType());
    this.$unknownFields = new java.util.LinkedHashMap<>();

    this.setDeprecatedVersion(deprecatedVersion);

    this.setDeprecatedDate(deprecatedDate);

    this.setDeprecatedBy(deprecatedBy);

    this.setDeprecatedReason(deprecatedReason);
  }


  protected String initialize$objectType() {
    return "aiops.v4.stats.DeprecationModel";
  }


  protected String initialize$fqObjectType() {
    return "aiops.v4.r0.a2.stats.DeprecationModel";
  }

  @JsonAnySetter
  private void setUndeserializedFields(String name, String value) {
    $unknownFields.put(name, value);
  }


  
  

  
    /**
    * Deprecated after the version.
    */
    
    @JsonProperty("deprecatedVersion")
    public String deprecatedVersion = null;
  
  

  
    /**
    * Deprecated after the date.
    */
    
    @JsonProperty("deprecatedDate")
    public String deprecatedDate = null;
  
  

  
    /**
    * Represents the deprecation name of the attribute.
    */
    
    @JsonProperty("deprecatedBy")
    public String deprecatedBy = null;
  
  

  
    /**
    * Represents the reason for the deprecation.
    */
    
    @JsonProperty("deprecatedReason")
    public String deprecatedReason = null;
  
  

  
    
    
    @Getter
    @JsonView({StandardView.class})
    
    protected final Map $reserved;
  
  

  
    
    
    @Getter
    @JsonView({StandardView.class})
    
    protected final String $objectType;
  
  

  
    
    
    @Getter
    @JsonView({StandardView.class})
    
    protected final Map $unknownFields;
  
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy