Class: Google::Apis::GmailV1::ListDraftsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GmailV1::ListDraftsResponse
 
- 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
- 
  
    
      #drafts  ⇒ Array<Google::Apis::GmailV1::Draft> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of drafts. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token to retrieve the next page of results in the list. 
- 
  
    
      #result_size_estimate  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Estimated total number of results. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListDraftsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListDraftsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListDraftsResponse
Returns a new instance of ListDraftsResponse
| 629 630 631 | # File 'generated/google/apis/gmail_v1/classes.rb', line 629 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#drafts ⇒ Array<Google::Apis::GmailV1::Draft>
List of drafts.
Corresponds to the JSON property drafts
| 617 618 619 | # File 'generated/google/apis/gmail_v1/classes.rb', line 617 def drafts @drafts end | 
#next_page_token ⇒ String
Token to retrieve the next page of results in the list.
Corresponds to the JSON property nextPageToken
| 622 623 624 | # File 'generated/google/apis/gmail_v1/classes.rb', line 622 def next_page_token @next_page_token end | 
#result_size_estimate ⇒ Fixnum
Estimated total number of results.
Corresponds to the JSON property resultSizeEstimate
| 627 628 629 | # File 'generated/google/apis/gmail_v1/classes.rb', line 627 def result_size_estimate @result_size_estimate end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 634 635 636 637 638 | # File 'generated/google/apis/gmail_v1/classes.rb', line 634 def update!(**args) @drafts = args[:drafts] if args.key?(:drafts) @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) end |