2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2020 Huawei Technologies Co., Ltd. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
20 package org.onap.so.adapters.cnf.model.instantiation;
22 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 @JsonInclude(JsonInclude.Include.NON_NULL)
27 @JsonIgnoreProperties(value = "true")
28 public class AaiRequest {
30 @JsonProperty("instanceId")
31 private String instanceId;
32 @JsonProperty("cloudRegion")
33 private String cloudRegion;
34 @JsonProperty("cloudOwner")
35 private String cloudOwner;
36 @JsonProperty("tenantId")
37 private String tenantId;
38 @JsonProperty("callbackUrl")
39 private String callbackUrl;
40 @JsonProperty("genericVnfId")
41 private String genericVnfId;
42 @JsonProperty("vfModuleId")
43 private String vfModuleId;
45 public String getInstanceId() {
49 public void setInstanceId(String instanceId) {
50 this.instanceId = instanceId;
53 public String getCloudRegion() {
57 public void setCloudRegion(String cloudRegion) {
58 this.cloudRegion = cloudRegion;
61 public String getCloudOwner() {
65 public void setCloudOwner(String cloudOwner) {
66 this.cloudOwner = cloudOwner;
69 public String getTenantId() {
73 public void setTenantId(String tenantId) {
74 this.tenantId = tenantId;
77 public String getCallbackUrl() {
81 public void setCallbackUrl(String callbackUrl) {
82 this.callbackUrl = callbackUrl;
85 public String getVfModuleId() {
89 public void setVfModuleId(String vfModuleId) {
90 this.vfModuleId = vfModuleId;
93 public String getGenericVnfId() {
97 public void setGenericVnfId(String genericVnfId) {
98 this.genericVnfId = genericVnfId;
102 public String toString() {
103 return "AaiRequest{" +
104 "instanceId='" + instanceId + '\'' +
105 ", cloudRegion='" + cloudRegion + '\'' +
106 ", cloudOwner='" + cloudOwner + '\'' +
107 ", tenantId='" + tenantId + '\'' +
108 ", callbackUrl='" + callbackUrl + '\'' +
109 ", genericVnfId='" + genericVnfId + '\'' +
110 ", vfModuleId='" + vfModuleId + '\'' +