class Google::Apis::FitnessV1::ListSessionsResponse

Attributes

deleted_session[RW]

If includeDeleted is set to true in the request, and startTime and endTime are omitted, this will include sessions which were deleted since the last sync. Corresponds to the JSON property `deletedSession` @return [Array<Google::Apis::FitnessV1::Session>]

has_more_data[RW]

Flag to indicate server has more data to transfer. DO NOT USE THIS FIELD. It is never populated in responses from the server. Corresponds to the JSON property `hasMoreData` @return [Boolean]

has_more_data?[RW]

Flag to indicate server has more data to transfer. DO NOT USE THIS FIELD. It is never populated in responses from the server. Corresponds to the JSON property `hasMoreData` @return [Boolean]

next_page_token[RW]

The sync token which is used to sync further changes. This will only be provided if both startTime and endTime are omitted from the request. 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 lib/google/apis/fitness_v1/classes.rb, line 805
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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