TermsOfServiceUserStatus

public class TermsOfServiceUserStatus : BoxModel

Represents a Terms of Service status for a given user.

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 user status object for the Terms of Service.

    Declaration

    Swift

    public let id: String
  • tos

    The Terms of Service this status is associated with.

    Declaration

    Swift

    public let tos: TermsOfService?
  • The user that is associated with the current status of the Terms of Service.

    Declaration

    Swift

    public let user: User?
  • Indicator as to whether or not the user has accepted the Terms of Service.

    Declaration

    Swift

    public let isAccepted: Bool?
  • The date the user status for the ToS was created.

    Declaration

    Swift

    public let createdAt: Date?
  • The date the user status for the ToS 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.