Class BundleCopy
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.numbers.v2.regulatorycompliance.bundle.BundleCopy
-
- All Implemented Interfaces:
Serializable
public class BundleCopy extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBundleCopy.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BundleCopyCreatorcreator(String pathBundleSid)booleanequals(Object o)static BundleCopyfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a BundleCopy object using the provided ObjectMapper.static BundleCopyfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a BundleCopy object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEmail()StringgetFriendlyName()StringgetRegulationSid()StringgetSid()BundleCopy.StatusgetStatus()URIgetStatusCallback()ZonedDateTimegetValidUntil()inthashCode()static BundleCopyReaderreader(String pathBundleSid)
-
-
-
Method Detail
-
creator
public static BundleCopyCreator creator(String pathBundleSid)
-
reader
public static BundleCopyReader reader(String pathBundleSid)
-
fromJson
public static BundleCopy fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a BundleCopy object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- BundleCopy object represented by the provided JSON
-
fromJson
public static BundleCopy fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a BundleCopy object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- BundleCopy object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getRegulationSid
public final String getRegulationSid()
-
getFriendlyName
public final String getFriendlyName()
-
getStatus
public final BundleCopy.Status getStatus()
-
getValidUntil
public final ZonedDateTime getValidUntil()
-
getEmail
public final String getEmail()
-
getStatusCallback
public final URI getStatusCallback()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-