| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ServiceRequestIdResponse |
|
| 1.0;1 |
| 1 | package org.codeforamerica.open311.facade.data; | |
| 2 | ||
| 3 | /** | |
| 4 | * Represents an answer to the <a href= | |
| 5 | * "http://wiki.open311.org/GeoReport_v2#GET_service_request_id_from_a_token" | |
| 6 | * >GET service id from a token</a>. | |
| 7 | * | |
| 8 | * @author Santiago MunĂn <santimunin@gmail.com> | |
| 9 | * | |
| 10 | */ | |
| 11 | public class ServiceRequestIdResponse { | |
| 12 | private String serviceRequestId; | |
| 13 | private String token; | |
| 14 | ||
| 15 | public ServiceRequestIdResponse(String serviceRequestId, String token) { | |
| 16 | 3 | super(); |
| 17 | 3 | this.serviceRequestId = serviceRequestId; |
| 18 | 3 | this.token = token; |
| 19 | 3 | } |
| 20 | ||
| 21 | public String getServiceRequestId() { | |
| 22 | 3 | return serviceRequestId; |
| 23 | } | |
| 24 | ||
| 25 | public String getToken() { | |
| 26 | 3 | return token; |
| 27 | } | |
| 28 | ||
| 29 | } |