Class: Google::Apis::YoutubeV3::LevelDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LevelDetails

Returns a new instance of LevelDetails.



3540
3541
3542
# File 'lib/google/apis/youtube_v3/classes.rb', line 3540

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

Instance Attribute Details

#display_nameString

The name that should be used when referring to this level. Corresponds to the JSON property displayName

Returns:

  • (String)


3538
3539
3540
# File 'lib/google/apis/youtube_v3/classes.rb', line 3538

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3545
3546
3547
# File 'lib/google/apis/youtube_v3/classes.rb', line 3545

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
end