Skip to main content
←API Reference ←NSDK

AssetInfo

Represents an asset, and the areas it is split into, from the Sites Manager service.

Declaration​

struct AssetInfo

Constructors​

init?(fromC cValue: ARDK_SitesManager_AssetInfo)

Parameters​

NameTypeSummary
cValueARDK_SitesManager_AssetInfo
-

Properties​

NameTypeSummary
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 assetStatusAssetStatusType
DEPRECATED - always .unspecified.
let assetTimestampInt64
Asset key timestamp in Unix seconds (0 if unset).
let assetTypeAssetType
Asset type - determines which fields of AssetArea are meaningful.
var debugDescriptionString
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 to
CustomDebugStringConvertible:
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 the
Point type's debugDescription property.
let deploymentAssetDeploymentType
Asset deployment type.
let descriptionString?
Asset description (nil if empty).
let idString
Asset identifier.
var meshDataAssetMeshData
DEPRECATED - read areas[0] instead. Nil unless the asset type is mesh and areas is
non-empty.
let nameString
Asset display name.
let pipelineJobIdString?
DEPRECATED - always nil. The portal has no source for it; retained so existing
callers keep compiling.
let pipelineJobStatusAssetPipelineJobStatus
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 .unspecified.
let siteIdString
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 splatDataAssetSplatData
DEPRECATED - read areas[0] instead. Nil unless the asset type is splat and areas is
non-empty.
let typedDataTypedAssetData
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 vpsDataAssetVpsData
DEPRECATED - read areas[0] instead. Nil unless the asset type is vps and areas is
non-empty.

Relationships​

conforms to: Swift.CustomDebugStringConvertible
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype