AssetInfo
Declaration
public readonly struct AssetInfo : ValueTypeSummary
Information about an asset. Maps to proto messages AssetRecord, AssetData, and AssetComputedValues.
Constructors
public AssetInfo(string id, long assetTimestamp, string siteId, string name, string description, AssetType assetType, AssetStatusType assetStatus, AssetDeploymentType deployment, Nullable<AssetMeshData> meshData, Nullable<AssetSplatData> splatData, Nullable<AssetVpsData> vpsData, string pipelineJobId, AssetPipelineJobStatus pipelineJobStatus, IReadOnlyList<string> sourceScanIds)
Properties
| Name | Type | Summary |
|---|---|---|
| readonly AssetStatus | AssetStatusType | The asset status. |
| readonly AssetTimestamp | long | The Unix timestamp (in seconds) from the asset key, or 0 if unset. |
| readonly AssetType | AssetType | The asset type - determines which typed asset data is present. |
| readonly Deployment | AssetDeploymentType | The asset deployment type. |
| readonly Description | string | The asset's description, or null if not set. |
| readonly Id | string | The unique identifier for the asset. |
| readonly MeshData | Nullable<AssetMeshData> | Mesh-specific data. Only valid when AssetType is Mesh. |
| readonly Name | string | The asset's display name. |
| readonly PipelineJobId | string | The pipeline job ID associated with this asset, or null if not applicable. |
| readonly PipelineJobStatus | AssetPipelineJobStatus | The pipeline job status. |
| readonly SiteId | string | The site ID this asset belongs to. |
| readonly SourceScanIds | IReadOnlyList<string> | The source scan IDs used to create this asset. |
| readonly SplatData | Nullable<AssetSplatData> | Splat-specific data. Only valid when AssetType is Splat. |
| readonly VpsData | Nullable<AssetVpsData> | VPS-specific data. Only valid when AssetType is VpsInfo. |
Methods
| Name | Type | Summary |
|---|---|---|
| ToString | string | - |