--- /dev/null
+/*-\r
+ * ============LICENSE_START=======================================================\r
+ * ONAP : DCAE\r
+ * ================================================================================\r
+ * Copyright 2019 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
+\r
+package org.onap.dcaegen2.ves.domain.ves54;\r
+\r
+import java.util.HashMap;\r
+import java.util.Map;\r
+\r
+import org.apache.commons.lang.builder.HashCodeBuilder;\r
+import org.apache.commons.lang.builder.ToStringBuilder;\r
+\r
+import com.fasterxml.jackson.annotation.JsonAnyGetter;\r
+import com.fasterxml.jackson.annotation.JsonAnySetter;\r
+import com.fasterxml.jackson.annotation.JsonIgnore;\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
+\r
+\r
+/**\r
+ * tuple which provides the name of a key along with its value and relative order\r
+ * \r
+ */\r
+@JsonInclude(JsonInclude.Include.NON_NULL)\r
+@JsonPropertyOrder({"keyName", "keyOrder", "keyValue"})\r
+public class ObjectKey {\r
+ \r
+ /**\r
+ * name of the key (Required)\r
+ * \r
+ */\r
+ @JsonProperty("keyName")\r
+ @JsonPropertyDescription("name of the key")\r
+ private String keyName;\r
+ /**\r
+ * relative sequence or order of the key with respect to other keys\r
+ * \r
+ */\r
+ @JsonProperty("keyOrder")\r
+ @JsonPropertyDescription("relative sequence or order of the key with respect to other keys")\r
+ private Integer keyOrder;\r
+ /**\r
+ * value of the key\r
+ * \r
+ */\r
+ @JsonProperty("keyValue")\r
+ @JsonPropertyDescription("value of the key")\r
+ private String keyValue;\r
+ @JsonIgnore\r
+ private Map<String, Object> additionalProperties = new HashMap<String, Object>();\r
+ \r
+ /**\r
+ * name of the key (Required)\r
+ * \r
+ */\r
+ @JsonProperty("keyName")\r
+ public String getKeyName() {\r
+ return keyName;\r
+ }\r
+ \r
+ /**\r
+ * name of the key (Required)\r
+ * \r
+ */\r
+ @JsonProperty("keyName")\r
+ public void setKeyName(String keyName) {\r
+ this.keyName = keyName;\r
+ }\r
+ \r
+ /**\r
+ * relative sequence or order of the key with respect to other keys\r
+ * \r
+ */\r
+ @JsonProperty("keyOrder")\r
+ public Integer getKeyOrder() {\r
+ return keyOrder;\r
+ }\r
+ \r
+ /**\r
+ * relative sequence or order of the key with respect to other keys\r
+ * \r
+ */\r
+ @JsonProperty("keyOrder")\r
+ public void setKeyOrder(Integer keyOrder) {\r
+ this.keyOrder = keyOrder;\r
+ }\r
+ \r
+ /**\r
+ * value of the key\r
+ * \r
+ */\r
+ @JsonProperty("keyValue")\r
+ public String getKeyValue() {\r
+ return keyValue;\r
+ }\r
+ \r
+ /**\r
+ * value of the key\r
+ * \r
+ */\r
+ @JsonProperty("keyValue")\r
+ public void setKeyValue(String keyValue) {\r
+ this.keyValue = keyValue;\r
+ }\r
+ \r
+ @Override\r
+ public String toString() {\r
+ return ToStringBuilder.reflectionToString(this);\r
+ }\r
+ \r
+ @JsonAnyGetter\r
+ public Map<String, Object> getAdditionalProperties() {\r
+ return this.additionalProperties;\r
+ }\r
+ \r
+ @JsonAnySetter\r
+ public void setAdditionalProperty(String name, Object value) {\r
+ this.additionalProperties.put(name, value);\r
+ }\r
+ \r
+ @Override\r
+ public int hashCode() {\r
+ return new HashCodeBuilder().append(keyName).append(keyOrder).append(keyValue)\r
+ .append(additionalProperties).toHashCode();\r
+ }\r
+ \r
+ \r
+ \r
+}\r