Skip to main content
API Reference SwiftyNsdk

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.
let deploymentAssetDeploymentType
Asset deployment type.
var descriptionString
A textual representation of this instance.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the String(describing:)
initializer. This initializer works with any type, and uses the custom
description property for types that conform to
CustomStringConvertible:
struct Point: CustomStringConvertible {
let x: Int, y: Int
var description: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(describing: p)
print(s)
// Prints "(21, 30)"
The conversion of p to a string in the assignment to s uses the
Point type's description property.
let description_String?
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.CustomStringConvertible
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype