1 package org.onap.vid.aai.model.AaiGetTenatns;
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import com.fasterxml.jackson.annotation.JsonProperty;
7 * Created by Oren on 7/18/17.
9 @JsonIgnoreProperties(ignoreUnknown = true)
10 public class GetTenantsResponse {
12 public String cloudRegionID;
14 public String cloudOwner;
16 public String tenantName;
18 public String tenantID;
20 public boolean isPermitted;
22 @JsonProperty("is-permitted")
23 public boolean getJsonIsPermitted() {
24 // this is a special case to *duplicate* the permission field
25 // as it might be that both -- camelCase and hyphen faces --
30 public GetTenantsResponse() {
33 public GetTenantsResponse(String cloudRegionId, String cloudOwner, String tenantName, String tenantID, boolean isPermitted) {
34 this.cloudRegionID = cloudRegionId;
35 this.cloudOwner = cloudOwner;
36 this.tenantName = tenantName;
37 this.tenantID = tenantID;
38 this.isPermitted = isPermitted;