Package com.twilio.rest.lookups.v2
Class Query
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.lookups.v2.Query
-
- All Implemented Interfaces:
Serializable
public class Query extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuery.CallerNameInfostatic classQuery.CallForwardingInfostatic classQuery.Fieldsstatic classQuery.IdentityMatchInfostatic classQuery.IdentityMatchParametersstatic classQuery.LastSimSwapInfostatic classQuery.LineStatusInfostatic classQuery.LineTypeIntelligenceInfostatic classQuery.LookupBatchRequeststatic classQuery.LookupBatchResponsestatic classQuery.LookupRequeststatic classQuery.ReassignedNumberInfostatic classQuery.ReassignedNumberParametersstatic classQuery.RiskParametersstatic classQuery.SimSwapInfostatic classQuery.SmsPumpingRiskInfo
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryCreatorcreator()booleanequals(Object o)static QueryfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Query object using the provided ObjectMapper.static QueryfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Query object using the provided ObjectMapper.inthashCode()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
creator
public static QueryCreator creator()
-
fromJson
public static Query fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Query object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Query object represented by the provided JSON
-
fromJson
public static Query fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Query object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Query object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-