--- /dev/null
+\r
+/*-\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.ArrayList;\r
+import java.util.HashMap;\r
+import java.util.List;\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
+ * json object schema, name and other meta-information along with one or more object instances\r
+ * \r
+ */\r
+@JsonInclude(JsonInclude.Include.NON_NULL)\r
+@JsonPropertyOrder({"objectInstances", "objectName", "objectSchema", "objectSchemaUrl",\r
+ "nfSubscribedObjectName", "nfSubscriptionId"})\r
+public class AdditionalObject {\r
+ \r
+ /**\r
+ * one or more instances of the jsonObject (Required)\r
+ * \r
+ */\r
+ @JsonProperty("objectInstances")\r
+ @JsonPropertyDescription("one or more instances of the jsonObject")\r
+ private List<ObjectInstance> objectInstances = new ArrayList<ObjectInstance>();\r
+ /**\r
+ * name of the JSON Object (Required)\r
+ * \r
+ */\r
+ @JsonProperty("objectName")\r
+ @JsonPropertyDescription("name of the JSON Object")\r
+ private String objectName;\r
+ /**\r
+ * json schema for the object\r
+ * \r
+ */\r
+ @JsonProperty("objectSchema")\r
+ @JsonPropertyDescription("json schema for the object")\r
+ private String objectSchema;\r
+ /**\r
+ * Url to the json schema for the object\r
+ * \r
+ */\r
+ @JsonProperty("objectSchemaUrl")\r
+ @JsonPropertyDescription("Url to the json schema for the object")\r
+ private String objectSchemaUrl;\r
+ /**\r
+ * name of the object associated with the nfSubscriptonId\r
+ * \r
+ */\r
+ @JsonProperty("nfSubscribedObjectName")\r
+ @JsonPropertyDescription("name of the object associated with the nfSubscriptonId")\r
+ private String nfSubscribedObjectName;\r
+ /**\r
+ * identifies an openConfig telemetry subscription on a network function, which configures the\r
+ * network function to send complex object data associated with the jsonObject\r
+ * \r
+ */\r
+ @JsonProperty("nfSubscriptionId")\r
+ @JsonPropertyDescription("identifies an openConfig telemetry subscription on a network function, which configures the network function to send complex object data associated with the jsonObject")\r
+ private String nfSubscriptionId;\r
+ @JsonIgnore\r
+ private Map<String, Object> additionalProperties = new HashMap<String, Object>();\r
+ \r
+ /**\r
+ * one or more instances of the jsonObject (Required)\r
+ * \r
+ */\r
+ @JsonProperty("objectInstances")\r
+ public List<ObjectInstance> getObjectInstances() {\r
+ return objectInstances;\r
+ }\r
+ \r
+ /**\r
+ * one or more instances of the jsonObject (Required)\r
+ * \r
+ */\r
+ @JsonProperty("objectInstances")\r
+ public void setObjectInstances(List<ObjectInstance> objectInstances) {\r
+ this.objectInstances = objectInstances;\r
+ }\r
+ \r
+ /**\r
+ * name of the JSON Object (Required)\r
+ * \r
+ */\r
+ @JsonProperty("objectName")\r
+ public String getObjectName() {\r
+ return objectName;\r
+ }\r
+ \r
+ /**\r
+ * name of the JSON Object (Required)\r
+ * \r
+ */\r
+ @JsonProperty("objectName")\r
+ public void setObjectName(String objectName) {\r
+ this.objectName = objectName;\r
+ }\r
+ \r
+ /**\r
+ * json schema for the object\r
+ * \r
+ */\r
+ @JsonProperty("objectSchema")\r
+ public String getObjectSchema() {\r
+ return objectSchema;\r
+ }\r
+ \r
+ /**\r
+ * json schema for the object\r
+ * \r
+ */\r
+ @JsonProperty("objectSchema")\r
+ public void setObjectSchema(String objectSchema) {\r
+ this.objectSchema = objectSchema;\r
+ }\r
+ \r
+ /**\r
+ * Url to the json schema for the object\r
+ * \r
+ */\r
+ @JsonProperty("objectSchemaUrl")\r
+ public String getObjectSchemaUrl() {\r
+ return objectSchemaUrl;\r
+ }\r
+ \r
+ /**\r
+ * Url to the json schema for the object\r
+ * \r
+ */\r
+ @JsonProperty("objectSchemaUrl")\r
+ public void setObjectSchemaUrl(String objectSchemaUrl) {\r
+ this.objectSchemaUrl = objectSchemaUrl;\r
+ }\r
+ \r
+ /**\r
+ * name of the object associated with the nfSubscriptonId\r
+ * \r
+ */\r
+ @JsonProperty("nfSubscribedObjectName")\r
+ public String getNfSubscribedObjectName() {\r
+ return nfSubscribedObjectName;\r
+ }\r
+ \r
+ /**\r
+ * name of the object associated with the nfSubscriptonId\r
+ * \r
+ */\r
+ @JsonProperty("nfSubscribedObjectName")\r
+ public void setNfSubscribedObjectName(String nfSubscribedObjectName) {\r
+ this.nfSubscribedObjectName = nfSubscribedObjectName;\r
+ }\r
+ \r
+ /**\r
+ * identifies an openConfig telemetry subscription on a network function, which configures the\r
+ * network function to send complex object data associated with the jsonObject\r
+ * \r
+ */\r
+ @JsonProperty("nfSubscriptionId")\r
+ public String getNfSubscriptionId() {\r
+ return nfSubscriptionId;\r
+ }\r
+ \r
+ /**\r
+ * identifies an openConfig telemetry subscription on a network function, which configures the\r
+ * network function to send complex object data associated with the jsonObject\r
+ * \r
+ */\r
+ @JsonProperty("nfSubscriptionId")\r
+ public void setNfSubscriptionId(String nfSubscriptionId) {\r
+ this.nfSubscriptionId = nfSubscriptionId;\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(objectInstances).append(objectName).append(objectSchema)\r
+ .append(objectSchemaUrl).append(nfSubscribedObjectName).append(nfSubscriptionId)\r
+ .append(additionalProperties).toHashCode();\r
+ }\r
+ \r
+ \r
+}\r