Package com.twilio.rest.numbers.v1
Class PortingPortIn
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.numbers.v1.PortingPortIn
-
- All Implemented Interfaces:
Serializable
public class PortingPortIn extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPortingPortIn.CustomerTypestatic classPortingPortIn.NumbersV1PortingAddressstatic classPortingPortIn.NumbersV1PortingLosingCarrierInformationstatic classPortingPortIn.NumbersV1PortingPortInCreatestatic classPortingPortIn.NumbersV1PortingPortInCreatePhoneNumbersstatic classPortingPortIn.NumbersV1PortingPortInPhoneNumberResult
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortingPortInCreatorcreator(PortingPortIn.NumbersV1PortingPortInCreate numbersV1PortingPortInCreate)static PortingPortInDeleterdeleter(String pathPortInRequestSid)booleanequals(Object o)static PortingPortInFetcherfetcher(String pathPortInRequestSid)static PortingPortInfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a PortingPortIn object using the provided ObjectMapper.static PortingPortInfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a PortingPortIn object using the provided ObjectMapper.inthashCode()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
creator
public static PortingPortInCreator creator(PortingPortIn.NumbersV1PortingPortInCreate numbersV1PortingPortInCreate)
-
deleter
public static PortingPortInDeleter deleter(String pathPortInRequestSid)
-
fetcher
public static PortingPortInFetcher fetcher(String pathPortInRequestSid)
-
fromJson
public static PortingPortIn fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PortingPortIn object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- PortingPortIn object represented by the provided JSON
-
fromJson
public static PortingPortIn fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PortingPortIn object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- PortingPortIn object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-