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

com.mocean.modules.message.mapper.MessageStatusResponse Maven / Gradle / Ivy

Go to download

This is an Mocean SDK written in java. To use it you will need a mocean account. Signup for free at https://moceanapi.com

There is a newer version: 1.1.5
Show newest version
package com.mocean.modules.message.mapper;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mocean.modules.AbstractResponse;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "result")
@XmlAccessorType(XmlAccessType.FIELD)
@JsonIgnoreProperties(ignoreUnknown = true)
public class MessageStatusResponse extends AbstractResponse {
    @XmlElement(name = "message_status")
    @JsonProperty("message_status")
    private String messageStatus;

    @XmlElement(name = "msgid")
    @JsonProperty("msgid")
    private String msgId;

    @XmlElement(name = "credit_deducted")
    @JsonProperty("credit_deducted")
    private String creditDeducted;

    public String getMessageStatus() {
        return messageStatus;
    }

    public String getMsgId() {
        return msgId;
    }

    public String getCreditDeducted() {
        return creditDeducted;
    }

    @Override
    public MessageStatusResponse setRawResponse(String rawResponse) {
        super.rawResponse = rawResponse;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy