Class: Google::Apis::YoutubePartnerV1::ShowDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ShowDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#episode_number ⇒ String
The episode number associated with the episode.
-
#episode_title ⇒ String
The episode's title.
-
#season_number ⇒ String
The season number associated with the episode.
-
#title ⇒ String
The show's title Corresponds to the JSON property
title
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShowDetails
constructor
A new instance of ShowDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShowDetails
Returns a new instance of ShowDetails.
3328 3329 3330 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#episode_number ⇒ String
The episode number associated with the episode.
Corresponds to the JSON property episodeNumber
3311 3312 3313 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3311 def episode_number @episode_number end |
#episode_title ⇒ String
The episode's title.
Corresponds to the JSON property episodeTitle
3316 3317 3318 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3316 def episode_title @episode_title end |
#season_number ⇒ String
The season number associated with the episode.
Corresponds to the JSON property seasonNumber
3321 3322 3323 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3321 def season_number @season_number end |
#title ⇒ String
The show's title
Corresponds to the JSON property title
3326 3327 3328 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3326 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3333 3334 3335 3336 3337 3338 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3333 def update!(**args) @episode_number = args[:episode_number] if args.key?(:episode_number) @episode_title = args[:episode_title] if args.key?(:episode_title) @season_number = args[:season_number] if args.key?(:season_number) @title = args[:title] if args.key?(:title) end |