Class: Google::Apis::AnalyticshubV1::ListListingsResponse

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

Overview

Message for response to the list of Listings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListListingsResponse

Returns a new instance of ListListingsResponse.



522
523
524
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 522

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

Instance Attribute Details

#listingsArray<Google::Apis::AnalyticshubV1::Listing>

The list of Listing. Corresponds to the JSON property listings



515
516
517
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 515

def listings
  @listings
end

#next_page_tokenString

A token to request the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


520
521
522
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 520

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



527
528
529
530
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 527

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