Class GetDefiInfoResponseResultOwner


  • public class GetDefiInfoResponseResultOwner
    extends Object
    When there is no owner function, or the ownership is unreadable or private, it would return empty. \"owner\": { }
    • Field Detail

      • ownerName

        @SerializedName("owner_name")
        private String ownerName
      • ownerAddress

        @SerializedName("owner_address")
        private String ownerAddress
      • ownerType

        @SerializedName("owner_type")
        private String ownerType
    • Constructor Detail

      • GetDefiInfoResponseResultOwner

        public GetDefiInfoResponseResultOwner()
    • Method Detail

      • getOwnerName

        public String getOwnerName()
        the function name of ownership. If there is no return, means unknown.
        Returns:
        ownerName
      • setOwnerName

        public void setOwnerName​(String ownerName)
      • getOwnerAddress

        public String getOwnerAddress()
        owner address of the contract. No return means unknown.
        Returns:
        ownerAddress
      • setOwnerAddress

        public void setOwnerAddress​(String ownerAddress)
      • getOwnerType

        public String getOwnerType()
        blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. No return means unknown.
        Returns:
        ownerType
      • setOwnerType

        public void setOwnerType​(String ownerType)
      • 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).