Class: Google::Apis::AdmobV1beta::ListAdaptersResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb

Overview

Response for the ListAdaptersRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAdaptersResponse

Returns a new instance of ListAdaptersResponse.



885
886
887
# File 'lib/google/apis/admob_v1beta/classes.rb', line 885

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

Instance Attribute Details

#adaptersArray<Google::Apis::AdmobV1beta::Adapter>

The adapter. Corresponds to the JSON property adapters



877
878
879
# File 'lib/google/apis/admob_v1beta/classes.rb', line 877

def adapters
  @adapters
end

#next_page_tokenString

Used to set the page_token in the ListAdapterRequest to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


883
884
885
# File 'lib/google/apis/admob_v1beta/classes.rb', line 883

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



890
891
892
893
# File 'lib/google/apis/admob_v1beta/classes.rb', line 890

def update!(**args)
  @adapters = args[:adapters] if args.key?(:adapters)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end