Class GetTalkgroups

java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetTalkgroups

public class GetTalkgroups extends RequestBody
Get talkgroups request
  • Constructor Details

    • GetTalkgroups

      public GetTalkgroups(AuthorizationInformation authorizationInformation, int systemId)
      Constructs an instance
      Parameters:
      authorizationInformation - for the requester
      systemId - 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

      public Integer getCategoryId()
      Category ID for the request
      Returns:
      category ID
    • setCategoryId

      public void setCategoryId(Integer categoryId)
      Sets the category ID
      Parameters:
      categoryId - to set
    • getTagId

      public Integer getTagId()
      Tag ID for the request
      Returns:
      value
    • setTagId

      public void setTagId(Integer tagId)
      Tag ID for the request
      Parameters:
      tagId - to set
    • getDecimalValue

      public Integer getDecimalValue()
      Decimal value for the talkgroup
      Returns:
      value
    • setDecimalValue

      public void setDecimalValue(Integer decimalValue)
      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 use
      systemId - to query
      Returns:
      request
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation, TalkgroupRequestFilter filter)
      Creates a request using the specified filter
      Parameters:
      authorizationInformation - to use
      filter - with filter values
      Returns:
      request