Class AndroidCertificate


  • public class AndroidCertificate
    extends Object
    AndroidCertificate
    • Constructor Detail

      • AndroidCertificate

        public AndroidCertificate()
    • Method Detail

      • getDescription

        public String getDescription()
        The description that was provided when uploading the certificate.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        The description that was provided when uploading the certificate.
        Parameters:
        description -
      • getExtension

        public String getExtension()
        The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**.
        Returns:
        extension
      • setExtension

        public void setExtension​(String extension)
        The file format of the certificate, as indicated by the file extension. For example, **.cert** or **.pem**.
        Parameters:
        extension -
      • getId

        public String getId()
        The unique identifier of the certificate.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the certificate.
        Parameters:
        id -
      • getName

        public String getName()
        The file name of the certificate. For example, **mycert**.
        Returns:
        name
      • setName

        public void setName​(String name)
        The file name of the certificate. For example, **mycert**.
        Parameters:
        name -
      • getNotAfter

        public OffsetDateTime getNotAfter()
        The date when the certificate stops to be valid.
        Returns:
        notAfter
      • setNotAfter

        public void setNotAfter​(OffsetDateTime notAfter)
        The date when the certificate stops to be valid.
        Parameters:
        notAfter -
      • getNotBefore

        public OffsetDateTime getNotBefore()
        The date when the certificate starts to be valid.
        Returns:
        notBefore
      • setNotBefore

        public void setNotBefore​(OffsetDateTime notBefore)
        The date when the certificate starts to be valid.
        Parameters:
        notBefore -
      • getStatus

        public String getStatus()
        The status of the certificate.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        The status of the certificate.
        Parameters:
        status -
      • equals

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

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

        public static AndroidCertificate fromJson​(String jsonString)
                                           throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AndroidCertificate given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AndroidCertificate
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AndroidCertificate
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AndroidCertificate to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException