struct HoPSScraper::TimetableEntry
- HoPSScraper::TimetableEntry
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
hops_scraper.crConstructors
- .new(lecture_id : String, day_of_week : Time::DayOfWeek, room_id : String, type : TimetableEntryType, hour_start : Int32, hour_end : Int32, minute_start : Int32, minute_end : Int32, degree_course_ids : Array(String), semester : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(lecture_id _lecture_id = @lecture_id, day_of_week _day_of_week = @day_of_week, room_id _room_id = @room_id, type _type = @type, hour_start _hour_start = @hour_start, hour_end _hour_end = @hour_end, minute_start _minute_start = @minute_start, minute_end _minute_end = @minute_end, degree_course_ids _degree_course_ids = @degree_course_ids, semester _semester = @semester)
- #day_of_week : Time::DayOfWeek
- #degree_course_ids : Array(String)
- #hour_end : Int32
- #hour_start : Int32
- #lecture_id : String
- #minute_end : Int32
- #minute_start : Int32
- #room_id : String
- #semester : Int32
- #type : TimetableEntryType
Constructor Detail
def self.new(lecture_id : String, day_of_week : Time::DayOfWeek, room_id : String, type : TimetableEntryType, hour_start : Int32, hour_end : Int32, minute_start : Int32, minute_end : Int32, degree_course_ids : Array(String), semester : Int32)
#
Instance Method Detail
def copy_with(lecture_id _lecture_id = @lecture_id, day_of_week _day_of_week = @day_of_week, room_id _room_id = @room_id, type _type = @type, hour_start _hour_start = @hour_start, hour_end _hour_end = @hour_end, minute_start _minute_start = @minute_start, minute_end _minute_end = @minute_end, degree_course_ids _degree_course_ids = @degree_course_ids, semester _semester = @semester)
#