Class Siprec
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.call.Siprec
-
- All Implemented Interfaces:
Serializable
public class Siprec extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSiprec.Statusstatic classSiprec.Trackstatic classSiprec.UpdateStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SiprecCreatorcreator(String pathCallSid)static SiprecCreatorcreator(String pathAccountSid, String pathCallSid)booleanequals(Object o)static SiprecfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Siprec object using the provided ObjectMapper.static SiprecfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Siprec object using the provided ObjectMapper.StringgetAccountSid()StringgetCallSid()ZonedDateTimegetDateUpdated()StringgetName()StringgetSid()Siprec.StatusgetStatus()StringgetUri()inthashCode()static SiprecUpdaterupdater(String pathCallSid, String pathSid, Siprec.UpdateStatus status)static SiprecUpdaterupdater(String pathAccountSid, String pathCallSid, String pathSid, Siprec.UpdateStatus status)
-
-
-
Method Detail
-
creator
public static SiprecCreator creator(String pathCallSid)
-
creator
public static SiprecCreator creator(String pathAccountSid, String pathCallSid)
-
updater
public static SiprecUpdater updater(String pathCallSid, String pathSid, Siprec.UpdateStatus status)
-
updater
public static SiprecUpdater updater(String pathAccountSid, String pathCallSid, String pathSid, Siprec.UpdateStatus status)
-
fromJson
public static Siprec fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Siprec object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Siprec object represented by the provided JSON
-
fromJson
public static Siprec fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Siprec object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Siprec object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getCallSid
public final String getCallSid()
-
getName
public final String getName()
-
getStatus
public final Siprec.Status getStatus()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUri
public final String getUri()
-
-