DevicePin

public class DevicePin : BoxModel

Defines a device pin which allows the enterprise to control devices connecting to it.

BoxModel

  • Box item type

    Declaration

    Swift

    public var type: String
  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }

Properties

  • id

    The ID of the device pinner object.

    Declaration

    Swift

    public let id: String
  • The user that the device pin belongs to.

    Declaration

    Swift

    public let ownedBy: User?
  • The type of device being pinned.

    Declaration

    Swift

    public let productName: String?
  • The time the device pin was created.

    Declaration

    Swift

    public let createdAt: Date?
  • The time the device pin was modified.

    Declaration

    Swift

    public let modifiedAt: Date?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON dictionary.