public class Day extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DayFetcher |
fetcher(String pathResourceType,
String pathDay)
Create a DayFetcher to execute fetch.
|
static Day |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Day object using the provided
ObjectMapper.
|
static Day |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Day object using the provided ObjectMapper.
|
String |
getCreateDate()
Returns The date when resource is created.
|
String |
getDay()
Returns The date of the data in the file.
|
String |
getFriendlyName()
Returns The friendly name specified when creating the job.
|
URI |
getRedirectTo()
Returns The redirect_to.
|
String |
getResourceType()
Returns The type of communication – Messages, Calls, Conferences, and
Participants.
|
Integer |
getSize()
Returns Size of the file in bytes.
|
int |
hashCode() |
static DayReader |
reader(String pathResourceType)
Create a DayReader to execute read.
|
public static DayFetcher fetcher(String pathResourceType, String pathDay)
pathResourceType
- The type of communication – Messages, Calls,
Conferences, and ParticipantspathDay
- The date of the data in the filepublic static DayReader reader(String pathResourceType)
pathResourceType
- The type of communication – Messages, Calls,
Conferences, and Participantspublic static Day fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Day fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final URI getRedirectTo()
public final String getDay()
public final Integer getSize()
public final String getCreateDate()
public final String getFriendlyName()
public final String getResourceType()
Copyright © 2019 Twilio, Inc. All Rights Reserved.