Updated XSD Model and path properties
[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 AT&T 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.CloudRegion;
37 import org.openecomp.aai.inventory.v11.GenericVnf;
38 import org.openecomp.aai.inventory.v11.L3Network;
39 import org.openecomp.aai.inventory.v11.Pnf;
40 import org.openecomp.aai.inventory.v11.LogicalLink;
41 import org.openecomp.aai.inventory.v11.PInterface;
42 import org.openecomp.aai.inventory.v11.ServiceInstance;
43 import org.openecomp.aai.inventory.v11.Tenant;
44 import org.openecomp.aai.inventory.v11.Vnf;
45 import org.openecomp.aai.inventory.v11.Vserver;
46
47 @JsonInclude(JsonInclude.Include.NON_NULL)
48 @Generated("org.jsonschema2pojo")
49 @JsonPropertyOrder({
50     "logical-link",
51     "pnf",
52     "l3-network",
53     "p-interface",
54     "generic-vnf",
55     "vserver",
56     "tenant",
57     "cloud-region",
58     "service-instance",
59     "vnfc"
60 })
61 public class InstanceFilter {
62
63     @JsonProperty("logical-link")
64     private LogicalLink logicalLink;
65     @JsonProperty("pnf")
66     private Pnf pnf;
67     @JsonProperty("l3-network")
68     private L3Network l3Network;
69     @JsonProperty("p-interface")
70     private PInterface pInterface;
71     @JsonProperty("generic-vnf")
72     private GenericVnf genericVnf;
73     @JsonProperty("vserver")
74     private Vserver vserver;
75     @JsonProperty("tenant")
76     private Tenant tenant;
77     @JsonProperty("cloud-region")
78     private CloudRegion cloudRegion;
79     @JsonProperty("service-instance")
80     private ServiceInstance serviceInstance;
81     @JsonProperty("vnfc")
82     private Vnf vnfc;
83
84     @JsonIgnore
85     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
86
87     /**
88      *
89      * @return
90      *     The logicalLink
91      */
92     @JsonProperty("logical-link")
93     public LogicalLink getLogicalLink() {
94         return logicalLink;
95     }
96
97     /**
98      *
99      * @param logicalLink
100      *     The logical-link
101      */
102     @JsonProperty("logical-link")
103     public void setLogicalLink(LogicalLink logicalLink) {
104         this.logicalLink = logicalLink;
105     }
106
107     /**
108      *
109      * @return
110      *     The pnf
111      */
112     @JsonProperty("pnf")
113     public Pnf getPnf() {
114         return pnf;
115     }
116
117     /**
118      *
119      * @param pnf
120      *     The pnf
121      */
122     @JsonProperty("pnf")
123     public void setPnf(Pnf pnf) {
124         this.pnf = pnf;
125     }
126
127     @JsonProperty("l3-network")
128     public L3Network getL3Network() {
129         return l3Network;
130     }
131
132     @JsonProperty("l3-network")
133     public void setL3Network(L3Network l3Network) {
134         this.l3Network = l3Network;
135     }
136
137     @JsonAnyGetter
138     public Map<String, Object> getAdditionalProperties() {
139         return this.additionalProperties;
140     }
141
142     @JsonAnySetter
143     public void setAdditionalProperty(String name, Object value) {
144         this.additionalProperties.put(name, value);
145     }
146
147     @JsonProperty("service-instance")
148     public ServiceInstance getServiceInstance() {
149         return serviceInstance;
150     }
151
152     @JsonProperty("service-instance")
153     public void setServiceInstance(ServiceInstance serviceInstance) {
154         this.serviceInstance = serviceInstance;
155     }
156     @JsonProperty("p-interface")
157     public PInterface getpInterface() {
158         return pInterface;
159     }
160     @JsonProperty("p-interface")
161     public void setpInterface(PInterface pInterface) {
162         this.pInterface = pInterface;
163     }
164     @JsonProperty("generic-vnf")
165     public GenericVnf getGenericVnf() {
166         return genericVnf;
167     }
168     @JsonProperty("generic-vnf")
169     public void setGenericVnf(GenericVnf genericVnf) {
170         this.genericVnf = genericVnf;
171     }
172     @JsonProperty("vserver")
173     public Vserver getVserver() {
174         return vserver;
175     }
176     @JsonProperty("vserver")
177     public void setVserver(Vserver vserver) {
178         this.vserver = vserver;
179     }
180     @JsonProperty("tenant")
181     public Tenant getTenant() {
182         return tenant;
183     }
184     @JsonProperty("tenant")
185     public void setTenant(Tenant tenant) {
186         this.tenant = tenant;
187     }
188     @JsonProperty("cloud-region")
189     public CloudRegion getCloudRegion() {
190         return cloudRegion;
191     }
192     @JsonProperty("cloud-region")
193     public void setCloudRegion(CloudRegion cloudRegion) {
194         this.cloudRegion = cloudRegion;
195     }
196     @JsonProperty("vnfc")
197     public Vnf getVnfc() {
198         return vnfc;
199     }
200     @JsonProperty("vnfc")
201     public void setVnfc(Vnf vnfc) {
202         this.vnfc = vnfc;
203     }
204
205 }