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.
3178 3179 3180 |
# File 'lib/google/apis/health_v4/classes.rb', line 3178 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
3171 3172 3173 |
# File 'lib/google/apis/health_v4/classes.rb', line 3171 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
3176 3177 3178 |
# File 'lib/google/apis/health_v4/classes.rb', line 3176 def paired_devices @paired_devices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3183 3184 3185 3186 |
# File 'lib/google/apis/health_v4/classes.rb', line 3183 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 |