Class: Google::Apis::PartnersV2::ListLeadsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::ListLeadsResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
Response message for ListLeads.
Instance Attribute Summary collapse
- 
  
    
      #leads  ⇒ Array<Google::Apis::PartnersV2::Lead> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of leads. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A token to retrieve next page of results. 
- 
  
    
      #response_metadata  ⇒ Google::Apis::PartnersV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Common data that is in each API response. 
- 
  
    
      #total_size  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total count of leads for the given company. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListLeadsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListLeadsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListLeadsResponse
Returns a new instance of ListLeadsResponse
| 1276 1277 1278 | # File 'generated/google/apis/partners_v2/classes.rb', line 1276 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#leads ⇒ Array<Google::Apis::PartnersV2::Lead>
The list of leads.
Corresponds to the JSON property leads
| 1255 1256 1257 | # File 'generated/google/apis/partners_v2/classes.rb', line 1255 def leads @leads end | 
#next_page_token ⇒ String
A token to retrieve next page of results.
Pass this value in the ListLeadsRequest.page_token field in the
subsequent call to
ListLeads to retrieve the
next page of results.
Corresponds to the JSON property nextPageToken
| 1264 1265 1266 | # File 'generated/google/apis/partners_v2/classes.rb', line 1264 def next_page_token @next_page_token end | 
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
| 1269 1270 1271 | # File 'generated/google/apis/partners_v2/classes.rb', line 1269 def @response_metadata end | 
#total_size ⇒ Fixnum
The total count of leads for the given company.
Corresponds to the JSON property totalSize
| 1274 1275 1276 | # File 'generated/google/apis/partners_v2/classes.rb', line 1274 def total_size @total_size end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1281 1282 1283 1284 1285 1286 | # File 'generated/google/apis/partners_v2/classes.rb', line 1281 def update!(**args) @leads = args[:leads] if args.key?(:leads) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @total_size = args[:total_size] if args.key?(:total_size) end |