Class: OpenActive::Models::Schema::VideoGame

Inherits:
Game show all
Defined in:
lib/openactive/models/schema/video_game.rb

Instance Attribute Summary collapse

Attributes inherited from Game

#character_attribute, #game_item, #game_location, #number_of_players, #quest

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

#actorOpenActive::Models::Schema::Person



66
67
68
# File 'lib/openactive/models/schema/video_game.rb', line 66

def actor
  @actor
end

#actorsOpenActive::Models::Schema::Person



17
18
19
# File 'lib/openactive/models/schema/video_game.rb', line 17

def actors
  @actors
end

#cheat_codeOpenActive::Models::Schema::CreativeWork



56
57
58
# File 'lib/openactive/models/schema/video_game.rb', line 56

def cheat_code
  @cheat_code
end

#directorOpenActive::Models::Schema::Person



29
30
31
# File 'lib/openactive/models/schema/video_game.rb', line 29

def director
  @director
end

#directorsOpenActive::Models::Schema::Person



40
41
42
# File 'lib/openactive/models/schema/video_game.rb', line 40

def directors
  @directors
end

#game_platformURI, ...

Returns:



22
23
24
# File 'lib/openactive/models/schema/video_game.rb', line 22

def game_platform
  @game_platform
end

#game_serverOpenActive::Models::Schema::GameServer



51
52
53
# File 'lib/openactive/models/schema/video_game.rb', line 51

def game_server
  @game_server
end

#game_tipOpenActive::Models::Schema::CreativeWork



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

def game_tip
  @game_tip
end

#music_byOpenActive::Models::Schema::MusicGroup, OpenActive::Models::Schema::Person



45
46
47
# File 'lib/openactive/models/schema/video_game.rb', line 45

def music_by
  @music_by
end

#play_modeOpenActive::Enums::Schema::GamePlayMode?



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

def play_mode
  @play_mode
end

#trailerOpenActive::Models::Schema::VideoObject



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

def trailer
  @trailer
end

#typeString

Returns:

  • (String)


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

def type
  "schema:VideoGame"
end