Class Local
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.Local
-
- All Implemented Interfaces:
Serializable
public class Local extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocal.AddressRequirementstatic classLocal.EmergencyAddressStatusstatic classLocal.EmergencyStatusstatic classLocal.VoiceReceiveMode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalCreatorcreator(PhoneNumber phoneNumber)static LocalCreatorcreator(String pathAccountSid, PhoneNumber phoneNumber)booleanequals(Object o)static LocalfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Local object using the provided ObjectMapper.static LocalfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Local object using the provided ObjectMapper.inthashCode()static LocalReaderreader()static LocalReaderreader(String pathAccountSid)static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
creator
public static LocalCreator creator(PhoneNumber phoneNumber)
-
creator
public static LocalCreator creator(String pathAccountSid, PhoneNumber phoneNumber)
-
reader
public static LocalReader reader()
-
reader
public static LocalReader reader(String pathAccountSid)
-
fromJson
public static Local fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Local object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Local object represented by the provided JSON
-
fromJson
public static Local fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Local object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Local object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-