Class: OpenActive::Models::Schema::WebPage

Inherits:
CreativeWork show all
Defined in:
lib/openactive/models/schema/web_page.rb

Instance Attribute Summary collapse

Attributes inherited from CreativeWork

#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, #author, #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, #video, #work_example

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

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

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details



49
50
51
# File 'lib/openactive/models/schema/web_page.rb', line 49

def breadcrumb
  @breadcrumb
end

#last_reviewedDate?

Returns:

  • (Date, nil)


61
62
63
# File 'lib/openactive/models/schema/web_page.rb', line 61

def last_reviewed
  @last_reviewed
end

#main_content_of_pageOpenActive::Models::Schema::WebPageElement



34
35
36
# File 'lib/openactive/models/schema/web_page.rb', line 34

def main_content_of_page
  @main_content_of_page
end

#primary_image_of_pageOpenActive::Models::Schema::ImageObject



23
24
25
# File 'lib/openactive/models/schema/web_page.rb', line 23

def primary_image_of_page
  @primary_image_of_page
end

Returns:

  • (URI)


39
40
41
# File 'lib/openactive/models/schema/web_page.rb', line 39

def related_link
  @related_link
end

#reviewed_byOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



28
29
30
# File 'lib/openactive/models/schema/web_page.rb', line 28

def reviewed_by
  @reviewed_by
end

Returns:

  • (URI)


44
45
46
# File 'lib/openactive/models/schema/web_page.rb', line 44

def significant_link
  @significant_link
end

Returns:

  • (URI)


18
19
20
# File 'lib/openactive/models/schema/web_page.rb', line 18

def significant_links
  @significant_links
end

#speakableURI, OpenActive::Models::Schema::SpeakableSpecification



55
56
57
# File 'lib/openactive/models/schema/web_page.rb', line 55

def speakable
  @speakable
end

#specialtyOpenActive::Enums::Schema::Specialty?



12
13
14
# File 'lib/openactive/models/schema/web_page.rb', line 12

def specialty
  @specialty
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/web_page.rb', line 7

def type
  "schema:WebPage"
end