Invite

public class Invite : BoxModel

Defines invitation for a user to join enterprise

BoxModel

  • Box item type

    Declaration

    Swift

    public var type: String
  • Declaration

    Swift

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

Properties

  • id

    Identifier

    Declaration

    Swift

    public let id: String
  • Enterprise object user is invited to.

    Declaration

    Swift

    public let invitedTo: Enterprise?
  • The user who was invited to the enterprise

    Declaration

    Swift

    public let actionableBy: User?
  • User who created the invitation.

    Declaration

    Swift

    public let invitedBy: User?
  • Invitation status

    Declaration

    Swift

    public let status: String?
  • When invitation was created.

    Declaration

    Swift

    public let createdAt: Date?
  • When invitation was updated.

    Declaration

    Swift

    public let modifiedAt: Date?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

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

    Parameters

    json

    JSON dictionary.