Class TrustProductsEvaluations
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.trusthub.v1.trustproducts.TrustProductsEvaluations
-
- All Implemented Interfaces:
Serializable
public class TrustProductsEvaluations extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrustProductsEvaluations.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrustProductsEvaluationsCreatorcreator(String pathTrustProductSid, String policySid)booleanequals(Object o)static TrustProductsEvaluationsFetcherfetcher(String pathTrustProductSid, String pathSid)static TrustProductsEvaluationsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a TrustProductsEvaluations object using the provided ObjectMapper.static TrustProductsEvaluationsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a TrustProductsEvaluations object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()StringgetPolicySid()List<Map<String,Object>>getResults()StringgetSid()TrustProductsEvaluations.StatusgetStatus()StringgetTrustProductSid()URIgetUrl()inthashCode()static TrustProductsEvaluationsReaderreader(String pathTrustProductSid)
-
-
-
Method Detail
-
creator
public static TrustProductsEvaluationsCreator creator(String pathTrustProductSid, String policySid)
-
fetcher
public static TrustProductsEvaluationsFetcher fetcher(String pathTrustProductSid, String pathSid)
-
reader
public static TrustProductsEvaluationsReader reader(String pathTrustProductSid)
-
fromJson
public static TrustProductsEvaluations fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a TrustProductsEvaluations object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- TrustProductsEvaluations object represented by the provided JSON
-
fromJson
public static TrustProductsEvaluations fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a TrustProductsEvaluations object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- TrustProductsEvaluations object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getPolicySid
public final String getPolicySid()
-
getTrustProductSid
public final String getTrustProductSid()
-
getStatus
public final TrustProductsEvaluations.Status getStatus()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
-