com.vmware.avi.sdk.model.ReportDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avisdk Show documentation
Show all versions of avisdk Show documentation
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 ReportDetail is a POJO class extends AviRestResource that used for creating
* ReportDetail.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReportDetail {
@JsonProperty("name")
private String name;
@JsonProperty("node_ref")
private String nodeRef;
@JsonProperty("node_type")
private String nodeType;
@JsonProperty("obj_cloud_ref")
private String objCloudRef;
@JsonProperty("system_readiness")
private UpgradeReadinessCheckObj systemReadiness;
/**
* This is the getter method this will return the attribute value.
* Name of the node such as cluster name, se group name or se name.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return name
*/
public String getName() {
return name;
}
/**
* This is the setter method to the attribute.
* Name of the node such as cluster name, se group name or se name.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param name set the name.
*/
public void setName(String name) {
this.name = name;
}
/**
* This is the getter method this will return the attribute value.
* Uuid identifier for the node such as cluster, se group or se.
* It is a reference to an object of type upgradestatusinfo.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return nodeRef
*/
public String getNodeRef() {
return nodeRef;
}
/**
* This is the setter method to the attribute.
* Uuid identifier for the node such as cluster, se group or se.
* It is a reference to an object of type upgradestatusinfo.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param nodeRef set the nodeRef.
*/
public void setNodeRef(String nodeRef) {
this.nodeRef = nodeRef;
}
/**
* This is the getter method this will return the attribute value.
* Type of the system such as controller_cluster, se_group or se.
* Enum options - NODE_CONTROLLER_CLUSTER, NODE_SE_GROUP, NODE_SE_TYPE.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return nodeType
*/
public String getNodeType() {
return nodeType;
}
/**
* This is the setter method to the attribute.
* Type of the system such as controller_cluster, se_group or se.
* Enum options - NODE_CONTROLLER_CLUSTER, NODE_SE_GROUP, NODE_SE_TYPE.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param nodeType set the nodeType.
*/
public void setNodeType(String nodeType) {
this.nodeType = nodeType;
}
/**
* This is the getter method this will return the attribute value.
* Cloud that this object belongs to.
* It is a reference to an object of type cloud.
* Field introduced in 22.1.6.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return objCloudRef
*/
public String getObjCloudRef() {
return objCloudRef;
}
/**
* This is the setter method to the attribute.
* Cloud that this object belongs to.
* It is a reference to an object of type cloud.
* Field introduced in 22.1.6.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param objCloudRef set the objCloudRef.
*/
public void setObjCloudRef(String objCloudRef) {
this.objCloudRef = objCloudRef;
}
/**
* This is the getter method this will return the attribute value.
* System readiness check detail.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return systemReadiness
*/
public UpgradeReadinessCheckObj getSystemReadiness() {
return systemReadiness;
}
/**
* This is the setter method to the attribute.
* System readiness check detail.
* Field introduced in 22.1.6, 30.2.1.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param systemReadiness set the systemReadiness.
*/
public void setSystemReadiness(UpgradeReadinessCheckObj systemReadiness) {
this.systemReadiness = systemReadiness;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ReportDetail objReportDetail = (ReportDetail) o;
return Objects.equals(this.nodeRef, objReportDetail.nodeRef)&&
Objects.equals(this.name, objReportDetail.name)&&
Objects.equals(this.objCloudRef, objReportDetail.objCloudRef)&&
Objects.equals(this.nodeType, objReportDetail.nodeType)&&
Objects.equals(this.systemReadiness, objReportDetail.systemReadiness);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReportDetail {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" nodeRef: ").append(toIndentedString(nodeRef)).append("\n");
sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n");
sb.append(" objCloudRef: ").append(toIndentedString(objCloudRef)).append("\n");
sb.append(" systemReadiness: ").append(toIndentedString(systemReadiness)).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