Package com.microsoft.graph.models
Class CountryNamedLocation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.NamedLocation
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe Countries And Regions.The Country Lookup Method.The Include Unknown Countries And Regions.Fields inherited from class com.microsoft.graph.models.NamedLocation
createdDateTime, displayName, modifiedDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
countriesAndRegions
@SerializedName(value="countriesAndRegions", alternate="CountriesAndRegions") @Expose @Nullable public List<String> countriesAndRegionsThe 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 countryLookupMethodThe 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 includeUnknownCountriesAndRegionsThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classNamedLocation
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-