Class: Google::Apis::YoutubePartnerV1::ClaimListResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ClaimListResponse
- 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::Claim>
A list of claims 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) ⇒ ClaimListResponse
constructor
A new instance of ClaimListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimListResponse
Returns a new instance of ClaimListResponse.
1138 1139 1140 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::YoutubePartnerV1::Claim>
A list of claims that match the request criteria.
Corresponds to the JSON property items
1113 1114 1115 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1113 def items @items end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
claimList.
Corresponds to the JSON property kind
1119 1120 1121 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1119 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
1125 1126 1127 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1125 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
1130 1131 1132 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1130 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
1136 1137 1138 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1136 def previous_page_token @previous_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1143 1144 1145 1146 1147 1148 1149 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1143 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 |