Package com.twilio.rest.trusthub.v1
Class TrustProducts
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.trusthub.v1.TrustProducts
-
- All Implemented Interfaces:
Serializable
public class TrustProducts extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrustProducts.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrustProductsCreatorcreator(String friendlyName, String email, String policySid)static TrustProductsDeleterdeleter(String pathSid)booleanequals(Object o)static TrustProductsFetcherfetcher(String pathSid)static TrustProductsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a TrustProducts object using the provided ObjectMapper.static TrustProductsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a TrustProducts object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEmail()StringgetFriendlyName()Map<String,String>getLinks()StringgetPolicySid()StringgetSid()TrustProducts.StatusgetStatus()URIgetStatusCallback()URIgetUrl()ZonedDateTimegetValidUntil()inthashCode()static TrustProductsReaderreader()static TrustProductsUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static TrustProductsCreator creator(String friendlyName, String email, String policySid)
-
fetcher
public static TrustProductsFetcher fetcher(String pathSid)
-
deleter
public static TrustProductsDeleter deleter(String pathSid)
-
reader
public static TrustProductsReader reader()
-
updater
public static TrustProductsUpdater updater(String pathSid)
-
fromJson
public static TrustProducts fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TrustProducts object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- TrustProducts object represented by the provided JSON
-
fromJson
public static TrustProducts fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TrustProducts object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- TrustProducts 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 TrustProducts.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()
-
-