DKInvite

public final class DKInvite : NSObject, DKResponseObjectSerializable, DKResponseListSerializable

Undocumented

  • id

    The unique identifier of the invite

    Declaration

    Swift

    public var id: NSNumber
  • Undocumented

    Declaration

    Swift

    public var name: String
  • Not to be confused with the NSObject description, this is the Dropmark-defined description of an invite

    Declaration

    Swift

    public var descriptionText: String?
  • url

    Undocumented

    Declaration

    Swift

    public var url: String
  • Undocumented

    Declaration

    Swift

    public var shortURL: String
  • The date the invite was created

    Declaration

    Swift

    public var createdAt: Date
  • The date the the invite was last updated

    Declaration

    Swift

    public var updatedAt: Date?
  • User-defined thumbnail image URL, if available

    Declaration

    Swift

    public var thumbnail: String?
  • A suite of thumbnails generated by Dropmark

    Declaration

    Swift

    public var thumbnails: DKThumbnails?
  • The creator of the invite

    Declaration

    Swift

    public var user: DKUser?

DKResponseObjectSerializable

  • Serializes a new instance from the provided network response and key-value representation. The representation is validated for the required parameters, then fills in optional parameters as necessary.

    Declaration

    Swift

    public required init?(response: HTTPURLResponse, representation: Any)

    Parameters

    response

    A network response assocated with serialization

    representation

    A key-value object representing parameters and child objects.