Class DeployKey.Smart

    • Constructor Detail

      • Smart

        public Smart​(DeployKey dkey)
        Public ctor.
        Parameters:
        dkey - Deploy key
    • Method Detail

      • key

        public String key()
                   throws IOException
        Get its key value.
        Returns:
        Value of deploy key
        Throws:
        IOException - If there is any I/O problem
      • key

        public void key​(String value)
                 throws IOException
        Change its value.
        Parameters:
        value - Title of deploy key
        Throws:
        IOException - If there is any I/O problem
      • url

        public URL url()
                throws IOException
        Get its URL.
        Returns:
        URL of deploy key
        Throws:
        IOException - If there is any I/O problem
      • title

        public String title()
                     throws IOException
        Get its title.
        Returns:
        Title of deploy key
        Throws:
        IOException - If there is any I/O problem
      • title

        public void title​(String text)
                   throws IOException
        Change its title.
        Parameters:
        text - Title of deploy key
        Throws:
        IOException - If there is any I/O problem
      • json

        public javax.json.JsonObject json()
                                   throws IOException
        Description copied from interface: JsonReadable
        Describe it in a JSON object.
        Specified by:
        json in interface JsonReadable
        Returns:
        JSON object
        Throws:
        IOException - If there is any I/O problem
      • patch

        public void patch​(javax.json.JsonObject json)
                   throws IOException
        Description copied from interface: JsonPatchable
        Patch using this JSON object.
        Specified by:
        patch in interface JsonPatchable
        Parameters:
        json - JSON object
        Throws:
        IOException - If there is any I/O problem
      • number

        public int number()
        Description copied from interface: DeployKey
        Get id of a deploy key.
        Specified by:
        number in interface DeployKey
        Returns:
        Id