public class ExportCustomJob extends Resource
Modifier and Type | Method and Description |
---|---|
static ExportCustomJobCreator |
creator(String pathResourceType,
String startDay,
String endDay,
String friendlyName)
Create a ExportCustomJobCreator to execute create.
|
boolean |
equals(Object o) |
static ExportCustomJob |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ExportCustomJob object using the provided
ObjectMapper.
|
static ExportCustomJob |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ExportCustomJob object using the provided
ObjectMapper.
|
Map<String,Object> |
getDetails()
Returns The details.
|
String |
getEmail()
Returns The optional email to send the completion notification to.
|
String |
getEndDay()
Returns The end day for the custom export specified as a string in the format
of yyyy-MM-dd.
|
String |
getFriendlyName()
Returns The friendly name specified when creating the job.
|
String |
getJobSid()
Returns The unique job_sid returned when the custom export was created.
|
String |
getResourceType()
Returns The type of communication – Messages, Calls, Conferences, and
Participants.
|
String |
getStartDay()
Returns The start day for the custom export specified as a string in the
format of yyyy-MM-dd.
|
String |
getWebhookMethod()
Returns This is the method used to call the webhook.
|
String |
getWebhookUrl()
Returns The optional webhook url called on completion.
|
int |
hashCode() |
static ExportCustomJobReader |
reader(String pathResourceType)
Create a ExportCustomJobReader to execute read.
|
public static ExportCustomJobReader reader(String pathResourceType)
pathResourceType
- The type of communication – Messages, Calls,
Conferences, and Participantspublic static ExportCustomJobCreator creator(String pathResourceType, String startDay, String endDay, String friendlyName)
pathResourceType
- The type of communication – Messages or Calls,
Conferences, and ParticipantsstartDay
- The start day for the custom export specified as a string in
the format of yyyy-mm-ddendDay
- The end day for the custom export specified as a string in the
format of yyyy-mm-dd. End day is inclusive and must be 2 days
earlier than the current UTC day.friendlyName
- The friendly name specified when creating the jobpublic static ExportCustomJob fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static ExportCustomJob fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getFriendlyName()
public final String getResourceType()
public final String getStartDay()
public final String getEndDay()
public final String getWebhookUrl()
public final String getWebhookMethod()
public final String getEmail()
public final String getJobSid()
Copyright © 2019 Twilio, Inc. All Rights Reserved.