Class: Google::Apis::DisplayvideoV1::ListPartnersResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPartnersResponse

Returns a new instance of ListPartnersResponse.



6119
6120
6121
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6119

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)


6112
6113
6114
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6112

def next_page_token
  @next_page_token
end

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

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



6117
6118
6119
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6117

def partners
  @partners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6124
6125
6126
6127
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6124

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