Constructor and Description |
---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
Modifier and Type | Method and Description |
---|---|
ServiceUpdater |
setAlexaSkillId(String alexaSkillId)
The alexa_skill_id.
|
ServiceUpdater |
setApnCredentialSid(String apnCredentialSid)
The apn_credential_sid.
|
ServiceUpdater |
setDefaultAlexaNotificationProtocolVersion(String defaultAlexaNotificationProtocolVersion)
The default_alexa_notification_protocol_version.
|
ServiceUpdater |
setDefaultApnNotificationProtocolVersion(String defaultApnNotificationProtocolVersion)
The default_apn_notification_protocol_version.
|
ServiceUpdater |
setDefaultFcmNotificationProtocolVersion(String defaultFcmNotificationProtocolVersion)
The default_fcm_notification_protocol_version.
|
ServiceUpdater |
setDefaultGcmNotificationProtocolVersion(String defaultGcmNotificationProtocolVersion)
The default_gcm_notification_protocol_version.
|
ServiceUpdater |
setFacebookMessengerPageId(String facebookMessengerPageId)
The facebook_messenger_page_id.
|
ServiceUpdater |
setFcmCredentialSid(String fcmCredentialSid)
The fcm_credential_sid.
|
ServiceUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
ServiceUpdater |
setGcmCredentialSid(String gcmCredentialSid)
The gcm_credential_sid.
|
ServiceUpdater |
setLogEnabled(Boolean logEnabled)
The log_enabled.
|
ServiceUpdater |
setMessagingServiceSid(String messagingServiceSid)
The messaging_service_sid.
|
Service |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ServiceUpdater(String pathSid)
pathSid
- The sidpublic ServiceUpdater setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic ServiceUpdater setApnCredentialSid(String apnCredentialSid)
apnCredentialSid
- The apn_credential_sidpublic ServiceUpdater setGcmCredentialSid(String gcmCredentialSid)
gcmCredentialSid
- The gcm_credential_sidpublic ServiceUpdater setMessagingServiceSid(String messagingServiceSid)
messagingServiceSid
- The messaging_service_sidpublic ServiceUpdater setFacebookMessengerPageId(String facebookMessengerPageId)
facebookMessengerPageId
- The facebook_messenger_page_idpublic ServiceUpdater setDefaultApnNotificationProtocolVersion(String defaultApnNotificationProtocolVersion)
defaultApnNotificationProtocolVersion
- The
default_apn_notification_protocol_versionpublic ServiceUpdater setDefaultGcmNotificationProtocolVersion(String defaultGcmNotificationProtocolVersion)
defaultGcmNotificationProtocolVersion
- The
default_gcm_notification_protocol_versionpublic ServiceUpdater setFcmCredentialSid(String fcmCredentialSid)
fcmCredentialSid
- The fcm_credential_sidpublic ServiceUpdater setDefaultFcmNotificationProtocolVersion(String defaultFcmNotificationProtocolVersion)
defaultFcmNotificationProtocolVersion
- The
default_fcm_notification_protocol_versionpublic ServiceUpdater setLogEnabled(Boolean logEnabled)
logEnabled
- The log_enabledpublic ServiceUpdater setAlexaSkillId(String alexaSkillId)
alexaSkillId
- The alexa_skill_idpublic ServiceUpdater setDefaultAlexaNotificationProtocolVersion(String defaultAlexaNotificationProtocolVersion)
defaultAlexaNotificationProtocolVersion
- The
default_alexa_notification_protocol_versionpublic Service update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.