80a2cf7366a0cf4d8b29f6aceeb0c8209d66dde6
[so/adapters/so-cnf-adapter.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20 package org.onap.so.adapters.cnf.model.instantiation;
21
22 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 @JsonInclude(JsonInclude.Include.NON_NULL)
27 @JsonIgnoreProperties(value = "true")
28 public class AaiRequest {
29
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;
44
45     public String getInstanceId() {
46         return instanceId;
47     }
48
49     public void setInstanceId(String instanceId) {
50         this.instanceId = instanceId;
51     }
52
53     public String getCloudRegion() {
54         return cloudRegion;
55     }
56
57     public void setCloudRegion(String cloudRegion) {
58         this.cloudRegion = cloudRegion;
59     }
60
61     public String getCloudOwner() {
62         return cloudOwner;
63     }
64
65     public void setCloudOwner(String cloudOwner) {
66         this.cloudOwner = cloudOwner;
67     }
68
69     public String getTenantId() {
70         return tenantId;
71     }
72
73     public void setTenantId(String tenantId) {
74         this.tenantId = tenantId;
75     }
76
77     public String getCallbackUrl() {
78         return callbackUrl;
79     }
80
81     public void setCallbackUrl(String callbackUrl) {
82         this.callbackUrl = callbackUrl;
83     }
84
85     public String getVfModuleId() {
86         return vfModuleId;
87     }
88
89     public void setVfModuleId(String vfModuleId) {
90         this.vfModuleId = vfModuleId;
91     }
92
93     public String getGenericVnfId() {
94         return genericVnfId;
95     }
96
97     public void setGenericVnfId(String genericVnfId) {
98         this.genericVnfId = genericVnfId;
99     }
100
101     @Override
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 + '\'' +
111                 '}';
112     }
113 }