Class GetMetroInfo
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetMetroInfo
Metro information request
-
Constructor Summary
ConstructorsConstructorDescriptionGetMetroInfo(AuthorizationInformation authorizationInformation, int metroId) Constructs the request -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int metroId) Request envelopeintMetro idvoidsetMetroId(int metroId) Sets the Metro idMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetMetroInfo
Constructs the request- Parameters:
authorizationInformation- for the usermetroId- to request
-
-
Method Details
-
getMetroId
public int getMetroId()Metro id- Returns:
- id
-
setMetroId
public void setMetroId(int metroId) Sets the Metro id- Parameters:
metroId- to query
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int metroId) Request envelope- Parameters:
authorizationInformation- credentialsmetroId- to query- Returns:
- request
-