Class: Google::Apis::YoutubePartnerV1::ReferenceListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReferenceListResponse

Returns a new instance of ReferenceListResponse.



3598
3599
3600
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3598

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

Instance Attribute Details

#itemsArray<Google::Apis::YoutubePartnerV1::Reference>

A list of references that match the request criteria. Corresponds to the JSON property items



3579
3580
3581
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3579

def items
  @items
end

#kindString

The type of the API response. For this operation, the value is youtubePartner# referenceList. Corresponds to the JSON property kind

Returns:

  • (String)


3585
3586
3587
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3585

def kind
  @kind
end

#next_page_tokenString

The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3591
3592
3593
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3591

def next_page_token
  @next_page_token
end

#page_infoGoogle::Apis::YoutubePartnerV1::PageInfo

The pageInfo object encapsulates paging information for the result set. Corresponds to the JSON property pageInfo



3596
3597
3598
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3596

def page_info
  @page_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3603
3604
3605
3606
3607
3608
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3603

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