public class Feedback extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Feedback.Outcome |
Modifier and Type | Method and Description |
---|---|
static FeedbackCreator |
creator(String pathMessageSid)
Create a FeedbackCreator to execute create.
|
static FeedbackCreator |
creator(String pathAccountSid,
String pathMessageSid)
Create a FeedbackCreator to execute create.
|
boolean |
equals(Object o) |
static Feedback |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Feedback object using the provided
ObjectMapper.
|
static Feedback |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Feedback object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
ZonedDateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT that the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT that the resource was last updated.
|
String |
getMessageSid()
Returns The SID of the Message resource for which the feedback was provided.
|
Feedback.Outcome |
getOutcome()
Returns Whether the feedback has arrived.
|
String |
getUri()
Returns The URI of the resource, relative to `https://api.twilio.com`.
|
int |
hashCode() |
public static FeedbackCreator creator(String pathAccountSid, String pathMessageSid)
pathAccountSid
- The SID of the Account that will create the resourcepathMessageSid
- The SID of the Message resource for which the feedback
was providedpublic static FeedbackCreator creator(String pathMessageSid)
pathMessageSid
- The SID of the Message resource for which the feedback
was providedpublic static Feedback fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Feedback fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getMessageSid()
public final Feedback.Outcome getOutcome()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getUri()
Copyright © 2019 Twilio, Inc. All Rights Reserved.