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 class
Siprec.Status
static class
Siprec.Track
static class
Siprec.UpdateStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SiprecCreator
creator(String pathCallSid)
static SiprecCreator
creator(String pathAccountSid, String pathCallSid)
boolean
equals(Object o)
static Siprec
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Siprec object using the provided ObjectMapper.static Siprec
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Siprec object using the provided ObjectMapper.String
getAccountSid()
String
getCallSid()
ZonedDateTime
getDateUpdated()
String
getName()
String
getSid()
Siprec.Status
getStatus()
String
getUri()
int
hashCode()
static SiprecUpdater
updater(String pathCallSid, String pathSid, Siprec.UpdateStatus status)
static SiprecUpdater
updater(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()
-
-