Package com.twilio.rest.trusthub.v1
Class CustomerProfiles
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.trusthub.v1.CustomerProfiles
-
- All Implemented Interfaces:
Serializable
public class CustomerProfiles extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomerProfiles.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomerProfilesCreatorcreator(String friendlyName, String email, String policySid)static CustomerProfilesDeleterdeleter(String pathSid)booleanequals(Object o)static CustomerProfilesFetcherfetcher(String pathSid)static CustomerProfilesfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a CustomerProfiles object using the provided ObjectMapper.static CustomerProfilesfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a CustomerProfiles object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEmail()StringgetFriendlyName()Map<String,String>getLinks()StringgetPolicySid()StringgetSid()CustomerProfiles.StatusgetStatus()URIgetStatusCallback()URIgetUrl()ZonedDateTimegetValidUntil()inthashCode()static CustomerProfilesReaderreader()static CustomerProfilesUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static CustomerProfilesCreator creator(String friendlyName, String email, String policySid)
-
fetcher
public static CustomerProfilesFetcher fetcher(String pathSid)
-
deleter
public static CustomerProfilesDeleter deleter(String pathSid)
-
reader
public static CustomerProfilesReader reader()
-
updater
public static CustomerProfilesUpdater updater(String pathSid)
-
fromJson
public static CustomerProfiles fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CustomerProfiles object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- CustomerProfiles object represented by the provided JSON
-
fromJson
public static CustomerProfiles fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CustomerProfiles object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- CustomerProfiles object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getPolicySid
public final String getPolicySid()
-
getFriendlyName
public final String getFriendlyName()
-
getStatus
public final CustomerProfiles.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()
-
getUrl
public final URI getUrl()
-
-