Coverage Report - org.codeforamerica.open311.facade.data.POSTServiceRequestResponse
 
Classes in this File Line Coverage Branch Coverage Complexity
POSTServiceRequestResponse
100%
10/10
N/A
1
 
 1  
 package org.codeforamerica.open311.facade.data;
 2  
 
 3  
 /**
 4  
  * Wraps a POST service request response. <a
 5  
  * href="http://wiki.open311.org/GeoReport_v2#POST_Service_Request">More
 6  
  * info.</a>.
 7  
  * 
 8  
  * @author Santiago MunĂ­n <santimunin@gmail.com>
 9  
  * 
 10  
  */
 11  
 public class POSTServiceRequestResponse {
 12  
         private String serviceRequestId;
 13  
         private String token;
 14  
         private String serviceNotice;
 15  
         private String accountId;
 16  
 
 17  
         public POSTServiceRequestResponse(String serviceRequestId, String token,
 18  
                         String serviceNotice, String accountId) {
 19  5
                 super();
 20  5
                 this.serviceRequestId = serviceRequestId;
 21  5
                 this.token = token;
 22  5
                 this.serviceNotice = serviceNotice;
 23  5
                 this.accountId = accountId;
 24  5
         }
 25  
 
 26  
         public String getServiceRequestId() {
 27  5
                 return serviceRequestId;
 28  
         }
 29  
 
 30  
         public String getToken() {
 31  5
                 return token;
 32  
         }
 33  
 
 34  
         public String getServiceNotice() {
 35  5
                 return serviceNotice;
 36  
         }
 37  
 
 38  
         public String getAccountId() {
 39  5
                 return accountId;
 40  
         }
 41  
 
 42  
 }