Class: Google::Apis::FitnessV1::ListSessionsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FitnessV1::ListSessionsResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fitness_v1/classes.rb,
 generated/google/apis/fitness_v1/representations.rb,
 generated/google/apis/fitness_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #deleted_session  ⇒ Array<Google::Apis::FitnessV1::Session> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If includeDeleted is set to true in the request, this list will contain sessions deleted with original end times that are within the startTime and endTime frame. 
- 
  
    
      #has_more_data  ⇒ Boolean 
    
    
      (also: #has_more_data?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Flag to indicate server has more data to transfer Corresponds to the JSON property hasMoreData.
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The continuation token, which is used to page through large result sets. 
- 
  
    
      #session  ⇒ Array<Google::Apis::FitnessV1::Session> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Sessions with an end time that is between startTime and endTime of the request. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListSessionsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListSessionsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListSessionsResponse
Returns a new instance of ListSessionsResponse
| 805 806 807 | # File 'generated/google/apis/fitness_v1/classes.rb', line 805 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#deleted_session ⇒ Array<Google::Apis::FitnessV1::Session>
If includeDeleted is set to true in the request, this list will contain
sessions deleted with original end times that are within the startTime and
endTime frame.
Corresponds to the JSON property deletedSession
| 786 787 788 | # File 'generated/google/apis/fitness_v1/classes.rb', line 786 def deleted_session @deleted_session end | 
#has_more_data ⇒ Boolean Also known as: has_more_data?
Flag to indicate server has more data to transfer
Corresponds to the JSON property hasMoreData
| 791 792 793 | # File 'generated/google/apis/fitness_v1/classes.rb', line 791 def has_more_data @has_more_data end | 
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
Provide this value in a subsequent request to return the next page of results.
Corresponds to the JSON property nextPageToken
| 798 799 800 | # File 'generated/google/apis/fitness_v1/classes.rb', line 798 def next_page_token @next_page_token end | 
#session ⇒ Array<Google::Apis::FitnessV1::Session>
Sessions with an end time that is between startTime and endTime of the request.
Corresponds to the JSON property session
| 803 804 805 | # File 'generated/google/apis/fitness_v1/classes.rb', line 803 def session @session end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 810 811 812 813 814 815 | # File 'generated/google/apis/fitness_v1/classes.rb', line 810 def update!(**args) @deleted_session = args[:deleted_session] if args.key?(:deleted_session) @has_more_data = args[:has_more_data] if args.key?(:has_more_data) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @session = args[:session] if args.key?(:session) end |