Package io.gopluslabs.client.model
Class GetDefiInfoResponseResultOwner
- java.lang.Object
-
- io.gopluslabs.client.model.GetDefiInfoResponseResultOwner
-
public class GetDefiInfoResponseResultOwner extends Object
When there is no owner function, or the ownership is unreadable or private, it would return empty. \"owner\": { }
-
-
Constructor Summary
Constructors Constructor Description GetDefiInfoResponseResultOwner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetOwnerAddress()owner address of the contract.StringgetOwnerName()the function name of ownership.StringgetOwnerType()blackhole\" : the owner is a blackhole addressinthashCode()GetDefiInfoResponseResultOwnerownerAddress(String ownerAddress)GetDefiInfoResponseResultOwnerownerName(String ownerName)GetDefiInfoResponseResultOwnerownerType(String ownerType)voidsetOwnerAddress(String ownerAddress)voidsetOwnerName(String ownerName)voidsetOwnerType(String ownerType)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()
-
-
-
Method Detail
-
ownerName
public GetDefiInfoResponseResultOwner ownerName(String ownerName)
-
getOwnerName
public String getOwnerName()
the function name of ownership. If there is no return, means unknown.- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
ownerAddress
public GetDefiInfoResponseResultOwner ownerAddress(String ownerAddress)
-
getOwnerAddress
public String getOwnerAddress()
owner address of the contract. No return means unknown.- Returns:
- ownerAddress
-
setOwnerAddress
public void setOwnerAddress(String ownerAddress)
-
ownerType
public GetDefiInfoResponseResultOwner ownerType(String ownerType)
-
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)
-
-