Class GetTalkgroups
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetTalkgroups
Get talkgroups request
-
Constructor Summary
ConstructorsConstructorDescriptionGetTalkgroups(AuthorizationInformation authorizationInformation, int systemId) Constructs an instance -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int systemId) Creates a request to get all talkgroups for the specified systemstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, TalkgroupRequestFilter filter) Creates a request using the specified filterCategory ID for the requestDecimal value for the talkgroupintRequested system IDgetTagId()Tag ID for the requestvoidsetCategoryId(Integer categoryId) Sets the category IDvoidsetDecimalValue(Integer decimalValue) Sets the requested talkgroup decimal valuevoidsetSystemId(int systemId) Sets the requested system IDvoidTag ID for the requestMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetTalkgroups
Constructs an instance- Parameters:
authorizationInformation- for the requestersystemId- to request
-
-
Method Details
-
getSystemId
public int getSystemId()Requested system ID- Returns:
- system ID
-
setSystemId
public void setSystemId(int systemId) Sets the requested system ID- Parameters:
systemId- to set
-
getCategoryId
-
setCategoryId
-
getTagId
-
setTagId
-
getDecimalValue
-
setDecimalValue
Sets the requested talkgroup decimal value- Parameters:
decimalValue- of the talkgorup
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int systemId) Creates a request to get all talkgroups for the specified system- Parameters:
authorizationInformation- to usesystemId- to query- Returns:
- request
-
create
public static RequestEnvelope create(AuthorizationInformation authorizationInformation, TalkgroupRequestFilter filter) Creates a request using the specified filter- Parameters:
authorizationInformation- to usefilter- with filter values- Returns:
- request
-