Class NewKey
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.NewKey
-
- All Implemented Interfaces:
Serializable
public class NewKey extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewKeyCreatorcreator()static NewKeyCreatorcreator(String pathAccountSid)booleanequals(Object o)static NewKeyfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a NewKey object using the provided ObjectMapper.static NewKeyfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a NewKey object using the provided ObjectMapper.inthashCode()static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
creator
public static NewKeyCreator creator()
-
creator
public static NewKeyCreator creator(String pathAccountSid)
-
fromJson
public static NewKey fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a NewKey object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- NewKey object represented by the provided JSON
-
fromJson
public static NewKey fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a NewKey object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- NewKey object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-