Package io.tiledb.cloud.rest_api.model
Class ArrayInfo
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.ArrayInfo
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-02T12:25:58.319138+03:00[Europe/Athens]") public class ArrayInfo extends java.lang.Object
metadata of an array
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArrayInfo.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_ACCESS_CREDENTIALS_NAME
static java.lang.String
SERIALIZED_NAME_ALLOWED_ACTIONS
static java.lang.String
SERIALIZED_NAME_DESCRIPTION
static java.lang.String
SERIALIZED_NAME_FILE_PROPERTIES
static java.lang.String
SERIALIZED_NAME_FILE_TYPE
static java.lang.String
SERIALIZED_NAME_ID
static java.lang.String
SERIALIZED_NAME_IS_FAVORITE
static java.lang.String
SERIALIZED_NAME_LAST_ACCESSED
static java.lang.String
SERIALIZED_NAME_LICENSE_ID
static java.lang.String
SERIALIZED_NAME_LICENSE_TEXT
static java.lang.String
SERIALIZED_NAME_LOGO
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_NAMESPACE
static java.lang.String
SERIALIZED_NAME_NAMESPACE_SUBSCRIBED
static java.lang.String
SERIALIZED_NAME_PRICING
static java.lang.String
SERIALIZED_NAME_PUBLIC_SHARE
static java.lang.String
SERIALIZED_NAME_READ_ONLY
static java.lang.String
SERIALIZED_NAME_SHARE_COUNT
static java.lang.String
SERIALIZED_NAME_SIZE
static java.lang.String
SERIALIZED_NAME_SUBSCRIPTIONS
static java.lang.String
SERIALIZED_NAME_TAGS
static java.lang.String
SERIALIZED_NAME_TILEDB_URI
static java.lang.String
SERIALIZED_NAME_TYPE
static java.lang.String
SERIALIZED_NAME_URI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayInfo
accessCredentialsName(java.lang.String accessCredentialsName)
ArrayInfo
addAllowedActionsItem(ArrayActions allowedActionsItem)
ArrayInfo
addPricingItem(Pricing pricingItem)
ArrayInfo
addSubscriptionsItem(Subscription subscriptionsItem)
ArrayInfo
addTagsItem(java.lang.String tagsItem)
ArrayInfo
allowedActions(java.util.List<ArrayActions> allowedActions)
ArrayInfo
description(java.lang.String description)
boolean
equals(java.lang.Object o)
ArrayInfo
fileProperties(java.util.Map<java.lang.String,java.lang.String> fileProperties)
ArrayInfo
fileType(FileType fileType)
static ArrayInfo
fromJson(java.lang.String jsonString)
Create an instance of ArrayInfo given an JSON stringjava.lang.String
getAccessCredentialsName()
the name of the access credentials to use.java.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<ArrayActions>
getAllowedActions()
list of actions user is allowed to do on this arrayjava.lang.String
getDescription()
description of arrayjava.util.Map<java.lang.String,java.lang.String>
getFileProperties()
map of file properties created for this arrayFileType
getFileType()
Get fileTypejava.lang.String
getId()
unique ID of registered arrayjava.lang.Boolean
getIsFavorite()
Indicates whether the array is in user favoritesjava.time.OffsetDateTime
getLastAccessed()
Datetime array was last accessed in UTCjava.lang.String
getLicenseId()
License identifier from SPDX License List or Customjava.lang.String
getLicenseText()
License textjava.lang.String
getLogo()
logo (base64 encoded) for the array.java.lang.String
getName()
name of arrayjava.lang.String
getNamespace()
namespace array is injava.lang.Boolean
getNamespaceSubscribed()
Depends on the namespace asking, denotes the existence of subscription of namespace to this arrayjava.util.List<Pricing>
getPricing()
list of pricing created for this arrayjava.lang.Boolean
getPublicShare()
Suggests if the array was shared to public by ownerjava.lang.Boolean
getReadOnly()
Suggests if the array is in read_only modejava.math.BigDecimal
getShareCount()
number of unique namespaces this array is shared withjava.math.BigDecimal
getSize()
size in bytes of arrayjava.util.List<Subscription>
getSubscriptions()
list of subscriptions created for this arrayjava.util.List<java.lang.String>
getTags()
optional tags for arrayjava.lang.String
getTiledbUri()
uri for access through TileDB cloudArrayType
getType()
Get typejava.lang.String
getUri()
uri of arrayint
hashCode()
ArrayInfo
id(java.lang.String id)
ArrayInfo
isFavorite(java.lang.Boolean isFavorite)
ArrayInfo
lastAccessed(java.time.OffsetDateTime lastAccessed)
ArrayInfo
licenseId(java.lang.String licenseId)
ArrayInfo
licenseText(java.lang.String licenseText)
ArrayInfo
logo(java.lang.String logo)
ArrayInfo
name(java.lang.String name)
ArrayInfo
namespace(java.lang.String namespace)
ArrayInfo
pricing(java.util.List<Pricing> pricing)
ArrayInfo
publicShare(java.lang.Boolean publicShare)
ArrayInfo
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.ArrayInfo
putFilePropertiesItem(java.lang.String key, java.lang.String filePropertiesItem)
ArrayInfo
readOnly(java.lang.Boolean readOnly)
void
setAccessCredentialsName(java.lang.String accessCredentialsName)
void
setAllowedActions(java.util.List<ArrayActions> allowedActions)
void
setDescription(java.lang.String description)
void
setFileProperties(java.util.Map<java.lang.String,java.lang.String> fileProperties)
void
setFileType(FileType fileType)
void
setId(java.lang.String id)
void
setIsFavorite(java.lang.Boolean isFavorite)
void
setLastAccessed(java.time.OffsetDateTime lastAccessed)
void
setLicenseId(java.lang.String licenseId)
void
setLicenseText(java.lang.String licenseText)
void
setLogo(java.lang.String logo)
void
setName(java.lang.String name)
void
setNamespace(java.lang.String namespace)
void
setPricing(java.util.List<Pricing> pricing)
void
setPublicShare(java.lang.Boolean publicShare)
void
setReadOnly(java.lang.Boolean readOnly)
void
setShareCount(java.math.BigDecimal shareCount)
void
setSize(java.math.BigDecimal size)
void
setSubscriptions(java.util.List<Subscription> subscriptions)
void
setTags(java.util.List<java.lang.String> tags)
void
setTiledbUri(java.lang.String tiledbUri)
void
setType(ArrayType type)
void
setUri(java.lang.String uri)
ArrayInfo
shareCount(java.math.BigDecimal shareCount)
ArrayInfo
size(java.math.BigDecimal size)
ArrayInfo
subscriptions(java.util.List<Subscription> subscriptions)
ArrayInfo
tags(java.util.List<java.lang.String> tags)
ArrayInfo
tiledbUri(java.lang.String tiledbUri)
java.lang.String
toJson()
Convert an instance of ArrayInfo to an JSON stringjava.lang.String
toString()
ArrayInfo
type(ArrayType type)
ArrayInfo
uri(java.lang.String uri)
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_FILE_TYPE
public static final java.lang.String SERIALIZED_NAME_FILE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_PROPERTIES
public static final java.lang.String SERIALIZED_NAME_FILE_PROPERTIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_URI
public static final java.lang.String SERIALIZED_NAME_URI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAMESPACE
public static final java.lang.String SERIALIZED_NAME_NAMESPACE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIZE
public static final java.lang.String SERIALIZED_NAME_SIZE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_ACCESSED
public static final java.lang.String SERIALIZED_NAME_LAST_ACCESSED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- 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_PRICING
public static final java.lang.String SERIALIZED_NAME_PRICING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBSCRIPTIONS
public static final java.lang.String SERIALIZED_NAME_SUBSCRIPTIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGO
public static final java.lang.String SERIALIZED_NAME_LOGO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCESS_CREDENTIALS_NAME
public static final java.lang.String SERIALIZED_NAME_ACCESS_CREDENTIALS_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final java.lang.String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHARE_COUNT
public static final java.lang.String SERIALIZED_NAME_SHARE_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUBLIC_SHARE
public static final java.lang.String SERIALIZED_NAME_PUBLIC_SHARE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAMESPACE_SUBSCRIBED
public static final java.lang.String SERIALIZED_NAME_NAMESPACE_SUBSCRIBED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TILEDB_URI
public static final java.lang.String SERIALIZED_NAME_TILEDB_URI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final java.lang.String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LICENSE_ID
public static final java.lang.String SERIALIZED_NAME_LICENSE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LICENSE_TEXT
public static final java.lang.String SERIALIZED_NAME_LICENSE_TEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_READ_ONLY
public static final java.lang.String SERIALIZED_NAME_READ_ONLY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_FAVORITE
public static final java.lang.String SERIALIZED_NAME_IS_FAVORITE
- 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 ArrayInfo id(java.lang.String id)
-
getId
@Nullable public java.lang.String getId()
unique ID of registered array- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
getFileType
@Nullable public FileType getFileType()
Get fileType- Returns:
- fileType
-
setFileType
public void setFileType(FileType fileType)
-
fileProperties
public ArrayInfo fileProperties(java.util.Map<java.lang.String,java.lang.String> fileProperties)
-
putFilePropertiesItem
public ArrayInfo putFilePropertiesItem(java.lang.String key, java.lang.String filePropertiesItem)
-
getFileProperties
@Nullable public java.util.Map<java.lang.String,java.lang.String> getFileProperties()
map of file properties created for this array- Returns:
- fileProperties
-
setFileProperties
public void setFileProperties(java.util.Map<java.lang.String,java.lang.String> fileProperties)
-
uri
public ArrayInfo uri(java.lang.String uri)
-
getUri
@Nullable public java.lang.String getUri()
uri of array- Returns:
- uri
-
setUri
public void setUri(java.lang.String uri)
-
namespace
public ArrayInfo namespace(java.lang.String namespace)
-
getNamespace
@Nullable public java.lang.String getNamespace()
namespace array is in- Returns:
- namespace
-
setNamespace
public void setNamespace(java.lang.String namespace)
-
size
public ArrayInfo size(java.math.BigDecimal size)
-
getSize
@Nullable public java.math.BigDecimal getSize()
size in bytes of array- Returns:
- size
-
setSize
public void setSize(java.math.BigDecimal size)
-
lastAccessed
public ArrayInfo lastAccessed(java.time.OffsetDateTime lastAccessed)
-
getLastAccessed
@Nullable public java.time.OffsetDateTime getLastAccessed()
Datetime array was last accessed in UTC- Returns:
- lastAccessed
-
setLastAccessed
public void setLastAccessed(java.time.OffsetDateTime lastAccessed)
-
description
public ArrayInfo description(java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
description of array- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
name
public ArrayInfo name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
name of array- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
allowedActions
public ArrayInfo allowedActions(java.util.List<ArrayActions> allowedActions)
-
addAllowedActionsItem
public ArrayInfo addAllowedActionsItem(ArrayActions allowedActionsItem)
-
getAllowedActions
@Nullable public java.util.List<ArrayActions> getAllowedActions()
list of actions user is allowed to do on this array- Returns:
- allowedActions
-
setAllowedActions
public void setAllowedActions(java.util.List<ArrayActions> allowedActions)
-
getPricing
@Nullable public java.util.List<Pricing> getPricing()
list of pricing created for this array- Returns:
- pricing
-
setPricing
public void setPricing(java.util.List<Pricing> pricing)
-
subscriptions
public ArrayInfo subscriptions(java.util.List<Subscription> subscriptions)
-
addSubscriptionsItem
public ArrayInfo addSubscriptionsItem(Subscription subscriptionsItem)
-
getSubscriptions
@Nullable public java.util.List<Subscription> getSubscriptions()
list of subscriptions created for this array- Returns:
- subscriptions
-
setSubscriptions
public void setSubscriptions(java.util.List<Subscription> subscriptions)
-
logo
public ArrayInfo logo(java.lang.String logo)
-
getLogo
@Nullable public java.lang.String getLogo()
logo (base64 encoded) for the array. Optional- Returns:
- logo
-
setLogo
public void setLogo(java.lang.String logo)
-
accessCredentialsName
public ArrayInfo accessCredentialsName(java.lang.String accessCredentialsName)
-
getAccessCredentialsName
@Nullable public java.lang.String getAccessCredentialsName()
the name of the access credentials to use. if unset, the default credentials will be used- Returns:
- accessCredentialsName
-
setAccessCredentialsName
public void setAccessCredentialsName(java.lang.String accessCredentialsName)
-
getType
@Nullable public ArrayType getType()
Get type- Returns:
- type
-
setType
public void setType(ArrayType type)
-
shareCount
public ArrayInfo shareCount(java.math.BigDecimal shareCount)
-
getShareCount
@Nullable public java.math.BigDecimal getShareCount()
number of unique namespaces this array is shared with- Returns:
- shareCount
-
setShareCount
public void setShareCount(java.math.BigDecimal shareCount)
-
publicShare
public ArrayInfo publicShare(java.lang.Boolean publicShare)
-
getPublicShare
@Nullable public java.lang.Boolean getPublicShare()
Suggests if the array was shared to public by owner- Returns:
- publicShare
-
setPublicShare
public void setPublicShare(java.lang.Boolean publicShare)
-
getNamespaceSubscribed
@Nullable public java.lang.Boolean getNamespaceSubscribed()
Depends on the namespace asking, denotes the existence of subscription of namespace to this array- Returns:
- namespaceSubscribed
-
tiledbUri
public ArrayInfo tiledbUri(java.lang.String tiledbUri)
-
getTiledbUri
@Nullable public java.lang.String getTiledbUri()
uri for access through TileDB cloud- Returns:
- tiledbUri
-
setTiledbUri
public void setTiledbUri(java.lang.String tiledbUri)
-
tags
public ArrayInfo tags(java.util.List<java.lang.String> tags)
-
addTagsItem
public ArrayInfo addTagsItem(java.lang.String tagsItem)
-
getTags
@Nullable public java.util.List<java.lang.String> getTags()
optional tags for array- Returns:
- tags
-
setTags
public void setTags(java.util.List<java.lang.String> tags)
-
licenseId
public ArrayInfo licenseId(java.lang.String licenseId)
-
getLicenseId
@Nullable public java.lang.String getLicenseId()
License identifier from SPDX License List or Custom- Returns:
- licenseId
-
setLicenseId
public void setLicenseId(java.lang.String licenseId)
-
licenseText
public ArrayInfo licenseText(java.lang.String licenseText)
-
getLicenseText
@Nullable public java.lang.String getLicenseText()
License text- Returns:
- licenseText
-
setLicenseText
public void setLicenseText(java.lang.String licenseText)
-
readOnly
public ArrayInfo readOnly(java.lang.Boolean readOnly)
-
getReadOnly
@Nullable public java.lang.Boolean getReadOnly()
Suggests if the array is in read_only mode- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
-
isFavorite
public ArrayInfo isFavorite(java.lang.Boolean isFavorite)
-
getIsFavorite
@Nullable public java.lang.Boolean getIsFavorite()
Indicates whether the array is in user favorites- Returns:
- isFavorite
-
setIsFavorite
public void setIsFavorite(java.lang.Boolean isFavorite)
-
putAdditionalProperty
public ArrayInfo 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 ArrayInfo
-
fromJson
public static ArrayInfo fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of ArrayInfo given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ArrayInfo
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to ArrayInfo
-
toJson
public java.lang.String toJson()
Convert an instance of ArrayInfo to an JSON string- Returns:
- JSON string
-
-