| Constructor and Description |
|---|
DeviceUpdater(String pathFleetSid,
String pathSid)
Construct a new DeviceUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceUpdater |
setDeploymentSid(String deploymentSid)
Specifies the unique string identifier of the Deployment group that this
Device is going to be associated with..
|
DeviceUpdater |
setEnabled(Boolean enabled)
The enabled.
|
DeviceUpdater |
setFriendlyName(String friendlyName)
Provides a human readable descriptive text to be assigned to this Device, up
to 256 characters long..
|
DeviceUpdater |
setIdentity(String identity)
Provides an arbitrary string identifier representing a human user to be
associated with this Device, up to 256 characters long..
|
Device |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic DeviceUpdater setFriendlyName(String friendlyName)
friendlyName - A human readable description for this Device.public DeviceUpdater setIdentity(String identity)
identity - An identifier of the Device user.public DeviceUpdater setDeploymentSid(String deploymentSid)
deploymentSid - The unique SID of the Deployment group.public DeviceUpdater setEnabled(Boolean enabled)
enabled - The enabledpublic Device update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.