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

model.OutboundMessage Maven / Gradle / Ivy

There is a newer version: 1.3.9
Show newest version
package model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.File;

@JsonIgnoreProperties(ignoreUnknown = true)
public class OutboundMessage {
    private String message;
    private String data;
    private File[] attachment;

    public OutboundMessage() {
    }

    public OutboundMessage(String message) {
        this.message = message;
    }

    public OutboundMessage(String message, String data) {
        this.message = message;
        this.data = data;
    }

    public OutboundMessage(String message, String data, File[] attachment) {
        this.message = message;
        this.data = data;
        this.attachment = attachment;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public File[] getAttachment() {
        return attachment;
    }

    public void setAttachment(File[] attachment) {
        this.attachment = attachment;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy