Package io.tiledb.cloud.rest_api.model
Class Organization
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.Organization
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-02T12:25:58.319138+03:00[Europe/Athens]") public class Organization extends java.lang.Object
Organization
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Organization.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_ASSET_LOCATIONS
static java.lang.String
SERIALIZED_NAME_CREATED_AT
static java.lang.String
SERIALIZED_NAME_DEFAULT_S3_PATH
static java.lang.String
SERIALIZED_NAME_DEFAULT_S3_PATH_CREDENTIALS_NAME
static java.lang.String
SERIALIZED_NAME_DESCRIPTION
static java.lang.String
SERIALIZED_NAME_ENABLED_FEATURES
static java.lang.String
SERIALIZED_NAME_ID
static java.lang.String
SERIALIZED_NAME_LOGO
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_NUM_OF_ARRAYS
static java.lang.String
SERIALIZED_NAME_ROLE
static java.lang.String
SERIALIZED_NAME_STRIPE_CONNECT
static java.lang.String
SERIALIZED_NAME_UNPAID_SUBSCRIPTION
static java.lang.String
SERIALIZED_NAME_UPDATED_AT
static java.lang.String
SERIALIZED_NAME_USERS
-
Constructor Summary
Constructors Constructor Description Organization()
Organization(java.util.List<java.lang.String> enabledFeatures, java.lang.Boolean unpaidSubscription, java.lang.Boolean stripeConnect)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Organization
addAllowedActionsItem(NamespaceActions allowedActionsItem)
Organization
addUsersItem(OrganizationUser usersItem)
Organization
allowedActions(java.util.List<NamespaceActions> allowedActions)
Organization
assetLocations(AssetLocations assetLocations)
Organization
createdAt(java.time.OffsetDateTime createdAt)
Organization
defaultS3Path(java.lang.String defaultS3Path)
Organization
defaultS3PathCredentialsName(java.lang.String defaultS3PathCredentialsName)
Organization
description(java.lang.String description)
boolean
equals(java.lang.Object o)
static Organization
fromJson(java.lang.String jsonString)
Create an instance of Organization 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 organizationAssetLocations
getAssetLocations()
Get assetLocationsjava.time.OffsetDateTime
getCreatedAt()
Datetime organization was created in UTCjava.lang.String
getDefaultS3Path()
The default location to store newly-created notebooks and other assets like UDFs.java.lang.String
getDefaultS3PathCredentialsName()
The name of the credentials used to create and access files in the `default_s3_path`, if needed.java.lang.String
getDescription()
Organization descriptionjava.util.List<java.lang.String>
getEnabledFeatures()
List of extra/optional/beta features to enable for namespacejava.lang.String
getId()
unique ID of organizationjava.lang.String
getLogo()
Organization logojava.lang.String
getName()
organization name must be uniquejava.math.BigDecimal
getNumOfArrays()
number of registered arrays for this organizationOrganizationRoles
getRole()
Get rolejava.lang.Boolean
getStripeConnect()
Denotes that the organization is able to apply pricing to arrays by means of Stripe Connectjava.lang.Boolean
getUnpaidSubscription()
A notice that the user has an unpaid subscriptionjava.time.OffsetDateTime
getUpdatedAt()
Datetime organization was updated in UTCjava.util.List<OrganizationUser>
getUsers()
Get usersint
hashCode()
Organization
id(java.lang.String id)
Organization
logo(java.lang.String logo)
Organization
name(java.lang.String name)
Organization
numOfArrays(java.math.BigDecimal numOfArrays)
Organization
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.Organization
role(OrganizationRoles role)
void
setAllowedActions(java.util.List<NamespaceActions> allowedActions)
void
setAssetLocations(AssetLocations assetLocations)
void
setCreatedAt(java.time.OffsetDateTime createdAt)
void
setDefaultS3Path(java.lang.String defaultS3Path)
void
setDefaultS3PathCredentialsName(java.lang.String defaultS3PathCredentialsName)
void
setDescription(java.lang.String description)
void
setId(java.lang.String id)
void
setLogo(java.lang.String logo)
void
setName(java.lang.String name)
void
setNumOfArrays(java.math.BigDecimal numOfArrays)
void
setRole(OrganizationRoles role)
void
setUpdatedAt(java.time.OffsetDateTime updatedAt)
void
setUsers(java.util.List<OrganizationUser> users)
java.lang.String
toJson()
Convert an instance of Organization to an JSON stringjava.lang.String
toString()
Organization
updatedAt(java.time.OffsetDateTime updatedAt)
Organization
users(java.util.List<OrganizationUser> users)
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final java.lang.String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLE
public static final java.lang.String SERIALIZED_NAME_ROLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final java.lang.String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final java.lang.String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGO
public static final java.lang.String SERIALIZED_NAME_LOGO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USERS
public static final java.lang.String SERIALIZED_NAME_USERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOWED_ACTIONS
public static final java.lang.String SERIALIZED_NAME_ALLOWED_ACTIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NUM_OF_ARRAYS
public static final java.lang.String SERIALIZED_NAME_NUM_OF_ARRAYS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLED_FEATURES
public static final java.lang.String SERIALIZED_NAME_ENABLED_FEATURES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNPAID_SUBSCRIPTION
public static final java.lang.String SERIALIZED_NAME_UNPAID_SUBSCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT_S3_PATH
public static final java.lang.String SERIALIZED_NAME_DEFAULT_S3_PATH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT_S3_PATH_CREDENTIALS_NAME
public static final java.lang.String SERIALIZED_NAME_DEFAULT_S3_PATH_CREDENTIALS_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSET_LOCATIONS
public static final java.lang.String SERIALIZED_NAME_ASSET_LOCATIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STRIPE_CONNECT
public static final java.lang.String SERIALIZED_NAME_STRIPE_CONNECT
- 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
-
id
public Organization id(java.lang.String id)
-
getId
@Nullable public java.lang.String getId()
unique ID of organization- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
role
public Organization role(OrganizationRoles role)
-
getRole
@Nullable public OrganizationRoles getRole()
Get role- Returns:
- role
-
setRole
public void setRole(OrganizationRoles role)
-
name
public Organization name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
organization name must be unique- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
createdAt
public Organization createdAt(java.time.OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public java.time.OffsetDateTime getCreatedAt()
Datetime organization was created in UTC- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(java.time.OffsetDateTime createdAt)
-
updatedAt
public Organization updatedAt(java.time.OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public java.time.OffsetDateTime getUpdatedAt()
Datetime organization was updated in UTC- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(java.time.OffsetDateTime updatedAt)
-
logo
public Organization logo(java.lang.String logo)
-
getLogo
@Nullable public java.lang.String getLogo()
Organization logo- Returns:
- logo
-
setLogo
public void setLogo(java.lang.String logo)
-
description
public Organization description(java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
Organization description- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
users
public Organization users(java.util.List<OrganizationUser> users)
-
addUsersItem
public Organization addUsersItem(OrganizationUser usersItem)
-
getUsers
@Nullable public java.util.List<OrganizationUser> getUsers()
Get users- Returns:
- users
-
setUsers
public void setUsers(java.util.List<OrganizationUser> users)
-
allowedActions
public Organization allowedActions(java.util.List<NamespaceActions> allowedActions)
-
addAllowedActionsItem
public Organization 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)
-
numOfArrays
public Organization numOfArrays(java.math.BigDecimal numOfArrays)
-
getNumOfArrays
@Nullable public java.math.BigDecimal getNumOfArrays()
number of registered arrays for this organization- Returns:
- numOfArrays
-
setNumOfArrays
public void setNumOfArrays(java.math.BigDecimal numOfArrays)
-
getEnabledFeatures
@Nullable public java.util.List<java.lang.String> getEnabledFeatures()
List of extra/optional/beta features to enable for namespace- Returns:
- enabledFeatures
-
getUnpaidSubscription
@Nullable public java.lang.Boolean getUnpaidSubscription()
A notice that the user has an unpaid subscription- Returns:
- unpaidSubscription
-
defaultS3Path
public Organization defaultS3Path(java.lang.String defaultS3Path)
-
getDefaultS3Path
@Nullable public java.lang.String getDefaultS3Path()
The default location to store newly-created notebooks and other assets like UDFs. The name `default_s3_path` is a legacy holdover; it may refer to any supported storage location.- Returns:
- defaultS3Path
-
setDefaultS3Path
public void setDefaultS3Path(java.lang.String defaultS3Path)
-
defaultS3PathCredentialsName
public Organization defaultS3PathCredentialsName(java.lang.String defaultS3PathCredentialsName)
-
getDefaultS3PathCredentialsName
@Nullable public java.lang.String getDefaultS3PathCredentialsName()
The name of the credentials used to create and access files in the `default_s3_path`, if needed.- Returns:
- defaultS3PathCredentialsName
-
setDefaultS3PathCredentialsName
public void setDefaultS3PathCredentialsName(java.lang.String defaultS3PathCredentialsName)
-
assetLocations
public Organization assetLocations(AssetLocations assetLocations)
-
getAssetLocations
@Nullable public AssetLocations getAssetLocations()
Get assetLocations- Returns:
- assetLocations
-
setAssetLocations
public void setAssetLocations(AssetLocations assetLocations)
-
getStripeConnect
@Nullable public java.lang.Boolean getStripeConnect()
Denotes that the organization is able to apply pricing to arrays by means of Stripe Connect- Returns:
- stripeConnect
-
putAdditionalProperty
public Organization 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 Organization
-
fromJson
public static Organization fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of Organization given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Organization
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to Organization
-
toJson
public java.lang.String toJson()
Convert an instance of Organization to an JSON string- Returns:
- JSON string
-
-