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.



7533
7534
7535
# File 'lib/google/apis/youtube_v3/classes.rb', line 7533

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


7520
7521
7522
# File 'lib/google/apis/youtube_v3/classes.rb', line 7520

def etag
  @etag
end

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

Corresponds to the JSON property items



7525
7526
7527
# File 'lib/google/apis/youtube_v3/classes.rb', line 7525

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)


7531
7532
7533
# File 'lib/google/apis/youtube_v3/classes.rb', line 7531

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7538
7539
7540
7541
7542
# File 'lib/google/apis/youtube_v3/classes.rb', line 7538

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