Profile

public class Profile : Mappable

PATRON Profile model

  • Program name

    Declaration

    Swift

    public var program_name: String?
  • Media ID

    Declaration

    Swift

    public var media_id: String?
  • Program start date

    Declaration

    Swift

    public var program_started_at: String?
  • Approved date

    Declaration

    Swift

    public var program_approved_at: String?
  • Created date

    Declaration

    Swift

    public var program_created_at: String?
  • Expiry date

    Declaration

    Swift

    public var program_expired_at: String?
  • JSON Mapper

    Declaration

    Swift

    required public init(map: Mapper) throws
  • Convert expired date to Date object

    Declaration

    Swift

    public func programExpiredDate() -> Date?
  • Convert start date to Date object

    Declaration

    Swift

    public func programStartDate() -> Date?