2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 package org.onap.ccsdk.sli.adaptors.aai.query;
24 import java.util.HashMap;
27 import javax.annotation.Generated;
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;
36 import org.onap.aai.inventory.v16.CloudRegion;
37 import org.onap.aai.inventory.v16.GenericVnf;
38 import org.onap.aai.inventory.v16.L3Network;
39 import org.onap.aai.inventory.v16.Pnf;
40 import org.onap.aai.inventory.v16.LogicalLink;
41 import org.onap.aai.inventory.v16.PInterface;
42 import org.onap.aai.inventory.v16.ServiceInstance;
43 import org.onap.aai.inventory.v16.Tenant;
44 import org.onap.aai.inventory.v16.Vnf;
45 import org.onap.aai.inventory.v16.Vserver;
47 @JsonInclude(JsonInclude.Include.NON_NULL)
48 @Generated("org.jsonschema2pojo")
61 public class InstanceFilter {
63 @JsonProperty("logical-link")
64 private LogicalLink logicalLink;
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;
85 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
92 @JsonProperty("logical-link")
93 public LogicalLink getLogicalLink() {
102 @JsonProperty("logical-link")
103 public void setLogicalLink(LogicalLink logicalLink) {
104 this.logicalLink = logicalLink;
113 public Pnf getPnf() {
123 public void setPnf(Pnf pnf) {
127 @JsonProperty("l3-network")
128 public L3Network getL3Network() {
132 @JsonProperty("l3-network")
133 public void setL3Network(L3Network l3Network) {
134 this.l3Network = l3Network;
138 public Map<String, Object> getAdditionalProperties() {
139 return this.additionalProperties;
143 public void setAdditionalProperty(String name, Object value) {
144 this.additionalProperties.put(name, value);
147 @JsonProperty("service-instance")
148 public ServiceInstance getServiceInstance() {
149 return serviceInstance;
152 @JsonProperty("service-instance")
153 public void setServiceInstance(ServiceInstance serviceInstance) {
154 this.serviceInstance = serviceInstance;
156 @JsonProperty("p-interface")
157 public PInterface getpInterface() {
160 @JsonProperty("p-interface")
161 public void setpInterface(PInterface pInterface) {
162 this.pInterface = pInterface;
164 @JsonProperty("generic-vnf")
165 public GenericVnf getGenericVnf() {
168 @JsonProperty("generic-vnf")
169 public void setGenericVnf(GenericVnf genericVnf) {
170 this.genericVnf = genericVnf;
172 @JsonProperty("vserver")
173 public Vserver getVserver() {
176 @JsonProperty("vserver")
177 public void setVserver(Vserver vserver) {
178 this.vserver = vserver;
180 @JsonProperty("tenant")
181 public Tenant getTenant() {
184 @JsonProperty("tenant")
185 public void setTenant(Tenant tenant) {
186 this.tenant = tenant;
188 @JsonProperty("cloud-region")
189 public CloudRegion getCloudRegion() {
192 @JsonProperty("cloud-region")
193 public void setCloudRegion(CloudRegion cloudRegion) {
194 this.cloudRegion = cloudRegion;
196 @JsonProperty("vnfc")
197 public Vnf getVnfc() {
200 @JsonProperty("vnfc")
201 public void setVnfc(Vnf vnfc) {