2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 * Modifications Copyright (C) 2019 Nordix Foundation.
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.policy.aai;
24 import com.google.gson.annotations.SerializedName;
26 import java.io.Serializable;
28 public class AaiNqInventoryResponseItem implements Serializable {
30 private static final long serialVersionUID = 7142072567154675183L;
32 @SerializedName("model-name")
33 private String modelName;
35 @SerializedName("vf-module")
36 private AaiNqVfModule vfModule;
38 @SerializedName("service-instance")
39 private AaiNqServiceInstance serviceInstance;
41 @SerializedName("vserver")
42 private AaiNqVServer vserver;
44 @SerializedName("tenant")
45 private AaiNqTenant tenant;
47 @SerializedName("cloud-region")
48 private AaiNqCloudRegion cloudRegion;
50 @SerializedName("generic-vnf")
51 private AaiNqGenericVnf genericVnf;
53 @SerializedName("extra-properties")
54 private AaiNqExtraProperties extraProperties;
56 @SerializedName("inventory-response-items")
57 private AaiNqInventoryResponseItems items;
59 public String getModelName() {
63 public AaiNqVfModule getVfModule() {
67 public AaiNqServiceInstance getServiceInstance() {
68 return serviceInstance;
71 public AaiNqVServer getVserver() {
75 public AaiNqTenant getTenant() {
79 public AaiNqCloudRegion getCloudRegion() {
83 public AaiNqGenericVnf getGenericVnf() {
87 public AaiNqExtraProperties getExtraProperties() {
88 return extraProperties;
91 public AaiNqInventoryResponseItems getItems() {
95 public void setModelName(String modelName) {
96 this.modelName = modelName;
99 public void setVfModule(AaiNqVfModule vfModule) {
100 this.vfModule = vfModule;
103 public void setServiceInstance(AaiNqServiceInstance serviceInstance) {
104 this.serviceInstance = serviceInstance;
107 public void setVserver(AaiNqVServer vserver) {
108 this.vserver = vserver;
111 public void setTenant(AaiNqTenant tenant) {
112 this.tenant = tenant;
115 public void setCloudRegion(AaiNqCloudRegion cloudRegion) {
116 this.cloudRegion = cloudRegion;
119 public void setGenericVnf(AaiNqGenericVnf genericVnf) {
120 this.genericVnf = genericVnf;
123 public void setExtraProperties(AaiNqExtraProperties extraProperties) {
124 this.extraProperties = extraProperties;
127 public void setItems(AaiNqInventoryResponseItems items) {