1d0e8495225ac24b629916003f5577f47180a87a
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiGetTenatns / GetTenantsResponse.java
1 package org.onap.vid.aai.model.AaiGetTenatns;
2
3 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
4 import org.codehaus.jackson.annotate.JsonProperty;
5
6 /**
7  * Created by Oren on 7/18/17.
8  */
9 @JsonIgnoreProperties(ignoreUnknown = true)
10 public class GetTenantsResponse {
11
12     @JsonProperty("cloudRegionID")
13     public String cloudRegionId;
14
15     @JsonProperty("cloudOwner")
16     public String cloudOwner;
17     
18     @JsonProperty("tenantName")
19     public String tenantName;
20
21     @JsonProperty("tenantID")
22     public String tenantID;
23
24     @JsonProperty("is-permitted")
25     public boolean isPermitted;
26
27     public GetTenantsResponse() {
28     }
29
30     public GetTenantsResponse(String cloudRegionId, String cloudOwner, String tenantName, String tenantID, boolean isPermitted) {
31         this.cloudRegionId = cloudRegionId;
32         this.cloudOwner = cloudOwner;
33         this.tenantName = tenantName;
34         this.tenantID = tenantID;
35         this.isPermitted = isPermitted;
36     }
37 }