--- /dev/null
+/*\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) power supply metrics\r
+ * \r
+ */\r
+@JsonInclude(JsonInclude.Include.NON_NULL)\r
+@JsonPropertyOrder({\r
+ "powerSupplyIdentifier",\r
+ "powerSupplyInputPower",\r
+ "powerSupplyCurrentOutputPercent",\r
+ "powerSupplyTemperature"\r
+})\r
+public class IpmiPowerSupplyArray {\r
+\r
+ /**\r
+ * identifier for the power supply\r
+ * (Required)\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyIdentifier")\r
+ @JsonPropertyDescription("identifier for the power supply")\r
+ private String powerSupplyIdentifier;\r
+ /**\r
+ * input power in watts\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyInputPower")\r
+ @JsonPropertyDescription("input power in watts")\r
+ private Double powerSupplyInputPower;\r
+ /**\r
+ * current output voltage as a percentage of the design specified level\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyCurrentOutputPercent")\r
+ @JsonPropertyDescription("current output voltage as a percentage of the design specified level")\r
+ private Double powerSupplyCurrentOutputPercent;\r
+ /**\r
+ * power supply temperature in celsius\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyTemperature")\r
+ @JsonPropertyDescription("power supply temperature in celsius")\r
+ private Double powerSupplyTemperature;\r
+\r
+ /**\r
+ * identifier for the power supply\r
+ * (Required)\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyIdentifier")\r
+ public String getPowerSupplyIdentifier() {\r
+ return powerSupplyIdentifier;\r
+ }\r
+\r
+ /**\r
+ * identifier for the power supply\r
+ * (Required)\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyIdentifier")\r
+ public void setPowerSupplyIdentifier(String powerSupplyIdentifier) {\r
+ this.powerSupplyIdentifier = powerSupplyIdentifier;\r
+ }\r
+\r
+ /**\r
+ * input power in watts\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyInputPower")\r
+ public Double getPowerSupplyInputPower() {\r
+ return powerSupplyInputPower;\r
+ }\r
+\r
+ /**\r
+ * input power in watts\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyInputPower")\r
+ public void setPowerSupplyInputPower(Double powerSupplyInputPower) {\r
+ this.powerSupplyInputPower = powerSupplyInputPower;\r
+ }\r
+\r
+ /**\r
+ * current output voltage as a percentage of the design specified level\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyCurrentOutputPercent")\r
+ public Double getPowerSupplyCurrentOutputPercent() {\r
+ return powerSupplyCurrentOutputPercent;\r
+ }\r
+\r
+ /**\r
+ * current output voltage as a percentage of the design specified level\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyCurrentOutputPercent")\r
+ public void setPowerSupplyCurrentOutputPercent(Double powerSupplyCurrentOutputPercent) {\r
+ this.powerSupplyCurrentOutputPercent = powerSupplyCurrentOutputPercent;\r
+ }\r
+\r
+ /**\r
+ * power supply temperature in celsius\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyTemperature")\r
+ public Double getPowerSupplyTemperature() {\r
+ return powerSupplyTemperature;\r
+ }\r
+\r
+ /**\r
+ * power supply temperature in celsius\r
+ * \r
+ */\r
+ @JsonProperty("powerSupplyTemperature")\r
+ public void setPowerSupplyTemperature(Double powerSupplyTemperature) {\r
+ this.powerSupplyTemperature = powerSupplyTemperature;\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(powerSupplyIdentifier).append(powerSupplyInputPower).append(powerSupplyCurrentOutputPercent).append(powerSupplyTemperature).toHashCode();\r
+ }\r
+\r
+ @Override\r
+ public boolean equals(Object other) {\r
+ if (other == this) {\r
+ return true;\r
+ }\r
+ if ((other instanceof IpmiPowerSupplyArray) == false) {\r
+ return false;\r
+ }\r
+ IpmiPowerSupplyArray rhs = ((IpmiPowerSupplyArray) other);\r
+ return new EqualsBuilder().append(powerSupplyIdentifier, rhs.powerSupplyIdentifier).append(powerSupplyInputPower, rhs.powerSupplyInputPower).append(powerSupplyCurrentOutputPercent, rhs.powerSupplyCurrentOutputPercent).append(powerSupplyTemperature, rhs.powerSupplyTemperature).isEquals();\r
+ }\r
+\r
+}\r