Package io.gopluslabs.client.model
Class DappContractSecurityResponse
- java.lang.Object
-
- io.gopluslabs.client.model.DappContractSecurityResponse
-
public class DappContractSecurityResponse extends Object
DappContractSecurityResponse
-
-
Field Summary
Fields Modifier and Type Field Description private List<AuditInfo>auditInfoprivate List<ContractsSecurity>contractsSecurityprivate IntegerisAuditprivate StringprojectNameprivate IntegertrustListprivate Stringurl
-
Constructor Summary
Constructors Constructor Description DappContractSecurityResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DappContractSecurityResponseaddAuditInfoItem(AuditInfo auditInfoItem)DappContractSecurityResponseaddContractsSecurityItem(ContractsSecurity contractsSecurityItem)DappContractSecurityResponseauditInfo(List<AuditInfo> auditInfo)DappContractSecurityResponsecontractsSecurity(List<ContractsSecurity> contractsSecurity)booleanequals(Object o)List<AuditInfo>getAuditInfo()audit info(Notice:When the dApp was not audited, (\"is_audit\"=0), it will return \"null\".If there are multiple audit reports, the information of the latest audit report is displayed.)List<ContractsSecurity>getContractsSecurity()Get contractsSecurityIntegergetIsAudit()It describes whether the dApp was audited by a reputable audit firmStringgetProjectName()It describes the dApp project name.IntegergetTrustList()It describes whether the dapp is a famous and trustworthy oneStringgetUrl()It describes the dApp's website link.inthashCode()DappContractSecurityResponseisAudit(Integer isAudit)DappContractSecurityResponseprojectName(String projectName)voidsetAuditInfo(List<AuditInfo> auditInfo)voidsetContractsSecurity(List<ContractsSecurity> contractsSecurity)voidsetIsAudit(Integer isAudit)voidsetProjectName(String projectName)voidsetTrustList(Integer trustList)voidsetUrl(String url)private StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()DappContractSecurityResponsetrustList(Integer trustList)DappContractSecurityResponseurl(String url)
-
-
-
Field Detail
-
contractsSecurity
@SerializedName("contracts_security") private List<ContractsSecurity> contractsSecurity
-
isAudit
@SerializedName("is_audit") private Integer isAudit
-
projectName
@SerializedName("project_name") private String projectName
-
trustList
@SerializedName("trust_list") private Integer trustList
-
url
@SerializedName("url") private String url
-
-
Method Detail
-
auditInfo
public DappContractSecurityResponse auditInfo(List<AuditInfo> auditInfo)
-
addAuditInfoItem
public DappContractSecurityResponse addAuditInfoItem(AuditInfo auditInfoItem)
-
getAuditInfo
public List<AuditInfo> getAuditInfo()
audit info(Notice:When the dApp was not audited, (\"is_audit\"=0), it will return \"null\".If there are multiple audit reports, the information of the latest audit report is displayed.)- Returns:
- auditInfo
-
contractsSecurity
public DappContractSecurityResponse contractsSecurity(List<ContractsSecurity> contractsSecurity)
-
addContractsSecurityItem
public DappContractSecurityResponse addContractsSecurityItem(ContractsSecurity contractsSecurityItem)
-
getContractsSecurity
public List<ContractsSecurity> getContractsSecurity()
Get contractsSecurity- Returns:
- contractsSecurity
-
setContractsSecurity
public void setContractsSecurity(List<ContractsSecurity> contractsSecurity)
-
isAudit
public DappContractSecurityResponse isAudit(Integer isAudit)
-
getIsAudit
public Integer getIsAudit()
It describes whether the dApp was audited by a reputable audit firm. \"1\" means true; \"0\" means that we have not found audit information for this dApp .(Notice:Return \"0\" does not mean the dApp was not audited. Maybe we just haven't found audit information for this dApp yet.)- Returns:
- isAudit
-
setIsAudit
public void setIsAudit(Integer isAudit)
-
projectName
public DappContractSecurityResponse projectName(String projectName)
-
getProjectName
public String getProjectName()
It describes the dApp project name.- Returns:
- projectName
-
setProjectName
public void setProjectName(String projectName)
-
trustList
public DappContractSecurityResponse trustList(Integer trustList)
-
getTrustList
public Integer getTrustList()
It describes whether the dapp is a famous and trustworthy one. \"1\" means true; \"0\" means that this dapp is not yet in our trusted list.(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy dapp. (2) \"0\" return doesn't mean it is risky.)- Returns:
- trustList
-
setTrustList
public void setTrustList(Integer trustList)
-
url
public DappContractSecurityResponse url(String url)
-
getUrl
public String getUrl()
It describes the dApp's website link.- Returns:
- url
-
setUrl
public void setUrl(String url)
-
-