Package com.twilio.rest.supersim.v1.sim
Class SimIpAddress
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.supersim.v1.sim.SimIpAddress
-
- All Implemented Interfaces:
Serializable
public class SimIpAddress extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimIpAddress.IpAddressVersion
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static SimIpAddress
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SimIpAddress object using the provided ObjectMapper.static SimIpAddress
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SimIpAddress object using the provided ObjectMapper.String
getIpAddress()
SimIpAddress.IpAddressVersion
getIpAddressVersion()
int
hashCode()
static SimIpAddressReader
reader(String pathSimSid)
-
-
-
Method Detail
-
reader
public static SimIpAddressReader reader(String pathSimSid)
-
fromJson
public static SimIpAddress fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SimIpAddress object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- SimIpAddress object represented by the provided JSON
-
fromJson
public static SimIpAddress fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SimIpAddress object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- SimIpAddress object represented by the provided JSON
-
getIpAddress
public final String getIpAddress()
-
getIpAddressVersion
public final SimIpAddress.IpAddressVersion getIpAddressVersion()
-
-