Class: Google::Apis::YoutubePartnerV1::WhitelistListResponse

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WhitelistListResponse

Returns a new instance of WhitelistListResponse



4259
4260
4261
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4259

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

Instance Attribute Details

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

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



4240
4241
4242
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4240

def items
  @items
end

#kindString

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

Returns:

  • (String)


4246
4247
4248
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4246

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 of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4252
4253
4254
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4252

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



4257
4258
4259
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4257

def page_info
  @page_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4264
4265
4266
4267
4268
4269
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4264

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