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