public class Policy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
Policy()  | 
Policy(Policy source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAppName()
Get The application name. 
 | 
String | 
getClusterId()
Get The network ID. 
 | 
Long | 
getContractAppId()
Get The application ID of the contract. 
 | 
Long | 
getCptId()
Get The claim protocol type (CPT) ID. 
 | 
Long | 
getCptIndex()
Get The claim protocol type (CPT) index. 
 | 
String | 
getCreateTime()
Get The creation time. 
 | 
String | 
getCreatorDid()
Get The DID of the creator. 
 | 
Long | 
getGroupId()
Get The group ID. 
 | 
Long | 
getId()
Get The policy index. 
 | 
String | 
getName()
Get The policy name. 
 | 
Long | 
getPolicyId()
Get The policy ID. 
 | 
String | 
getPolicyJson()
Get The JSON data. 
 | 
Long | 
getServiceId()
Get The service ID. 
 | 
String | 
getUpdateTime()
Get The last updated time. 
 | 
void | 
setAppName(String AppName)
Set The application name. 
 | 
void | 
setClusterId(String ClusterId)
Set The network ID. 
 | 
void | 
setContractAppId(Long ContractAppId)
Set The application ID of the contract. 
 | 
void | 
setCptId(Long CptId)
Set The claim protocol type (CPT) ID. 
 | 
void | 
setCptIndex(Long CptIndex)
Set The claim protocol type (CPT) index. 
 | 
void | 
setCreateTime(String CreateTime)
Set The creation time. 
 | 
void | 
setCreatorDid(String CreatorDid)
Set The DID of the creator. 
 | 
void | 
setGroupId(Long GroupId)
Set The group ID. 
 | 
void | 
setId(Long Id)
Set The policy index. 
 | 
void | 
setName(String Name)
Set The policy name. 
 | 
void | 
setPolicyId(Long PolicyId)
Set The policy ID. 
 | 
void | 
setPolicyJson(String PolicyJson)
Set The JSON data. 
 | 
void | 
setServiceId(Long ServiceId)
Set The service ID. 
 | 
void | 
setUpdateTime(String UpdateTime)
Set The last updated time. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Policy()
public Policy(Policy source)
public Long getId()
public void setId(Long Id)
Id - The policy index.public String getName()
public void setName(String Name)
Name - The policy name.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - The network ID.public Long getGroupId()
public void setGroupId(Long GroupId)
GroupId - The group ID.public Long getServiceId()
public void setServiceId(Long ServiceId)
ServiceId - The service ID.public Long getContractAppId()
public void setContractAppId(Long ContractAppId)
ContractAppId - The application ID of the contract.public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId - The policy ID.public Long getCptId()
public void setCptId(Long CptId)
CptId - The claim protocol type (CPT) ID.public String getPolicyJson()
public void setPolicyJson(String PolicyJson)
PolicyJson - The JSON data.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - The creation time.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - The last updated time.public String getCreatorDid()
public void setCreatorDid(String CreatorDid)
CreatorDid - The DID of the creator.public String getAppName()
public void setAppName(String AppName)
AppName - The application name.public Long getCptIndex()
public void setCptIndex(Long CptIndex)
CptIndex - The claim protocol type (CPT) index.Copyright © 2025. All rights reserved.