DXLesson

Represents an instance of a DX lesson.

public struct DXLesson: Codable {
  
  public let lessonId: String
  public let courseId: String
  public let name: String
  public let description: String
  public let profilePic: String
  public var coverPhoto: String?
  public let media: String
  public let childLessons: [DXLesson]
  public var expectedCompletionTime: Int?
  public let instructorGraded: Bool
  public let `public`: Bool
  public let locked: Bool
}

Last updated