|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
public abstract class InstanceResource
The Class InstanceResource.
| Constructor Summary | |
|---|---|
InstanceResource(TwilioRestClient client)
Instantiates a new instance resource. |
|
InstanceResource(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new instance resource. |
|
| Method Summary | |
|---|---|
Object |
getObject(String name)
Gets the property as an Object. |
String |
getProperty(String name)
Gets the property. |
void |
update(List<org.apache.http.NameValuePair> params)
Update. |
void |
update(Map<String,String> params)
Update. |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceResource(TwilioRestClient client)
client - the client
public InstanceResource(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public String getProperty(String name)
name - the name
public Object getObject(String name)
name - the name of the property
public void update(Map<String,String> params)
throws TwilioRestException
params - the params
TwilioRestException - the twilio rest exception
public void update(List<org.apache.http.NameValuePair> params)
throws TwilioRestException
params - the params list
TwilioRestException - the twilio rest exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||