AssetInfo
Represents an asset, and the areas it is split into, from the Sites Manager service.
Declaration
struct AssetInfoConstructors
init?(fromC cValue: ARDK_SitesManager_AssetInfo)
Parameters
| Name | Type | Summary |
|---|---|---|
| cValue | ARDK_SitesManager_AssetInfo | - |
Properties
| Name | Type | Summary |
|---|---|---|
| let areas | [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. |
| let assetStatus | AssetStatusType | DEPRECATED - always .unspecified. |
| let assetTimestamp | Int64 | Asset key timestamp in Unix seconds (0 if unset). |
| let assetType | AssetType | Asset type - determines which fields of AssetArea are meaningful. |
| var debugDescription | String | A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)initializer. This initializer works with any type, and uses the custom debugDescription property for types that conform toCustomDebugStringConvertible:struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of p to a string in the assignment to s uses thePoint type's debugDescription property. |
| let deployment | AssetDeploymentType | Asset deployment type. |
| let description | String? | Asset description (nil if empty). |
| let id | String | Asset identifier. |
| var meshData | AssetMeshData | DEPRECATED - read areas[0] instead. Nil unless the asset type is mesh and areas isnon-empty. |
| let name | String | Asset display name. |
| let pipelineJobId | String? | DEPRECATED - always nil. The portal has no source for it; retained so existing callers keep compiling. |
| let pipelineJobStatus | AssetPipelineJobStatus | DEPRECATED - read AssetArea/jobStatus on each entry of areas. The portal leavesthe asset-level status unset, since a job belongs to an area, so expect .unspecified. |
| let siteId | String | Site identifier that owns this asset. |
| let sourceScanIds | [String] | DEPRECATED - always empty. The portal has no source for it; retained so existing callers keep compiling. |
| var splatData | AssetSplatData | DEPRECATED - read areas[0] instead. Nil unless the asset type is splat and areas isnon-empty. |
| let 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. |
| var vpsData | AssetVpsData | DEPRECATED - read areas[0] instead. Nil unless the asset type is vps and areas isnon-empty. |
Relationships
conforms to: Swift.CustomDebugStringConvertible
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype