All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.messagebird.objects.conversations.MessageParam Maven / Gradle / Ivy

Go to download

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;

public class MessageParam {

    private TemplateMediaType type;
    private String text;
    private String payload;
    private HSMCurrency currency;
    private String dateTime;
    private Media document;
    private Media image;
    private Media video;

    public TemplateMediaType getType() {
        return type;
    }

    public void setType(TemplateMediaType type) {
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }

    public HSMCurrency getCurrency() {
        return currency;
    }

    public void setCurrency(HSMCurrency currency) {
        this.currency = currency;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public Media getDocument() {
        return document;
    }

    public void setDocument(Media document) {
        this.document = document;
    }

    public Media getImage() {
        return image;
    }

    public void setImage(Media image) {
        this.image = image;
    }

    public Media getVideo() { return video; }

    public void setVideo(Media video) { this.video = video; }

    @Override
    public String toString() {
        return "MessageParam{" +
                "type=" + type + '\'' +
                ", text='" + text + '\'' +
                ", payload='" + payload + '\'' +
                ", currency=" + currency + '\'' +
                ", dateTime='" + dateTime + '\'' +
                ", document=" + document + '\'' +
                ", image=" + image + '\'' +
                ", video=" + video +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy