Package io.gopluslabs.client.model
Class ApproveAddressInfo
- java.lang.Object
-
- io.gopluslabs.client.model.ApproveAddressInfo
-
public class ApproveAddressInfo extends Object
ApproveAddressInfo
-
-
Field Summary
Fields Modifier and Type Field Description private StringcontractNameprivate StringcreatorAddressprivate LongdeployedTimeprivate IntegerdoubtListprivate IntegerisContractprivate IntegerisOpenSourceprivate List<String>maliciousBehaviorprivate Stringtagprivate IntegertrustList
-
Constructor Summary
Constructors Constructor Description ApproveAddressInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApproveAddressInfoaddMaliciousBehaviorItem(String maliciousBehaviorItem)ApproveAddressInfocontractName(String contractName)ApproveAddressInfocreatorAddress(String creatorAddress)ApproveAddressInfodeployedTime(Long deployedTime)ApproveAddressInfodoubtList(Integer doubtList)booleanequals(Object o)StringgetContractName()Spender nameStringgetCreatorAddress()Spender's deployerLonggetDeployedTime()Spender's deployed timeIntegergetDoubtList()Whether the spender has a history of malicious behavior or contains high risk.IntegergetIsContract()Whether the spender is a contract.IntegergetIsOpenSource()Whether the spender is verified on blockchain explorer.List<String>getMaliciousBehavior()Specific malicious behaviors or risks of this spender.StringgetTag()Spender tagIntegergetTrustList()Whether the spender is on the whitelist, and can be trustedinthashCode()ApproveAddressInfoisContract(Integer isContract)ApproveAddressInfoisOpenSource(Integer isOpenSource)ApproveAddressInfomaliciousBehavior(List<String> maliciousBehavior)voidsetContractName(String contractName)voidsetCreatorAddress(String creatorAddress)voidsetDeployedTime(Long deployedTime)voidsetDoubtList(Integer doubtList)voidsetIsContract(Integer isContract)voidsetIsOpenSource(Integer isOpenSource)voidsetMaliciousBehavior(List<String> maliciousBehavior)voidsetTag(String tag)voidsetTrustList(Integer trustList)ApproveAddressInfotag(String tag)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()ApproveAddressInfotrustList(Integer trustList)
-
-
-
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
-
tag
@SerializedName("tag") private String tag
-
trustList
@SerializedName("trust_list") private Integer trustList
-
-
Method Detail
-
contractName
public ApproveAddressInfo contractName(String contractName)
-
getContractName
public String getContractName()
Spender name- Returns:
- contractName
-
setContractName
public void setContractName(String contractName)
-
creatorAddress
public ApproveAddressInfo creatorAddress(String creatorAddress)
-
getCreatorAddress
public String getCreatorAddress()
Spender's deployer- Returns:
- creatorAddress
-
setCreatorAddress
public void setCreatorAddress(String creatorAddress)
-
deployedTime
public ApproveAddressInfo deployedTime(Long deployedTime)
-
getDeployedTime
public Long getDeployedTime()
Spender's deployed time- Returns:
- deployedTime
-
setDeployedTime
public void setDeployedTime(Long deployedTime)
-
doubtList
public ApproveAddressInfo doubtList(Integer doubtList)
-
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)
-
isContract
public ApproveAddressInfo isContract(Integer isContract)
-
getIsContract
public Integer getIsContract()
Whether the spender is a contract.- Returns:
- isContract
-
setIsContract
public void setIsContract(Integer isContract)
-
isOpenSource
public ApproveAddressInfo isOpenSource(Integer isOpenSource)
-
getIsOpenSource
public Integer getIsOpenSource()
Whether the spender is verified on blockchain explorer.- Returns:
- isOpenSource
-
setIsOpenSource
public void setIsOpenSource(Integer isOpenSource)
-
maliciousBehavior
public ApproveAddressInfo maliciousBehavior(List<String> maliciousBehavior)
-
addMaliciousBehaviorItem
public ApproveAddressInfo addMaliciousBehaviorItem(String maliciousBehaviorItem)
-
getMaliciousBehavior
public List<String> getMaliciousBehavior()
Specific malicious behaviors or risks of this spender.- Returns:
- maliciousBehavior
-
tag
public ApproveAddressInfo tag(String tag)
-
getTag
public String getTag()
Spender tag- Returns:
- tag
-
setTag
public void setTag(String tag)
-
trustList
public ApproveAddressInfo trustList(Integer trustList)
-
getTrustList
public Integer getTrustList()
Whether the spender is on the whitelist, and can be trusted- Returns:
- trustList
-
setTrustList
public void setTrustList(Integer trustList)
-
-