Class: Google::Apis::YoutubePartnerV1::OrderListResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::OrderListResponse
- 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
-
#items ⇒ Array<Google::Apis::YoutubePartnerV1::Order>
A list of orders that match the request criteria.
-
#kind ⇒ String
The type of the API response.
-
#next_page_token ⇒ String
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
-
#page_info ⇒ Google::Apis::YoutubePartnerV1::PageInfo
The pageInfo object encapsulates paging information for the result set.
-
#previous_page_token ⇒ String
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderListResponse
constructor
A new instance of OrderListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrderListResponse
Returns a new instance of OrderListResponse.
2426 2427 2428 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::YoutubePartnerV1::Order>
A list of orders that match the request criteria.
Corresponds to the JSON property items
2401 2402 2403 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2401 def items @items end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
orderList.
Corresponds to the JSON property kind
2407 2408 2409 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2407 def kind @kind end |
#next_page_token ⇒ String
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
2413 2414 2415 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2413 def next_page_token @next_page_token end |
#page_info ⇒ Google::Apis::YoutubePartnerV1::PageInfo
The pageInfo object encapsulates paging information for the result set.
Corresponds to the JSON property pageInfo
2418 2419 2420 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2418 def page_info @page_info end |
#previous_page_token ⇒ String
The token that can be used as the value of the pageToken parameter to retrieve
the previous page in the result set.
Corresponds to the JSON property previousPageToken
2424 2425 2426 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2424 def previous_page_token @previous_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2431 2432 2433 2434 2435 2436 2437 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2431 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) @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token) end |