Class: OpenActive::Models::Schema::TVSeries

Inherits:
CreativeWorkSeries show all
Defined in:
lib/openactive/models/schema/tvseries.rb

Instance Attribute Summary collapse

Attributes inherited from CreativeWorkSeries

#end_date, #issn, #start_date

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



80
81
82
# File 'lib/openactive/models/schema/tvseries.rb', line 80

def actor
  @actor
end

#actorsOpenActive::Models::Schema::Person



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

def actors
  @actors
end

#contains_seasonOpenActive::Models::Schema::CreativeWorkSeason



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

def contains_season
  @contains_season
end

#country_of_originOpenActive::Models::Schema::Country



85
86
87
# File 'lib/openactive/models/schema/tvseries.rb', line 85

def country_of_origin
  @country_of_origin
end

#directorOpenActive::Models::Schema::Person



59
60
61
# File 'lib/openactive/models/schema/tvseries.rb', line 59

def director
  @director
end

#directorsOpenActive::Models::Schema::Person



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

def directors
  @directors
end

#episodeOpenActive::Models::Schema::Episode



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

def episode
  @episode
end

#episodesOpenActive::Models::Schema::Episode



70
71
72
# File 'lib/openactive/models/schema/tvseries.rb', line 70

def episodes
  @episodes
end

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



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

def music_by
  @music_by
end

#number_of_episodesint?

Returns:

  • (int, nil)


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

def number_of_episodes
  @number_of_episodes
end

#number_of_seasonsint?

Returns:

  • (int, nil)


64
65
66
# File 'lib/openactive/models/schema/tvseries.rb', line 64

def number_of_seasons
  @number_of_seasons
end

#production_companyOpenActive::Models::Schema::Organization



54
55
56
# File 'lib/openactive/models/schema/tvseries.rb', line 54

def production_company
  @production_company
end

#seasonOpenActive::Models::Schema::CreativeWorkSeason



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

def season
  @season
end

#seasonsOpenActive::Models::Schema::CreativeWorkSeason



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

def seasons
  @seasons
end

#trailerOpenActive::Models::Schema::VideoObject



75
76
77
# File 'lib/openactive/models/schema/tvseries.rb', line 75

def trailer
  @trailer
end

#typeString

Returns:

  • (String)


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

def type
  "schema:TVSeries"
end