Class: Google::Apis::YoutubeV3::ThirdPartyLinkListResponse

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

Returns a new instance of ThirdPartyLinkListResponse.



7607
7608
7609
# File 'lib/google/apis/youtube_v3/classes.rb', line 7607

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


7594
7595
7596
# File 'lib/google/apis/youtube_v3/classes.rb', line 7594

def etag
  @etag
end

#itemsArray<Google::Apis::YoutubeV3::ThirdPartyLink>

Corresponds to the JSON property items



7599
7600
7601
# File 'lib/google/apis/youtube_v3/classes.rb', line 7599

def items
  @items
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "youtube# thirdPartyLinkListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


7605
7606
7607
# File 'lib/google/apis/youtube_v3/classes.rb', line 7605

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7612
7613
7614
7615
7616
# File 'lib/google/apis/youtube_v3/classes.rb', line 7612

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