Class GetCountiesByList
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetCountiesByList
List of counties supported by the service
-
Constructor Summary
ConstructorsConstructorDescriptionGetCountiesByList(AuthorizationInformation authorizationInformation) Constructs the request -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCounty(int countyId) Adds a county to the request liststatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation) Creates the request envelopestatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, List<Integer> countyIds) Creates the request envelopeRequested countiesRequest parameter, sent as a SOAP encoded array of ctid itemsvoidsetCountyRequestItems(List<CountyRequestItem> countyRequestItems) Sets the request itemsMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetCountiesByList
Constructs the request- Parameters:
authorizationInformation- for the user
-
-
Method Details
-
getRequest
Request parameter, sent as a SOAP encoded array of ctid items -
getCountyRequestItems
-
setCountyRequestItems
Sets the request items- Parameters:
countyRequestItems- to request
-
addCounty
public void addCounty(int countyId) Adds a county to the request list- Parameters:
countyId- to add
-
create
Creates the request envelope- Parameters:
authorizationInformation- of the requester- Returns:
- envelope
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, List<Integer> countyIds) Creates the request envelope- Parameters:
authorizationInformation- of the requestercountyIds- to request- Returns:
- envelope
-