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

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

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


/**
 * UserInTenant
 * 

* * */ @Generated("jsonschema2pojo") public class UserInTenant__1 { /** * Tenant *

* The tenant key which the user is associated with * (Required) * */ @SerializedName("tenant") @Expose public String tenant; /** * Roles *

* List of roles assigned to the user in that tenant * (Required) * */ @SerializedName("roles") @Expose public List roles; /** * UserStatus *

* Whether the user has signed in or not * (Required) * */ @SerializedName("status") @Expose public io.permit.sdk.openapi.models.UserInTenant.UserStatus status; /** * No args constructor for use in serialization * */ public UserInTenant__1() { } /** * * @param roles * @param tenant * @param status */ public UserInTenant__1(String tenant, List roles, io.permit.sdk.openapi.models.UserInTenant.UserStatus status) { super(); this.tenant = tenant; this.roles = roles; this.status = status; } public UserInTenant__1 withTenant(String tenant) { this.tenant = tenant; return this; } public UserInTenant__1 withRoles(List roles) { this.roles = roles; return this; } public UserInTenant__1 withStatus(io.permit.sdk.openapi.models.UserInTenant.UserStatus status) { this.status = status; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy