struct HoPSScraper::Lecture
- HoPSScraper::Lecture
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
hops_scraper.crConstructors
- .new(id : String, name : String, abbreviation : String, lecturer_ids : Array(String), unknown_lecturers : Array(String), semesters : Array(Int32), module_ids : Array(String), content_raw_html : String, literature_raw_html : String, prerequisites_raw_html : String, goals_raw_html : String, media_formats_raw_html : String, curriculum_occurences_raw_html : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #abbreviation : String
- #clone
- #content_raw_html : String
- #copy_with(id _id = @id, name _name = @name, abbreviation _abbreviation = @abbreviation, lecturer_ids _lecturer_ids = @lecturer_ids, unknown_lecturers _unknown_lecturers = @unknown_lecturers, semesters _semesters = @semesters, module_ids _module_ids = @module_ids, content_raw_html _content_raw_html = @content_raw_html, literature_raw_html _literature_raw_html = @literature_raw_html, prerequisites_raw_html _prerequisites_raw_html = @prerequisites_raw_html, goals_raw_html _goals_raw_html = @goals_raw_html, media_formats_raw_html _media_formats_raw_html = @media_formats_raw_html, curriculum_occurences_raw_html _curriculum_occurences_raw_html = @curriculum_occurences_raw_html)
- #curriculum_occurences_raw_html : String
- #goals_raw_html : String
- #id : String
- #lecturer_ids : Array(String)
- #literature_raw_html : String
- #media_formats_raw_html : String
- #module_ids : Array(String)
- #name : String
- #prerequisites_raw_html : String
- #semesters : Array(Int32)
- #unknown_lecturers : Array(String)
Constructor Detail
def self.new(id : String, name : String, abbreviation : String, lecturer_ids : Array(String), unknown_lecturers : Array(String), semesters : Array(Int32), module_ids : Array(String), content_raw_html : String, literature_raw_html : String, prerequisites_raw_html : String, goals_raw_html : String, media_formats_raw_html : String, curriculum_occurences_raw_html : String)
#
Instance Method Detail
def copy_with(id _id = @id, name _name = @name, abbreviation _abbreviation = @abbreviation, lecturer_ids _lecturer_ids = @lecturer_ids, unknown_lecturers _unknown_lecturers = @unknown_lecturers, semesters _semesters = @semesters, module_ids _module_ids = @module_ids, content_raw_html _content_raw_html = @content_raw_html, literature_raw_html _literature_raw_html = @literature_raw_html, prerequisites_raw_html _prerequisites_raw_html = @prerequisites_raw_html, goals_raw_html _goals_raw_html = @goals_raw_html, media_formats_raw_html _media_formats_raw_html = @media_formats_raw_html, curriculum_occurences_raw_html _curriculum_occurences_raw_html = @curriculum_occurences_raw_html)
#