Class GetCountryInfo
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetCountryInfo
Country information request
-
Constructor Summary
ConstructorsConstructorDescriptionGetCountryInfo(AuthorizationInformation authorizationInformation, int countryId) Constructs the request -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int countryId) Request envelopeintCountry idvoidsetCountryId(int countryId) Sets the country idMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetCountryInfo
Constructs the request- Parameters:
authorizationInformation- for the usercountryId- to request
-
-
Method Details
-
getCountryId
public int getCountryId()Country id- Returns:
- id
-
setCountryId
public void setCountryId(int countryId) Sets the country id- Parameters:
countryId- to query
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int countryId) Request envelope- Parameters:
authorizationInformation- credentialscountryId- to query- Returns:
- request
-