Class: Google::Apis::YoutubePartnerV1::ShowDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ShowDetails

Returns a new instance of ShowDetails



3519
3520
3521
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3519

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#episode_numberString

The episode number associated with the episode. Corresponds to the JSON property episodeNumber

Returns:

  • (String)


3502
3503
3504
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3502

def episode_number
  @episode_number
end

#episode_titleString

The episode's title. Corresponds to the JSON property episodeTitle

Returns:

  • (String)


3507
3508
3509
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3507

def episode_title
  @episode_title
end

#season_numberString

The season number associated with the episode. Corresponds to the JSON property seasonNumber

Returns:

  • (String)


3512
3513
3514
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3512

def season_number
  @season_number
end

#titleString

The show's title Corresponds to the JSON property title

Returns:

  • (String)


3517
3518
3519
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3517

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3524
3525
3526
3527
3528
3529
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3524

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