Class DappContractSecurityResponse


  • public class DappContractSecurityResponse
    extends Object
    DappContractSecurityResponse
    • Field Detail

      • auditInfo

        @SerializedName("audit_info")
        private List<AuditInfo> auditInfo
      • contractsSecurity

        @SerializedName("contracts_security")
        private List<ContractsSecurity> contractsSecurity
      • isAudit

        @SerializedName("is_audit")
        private Integer isAudit
      • projectName

        @SerializedName("project_name")
        private String projectName
      • trustList

        @SerializedName("trust_list")
        private Integer trustList
      • url

        @SerializedName("url")
        private String url
    • Constructor Detail

      • DappContractSecurityResponse

        public DappContractSecurityResponse()
    • Method Detail

      • getAuditInfo

        public List<AuditInfo> getAuditInfo()
        audit info(Notice:When the dApp was not audited, (\"is_audit\"=0), it will return \"null\".If there are multiple audit reports, the information of the latest audit report is displayed.)
        Returns:
        auditInfo
      • setAuditInfo

        public void setAuditInfo​(List<AuditInfo> auditInfo)
      • getContractsSecurity

        public List<ContractsSecurity> getContractsSecurity()
        Get contractsSecurity
        Returns:
        contractsSecurity
      • getIsAudit

        public Integer getIsAudit()
        It describes whether the dApp was audited by a reputable audit firm. \"1\" means true; \"0\" means that we have not found audit information for this dApp .(Notice:Return \"0\" does not mean the dApp was not audited. Maybe we just haven't found audit information for this dApp yet.)
        Returns:
        isAudit
      • setIsAudit

        public void setIsAudit​(Integer isAudit)
      • getProjectName

        public String getProjectName()
        It describes the dApp project name.
        Returns:
        projectName
      • setProjectName

        public void setProjectName​(String projectName)
      • getTrustList

        public Integer getTrustList()
        It describes whether the dapp is a famous and trustworthy one. \"1\" means true; \"0\" means that this dapp is not yet in our trusted list.(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy dapp. (2) \"0\" return doesn't mean it is risky.)
        Returns:
        trustList
      • setTrustList

        public void setTrustList​(Integer trustList)
      • getUrl

        public String getUrl()
        It describes the dApp's website link.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • hashCode

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

        private String toIndentedString​(Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).