com.messagebird.objects.conversations.ConversationContentMedia 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;
/**
* Contains media referenced by a URL. Supported types are audio, file, image
* and video.
*/
public class ConversationContentMedia {
private String url;
private String caption;
public ConversationContentMedia(final String url, final String caption) {
this.url = url;
this.caption = caption;
}
public ConversationContentMedia(final String url) {
this.url = url;
}
public ConversationContentMedia() {
//
}
public String getUrl() {
return url;
}
public void setUrl(final String url) {
this.url = url;
}
public String getCaption() {
return caption;
}
public void setCaption(String caption) {
this.caption = caption;
}
@Override
public String toString() {
return "ConversationContentMedia{" +
"url='" + url + '\'' +
", caption='" + caption + '\'' +
'}';
}
}