Package com.twilio.rest.iam.v1
Class ApiKey
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.iam.v1.ApiKey
-
- All Implemented Interfaces:
Serializable
public class ApiKey extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApiKeyDeleter
deleter(String pathSid)
boolean
equals(Object o)
static ApiKeyFetcher
fetcher(String pathSid)
static ApiKey
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ApiKey object using the provided ObjectMapper.static ApiKey
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ApiKey object using the provided ObjectMapper.ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
Map<String,Object>
getPolicy()
String
getSid()
int
hashCode()
static ApiKeyUpdater
updater(String pathSid)
-
-
-
Method Detail
-
deleter
public static ApiKeyDeleter deleter(String pathSid)
-
fetcher
public static ApiKeyFetcher fetcher(String pathSid)
-
updater
public static ApiKeyUpdater updater(String pathSid)
-
fromJson
public static ApiKey fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ApiKey object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- ApiKey object represented by the provided JSON
-
fromJson
public static ApiKey fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ApiKey object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- ApiKey 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()
-
-