Upgraded to Support VES 7.0
[dcaegen2/services/mapper.git] / UniversalVesAdapter / src / main / java / org / onap / dcaegen2 / ves / domain / ves7_0 / IpmiBaseboardTemperatureArray.java
diff --git a/UniversalVesAdapter/src/main/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArray.java b/UniversalVesAdapter/src/main/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArray.java
new file mode 100644 (file)
index 0000000..1f492a8
--- /dev/null
@@ -0,0 +1,118 @@
+/*\r
+* ============LICENSE_START=======================================================\r
+* ONAP : DCAE\r
+* ================================================================================\r
+* Copyright 2018 TechMahindra\r
+*=================================================================================\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+*     http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+* ============LICENSE_END=========================================================\r
+*/\r
+package org.onap.dcaegen2.ves.domain.ves7_0;\r
+\r
+import com.fasterxml.jackson.annotation.JsonInclude;\r
+import com.fasterxml.jackson.annotation.JsonProperty;\r
+import com.fasterxml.jackson.annotation.JsonPropertyDescription;\r
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;\r
+import org.apache.commons.lang.builder.EqualsBuilder;\r
+import org.apache.commons.lang.builder.HashCodeBuilder;\r
+import org.apache.commons.lang.builder.ToStringBuilder;\r
+\r
+\r
+/**\r
+ * intelligent platform management interface (ipmi) baseboard temperature metrics\r
+ * \r
+ */\r
+@JsonInclude(JsonInclude.Include.NON_NULL)\r
+@JsonPropertyOrder({\r
+    "baseboardTemperatureIdentifier",\r
+    "baseboardTemperature"\r
+})\r
+public class IpmiBaseboardTemperatureArray {\r
+\r
+    /**\r
+     * identifier for the location where the temperature is taken\r
+     * (Required)\r
+     * \r
+     */\r
+    @JsonProperty("baseboardTemperatureIdentifier")\r
+    @JsonPropertyDescription("identifier for the location where the temperature is taken")\r
+    private String baseboardTemperatureIdentifier;\r
+    /**\r
+     * baseboard temperature in celsius\r
+     * \r
+     */\r
+    @JsonProperty("baseboardTemperature")\r
+    @JsonPropertyDescription("baseboard temperature in celsius")\r
+    private Double baseboardTemperature;\r
+\r
+    /**\r
+     * identifier for the location where the temperature is taken\r
+     * (Required)\r
+     * \r
+     */\r
+    @JsonProperty("baseboardTemperatureIdentifier")\r
+    public String getBaseboardTemperatureIdentifier() {\r
+        return baseboardTemperatureIdentifier;\r
+    }\r
+\r
+    /**\r
+     * identifier for the location where the temperature is taken\r
+     * (Required)\r
+     * \r
+     */\r
+    @JsonProperty("baseboardTemperatureIdentifier")\r
+    public void setBaseboardTemperatureIdentifier(String baseboardTemperatureIdentifier) {\r
+        this.baseboardTemperatureIdentifier = baseboardTemperatureIdentifier;\r
+    }\r
+\r
+    /**\r
+     * baseboard temperature in celsius\r
+     * \r
+     */\r
+    @JsonProperty("baseboardTemperature")\r
+    public Double getBaseboardTemperature() {\r
+        return baseboardTemperature;\r
+    }\r
+\r
+    /**\r
+     * baseboard temperature in celsius\r
+     * \r
+     */\r
+    @JsonProperty("baseboardTemperature")\r
+    public void setBaseboardTemperature(Double baseboardTemperature) {\r
+        this.baseboardTemperature = baseboardTemperature;\r
+    }\r
+\r
+    @Override\r
+    public String toString() {\r
+        return ToStringBuilder.reflectionToString(this);\r
+    }\r
+\r
+    @Override\r
+    public int hashCode() {\r
+        return new HashCodeBuilder().append(baseboardTemperatureIdentifier).append(baseboardTemperature).toHashCode();\r
+    }\r
+\r
+    @Override\r
+    public boolean equals(Object other) {\r
+        if (other == this) {\r
+            return true;\r
+        }\r
+        if ((other instanceof IpmiBaseboardTemperatureArray) == false) {\r
+            return false;\r
+        }\r
+        IpmiBaseboardTemperatureArray rhs = ((IpmiBaseboardTemperatureArray) other);\r
+        return new EqualsBuilder().append(baseboardTemperatureIdentifier, rhs.baseboardTemperatureIdentifier).append(baseboardTemperature, rhs.baseboardTemperature).isEquals();\r
+    }\r
+\r
+}\r