Update license headers
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiGetNetworkCollectionDetails / Result.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
22
23
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
25 import com.fasterxml.jackson.annotation.JsonProperty;
26
27 import java.util.ArrayList;
28 import java.util.List;
29
30 @JsonIgnoreProperties(ignoreUnknown = true)
31 public class Result {
32
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;
41
42     public Result(){
43         this.networks = new ArrayList<>();
44     }
45
46
47     @JsonProperty("service-instance")
48     public ServiceInstance getServiceInstance() {
49         return serviceInstance;
50     }
51
52     @JsonProperty("service-instance")
53     public void setServiceInstance(ServiceInstance serviceInstance) {
54         this.serviceInstance = serviceInstance;
55     }
56
57     @JsonProperty("collection")
58     public Collection getCollection() {
59         return collection;
60     }
61
62     @JsonProperty("collection")
63     public void setCollection(Collection collection) {
64         this.collection = collection;
65     }
66
67     @JsonProperty("instance-group")
68     public InstanceGroup getInstanceGroup() {
69         return instanceGroup;
70     }
71
72     @JsonProperty("instance-group")
73     public void setInstanceGroup(InstanceGroup instanceGroup) {
74         this.instanceGroup = instanceGroup;
75     }
76
77     @JsonProperty("networks")
78     public List<Network> getNetworks() { return networks; }
79
80     @JsonProperty("networks")
81     public void setNetworks(List<Network> networks) { this.networks = networks; }
82
83
84 }