public class SubscriptionUpdater extends Updater<Subscription>
Constructor and Description |
---|
SubscriptionUpdater(String pathSid)
Construct a new SubscriptionUpdater.
|
Modifier and Type | Method and Description |
---|---|
SubscriptionUpdater |
setDescription(String description)
A human readable description for the Subscription..
|
SubscriptionUpdater |
setSinkSid(String sinkSid)
The SID of the sink that events selected by this subscription should be sent
to.
|
Subscription |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public SubscriptionUpdater(String pathSid)
pathSid
- A string that uniquely identifies this Subscription.public SubscriptionUpdater setDescription(String description)
description
- Subscription description.public SubscriptionUpdater setSinkSid(String sinkSid)
sinkSid
- Sink SID.public Subscription update(TwilioRestClient client)
update
in class Updater<Subscription>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.