public class Bundle extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Bundle.EndUserType |
static class |
Bundle.Status |
Modifier and Type | Method and Description |
---|---|
static BundleCreator |
creator(String friendlyName,
String email)
Create a BundleCreator to execute create.
|
static BundleDeleter |
deleter(String pathSid)
Create a BundleDeleter to execute delete.
|
boolean |
equals(Object o) |
static BundleFetcher |
fetcher(String pathSid)
Create a BundleFetcher to execute fetch.
|
static Bundle |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Bundle object using the provided
ObjectMapper.
|
static Bundle |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Bundle object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
String |
getEmail()
Returns The email address.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
Map<String,String> |
getLinks()
Returns The URLs of the Assigned Items of the Bundle resource.
|
String |
getRegulationSid()
Returns The unique string of a regulation..
|
String |
getSid()
Returns The unique string that identifies the resource..
|
Bundle.Status |
getStatus()
Returns The verification status of the Bundle resource.
|
URI |
getStatusCallback()
Returns The URL we call to inform your application of status changes..
|
URI |
getUrl()
Returns The absolute URL of the Bundle resource.
|
ZonedDateTime |
getValidUntil()
Returns The ISO 8601 date and time in GMT when the resource will be valid
until..
|
int |
hashCode() |
static BundleReader |
reader()
Create a BundleReader to execute read.
|
static BundleUpdater |
updater(String pathSid)
Create a BundleUpdater to execute update.
|
public static BundleCreator creator(String friendlyName, String email)
friendlyName
- The string that you assigned to describe the resourceemail
- The email addresspublic static BundleReader reader()
public static BundleFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resource.public static BundleUpdater updater(String pathSid)
pathSid
- The unique string that identifies the resource.public static BundleDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resource.public static Bundle fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Bundle fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getRegulationSid()
public final String getFriendlyName()
public final Bundle.Status getStatus()
public final ZonedDateTime getValidUntil()
public final String getEmail()
public final URI getStatusCallback()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.