Class: Google::Apis::HealthV4::ListPairedDevicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::HealthV4::ListPairedDevicesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/health_v4/classes.rb,
lib/google/apis/health_v4/representations.rb,
lib/google/apis/health_v4/representations.rb
Overview
Response message for ListPairedDevices.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#paired_devices ⇒ Array<Google::Apis::HealthV4::PairedDevice>
The paired devices of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPairedDevicesResponse
constructor
A new instance of ListPairedDevicesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPairedDevicesResponse
Returns a new instance of ListPairedDevicesResponse.
3262 3263 3264 |
# File 'lib/google/apis/health_v4/classes.rb', line 3262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
3255 3256 3257 |
# File 'lib/google/apis/health_v4/classes.rb', line 3255 def next_page_token @next_page_token end |
#paired_devices ⇒ Array<Google::Apis::HealthV4::PairedDevice>
The paired devices of the user.
Corresponds to the JSON property pairedDevices
3260 3261 3262 |
# File 'lib/google/apis/health_v4/classes.rb', line 3260 def paired_devices @paired_devices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3267 3268 3269 3270 |
# File 'lib/google/apis/health_v4/classes.rb', line 3267 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @paired_devices = args[:paired_devices] if args.key?(:paired_devices) end |