Package com.twilio.rest.supersim.v1
Class Network
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.supersim.v1.Network
-
- All Implemented Interfaces:
Serializable
public class Network extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static NetworkFetcher
fetcher(String pathSid)
static Network
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Network object using the provided ObjectMapper.static Network
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Network object using the provided ObjectMapper.String
getFriendlyName()
List<Map<String,Object>>
getIdentifiers()
String
getIsoCountry()
String
getSid()
URI
getUrl()
int
hashCode()
static NetworkReader
reader()
-
-
-
Method Detail
-
fetcher
public static NetworkFetcher fetcher(String pathSid)
-
reader
public static NetworkReader reader()
-
fromJson
public static Network fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Network object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Network object represented by the provided JSON
-
fromJson
public static Network fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Network object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Network object represented by the provided JSON
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getUrl
public final URI getUrl()
-
getIsoCountry
public final String getIsoCountry()
-
-