da4fd0aa5912d06e17ea7151f4f6033368ff7ab3
[vid.git] / vid-app-common / src / main / java / org / onap / vid / changeManagement / CloudConfiguration.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. 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
21 package org.onap.vid.changeManagement;
22
23 import com.fasterxml.jackson.annotation.*;
24
25 import java.util.HashMap;
26 import java.util.Map;
27
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 @JsonPropertyOrder({
30 "lcpCloudRegionId",
31 "tenantId"
32 })
33 public class CloudConfiguration {
34         @JsonProperty("lcpCloudRegionId")
35         private String lcpCloudRegionId;
36         @JsonProperty("tenantId")
37         private String tenantId;
38         @JsonIgnore
39         private Map<String, Object> additionalProperties = new HashMap<>();
40
41         @JsonProperty("lcpCloudRegionId")
42         public String getLcpCloudRegionId() {
43         return lcpCloudRegionId;
44         }
45
46         @JsonProperty("lcpCloudRegionId")
47         public void setLcpCloudRegionId(String lcpCloudRegionId) {
48         this.lcpCloudRegionId = lcpCloudRegionId;
49         }
50
51         @JsonProperty("tenantId")
52         public String getTenantId() {
53         return tenantId;
54         }
55
56         @JsonProperty("tenantId")
57         public void setTenantId(String tenantId) {
58         this.tenantId = tenantId;
59         }
60
61         @JsonAnyGetter
62         public Map<String, Object> getAdditionalProperties() {
63         return this.additionalProperties;
64         }
65
66         @JsonAnySetter
67         public void setAdditionalProperty(String name, Object value) {
68         this.additionalProperties.put(name, value);
69         }
70
71 }