Class Evaluation
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.numbers.v2.regulatorycompliance.bundle.Evaluation
-
- All Implemented Interfaces:
Serializable
public class Evaluation extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvaluation.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationCreatorcreator(String pathBundleSid)booleanequals(Object o)static EvaluationFetcherfetcher(String pathBundleSid, String pathSid)static EvaluationfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Evaluation object using the provided ObjectMapper.static EvaluationfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Evaluation object using the provided ObjectMapper.StringgetAccountSid()StringgetBundleSid()ZonedDateTimegetDateCreated()StringgetRegulationSid()List<Map<String,Object>>getResults()StringgetSid()Evaluation.StatusgetStatus()URIgetUrl()inthashCode()static EvaluationReaderreader(String pathBundleSid)
-
-
-
Method Detail
-
creator
public static EvaluationCreator creator(String pathBundleSid)
-
fetcher
public static EvaluationFetcher fetcher(String pathBundleSid, String pathSid)
-
reader
public static EvaluationReader reader(String pathBundleSid)
-
fromJson
public static Evaluation fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Evaluation object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Evaluation object represented by the provided JSON
-
fromJson
public static Evaluation fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Evaluation object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Evaluation object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getRegulationSid
public final String getRegulationSid()
-
getBundleSid
public final String getBundleSid()
-
getStatus
public final Evaluation.Status getStatus()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
-