com.mocean.modules.voice.mapper.VoiceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moceanapisdk Show documentation
Show all versions of moceanapisdk Show documentation
This is an Mocean SDK written in java. To use it you will need a mocean account. Signup for free at https://moceanapi.com
package com.mocean.modules.voice.mapper;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mocean.modules.AbstractResponse;
import com.mocean.modules.voice.mapper.model.Call;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlElementWrapper;
@XmlRootElement(name = "result")
@XmlAccessorType(XmlAccessType.FIELD)
@JsonIgnoreProperties(ignoreUnknown = true)
public class VoiceResponse extends AbstractResponse {
@XmlElementWrapper(name = "calls")
@XmlElement(name = "call")
@JsonProperty("calls")
private Call[] calls;
public Call[] getCalls() {
return calls;
}
@Override
public VoiceResponse setRawResponse(String rawResponse) {
super.rawResponse = rawResponse;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy