Class: OpenActive::Models::Schema::MusicComposition

Inherits:
CreativeWork show all
Defined in:
lib/openactive/models/schema/music_composition.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

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



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

def composer
  @composer
end

#first_performanceOpenActive::Models::Schema::Event



38
39
40
# File 'lib/openactive/models/schema/music_composition.rb', line 38

def first_performance
  @first_performance
end

#included_compositionOpenActive::Models::Schema::MusicComposition



53
54
55
# File 'lib/openactive/models/schema/music_composition.rb', line 53

def included_composition
  @included_composition
end

#iswc_codeString

Returns:

  • (String)


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

def iswc_code
  @iswc_code
end

#lyricistOpenActive::Models::Schema::Person



48
49
50
# File 'lib/openactive/models/schema/music_composition.rb', line 48

def lyricist
  @lyricist
end

#lyricsOpenActive::Models::Schema::CreativeWork



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

def lyrics
  @lyrics
end

#music_arrangementOpenActive::Models::Schema::MusicComposition



33
34
35
# File 'lib/openactive/models/schema/music_composition.rb', line 33

def music_arrangement
  @music_arrangement
end

#music_composition_formString

Returns:

  • (String)


58
59
60
# File 'lib/openactive/models/schema/music_composition.rb', line 58

def music_composition_form
  @music_composition_form
end

#musical_keyString

Returns:

  • (String)


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

def musical_key
  @musical_key
end

#recorded_asOpenActive::Models::Schema::MusicRecording



43
44
45
# File 'lib/openactive/models/schema/music_composition.rb', line 43

def recorded_as
  @recorded_as
end

#typeString

Returns:

  • (String)


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

def type
  "schema:MusicComposition"
end