Class FccGetRadioServiceCode

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

public class FccGetRadioServiceCode extends RequestBody
Get FCC radio service code information
  • Constructor Details

    • FccGetRadioServiceCode

      public FccGetRadioServiceCode(AuthorizationInformation authorizationInformation, String code)
      Constructs the request
      Parameters:
      authorizationInformation - for the user
      code - to lookup
    • FccGetRadioServiceCode

      public FccGetRadioServiceCode(AuthorizationInformation authorizationInformation)
      Constructs the request to get all codes
      Parameters:
      authorizationInformation - for the user
  • Method Details

    • getCode

      public String getCode()
      Radio service code being queried
      Returns:
      radio service code
    • setCode

      public void setCode(String code)
      Sets the callsign being queried
      Parameters:
      code - to query
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation, String code)
      Creates a request envelope using the auth info and the radio service code
      Parameters:
      authorizationInformation - credentials
      code - to query
      Returns:
      request envelope
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation)
      Creates a request envelope using the auth info to get all codes
      Parameters:
      authorizationInformation - credentials
      Returns:
      request envelope