class Google::Apis::FitnessV1::ListSessionsResponse

Attributes

deleted_session[RW]

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` @return [Array<Google::Apis::FitnessV1::Session>]

next_page_token[RW]

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` @return [String]

session[RW]

Sessions with an end time that is between startTime and endTime of the request. Corresponds to the JSON property `session` @return [Array<Google::Apis::FitnessV1::Session>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fitness_v1/classes.rb, line 709
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fitness_v1/classes.rb, line 714
def update!(**args)
  @deleted_session = args[:deleted_session] if args.key?(:deleted_session)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @session = args[:session] if args.key?(:session)
end