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

cz.mmsparams.api.websocket.model.mms.pdus.ReadRecIndModel Maven / Gradle / Ivy

package cz.mmsparams.api.websocket.model.mms.pdus;

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

import cz.mmsparams.api.websocket.WebSocketModelBase;

/**
 * Class representing MM1_read_reply_recipient.REQ PDU
 */
public class ReadRecIndModel extends WebSocketModelBase implements Serializable
{
    private String id;
    private Long date;
    private String messageId;
    private int readStatus;
    private int mmsVersion;
    private String from;
    private String[] to;

    public ReadRecIndModel()
    {
    }

    public ReadRecIndModel(String id, Long date, String messageId, int readStatus, int mmsVersion, String from, String[] to)
    {
        this.id = id;
        this.date = date;
        this.messageId = messageId;
        this.readStatus = readStatus;
        this.mmsVersion = mmsVersion;
        this.from = from;
        this.to = to;
    }

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public Long getDate()
    {
        return date;
    }

    public void setDate(Long date)
    {
        this.date = date;
    }

    public String getMessageId()
    {
        return messageId;
    }

    public void setMessageId(String messageId)
    {
        this.messageId = messageId;
    }

    public int getReadStatus()
    {
        return readStatus;
    }

    public void setReadStatus(int readStatus)
    {
        this.readStatus = readStatus;
    }

    public int getMmsVersion()
    {
        return mmsVersion;
    }

    public void setMmsVersion(int mmsVersion)
    {
        this.mmsVersion = mmsVersion;
    }

    public String getFrom()
    {
        return from;
    }

    public void setFrom(String from)
    {
        this.from = from;
    }

    public String[] getTo()
    {
        return to;
    }

    public void setTo(String[] to)
    {
        this.to = to;
    }

    @Override
    public String toString()
    {
        return "ReadRecIndModel{" +
                "id='" + id + '\'' +
                ", date=" + date +
                ", messageId='" + messageId + '\'' +
                ", readStatus=" + readStatus +
                ", mmsVersion=" + mmsVersion +
                ", from='" + from + '\'' +
                ", to=" + Arrays.toString(to) +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy