Class ItemAssignment
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.numbers.v2.regulatorycompliance.bundle.ItemAssignment
-
- All Implemented Interfaces:
Serializable
public class ItemAssignment extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ItemAssignmentCreator
creator(String pathBundleSid, String objectSid)
static ItemAssignmentDeleter
deleter(String pathBundleSid, String pathSid)
boolean
equals(Object o)
static ItemAssignmentFetcher
fetcher(String pathBundleSid, String pathSid)
static ItemAssignment
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ItemAssignment object using the provided ObjectMapper.static ItemAssignment
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ItemAssignment object using the provided ObjectMapper.String
getAccountSid()
String
getBundleSid()
ZonedDateTime
getDateCreated()
String
getObjectSid()
String
getSid()
URI
getUrl()
int
hashCode()
static ItemAssignmentReader
reader(String pathBundleSid)
-
-
-
Method Detail
-
creator
public static ItemAssignmentCreator creator(String pathBundleSid, String objectSid)
-
deleter
public static ItemAssignmentDeleter deleter(String pathBundleSid, String pathSid)
-
fetcher
public static ItemAssignmentFetcher fetcher(String pathBundleSid, String pathSid)
-
reader
public static ItemAssignmentReader reader(String pathBundleSid)
-
fromJson
public static ItemAssignment fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ItemAssignment object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- ItemAssignment object represented by the provided JSON
-
fromJson
public static ItemAssignment fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ItemAssignment object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- ItemAssignment object represented by the provided JSON
-
getSid
public final String getSid()
-
getBundleSid
public final String getBundleSid()
-
getAccountSid
public final String getAccountSid()
-
getObjectSid
public final String getObjectSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
-