Field
public class Field : Hashable
The Field enum defines the characteristics of a device.
-
The constant values of this enum.
See moreDeclaration
Swift
public enum Values : String -
Get the
Fieldinstance associated with the specified alias. The String must match exactly, including case.Seealso
FieldDeclaration
Swift
public static func fromAlias(alias: String) -> FieldParameters
aliasThe alias to look for
Return Value
The Field instance matching the specified alias
-
Get a new value set initialized with all possible
Fieldvalues.Declaration
Swift
public static func all() -> [Field.Values]Return Value
A new
Field.Valuesof all possibleFieldvalues. -
Get the alias of this
Field. The alias is the name the server uses for the field.Seealso
FieldDeclaration
Swift
public func alias() -> StringReturn Value
The alias of this
Field.
Field Class Reference