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.ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetSecret()StringgetSid()inthashCode()
-
-
-
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
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getSecret
public final String getSecret()
-
-