Class RateLimit
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.verify.v2.service.RateLimit
-
- All Implemented Interfaces:
Serializable
public class RateLimit extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RateLimitCreator
creator(String pathServiceSid, String uniqueName)
static RateLimitDeleter
deleter(String pathServiceSid, String pathSid)
boolean
equals(Object o)
static RateLimitFetcher
fetcher(String pathServiceSid, String pathSid)
static RateLimit
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RateLimit object using the provided ObjectMapper.static RateLimit
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RateLimit object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getDescription()
Map<String,String>
getLinks()
String
getServiceSid()
String
getSid()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static RateLimitReader
reader(String pathServiceSid)
static RateLimitUpdater
updater(String pathServiceSid, String pathSid)
-
-
-
Method Detail
-
creator
public static RateLimitCreator creator(String pathServiceSid, String uniqueName)
-
deleter
public static RateLimitDeleter deleter(String pathServiceSid, String pathSid)
-
fetcher
public static RateLimitFetcher fetcher(String pathServiceSid, String pathSid)
-
reader
public static RateLimitReader reader(String pathServiceSid)
-
updater
public static RateLimitUpdater updater(String pathServiceSid, String pathSid)
-
fromJson
public static RateLimit fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a RateLimit object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- RateLimit object represented by the provided JSON
-
fromJson
public static RateLimit fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a RateLimit object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- RateLimit object represented by the provided JSON
-
getSid
public final String getSid()
-
getServiceSid
public final String getServiceSid()
-
getAccountSid
public final String getAccountSid()
-
getUniqueName
public final String getUniqueName()
-
getDescription
public final String getDescription()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-