Constructor and Description |
---|
UserCreator(String pathServiceSid,
String identity)
Construct a new UserCreator.
|
Modifier and Type | Method and Description |
---|---|
User |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
UserCreator |
setAttributes(String attributes)
The attributes.
|
UserCreator |
setFriendlyName(String friendlyName)
The friendly_name.
|
UserCreator |
setRoleSid(String roleSid)
The role_sid.
|
create, createAsync, createAsync
public UserCreator setRoleSid(String roleSid)
roleSid
- The role_sidpublic UserCreator setAttributes(String attributes)
attributes
- The attributespublic UserCreator setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic User create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.