Class: Google::Apis::PlaymoviespartnerV1::ListAvailsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#availsArray<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_tokenString

See List methods rules for info about this field. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


319
320
321
# File 'generated/google/apis/playmoviespartner_v1/classes.rb', line 319

def next_page_token
  @next_page_token
end

#total_sizeFixnum

See List methods rules for more information about this field. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


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