io.permit.sdk.openapi.models.TenantUpdate Maven / Gradle / Ivy
Show all versions of permit-sdk-java Show documentation
package io.permit.sdk.openapi.models;
import java.util.HashMap;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* TenantUpdate
*
*
*
*/
@Generated("jsonschema2pojo")
public class TenantUpdate {
/**
* Name
*
* A descriptive name for the tenant
*
*/
@SerializedName("name")
@Expose
public java.lang.String name;
/**
* Description
*
* an optional longer description of the tenant
*
*/
@SerializedName("description")
@Expose
public java.lang.String description;
/**
* Attributes
*
* Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.
*
*/
@SerializedName("attributes")
@Expose
public HashMap attributes;
public TenantUpdate withName(java.lang.String name) {
this.name = name;
return this;
}
public TenantUpdate withDescription(java.lang.String description) {
this.description = description;
return this;
}
public TenantUpdate withAttributes(HashMap attributes) {
this.attributes = attributes;
return this;
}
}