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.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;
41 @JsonInclude(JsonInclude.Include.NON_NULL)
42 @Generated("org.jsonschema2pojo")
49 public class InstanceFilter {
51 @JsonProperty("logical-link")
52 private LogicalLink logicalLink;
55 @JsonProperty("l3-network")
56 private L3Network l3Network;
57 @JsonProperty("service-instance")
58 private ServiceInstance serviceInstance;
61 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
68 @JsonProperty("logical-link")
69 public LogicalLink getLogicalLink() {
78 @JsonProperty("logical-link")
79 public void setLogicalLink(LogicalLink logicalLink) {
80 this.logicalLink = logicalLink;
99 public void setPnf(Pnf pnf) {
103 @JsonProperty("l3-network")
104 public L3Network getL3Network() {
108 @JsonProperty("l3-network")
109 public void setL3Network(L3Network l3Network) {
110 this.l3Network = l3Network;
114 public Map<String, Object> getAdditionalProperties() {
115 return this.additionalProperties;
119 public void setAdditionalProperty(String name, Object value) {
120 this.additionalProperties.put(name, value);
123 @JsonProperty("service-instance")
124 public ServiceInstance getServiceInstance() {
125 return serviceInstance;
128 @JsonProperty("service-instance")
129 public void setServiceInstance(ServiceInstance serviceInstance) {
130 this.serviceInstance = serviceInstance;