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

cz.mmsparams.api.websocket.model.mmsc.MM7Attachment Maven / Gradle / Ivy

The newest version!
package cz.mmsparams.api.websocket.model.mmsc;

import java.io.Serializable;
import java.util.Arrays;

import cz.mmsparams.api.websocket.WebSocketModelBase;

public class MM7Attachment extends WebSocketModelBase implements Serializable
{
    private byte[] data;
    private String contentType;
    private String contentId;

    public byte[] getData()
    {
        return data;
    }

    public void setData(byte[] data)
    {
        this.data = data;
    }

    public String getContentType()
    {
        return contentType;
    }

    public void setContentType(String contentType)
    {
        this.contentType = contentType;
    }

    public String getContentId()
    {
        return contentId;
    }

    public void setContentId(String contentId)
    {
        this.contentId = contentId;
    }

    @Override
    public String toString()
    {
        return "MM7Attachment{" +
                "data=" + Arrays.toString(data) +
                ", contentType='" + contentType + '\'' +
                ", contentId='" + contentId + '\'' +
                "} " + super.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy