com.messagebird.objects.conversations.ConversationSendRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messagebird-api Show documentation
Show all versions of messagebird-api Show documentation
The MessageBird API provides a API to the MessageBird SMS and voicemail services located at https://www.messagebird.com.
The newest version!
package com.messagebird.objects.conversations;
import java.util.Map;
public class ConversationSendRequest {
private String to;
private ConversationContentType type;
private ConversationContent content;
private String from;
private String reportUrl;
private String trackId;
private String ttl;
private ConversationFallbackOption fallback;
private Map source;
private ConversationMessageTag tag;
public ConversationSendRequest(String to, ConversationContentType type, ConversationContent content, String from, String reportUrl, ConversationFallbackOption fallback, Map source, ConversationMessageTag tag) {
this.to = to;
this.type = type;
this.content = content;
this.from = from;
this.reportUrl = reportUrl;
this.fallback = fallback;
this.source = source;
this.tag = tag;
}
public ConversationSendRequest() {
}
public String getTo() {
return to;
}
public void setTo(String to) {
this.to = to;
}
public ConversationContentType getType() {
return type;
}
public void setType(ConversationContentType type) {
this.type = type;
}
public ConversationContent getContent() {
return content;
}
public void setContent(ConversationContent content) {
this.content = content;
}
public String getFrom() {
return from;
}
public void setFrom(String from) {
this.from = from;
}
public String getReportUrl() {
return reportUrl;
}
public void setReportUrl(String reportUrl) {
this.reportUrl = reportUrl;
}
public ConversationFallbackOption getFallback() {
return fallback;
}
public void setFallback(ConversationFallbackOption fallback) {
this.fallback = fallback;
}
public Map getSource() {
return source;
}
public void setSource(Map source) {
this.source = source;
}
public ConversationMessageTag getTag() {
return tag;
}
public void setTag(ConversationMessageTag tag) {
this.tag = tag;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public String getTrackId() {
return trackId;
}
public String getTtl() {
return ttl;
}
public void setTtl(String ttl) {
this.ttl = ttl;
}
@Override
public String toString() {
return "ConversationSendRequest{" +
"to='" + to + '\'' +
", type=" + type +
", content=" + content +
", from='" + from + '\'' +
", reportUrl='" + reportUrl + '\'' +
", trackId='" + trackId + '\'' +
", ttl='" + ttl + '\'' +
", fallback=" + fallback + '\'' +
", tags=" + tag +
", source='" + source + '\'' +
'}';
}
}