Class: Google::Apis::YoutubeV3::LevelDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LevelDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Instance Attribute Summary collapse
-
#display_name ⇒ String
The name that should be used when referring to this level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LevelDetails
constructor
A new instance of LevelDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LevelDetails
Returns a new instance of LevelDetails.
3487 3488 3489 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The name that should be used when referring to this level.
Corresponds to the JSON property displayName
3485 3486 3487 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3485 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3492 3493 3494 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3492 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) end |