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.



7415
7416
7417
# File 'lib/google/apis/youtube_v3/classes.rb', line 7415

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


7402
7403
7404
# File 'lib/google/apis/youtube_v3/classes.rb', line 7402

def etag
  @etag
end

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

Corresponds to the JSON property items



7407
7408
7409
# File 'lib/google/apis/youtube_v3/classes.rb', line 7407

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)


7413
7414
7415
# File 'lib/google/apis/youtube_v3/classes.rb', line 7413

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7420
7421
7422
7423
7424
# File 'lib/google/apis/youtube_v3/classes.rb', line 7420

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