Class: Google::Apis::DisplayvideoV2::ListPartnersResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPartnersResponse

Returns a new instance of ListPartnersResponse.



8496
8497
8498
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8496

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

Instance Attribute Details

#next_page_tokenString

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListPartners method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


8489
8490
8491
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8489

def next_page_token
  @next_page_token
end

#partnersArray<Google::Apis::DisplayvideoV2::Partner>

The list of partners. This list will be absent if empty. Corresponds to the JSON property partners



8494
8495
8496
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8494

def partners
  @partners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8501
8502
8503
8504
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8501

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