Class GetStateInfo
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetStateInfo
State information
-
Constructor Summary
ConstructorsConstructorDescriptionGetStateInfo(AuthorizationInformation authorizationInformation, int stateId) Constructs the request -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int stateId) Creates the request envelopeintState idvoidsetStateId(int stateId) Sets the state ID to queryMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetStateInfo
Constructs the request- Parameters:
authorizationInformation- for the userstateId- to request
-
-
Method Details
-
getStateId
public int getStateId()State id- Returns:
- id
-
setStateId
public void setStateId(int stateId) Sets the state ID to query- Parameters:
stateId- to query
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int stateId) Creates the request envelope- Parameters:
authorizationInformation- credentialsstateId- to query- Returns:
- request
-