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 booleanequals(Object o)static NetworkFetcherfetcher(String pathSid)static NetworkfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Network object using the provided ObjectMapper.static NetworkfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Network object using the provided ObjectMapper.StringgetFriendlyName()List<Map<String,Object>>getIdentifiers()StringgetIsoCountry()StringgetSid()URIgetUrl()inthashCode()static NetworkReaderreader()
-
-
-
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()
-
-