All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.permit.sdk.openapi.models.TenantCreate Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version

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;


/**
 * TenantCreate
 * 

* * */ @Generated("jsonschema2pojo") public class TenantCreate { /** * Key *

* A unique id by which Permit will identify the tenant. The tenant key must be url-friendly (slugified). * (Required) * */ @SerializedName("key") @Expose public java.lang.String key; /** * Name *

* A descriptive name for the tenant * (Required) * */ @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; /** * No args constructor for use in serialization * */ public TenantCreate() { } /** * * @param name * @param key */ public TenantCreate(java.lang.String key, java.lang.String name) { super(); this.key = key; this.name = name; } public TenantCreate withKey(java.lang.String key) { this.key = key; return this; } public TenantCreate withName(java.lang.String name) { this.name = name; return this; } public TenantCreate withDescription(java.lang.String description) { this.description = description; return this; } public TenantCreate withAttributes(HashMap attributes) { this.attributes = attributes; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy