Class: OpenActive::Models::Course
Overview
This type is derived from [Course](schema.org/Course), which means that any of this type’s properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
Instance Attribute Summary collapse
#course_code, #course_prerequisites, #educational_credential_awarded, #has_course_instance, #occupational_credential_awarded
#about, #abstract, #access_mode, #access_mode_sufficient, #accessibility_api, #accessibility_control, #accessibility_feature, #accessibility_hazard, #accessibility_summary, #accountable_person, #aggregate_rating, #alternative_headline, #associated_media, #audience, #audio, #award, #awards, #character, #citation, #comment, #comment_count, #conditions_of_access, #content_location, #content_rating, #content_reference_time, #contributor, #copyright_holder, #copyright_year, #correction, #creative_work_status, #creator, #date_created, #date_modified, #date_published, #discussion_url, #editor, #educational_alignment, #educational_use, #encoding, #encoding_format, #encodings, #example_of_work, #expires, #file_format, #funder, #genre, #has_part, #headline, #in_language, #interaction_statistic, #interactivity_type, #is_accessible_for_free, #is_based_on, #is_based_on_url, #is_family_friendly, #is_part_of, #keywords, #learning_resource_type, #license, #location_created, #main_entity, #material, #material_extent, #mentions, #offers, #position, #producer, #provider, #publication, #publisher, #publishing_principles, #recorded_at, #released_event, #review, #reviews, #schema_version, #sd_date_published, #sd_license, #sd_publisher, #source_organization, #spatial, #spatial_coverage, #sponsor, #temporal, #temporal_coverage, #text, #thumbnail_url, #time_required, #translator, #typical_age_range, #version, #work_example
#additional_type, #alternate_name, #disambiguating_description, #image, #main_entity_of_page, #potential_action, #same_as, #subject_of
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
31
32
33
|
# File 'lib/openactive/models/course.rb', line 31
def activity
@activity
end
|
36
37
38
|
# File 'lib/openactive/models/course.rb', line 36
def author
@author
end
|
#description ⇒ String
26
27
28
|
# File 'lib/openactive/models/course.rb', line 26
def description
@description
end
|
#identifier ⇒ int, ...
12
13
14
|
# File 'lib/openactive/models/course.rb', line 12
def identifier
@identifier
end
|
52
53
54
|
# File 'lib/openactive/models/course.rb', line 52
def logo
@logo
end
|
#name ⇒ String
21
22
23
|
# File 'lib/openactive/models/course.rb', line 21
def name
@name
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/course.rb', line 7
def type
"Course"
end
|
#url ⇒ URI
42
43
44
|
# File 'lib/openactive/models/course.rb', line 42
def url
@url
end
|
47
48
49
|
# File 'lib/openactive/models/course.rb', line 47
def video
@video
end
|