Constructor and Description |
---|
RoleCreator(String serviceSid,
String friendlyName,
Role.RoleType type,
List<String> permission)
Construct a new RoleCreator.
|
Modifier and Type | Method and Description |
---|---|
Role |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
public RoleCreator(String serviceSid, String friendlyName, Role.RoleType type, List<String> permission)
serviceSid
- The service_sidfriendlyName
- The friendly_nametype
- The typepermission
- The permissionpublic Role execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.