Package com.bytedesk.core.asset
Class AssetInitData
java.lang.Object
com.bytedesk.core.asset.AssetInitData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Complaint & Suggestion Assets 投诉与建议标签static final String[]Consultation Assets 咨询标签static final String[]Operation & Maintenance Assets 运维标签static final String[]Service Request Assets 服务请求标签static final String[]Technical Support Assets 技术支持标签 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get all assets as a single arraystatic StringgetParentAsset(String childAsset) Helper method to get parent asset key for a child assetstatic booleanisParentAsset(String asset) Helper method to determine if a asset is a parent asset
-
Field Details
-
TECHNICAL_SUPPORT
Technical Support Assets 技术支持标签 -
SERVICE_REQUEST
Service Request Assets 服务请求标签 -
CONSULTATION
Consultation Assets 咨询标签 -
COMPLAINT_SUGGESTION
Complaint & Suggestion Assets 投诉与建议标签 -
OPERATION_MAINTENANCE
Operation & Maintenance Assets 运维标签
-
-
Constructor Details
-
AssetInitData
public AssetInitData()
-
-
Method Details
-
isParentAsset
Helper method to determine if a asset is a parent asset- Parameters:
asset- The asset key to check- Returns:
- true if it's a parent asset
-
getParentAsset
Helper method to get parent asset key for a child asset- Parameters:
childAsset- The child asset key- Returns:
- The parent asset key
-
getAllAssets
Get all assets as a single array- Returns:
- Array containing all assets
-