aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java
diff options
context:
space:
mode:
authorTait,Trevor(rt0435) <rtait@amdocs.com>2019-01-14 14:46:41 -0500
committerTait,Trevor(rt0435) <rtait@amdocs.com>2019-01-14 14:46:55 -0500
commitfbcdb700fdf2bcc469317d19838ecfac075f1729 (patch)
tree0ab1820ec98f597f5b17fbcc532d79a13e2844dd /src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java
parentcecc5554b6214be9e473ccfa7207bb04f079b9ae (diff)
Upgrade nd-context-builder to audit-common.1.4.0
Issue-ID: LOG-926 Change-Id: I63533764139d143bddbf3c2d3c3921dfd438d365 Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java')
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java b/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java
new file mode 100644
index 0000000..c7e397f
--- /dev/null
+++ b/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/model/NdResourcesList.java
@@ -0,0 +1,45 @@
+/*
+ * ============LICENSE_START===================================================
+ * Copyright (c) 2018 Amdocs
+ * ============================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=====================================================
+ */
+
+package org.onap.pomba.contextbuilder.networkdiscovery.model;
+
+import com.google.gson.annotations.Expose;
+import com.google.gson.annotations.SerializedName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.util.ArrayList;
+import java.util.List;
+
+@ApiModel(value="NdResourcesList")
+public class NdResourcesList {
+
+ @Expose
+ @SerializedName("ndResourcesList")
+ private List<NdResources> ndResourcesList = new ArrayList<>();
+
+ @ApiModelProperty(value = "List of NdResources associated with the service instance")
+ public List<NdResources> getNdResources() {
+ return ndResourcesList;
+ }
+ public void setNdResources(List<NdResources> ndResourcesList) {
+ this.ndResourcesList = ndResourcesList;
+ }
+ public void addNdResource(NdResources ndResources) {
+ this.ndResourcesList.add(ndResources);
+ }
+}