Class CountryNamedLocation

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class CountryNamedLocation extends NamedLocation implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Country Named Location.
  • Field Details

    • countriesAndRegions

      @SerializedName(value="countriesAndRegions", alternate="CountriesAndRegions") @Expose @Nullable public List<String> countriesAndRegions
      The Countries And Regions. List of countries and/or regions in two-letter format specified by ISO 3166-2. Required.
    • countryLookupMethod

      @SerializedName(value="countryLookupMethod", alternate="CountryLookupMethod") @Expose @Nullable public CountryLookupMethodType countryLookupMethod
      The Country Lookup Method. Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress(default) and authenticatorAppGps. Note: authenticatorAppGps is not yet supported in the Microsoft Cloud for US Government.
    • includeUnknownCountriesAndRegions

      @SerializedName(value="includeUnknownCountriesAndRegions", alternate="IncludeUnknownCountriesAndRegions") @Expose @Nullable public Boolean includeUnknownCountriesAndRegions
      The Include Unknown Countries And Regions. true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false.
  • Constructor Details

    • CountryNamedLocation

      public CountryNamedLocation()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class NamedLocation
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to