Package io.gopluslabs.client.model
Class ResponseWrapperTokenSecurityHolders
- java.lang.Object
-
- io.gopluslabs.client.model.ResponseWrapperTokenSecurityHolders
-
public class ResponseWrapperTokenSecurityHolders extends Object
ResponseWrapperTokenSecurityHolders
-
-
Field Summary
Fields Modifier and Type Field Description private Stringaddressprivate Stringbalanceprivate IntegerisContractprivate IntegerisLockedprivate List<ResponseWrapperTokenSecurityLockedDetail>lockedDetailprivate Stringpercentprivate Stringtag
-
Constructor Summary
Constructors Constructor Description ResponseWrapperTokenSecurityHolders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseWrapperTokenSecurityHoldersaddLockedDetailItem(ResponseWrapperTokenSecurityLockedDetail lockedDetailItem)ResponseWrapperTokenSecurityHoldersaddress(String address)ResponseWrapperTokenSecurityHoldersbalance(String balance)booleanequals(Object o)StringgetAddress()It describes the holder address;StringgetBalance()It describes the balance of the holder.IntegergetIsContract()It describes whether the holder is a contract \"1\" means true; \"0\" means false.IntegergetIsLocked()It describes whether the tokens owned by the holder are locked \"1\" means true; \"0\" means false; (3) \"tag\" describes the address's public tag.List<ResponseWrapperTokenSecurityLockedDetail>getLockedDetail()It is an array, decribes lock position info of this holder, only shows when \"locked\": 1.StringgetPercent()It describes the percentage of tokens held by this holder (Notice:About \"percent\": 1 means 100% here.)StringgetTag()It describes the address's public tag.inthashCode()ResponseWrapperTokenSecurityHoldersisContract(Integer isContract)ResponseWrapperTokenSecurityHoldersisLocked(Integer isLocked)ResponseWrapperTokenSecurityHolderslockedDetail(List<ResponseWrapperTokenSecurityLockedDetail> lockedDetail)ResponseWrapperTokenSecurityHolderspercent(String percent)voidsetAddress(String address)voidsetBalance(String balance)voidsetIsContract(Integer isContract)voidsetIsLocked(Integer isLocked)voidsetLockedDetail(List<ResponseWrapperTokenSecurityLockedDetail> lockedDetail)voidsetPercent(String percent)voidsetTag(String tag)ResponseWrapperTokenSecurityHolderstag(String tag)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()
-
-
-
Field Detail
-
isLocked
@SerializedName("is_locked") private Integer isLocked
-
isContract
@SerializedName("is_contract") private Integer isContract
-
address
@SerializedName("address") private String address
-
balance
@SerializedName("balance") private String balance
-
lockedDetail
@SerializedName("locked_detail") private List<ResponseWrapperTokenSecurityLockedDetail> lockedDetail
-
tag
@SerializedName("tag") private String tag
-
percent
@SerializedName("percent") private String percent
-
-
Method Detail
-
isLocked
public ResponseWrapperTokenSecurityHolders isLocked(Integer isLocked)
-
getIsLocked
public Integer getIsLocked()
It describes whether the tokens owned by the holder are locked \"1\" means true; \"0\" means false; (3) \"tag\" describes the address's public tag. Example:Burn (Notice:About \"locked\": We only support the token lock addresses or black hole addresses that we have included. )- Returns:
- isLocked
-
setIsLocked
public void setIsLocked(Integer isLocked)
-
isContract
public ResponseWrapperTokenSecurityHolders isContract(Integer isContract)
-
getIsContract
public Integer getIsContract()
It describes whether the holder is a contract \"1\" means true; \"0\" means false.- Returns:
- isContract
-
setIsContract
public void setIsContract(Integer isContract)
-
address
public ResponseWrapperTokenSecurityHolders address(String address)
-
getAddress
public String getAddress()
It describes the holder address;- Returns:
- address
-
setAddress
public void setAddress(String address)
-
balance
public ResponseWrapperTokenSecurityHolders balance(String balance)
-
getBalance
public String getBalance()
It describes the balance of the holder.- Returns:
- balance
-
setBalance
public void setBalance(String balance)
-
lockedDetail
public ResponseWrapperTokenSecurityHolders lockedDetail(List<ResponseWrapperTokenSecurityLockedDetail> lockedDetail)
-
addLockedDetailItem
public ResponseWrapperTokenSecurityHolders addLockedDetailItem(ResponseWrapperTokenSecurityLockedDetail lockedDetailItem)
-
getLockedDetail
public List<ResponseWrapperTokenSecurityLockedDetail> getLockedDetail()
It is an array, decribes lock position info of this holder, only shows when \"locked\": 1. This Array may contain multiple objects for multiple locking info. (Notice:When \"locked\":0, or lock address is a black hole address, \"locked_detail\" will be no return.)- Returns:
- lockedDetail
-
setLockedDetail
public void setLockedDetail(List<ResponseWrapperTokenSecurityLockedDetail> lockedDetail)
-
tag
public ResponseWrapperTokenSecurityHolders tag(String tag)
-
getTag
public String getTag()
It describes the address's public tag. Example:Burn Address/Deployer;- Returns:
- tag
-
setTag
public void setTag(String tag)
-
percent
public ResponseWrapperTokenSecurityHolders percent(String percent)
-
getPercent
public String getPercent()
It describes the percentage of tokens held by this holder (Notice:About \"percent\": 1 means 100% here.)- Returns:
- percent
-
setPercent
public void setPercent(String percent)
-
-