Class ApproveAddressInfo


  • public class ApproveAddressInfo
    extends Object
    ApproveAddressInfo
    • Field Detail

      • contractName

        @SerializedName("contract_name")
        private String contractName
      • creatorAddress

        @SerializedName("creator_address")
        private String creatorAddress
      • deployedTime

        @SerializedName("deployed_time")
        private Long deployedTime
      • doubtList

        @SerializedName("doubt_list")
        private Integer doubtList
      • isContract

        @SerializedName("is_contract")
        private Integer isContract
      • isOpenSource

        @SerializedName("is_open_source")
        private Integer isOpenSource
      • maliciousBehavior

        @SerializedName("malicious_behavior")
        private List<String> maliciousBehavior
      • tag

        @SerializedName("tag")
        private String tag
      • trustList

        @SerializedName("trust_list")
        private Integer trustList
    • Constructor Detail

      • ApproveAddressInfo

        public ApproveAddressInfo()
    • Method Detail

      • getContractName

        public String getContractName()
        Spender name
        Returns:
        contractName
      • setContractName

        public void setContractName​(String contractName)
      • getCreatorAddress

        public String getCreatorAddress()
        Spender's deployer
        Returns:
        creatorAddress
      • setCreatorAddress

        public void setCreatorAddress​(String creatorAddress)
      • getDeployedTime

        public Long getDeployedTime()
        Spender's deployed time
        Returns:
        deployedTime
      • setDeployedTime

        public void setDeployedTime​(Long deployedTime)
      • getDoubtList

        public Integer getDoubtList()
        Whether the spender has a history of malicious behavior or contains high risk.
        Returns:
        doubtList
      • setDoubtList

        public void setDoubtList​(Integer doubtList)
      • getIsContract

        public Integer getIsContract()
        Whether the spender is a contract.
        Returns:
        isContract
      • setIsContract

        public void setIsContract​(Integer isContract)
      • getIsOpenSource

        public Integer getIsOpenSource()
        Whether the spender is verified on blockchain explorer.
        Returns:
        isOpenSource
      • setIsOpenSource

        public void setIsOpenSource​(Integer isOpenSource)
      • getMaliciousBehavior

        public List<String> getMaliciousBehavior()
        Specific malicious behaviors or risks of this spender.
        Returns:
        maliciousBehavior
      • setMaliciousBehavior

        public void setMaliciousBehavior​(List<String> maliciousBehavior)
      • getTag

        public String getTag()
        Spender tag
        Returns:
        tag
      • setTag

        public void setTag​(String tag)
      • getTrustList

        public Integer getTrustList()
        Whether the spender is on the whitelist, and can be trusted
        Returns:
        trustList
      • setTrustList

        public void setTrustList​(Integer trustList)
      • 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).