com.urbanairship.api.sms.model.SmsModelObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Urban Airship Java client library
package com.urbanairship.api.sms.model;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.urbanairship.api.common.model.APIModelObject;
import com.urbanairship.api.sms.parse.SmsObjectMapper;
public class SmsModelObject extends APIModelObject {
private final ObjectMapper MAPPER = SmsObjectMapper.getInstance();
@Override
public String toJSON() {
try {
return MAPPER.writeValueAsString(this);
} catch (Exception e) {
return toJSON(e);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy