com.telapi.api.domain
Class BaseTelapiObject

java.lang.Object
  extended by com.telapi.api.domain.BaseTelapiObject
Direct Known Subclasses:
BaseTelapiObjectWithMethods, Call, CarrierLookup, CnamDip, Conference, Notification, Participant, Recording, SmsMessage, Transcription

public class BaseTelapiObject
extends Object

A base resource object containing properties present in all of the other resource objects.


Constructor Summary
BaseTelapiObject()
           
 
Method Summary
 String getAccountSid()
           
 String getApiVersion()
           
 Date getDateCreated()
           
 Date getDateUpdated()
           
 String getSid()
           
 String getUri()
           
 void setAccountSid(String accountSid)
           
 void setApiVersion(String apiVersion)
           
 void setDateCreated(Date dateCreated)
           
 void setDateUpdated(Date dateUpdated)
           
 void setSid(String sid)
           
 void setUri(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTelapiObject

public BaseTelapiObject()
Method Detail

getSid

public String getSid()
Returns:
A unique identifier assigned to each resource.

setSid

public void setSid(String sid)

getDateCreated

public Date getDateCreated()
Returns:
The date the resource was created.

setDateCreated

public void setDateCreated(Date dateCreated)

getDateUpdated

public Date getDateUpdated()
Returns:
The date the resource was last updated.

setDateUpdated

public void setDateUpdated(Date dateUpdated)

getAccountSid

public String getAccountSid()
Returns:
An alphanumeric string identifying the account this resource occurred in.

setAccountSid

public void setAccountSid(String accountSid)

getApiVersion

public String getApiVersion()
Returns:
The API version being used when the resource was created.

setApiVersion

public void setApiVersion(String apiVersion)

getUri

public String getUri()
Returns:
The path appended to the base TelAPI URL, https://api.telapi.com, where the resource is located.

setUri

public void setUri(String uri)


Copyright © 2012. All Rights Reserved.