001package org.kuali.asr.bo; 002 003import org.codehaus.jackson.annotate.JsonAutoDetect; 004import org.codehaus.jackson.annotate.JsonIgnore; 005import org.codehaus.jackson.annotate.JsonMethod; 006import org.codehaus.jackson.annotate.JsonProperty; 007 008import javax.xml.bind.annotation.*; 009 010/** 011 * Created with IntelliJ IDEA. 012 * User: maheswarang 013 * Date: 12/24/13 014 * Time: 5:51 PM 015 * To change this template use File | Settings | File Templates. 016 */ 017@XmlRootElement(name = "asrResponse") 018@XmlAccessorType(XmlAccessType.FIELD) 019@JsonAutoDetect(JsonMethod.FIELD) 020public class ASRResponseBo { 021 @XmlElement(name = "code") 022 @JsonProperty("code") 023 private String code; 024 @XmlElement(name = "message") 025 @JsonProperty("code") 026 private String message; 027 @XmlTransient 028 @JsonIgnore 029 private int statusCode; 030 031 public String getCode() { 032 return code; 033 } 034 035 public void setCode(String code) { 036 this.code = code; 037 } 038 039 public String getMessage() { 040 return message; 041 } 042 043 public void setMessage(String message) { 044 this.message = message; 045 } 046 047 public int getStatusCode() { 048 return statusCode; 049 } 050 051 public void setStatusCode(int statusCode) { 052 this.statusCode = statusCode; 053 } 054}