Class GetCountyInfo

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

public class GetCountyInfo extends RequestBody
Country information
  • Constructor Details

    • GetCountyInfo

      public GetCountyInfo(AuthorizationInformation authorizationInformation, int countyId)
      Constructs the request
      Parameters:
      authorizationInformation - for the user
      countyId - to request
  • Method Details

    • getCountyId

      public int getCountyId()
      County id
      Returns:
      id
    • setCountyId

      public void setCountyId(int countyId)
      Sets the county id
      Parameters:
      countyId - to query
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int countyId)
      Creates the request envelope
      Parameters:
      authorizationInformation - credentials
      countyId - to query
      Returns:
      request