Class: Google::Apis::PlaymoviespartnerV1::ListAvailsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PlaymoviespartnerV1::ListAvailsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/playmoviespartner_v1/classes.rb,
generated/google/apis/playmoviespartner_v1/representations.rb,
generated/google/apis/playmoviespartner_v1/representations.rb
Overview
Response to the 'ListAvails' method.
Instance Attribute Summary collapse
-
#avails ⇒ Array<Google::Apis::PlaymoviespartnerV1::Avail>
List of Avails that match the request criteria.
-
#next_page_token ⇒ String
See List methods rules for info about this field.
-
#total_size ⇒ Fixnum
See List methods rules for more information about this field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAvailsResponse
constructor
A new instance of ListAvailsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAvailsResponse
Returns a new instance of ListAvailsResponse
326 327 328 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avails ⇒ Array<Google::Apis::PlaymoviespartnerV1::Avail>
List of Avails that match the request criteria.
Corresponds to the JSON property avails
314 315 316 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 314 def avails @avails end |
#next_page_token ⇒ String
See List methods rules for info about this field.
Corresponds to the JSON property nextPageToken
319 320 321 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 319 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
See List methods rules for more information about this field.
Corresponds to the JSON property totalSize
324 325 326 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 324 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
331 332 333 334 335 |
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 331 def update!(**args) @avails = args[:avails] if args.key?(:avails) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end |