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

com.vmware.avi.sdk.model.ProactiveSupportDefaults Maven / Gradle / Ivy

Go to download

Avi SDK is a java API which creates a session with controller and perform CRUD operations.

The newest version!
/*
 * Copyright 2021 VMware, Inc.
 * SPDX-License-Identifier: Apache License 2.0
 */

package com.vmware.avi.sdk.model;

import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * The ProactiveSupportDefaults is a POJO class extends AviRestResource that used for creating
 * ProactiveSupportDefaults.
 *
 * @version 1.0
 * @since 
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ProactiveSupportDefaults  {
    @JsonProperty("attach_core_dump")
    private Boolean attachCoreDump = false;

    @JsonProperty("attach_tech_support")
    private Boolean attachTechSupport;

    @JsonProperty("case_severity")
    private String caseSeverity = "Severity 5";



    /**
     * This is the getter method this will return the attribute value.
     * Opt-in to attach core dump with support case.
     * Field introduced in 20.1.1.
     * Allowed in enterprise edition with any value, essentials edition(allowed values- false), basic edition(allowed values- false), enterprise with
     * cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as false.
     * @return attachCoreDump
     */
    public Boolean getAttachCoreDump() {
        return attachCoreDump;
    }

    /**
     * This is the setter method to the attribute.
     * Opt-in to attach core dump with support case.
     * Field introduced in 20.1.1.
     * Allowed in enterprise edition with any value, essentials edition(allowed values- false), basic edition(allowed values- false), enterprise with
     * cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as false.
     * @param attachCoreDump set the attachCoreDump.
     */
    public void setAttachCoreDump(Boolean  attachCoreDump) {
        this.attachCoreDump = attachCoreDump;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Opt-in to attach tech support with support case.
     * Field introduced in 20.1.1.
     * Allowed in enterprise edition with any value, essentials edition(allowed values- false), basic edition(allowed values- false), enterprise with
     * cloud services edition.
     * Special default for essentials edition is false, basic edition is false, enterprise is true.
     * @return attachTechSupport
     */
    public Boolean getAttachTechSupport() {
        return attachTechSupport;
    }

    /**
     * This is the setter method to the attribute.
     * Opt-in to attach tech support with support case.
     * Field introduced in 20.1.1.
     * Allowed in enterprise edition with any value, essentials edition(allowed values- false), basic edition(allowed values- false), enterprise with
     * cloud services edition.
     * Special default for essentials edition is false, basic edition is false, enterprise is true.
     * @param attachTechSupport set the attachTechSupport.
     */
    public void setAttachTechSupport(Boolean  attachTechSupport) {
        this.attachTechSupport = attachTechSupport;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Case severity to be used for proactive support case creation.
     * Field introduced in 20.1.1.
     * Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as "Severity 5".
     * @return caseSeverity
     */
    public String getCaseSeverity() {
        return caseSeverity;
    }

    /**
     * This is the setter method to the attribute.
     * Case severity to be used for proactive support case creation.
     * Field introduced in 20.1.1.
     * Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as "Severity 5".
     * @param caseSeverity set the caseSeverity.
     */
    public void setCaseSeverity(String  caseSeverity) {
        this.caseSeverity = caseSeverity;
    }


    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
          return true;
      }
      if (o == null || getClass() != o.getClass()) {
          return false;
      }
      ProactiveSupportDefaults objProactiveSupportDefaults = (ProactiveSupportDefaults) o;
      return   Objects.equals(this.attachTechSupport, objProactiveSupportDefaults.attachTechSupport)&&
  Objects.equals(this.caseSeverity, objProactiveSupportDefaults.caseSeverity)&&
  Objects.equals(this.attachCoreDump, objProactiveSupportDefaults.attachCoreDump);
    }

    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class ProactiveSupportDefaults {\n");
                  sb.append("    attachCoreDump: ").append(toIndentedString(attachCoreDump)).append("\n");
                        sb.append("    attachTechSupport: ").append(toIndentedString(attachTechSupport)).append("\n");
                        sb.append("    caseSeverity: ").append(toIndentedString(caseSeverity)).append("\n");
                  sb.append("}");
      return sb.toString();
    }

    /**
     * Convert the given object to string with each line indented by 4 spaces
     * (except the first line).
     */
    private String toIndentedString(java.lang.Object o) {
      if (o == null) {
          return "null";
      }
      return o.toString().replace("\n", "\n    ");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy