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) baseboard temperature metrics
\r 
  35 @JsonInclude(JsonInclude.Include.NON_NULL)
\r 
  36 @JsonPropertyOrder({
\r 
  37     "baseboardTemperatureIdentifier",
\r 
  38     "baseboardTemperature"
\r 
  40 public class IpmiBaseboardTemperatureArray {
\r 
  43      * identifier for the location where the temperature is taken
\r 
  47     @JsonProperty("baseboardTemperatureIdentifier")
\r 
  48     @JsonPropertyDescription("identifier for the location where the temperature is taken")
\r 
  49     private String baseboardTemperatureIdentifier;
\r 
  51      * baseboard temperature in celsius
\r 
  54     @JsonProperty("baseboardTemperature")
\r 
  55     @JsonPropertyDescription("baseboard temperature in celsius")
\r 
  56     private Double baseboardTemperature;
\r 
  59      * identifier for the location where the temperature is taken
\r 
  63     @JsonProperty("baseboardTemperatureIdentifier")
\r 
  64     public String getBaseboardTemperatureIdentifier() {
\r 
  65         return baseboardTemperatureIdentifier;
\r 
  69      * identifier for the location where the temperature is taken
\r 
  73     @JsonProperty("baseboardTemperatureIdentifier")
\r 
  74     public void setBaseboardTemperatureIdentifier(String baseboardTemperatureIdentifier) {
\r 
  75         this.baseboardTemperatureIdentifier = baseboardTemperatureIdentifier;
\r 
  79      * baseboard temperature in celsius
\r 
  82     @JsonProperty("baseboardTemperature")
\r 
  83     public Double getBaseboardTemperature() {
\r 
  84         return baseboardTemperature;
\r 
  88      * baseboard temperature in celsius
\r 
  91     @JsonProperty("baseboardTemperature")
\r 
  92     public void setBaseboardTemperature(Double baseboardTemperature) {
\r 
  93         this.baseboardTemperature = baseboardTemperature;
\r 
  97     public String toString() {
\r 
  98         return ToStringBuilder.reflectionToString(this);
\r 
 102     public int hashCode() {
\r 
 103         return new HashCodeBuilder().append(baseboardTemperatureIdentifier).append(baseboardTemperature).toHashCode();
\r 
 107     public boolean equals(Object other) {
\r 
 108         if (other == this) {
\r 
 111         if ((other instanceof IpmiBaseboardTemperatureArray) == false) {
\r 
 114         IpmiBaseboardTemperatureArray rhs = ((IpmiBaseboardTemperatureArray) other);
\r 
 115         return new EqualsBuilder().append(baseboardTemperatureIdentifier, rhs.baseboardTemperatureIdentifier).append(baseboardTemperature, rhs.baseboardTemperature).isEquals();
\r