Update sli-adaptor/aai-service package names
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / ccsdk / sli / adaptors / aai / query / InstanceFilter.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.ccsdk.sli.adaptors.aai.query;
23
24 import java.util.HashMap;
25 import java.util.Map;
26
27 import javax.annotation.Generated;
28
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonAnySetter;
31 import com.fasterxml.jackson.annotation.JsonIgnore;
32 import com.fasterxml.jackson.annotation.JsonInclude;
33 import com.fasterxml.jackson.annotation.JsonProperty;
34 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
35
36 import org.openecomp.aai.inventory.v11.L3Network;
37 import org.openecomp.aai.inventory.v11.Pnf;
38 import org.openecomp.aai.inventory.v11.LogicalLink;
39 import org.openecomp.aai.inventory.v11.ServiceInstance;
40
41 @JsonInclude(JsonInclude.Include.NON_NULL)
42 @Generated("org.jsonschema2pojo")
43 @JsonPropertyOrder({
44     "logical-link",
45     "pnf",
46     "l3-network",
47     "service-instance"
48 })
49 public class InstanceFilter {
50
51     @JsonProperty("logical-link")
52     private LogicalLink logicalLink;
53     @JsonProperty("pnf")
54     private Pnf pnf;
55         @JsonProperty("l3-network")
56     private L3Network l3Network;
57         @JsonProperty("service-instance")
58     private ServiceInstance serviceInstance;
59
60     @JsonIgnore
61     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
62
63     /**
64      * 
65      * @return
66      *     The logicalLink
67      */
68     @JsonProperty("logical-link")
69     public LogicalLink getLogicalLink() {
70         return logicalLink;
71     }
72
73     /**
74      * 
75      * @param logicalLink
76      *     The logical-link
77      */
78     @JsonProperty("logical-link")
79     public void setLogicalLink(LogicalLink logicalLink) {
80         this.logicalLink = logicalLink;
81     }
82
83     /**
84      * 
85      * @return
86      *     The pnf
87      */
88     @JsonProperty("pnf")
89     public Pnf getPnf() {
90         return pnf;
91     }
92
93     /**
94      * 
95      * @param pnf
96      *     The pnf
97      */
98     @JsonProperty("pnf")
99     public void setPnf(Pnf pnf) {
100         this.pnf = pnf;
101     }
102
103     @JsonProperty("l3-network")
104     public L3Network getL3Network() {
105                 return l3Network;
106         }
107
108     @JsonProperty("l3-network")
109     public void setL3Network(L3Network l3Network) {
110                 this.l3Network = l3Network;
111         }
112
113     @JsonAnyGetter
114     public Map<String, Object> getAdditionalProperties() {
115         return this.additionalProperties;
116     }
117
118     @JsonAnySetter
119     public void setAdditionalProperty(String name, Object value) {
120         this.additionalProperties.put(name, value);
121     }
122
123     @JsonProperty("service-instance")
124         public ServiceInstance getServiceInstance() {
125                 return serviceInstance;
126         }
127
128     @JsonProperty("service-instance")
129         public void setServiceInstance(ServiceInstance serviceInstance) {
130                 this.serviceInstance = serviceInstance;
131         }
132
133 }