Class: Google::Apis::YoutubeV3::TestItem

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) ⇒ TestItem

Returns a new instance of TestItem.



7014
7015
7016
# File 'lib/google/apis/youtube_v3/classes.rb', line 7014

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

Instance Attribute Details

Corresponds to the JSON property featuredPart

Returns:

  • (Boolean)


6996
6997
6998
# File 'lib/google/apis/youtube_v3/classes.rb', line 6996

def featured_part
  @featured_part
end

#gaiaFixnum

Corresponds to the JSON property gaia

Returns:

  • (Fixnum)


7002
7003
7004
# File 'lib/google/apis/youtube_v3/classes.rb', line 7002

def gaia
  @gaia
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


7007
7008
7009
# File 'lib/google/apis/youtube_v3/classes.rb', line 7007

def id
  @id
end

#snippetGoogle::Apis::YoutubeV3::TestItemTestItemSnippet

Corresponds to the JSON property snippet



7012
7013
7014
# File 'lib/google/apis/youtube_v3/classes.rb', line 7012

def snippet
  @snippet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7019
7020
7021
7022
7023
7024
# File 'lib/google/apis/youtube_v3/classes.rb', line 7019

def update!(**args)
  @featured_part = args[:featured_part] if args.key?(:featured_part)
  @gaia = args[:gaia] if args.key?(:gaia)
  @id = args[:id] if args.key?(:id)
  @snippet = args[:snippet] if args.key?(:snippet)
end