Class Job
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.bulkexports.v1.export.Job
-
- All Implemented Interfaces:
Serializable
public class Job extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobDeleterdeleter(String pathJobSid)booleanequals(Object o)static JobFetcherfetcher(String pathJobSid)static JobfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Job object using the provided ObjectMapper.static JobfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Job object using the provided ObjectMapper.Map<String,Object>getDetails()StringgetEmail()StringgetEndDay()StringgetEstimatedCompletionTime()StringgetFriendlyName()StringgetJobQueuePosition()StringgetJobSid()StringgetResourceType()StringgetStartDay()URIgetUrl()StringgetWebhookMethod()StringgetWebhookUrl()inthashCode()
-
-
-
Method Detail
-
fetcher
public static JobFetcher fetcher(String pathJobSid)
-
deleter
public static JobDeleter deleter(String pathJobSid)
-
fromJson
public static Job fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Job object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Job object represented by the provided JSON
-
fromJson
public static Job fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Job object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Job object represented by the provided JSON
-
getResourceType
public final String getResourceType()
-
getFriendlyName
public final String getFriendlyName()
-
getStartDay
public final String getStartDay()
-
getEndDay
public final String getEndDay()
-
getJobSid
public final String getJobSid()
-
getWebhookUrl
public final String getWebhookUrl()
-
getWebhookMethod
public final String getWebhookMethod()
-
getEmail
public final String getEmail()
-
getUrl
public final URI getUrl()
-
getJobQueuePosition
public final String getJobQueuePosition()
-
getEstimatedCompletionTime
public final String getEstimatedCompletionTime()
-
-