Class ContinentsResponseCountryOrRegionsItem


  • public final class ContinentsResponseCountryOrRegionsItem
    extends Object
    The ContinentsResponseCountryOrRegionsItem model.
    • Constructor Detail

      • ContinentsResponseCountryOrRegionsItem

        public ContinentsResponseCountryOrRegionsItem()
    • Method Detail

      • id

        public String id()
        Get the id property: The id property.
        Returns:
        the id value.
      • withId

        public ContinentsResponseCountryOrRegionsItem withId​(String id)
        Set the id property: The id property.
        Parameters:
        id - the id value to set.
        Returns:
        the ContinentsResponseCountryOrRegionsItem object itself.
      • continentId

        public String continentId()
        Get the continentId property: The continentId property.
        Returns:
        the continentId value.
      • withContinentId

        public ContinentsResponseCountryOrRegionsItem withContinentId​(String continentId)
        Set the continentId property: The continentId property.
        Parameters:
        continentId - the continentId value to set.
        Returns:
        the ContinentsResponseCountryOrRegionsItem object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.