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

cz.mmsparams.api.websocket.model.smsc.SmscDeliveryReportModel Maven / Gradle / Ivy

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

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

public class SmscDeliveryReportModel extends SmscModelBase implements Serializable
{
    private int shortMessageLength;
    private byte[] shortMessage;
    private byte replaceIfPresent;
    private byte dataCoding;
    private byte defaultMsgId;
    private byte registeredDelivery;
    private String validityPeriod;
    private String scheduleDeliveryTime;
    private byte priority;
    private byte esmClass;
    private byte protocolId;
    private String serviceType;
    private SmscAddressModel sourceAddress;
    private SmscAddressModel destAddress;


    public int getShortMessageLength()
    {
        return shortMessageLength;
    }

    public void setShortMessageLength(int shortMessageLength)
    {
        this.shortMessageLength = shortMessageLength;
    }

    public byte[] getShortMessage()
    {
        return shortMessage;
    }

    public void setShortMessage(byte[] shortMessage)
    {
        this.shortMessage = shortMessage;
    }

    public byte getReplaceIfPresent()
    {
        return replaceIfPresent;
    }

    public void setReplaceIfPresent(byte replaceIfPresent)
    {
        this.replaceIfPresent = replaceIfPresent;
    }

    public byte getDataCoding()
    {
        return dataCoding;
    }

    public void setDataCoding(byte dataCoding)
    {
        this.dataCoding = dataCoding;
    }

    public byte getDefaultMsgId()
    {
        return defaultMsgId;
    }

    public void setDefaultMsgId(byte defaultMsgId)
    {
        this.defaultMsgId = defaultMsgId;
    }

    public byte getRegisteredDelivery()
    {
        return registeredDelivery;
    }

    public void setRegisteredDelivery(byte registeredDelivery)
    {
        this.registeredDelivery = registeredDelivery;
    }

    public String getValidityPeriod()
    {
        return validityPeriod;
    }

    public void setValidityPeriod(String validityPeriod)
    {
        this.validityPeriod = validityPeriod;
    }

    public String getScheduleDeliveryTime()
    {
        return scheduleDeliveryTime;
    }

    public void setScheduleDeliveryTime(String scheduleDeliveryTime)
    {
        this.scheduleDeliveryTime = scheduleDeliveryTime;
    }

    public byte getPriority()
    {
        return priority;
    }

    public void setPriority(byte priority)
    {
        this.priority = priority;
    }

    public byte getEsmClass()
    {
        return esmClass;
    }

    public void setEsmClass(byte esmClass)
    {
        this.esmClass = esmClass;
    }

    public byte getProtocolId()
    {
        return protocolId;
    }

    public void setProtocolId(byte protocolId)
    {
        this.protocolId = protocolId;
    }

    public String getServiceType()
    {
        return serviceType;
    }

    public void setServiceType(String serviceType)
    {
        this.serviceType = serviceType;
    }

    public SmscAddressModel getSourceAddress()
    {
        return sourceAddress;
    }

    public void setSourceAddress(SmscAddressModel sourceAddress)
    {
        this.sourceAddress = sourceAddress;
    }

    public SmscAddressModel getDestAddress()
    {
        return destAddress;
    }

    public void setDestAddress(SmscAddressModel destAddress)
    {
        this.destAddress = destAddress;
    }

    @Override
    public String toString()
    {
        return "SmscDeliveryReport{" +
                "shortMessageLength=" + shortMessageLength +
                ", shortMessage=" + Arrays.toString(shortMessage) +
                ", replaceIfPresent=" + replaceIfPresent +
                ", dataCoding=" + dataCoding +
                ", defaultMsgId=" + defaultMsgId +
                ", registeredDelivery=" + registeredDelivery +
                ", validityPeriod='" + validityPeriod + '\'' +
                ", scheduleDeliveryTime='" + scheduleDeliveryTime + '\'' +
                ", priority=" + priority +
                ", esmClass=" + esmClass +
                ", protocolId=" + protocolId +
                ", serviceType='" + serviceType + '\'' +
                ", sourceAddress=" + sourceAddress +
                ", destAddress=" + destAddress +
                "} " + super.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy