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 RateLimitCreatorcreator(String pathServiceSid, String uniqueName)static RateLimitDeleterdeleter(String pathServiceSid, String pathSid)booleanequals(Object o)static RateLimitFetcherfetcher(String pathServiceSid, String pathSid)static RateLimitfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a RateLimit object using the provided ObjectMapper.static RateLimitfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a RateLimit object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetDescription()Map<String,String>getLinks()StringgetServiceSid()StringgetSid()StringgetUniqueName()URIgetUrl()inthashCode()static RateLimitReaderreader(String pathServiceSid)static RateLimitUpdaterupdater(String pathServiceSid, String pathSid)
-
-
-
Method Detail
-
creator
public static RateLimitCreator creator(String pathServiceSid, String uniqueName)
-
fetcher
public static RateLimitFetcher fetcher(String pathServiceSid, String pathSid)
-
deleter
public static RateLimitDeleter deleter(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()
-
-