Class GetCountyInfo
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetCountyInfo
Country information
-
Constructor Summary
ConstructorsConstructorDescriptionGetCountyInfo(AuthorizationInformation authorizationInformation, int countyId) Constructs the request -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int countyId) Creates the request envelopeintCounty idvoidsetCountyId(int countyId) Sets the county idMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetCountyInfo
Constructs the request- Parameters:
authorizationInformation- for the usercountyId- to request
-
-
Method Details
-
getCountyId
public int getCountyId()County id- Returns:
- id
-
setCountyId
public void setCountyId(int countyId) Sets the county id- Parameters:
countyId- to query
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int countyId) Creates the request envelope- Parameters:
authorizationInformation- credentialscountyId- to query- Returns:
- request
-