Package io.tiledb.cloud.rest_api.model
Class OrganizationUser
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.OrganizationUser
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-02T12:25:58.319138+03:00[Europe/Athens]") public class OrganizationUser extends java.lang.Object
user in an organization
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrganizationUser.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_ALLOWED_ACTIONS
static java.lang.String
SERIALIZED_NAME_ORGANIZATION_ID
static java.lang.String
SERIALIZED_NAME_ORGANIZATION_NAME
static java.lang.String
SERIALIZED_NAME_ROLE
static java.lang.String
SERIALIZED_NAME_USER_ID
static java.lang.String
SERIALIZED_NAME_USERNAME
-
Constructor Summary
Constructors Constructor Description OrganizationUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationUser
addAllowedActionsItem(NamespaceActions allowedActionsItem)
OrganizationUser
allowedActions(java.util.List<NamespaceActions> allowedActions)
boolean
equals(java.lang.Object o)
static OrganizationUser
fromJson(java.lang.String jsonString)
Create an instance of OrganizationUser given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.util.List<NamespaceActions>
getAllowedActions()
list of actions user is allowed to do on this organizationjava.lang.String
getOrganizationId()
unique ID of organizationjava.lang.String
getOrganizationName()
name of organizationOrganizationRoles
getRole()
Get rolejava.lang.String
getUserId()
unique ID of userjava.lang.String
getUsername()
username for userint
hashCode()
OrganizationUser
organizationId(java.lang.String organizationId)
OrganizationUser
organizationName(java.lang.String organizationName)
OrganizationUser
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.OrganizationUser
role(OrganizationRoles role)
void
setAllowedActions(java.util.List<NamespaceActions> allowedActions)
void
setOrganizationId(java.lang.String organizationId)
void
setOrganizationName(java.lang.String organizationName)
void
setRole(OrganizationRoles role)
void
setUserId(java.lang.String userId)
void
setUsername(java.lang.String username)
java.lang.String
toJson()
Convert an instance of OrganizationUser to an JSON stringjava.lang.String
toString()
OrganizationUser
userId(java.lang.String userId)
OrganizationUser
username(java.lang.String username)
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_USER_ID
public static final java.lang.String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORGANIZATION_ID
public static final java.lang.String SERIALIZED_NAME_ORGANIZATION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USERNAME
public static final java.lang.String SERIALIZED_NAME_USERNAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORGANIZATION_NAME
public static final java.lang.String SERIALIZED_NAME_ORGANIZATION_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLE
public static final java.lang.String SERIALIZED_NAME_ROLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOWED_ACTIONS
public static final java.lang.String SERIALIZED_NAME_ALLOWED_ACTIONS
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
userId
public OrganizationUser userId(java.lang.String userId)
-
getUserId
@Nullable public java.lang.String getUserId()
unique ID of user- Returns:
- userId
-
setUserId
public void setUserId(java.lang.String userId)
-
organizationId
public OrganizationUser organizationId(java.lang.String organizationId)
-
getOrganizationId
@Nullable public java.lang.String getOrganizationId()
unique ID of organization- Returns:
- organizationId
-
setOrganizationId
public void setOrganizationId(java.lang.String organizationId)
-
username
public OrganizationUser username(java.lang.String username)
-
getUsername
@Nullable public java.lang.String getUsername()
username for user- Returns:
- username
-
setUsername
public void setUsername(java.lang.String username)
-
organizationName
public OrganizationUser organizationName(java.lang.String organizationName)
-
getOrganizationName
@Nullable public java.lang.String getOrganizationName()
name of organization- Returns:
- organizationName
-
setOrganizationName
public void setOrganizationName(java.lang.String organizationName)
-
role
public OrganizationUser role(OrganizationRoles role)
-
getRole
@Nullable public OrganizationRoles getRole()
Get role- Returns:
- role
-
setRole
public void setRole(OrganizationRoles role)
-
allowedActions
public OrganizationUser allowedActions(java.util.List<NamespaceActions> allowedActions)
-
addAllowedActionsItem
public OrganizationUser addAllowedActionsItem(NamespaceActions allowedActionsItem)
-
getAllowedActions
@Nullable public java.util.List<NamespaceActions> getAllowedActions()
list of actions user is allowed to do on this organization- Returns:
- allowedActions
-
setAllowedActions
public void setAllowedActions(java.util.List<NamespaceActions> allowedActions)
-
putAdditionalProperty
public OrganizationUser putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to OrganizationUser
-
fromJson
public static OrganizationUser fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of OrganizationUser given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of OrganizationUser
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to OrganizationUser
-
toJson
public java.lang.String toJson()
Convert an instance of OrganizationUser to an JSON string- Returns:
- JSON string
-
-