Class Resource


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class Resource
    extends Object
    Resource
    • Constructor Detail

      • Resource

        public Resource()
    • Method Detail

      • getId

        @Nullable
        public UUID getId()
        Resource ID
        Returns:
        id
      • setId

        public void setId​(UUID id)
      • getName

        @Nullable
        public String getName()
        Resource name
        Returns:
        name
      • setName

        public void setName​(String name)
      • equals

        public boolean equals​(Object o)
        Return true if this resource object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string