Class 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.
    • 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
    • Constructor Detail

      • GroupUpdate

        public GroupUpdate()
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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