Class: Google::Apis::GmailV1::ListThreadsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GmailV1::ListThreadsResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmail_v1/classes.rb,
 generated/google/apis/gmail_v1/representations.rb,
 generated/google/apis/gmail_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Page token to retrieve the next page of results in the list. 
- 
  
    
      #result_size_estimate  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Estimated total number of results. 
- 
  
    
      #threads  ⇒ Array<Google::Apis::GmailV1::Thread> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of threads. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListThreadsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListThreadsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListThreadsResponse
Returns a new instance of ListThreadsResponse
| 818 819 820 | # File 'generated/google/apis/gmail_v1/classes.rb', line 818 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#next_page_token ⇒ String
Page token to retrieve the next page of results in the list.
Corresponds to the JSON property nextPageToken
| 806 807 808 | # File 'generated/google/apis/gmail_v1/classes.rb', line 806 def next_page_token @next_page_token end | 
#result_size_estimate ⇒ Fixnum
Estimated total number of results.
Corresponds to the JSON property resultSizeEstimate
| 811 812 813 | # File 'generated/google/apis/gmail_v1/classes.rb', line 811 def result_size_estimate @result_size_estimate end | 
#threads ⇒ Array<Google::Apis::GmailV1::Thread>
List of threads.
Corresponds to the JSON property threads
| 816 817 818 | # File 'generated/google/apis/gmail_v1/classes.rb', line 816 def threads @threads end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 823 824 825 826 827 | # File 'generated/google/apis/gmail_v1/classes.rb', line 823 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @result_size_estimate = args[:result_size_estimate] if args.key?(:result_size_estimate) @threads = args[:threads] if args.key?(:threads) end |