2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright 2018 TechMahindra
\r
6 *=================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END=========================================================
\r
20 package org.onap.dcaegen2.ves.domain.ves7_0;
\r
22 import com.fasterxml.jackson.annotation.JsonInclude;
\r
23 import com.fasterxml.jackson.annotation.JsonProperty;
\r
24 import com.fasterxml.jackson.annotation.JsonPropertyDescription;
\r
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
\r
26 import org.apache.commons.lang.builder.EqualsBuilder;
\r
27 import org.apache.commons.lang.builder.HashCodeBuilder;
\r
28 import org.apache.commons.lang.builder.ToStringBuilder;
\r
32 * intelligent platform management interface (ipmi) processor dual inline memory module aggregate thermal margin metrics
\r
35 @JsonInclude(JsonInclude.Include.NON_NULL)
\r
36 @JsonPropertyOrder({
\r
37 "processorDimmAggregateThermalMarginIdentifier",
\r
40 public class ProcessorDimmAggregateThermalMarginArray {
\r
43 * identifier for the aggregate thermal margin metrics from the processor dual inline memory module
\r
47 @JsonProperty("processorDimmAggregateThermalMarginIdentifier")
\r
48 @JsonPropertyDescription("identifier for the aggregate thermal margin metrics from the processor dual inline memory module")
\r
49 private String processorDimmAggregateThermalMarginIdentifier;
\r
51 * the difference between the DIMM's current temperature, in celsius, and the DIMM's throttling thermal trip point
\r
55 @JsonProperty("thermalMargin")
\r
56 @JsonPropertyDescription("the difference between the DIMM's current temperature, in celsius, and the DIMM's throttling thermal trip point")
\r
57 private Double thermalMargin;
\r
60 * identifier for the aggregate thermal margin metrics from the processor dual inline memory module
\r
64 @JsonProperty("processorDimmAggregateThermalMarginIdentifier")
\r
65 public String getProcessorDimmAggregateThermalMarginIdentifier() {
\r
66 return processorDimmAggregateThermalMarginIdentifier;
\r
70 * identifier for the aggregate thermal margin metrics from the processor dual inline memory module
\r
74 @JsonProperty("processorDimmAggregateThermalMarginIdentifier")
\r
75 public void setProcessorDimmAggregateThermalMarginIdentifier(String processorDimmAggregateThermalMarginIdentifier) {
\r
76 this.processorDimmAggregateThermalMarginIdentifier = processorDimmAggregateThermalMarginIdentifier;
\r
80 * the difference between the DIMM's current temperature, in celsius, and the DIMM's throttling thermal trip point
\r
84 @JsonProperty("thermalMargin")
\r
85 public Double getThermalMargin() {
\r
86 return thermalMargin;
\r
90 * the difference between the DIMM's current temperature, in celsius, and the DIMM's throttling thermal trip point
\r
94 @JsonProperty("thermalMargin")
\r
95 public void setThermalMargin(Double thermalMargin) {
\r
96 this.thermalMargin = thermalMargin;
\r
100 public String toString() {
\r
101 return ToStringBuilder.reflectionToString(this);
\r
105 public int hashCode() {
\r
106 return new HashCodeBuilder().append(processorDimmAggregateThermalMarginIdentifier).append(thermalMargin).toHashCode();
\r
110 public boolean equals(Object other) {
\r
111 if (other == this) {
\r
114 if ((other instanceof ProcessorDimmAggregateThermalMarginArray) == false) {
\r
117 ProcessorDimmAggregateThermalMarginArray rhs = ((ProcessorDimmAggregateThermalMarginArray) other);
\r
118 return new EqualsBuilder().append(processorDimmAggregateThermalMarginIdentifier, rhs.processorDimmAggregateThermalMarginIdentifier).append(thermalMargin, rhs.thermalMargin).isEquals();
\r