Package io.tiledb.cloud.rest_api.model
Class GroupUpdate
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.GroupUpdate
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-02T12:25:58.319138+03:00[Europe/Athens]") public class GroupUpdate extends java.lang.Object
Updates for a group. New values for the attributes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupUpdate.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_DESCRIPTION
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_TAGS
-
Constructor Summary
Constructors Constructor Description GroupUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupUpdate
accessCredentialsName(java.lang.String accessCredentialsName)
GroupUpdate
addTagsItem(java.lang.String tagsItem)
GroupUpdate
description(java.lang.String description)
boolean
equals(java.lang.Object o)
static GroupUpdate
fromJson(java.lang.String jsonString)
Create an instance of GroupUpdate 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.lang.String
getDescription()
A human readable description of the content of the groupjava.lang.String
getLicenseId()
License identifier from SPDX License List or Customjava.lang.String
getLicenseText()
License textjava.lang.String
getLogo()
logo (base64 encoded) for the group.java.lang.String
getName()
The name of the group.java.util.List<java.lang.String>
getTags()
optional tags for groupsint
hashCode()
GroupUpdate
licenseId(java.lang.String licenseId)
GroupUpdate
licenseText(java.lang.String licenseText)
GroupUpdate
logo(java.lang.String logo)
GroupUpdate
name(java.lang.String name)
GroupUpdate
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.void
setAccessCredentialsName(java.lang.String accessCredentialsName)
void
setDescription(java.lang.String description)
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
setTags(java.util.List<java.lang.String> tags)
GroupUpdate
tags(java.util.List<java.lang.String> tags)
java.lang.String
toJson()
Convert an instance of GroupUpdate to an JSON stringjava.lang.String
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
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_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_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
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
description
public GroupUpdate description(java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
A human readable description of the content of the group- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
name
public GroupUpdate name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
The name of the group. If must be unique within the group.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
logo
public GroupUpdate logo(java.lang.String logo)
-
getLogo
@Nullable public java.lang.String getLogo()
logo (base64 encoded) for the group. Optional- Returns:
- logo
-
setLogo
public void setLogo(java.lang.String logo)
-
accessCredentialsName
public GroupUpdate 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)
-
tags
public GroupUpdate tags(java.util.List<java.lang.String> tags)
-
addTagsItem
public GroupUpdate addTagsItem(java.lang.String tagsItem)
-
getTags
@Nullable public java.util.List<java.lang.String> getTags()
optional tags for groups- Returns:
- tags
-
setTags
public void setTags(java.util.List<java.lang.String> tags)
-
licenseId
public GroupUpdate 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 GroupUpdate licenseText(java.lang.String licenseText)
-
getLicenseText
@Nullable public java.lang.String getLicenseText()
License text- Returns:
- licenseText
-
setLicenseText
public void setLicenseText(java.lang.String licenseText)
-
putAdditionalProperty
public GroupUpdate 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 GroupUpdate
-
fromJson
public static GroupUpdate fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of GroupUpdate given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of GroupUpdate
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to GroupUpdate
-
toJson
public java.lang.String toJson()
Convert an instance of GroupUpdate to an JSON string- Returns:
- JSON string
-
-