AssetInfo
Information about an asset, and the areas it is split into.
Declaration
public readonly struct AssetInfo : ValueTypeConstructors
Constructor
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)
Parameters
| Name | Type | Summary |
|---|---|---|
| id | string | - |
| assetTimestamp | long | - |
| siteId | string | - |
| name | string | - |
| description | string | - |
| assetType | AssetType | - |
| assetStatus | AssetStatusType | - |
| deployment | AssetDeploymentType | - |
| meshData | Nullable<AssetMeshData> | - |
| splatData | Nullable<AssetSplatData> | - |
| vpsData | Nullable<AssetVpsData> | - |
| pipelineJobId | string | - |
| pipelineJobStatus | AssetPipelineJobStatus | - |
| sourceScanIds | IReadOnlyList<string> | - |
Overload
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, IReadOnlyList<AssetArea> areas)
Parameters
| Name | Type | Summary |
|---|---|---|
| id | string | - |
| assetTimestamp | long | - |
| siteId | string | - |
| name | string | - |
| description | string | - |
| assetType | AssetType | - |
| assetStatus | AssetStatusType | - |
| deployment | AssetDeploymentType | - |
| meshData | Nullable<AssetMeshData> | - |
| splatData | Nullable<AssetSplatData> | - |
| vpsData | Nullable<AssetVpsData> | - |
| pipelineJobId | string | - |
| pipelineJobStatus | AssetPipelineJobStatus | - |
| sourceScanIds | IReadOnlyList<string> | - |
| areas | IReadOnlyList<AssetArea> | - |
Properties
| Name | Type | Summary |
|---|---|---|
| readonly Areas | IReadOnlyList<AssetArea> | Every area of this asset. An asset mapped in a single pass has exactly one. Empty while the asset's job has produced no output yet. |
| readonly AssetStatus | AssetStatusType | DEPRECATED - always Unspecified. |
| readonly AssetTimestamp | long | The Unix timestamp (in seconds) from the asset key, or 0 if unset. |
| readonly AssetType | AssetType | The asset type - determines which fields of Areas are meaningful. |
| 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> | DEPRECATED - read Areas[0] instead. Only non-null when AssetType is Mesh and Areas is non-empty, and it describes that first area only. |
| readonly Name | string | The asset's display name. |
| readonly PipelineJobId | string | DEPRECATED - always null. The portal has no source for it; retained so existing callers keep compiling. |
| readonly PipelineJobStatus | AssetPipelineJobStatus | DEPRECATED - read JobStatus on each entry of Areas. The portal leaves the asset-level status unset, since a job belongs to an area, so expect Unspecified. |
| readonly SiteId | string | The site ID this asset belongs to. |
| readonly SourceScanIds | IReadOnlyList<string> | DEPRECATED - always empty. The portal has no source for it; retained so existing callers keep compiling. |
| readonly SplatData | Nullable<AssetSplatData> | DEPRECATED - read Areas[0] instead. Only non-null when AssetType is Splat and Areas is non-empty. |
| readonly VpsData | Nullable<AssetVpsData> | DEPRECATED - read Areas[0] instead. Only non-null when AssetType is VpsInfo and Areas is non-empty. |
Methods
| Name | Type | Summary |
|---|---|---|
| ToString | string | - |