Skip to main content
API Reference NSDK

AssetInfo

Represents asset information from the Sites Manager service....

Declaration

struct AssetInfo

Summary

Represents asset information from the Sites Manager service. Maps to proto messages AssetRecord, AssetData, and AssetComputedValues.


Constructors

init?(fromC cValue: ARDK_SitesManager_AssetInfo)

Properties

NameTypeSummary
let assetStatusAssetStatusType
Asset status.
let assetTypeAssetType
Asset type - determines which typed asset data is present.
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
Mesh data (nil if asset type is not mesh).
let nameString
Asset display name.
let pipelineJobIdString?
Pipeline job identifier (nil if not present).
let pipelineJobStatusAssetPipelineJobStatus
Pipeline job status.
let siteIdString
Site identifier that owns this asset.
let sourceScanIds [String]
Source scan IDs used to create this asset.
var splatDataAssetSplatData
Splat data (nil if asset type is not splat).
let typedDataTypedAssetData
Typed asset data based on asset type.
var vpsDataAssetVpsData
VPS data (nil if asset type is not vps).

Relationships

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