Package com.twilio.rest.flexapi.v1
Class GoodData
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.GoodData
-
- All Implemented Interfaces:
Serializable
public class GoodData extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GoodDataCreatorcreator()booleanequals(Object o)static GoodDatafromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a GoodData object using the provided ObjectMapper.static GoodDatafromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a GoodData object using the provided ObjectMapper.StringgetGdBaseUrl()StringgetSessionExpiry()StringgetSessionId()URIgetUrl()StringgetWorkspaceId()inthashCode()
-
-
-
Method Detail
-
creator
public static GoodDataCreator creator()
-
fromJson
public static GoodData fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a GoodData object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- GoodData object represented by the provided JSON
-
fromJson
public static GoodData fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a GoodData object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- GoodData object represented by the provided JSON
-
getWorkspaceId
public final String getWorkspaceId()
-
getSessionExpiry
public final String getSessionExpiry()
-
getSessionId
public final String getSessionId()
-
getGdBaseUrl
public final String getGdBaseUrl()
-
getUrl
public final URI getUrl()
-
-