2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
25 import com.fasterxml.jackson.annotation.JsonProperty;
27 import java.util.ArrayList;
28 import java.util.List;
30 @JsonIgnoreProperties(ignoreUnknown = true)
33 @JsonProperty("service-instance")
34 private ServiceInstance serviceInstance;
35 @JsonProperty("collection")
36 private Collection collection;
37 @JsonProperty("instance-group")
38 private InstanceGroup instanceGroup;
39 @JsonProperty("networks")
40 private List<Network> networks;
43 this.networks = new ArrayList<>();
47 @JsonProperty("service-instance")
48 public ServiceInstance getServiceInstance() {
49 return serviceInstance;
52 @JsonProperty("service-instance")
53 public void setServiceInstance(ServiceInstance serviceInstance) {
54 this.serviceInstance = serviceInstance;
57 @JsonProperty("collection")
58 public Collection getCollection() {
62 @JsonProperty("collection")
63 public void setCollection(Collection collection) {
64 this.collection = collection;
67 @JsonProperty("instance-group")
68 public InstanceGroup getInstanceGroup() {
72 @JsonProperty("instance-group")
73 public void setInstanceGroup(InstanceGroup instanceGroup) {
74 this.instanceGroup = instanceGroup;
77 @JsonProperty("networks")
78 public List<Network> getNetworks() { return networks; }
80 @JsonProperty("networks")
81 public void setNetworks(List<Network> networks) { this.networks = networks; }