AssetModelPropertyDefinition
public struct AssetModelPropertyDefinition : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The data type of the property definition.
Declaration
Swift
public let dataType: PropertyDataType
-
The name of the property definition.
Declaration
Swift
public let name: String
-
The property definition type (see PropertyType). You can only specify one type in a property definition.
Declaration
Swift
public let type: PropertyType
-
The unit of the property definition, such as Newtons or RPM.
Declaration
Swift
public let unit: String?
-
Undocumented
Declaration
Swift
public init(dataType: PropertyDataType, name: String, type: PropertyType, unit: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws