AssetInfo
Represents an asset, and the areas it is split into, from the Sites Manager service.
Declaration
data class AssetInfoConstructors
constructor(id: String, assetTimestamp: Long, siteId: String, name: String, description: String?, assetType: AssetType, assetStatus: AssetStatusType, deployment: AssetDeploymentType, typedData: TypedAssetData, pipelineJobId: String?, pipelineJobStatus: AssetPipelineJobStatus, sourceScanIds: List<String>, areas: List<AssetArea> = emptyList())
Parameters
| Name | Type | Summary |
|---|---|---|
| id | String | - |
| assetTimestamp | Long | - |
| siteId | String | - |
| name | String | - |
| description | String? | - |
| assetType | AssetType | - |
| assetStatus | AssetStatusType | - |
| deployment | AssetDeploymentType | - |
| typedData | TypedAssetData | - |
| pipelineJobId | String? | - |
| pipelineJobStatus | AssetPipelineJobStatus | - |
| sourceScanIds | List<String> | - |
| areas | List<AssetArea> | - |
Properties
| Name | Type | Summary |
|---|---|---|
| areas | List<AssetArea> | Every area of this asset. An asset mapped in a single pass has exactly one; empty while its job has produced no output yet. |
| assetStatus | AssetStatusType | DEPRECATED - always [AssetStatusType.UNSPECIFIED]. |
| assetTimestamp | Long | - |
| assetType | AssetType | Asset type - determines which fields of [AssetArea] are meaningful. |
| deployment | AssetDeploymentType | Asset deployment type. |
| description | String? | Asset description, or null if empty. |
| id | String | Asset identifier. |
| meshData | AssetMeshData? | DEPRECATED - read areas[0] instead. Null unless the asset type is mesh and [areas] isnon-empty. |
| name | String | Asset display name. |
| pipelineJobId | String? | DEPRECATED - always null. The portal has no source for it; retained so existing callers keep compiling. |
| pipelineJobStatus | AssetPipelineJobStatus | DEPRECATED - read [AssetArea.jobStatus] on each entry of [areas]. The portal leaves the asset-level status unset, since a job belongs to an area, so expect [AssetPipelineJobStatus.UNSPECIFIED]. |
| siteId | String | Site identifier that owns this asset. |
| sourceScanIds | List<String> | DEPRECATED - always empty. The portal has no source for it; retained so existing callers keep compiling. |
| splatData | AssetSplatData? | DEPRECATED - read areas[0] instead. Null unless the asset type is splat and [areas] isnon-empty. |
| typedData | TypedAssetData | DEPRECATED - read areas[0] instead. Every field here is a copy of one on that area, so this describes the first area only and is partial for an asset with multiple areas. |
| vpsData | AssetVpsData? | DEPRECATED - read areas[0] instead. Null unless the asset type is vps and [areas] isnon-empty. |