Class GetCountryInfo

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

public class GetCountryInfo extends RequestBody
Country information request
  • Constructor Details

    • GetCountryInfo

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

    • getCountryId

      public int getCountryId()
      Country id
      Returns:
      id
    • setCountryId

      public void setCountryId(int countryId)
      Sets the country id
      Parameters:
      countryId - to query
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int countryId)
      Request envelope
      Parameters:
      authorizationInformation - credentials
      countryId - to query
      Returns:
      request