Class SignInLocation

java.lang.Object
com.microsoft.graph.models.SignInLocation
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class SignInLocation extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Sign In Location.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • city

      @SerializedName(value="city", alternate="City") @Expose @Nullable public String city
      The City. Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity.
    • countryOrRegion

      @SerializedName(value="countryOrRegion", alternate="CountryOrRegion") @Expose @Nullable public String countryOrRegion
      The Country Or Region. Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity.
    • geoCoordinates

      @SerializedName(value="geoCoordinates", alternate="GeoCoordinates") @Expose @Nullable public GeoCoordinates geoCoordinates
      The Geo Coordinates. Provides the latitude, longitude and altitude where the sign-in originated.
    • state

      @SerializedName(value="state", alternate="State") @Expose @Nullable public String state
      The State. Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity.
  • Constructor Details

    • SignInLocation

      public SignInLocation()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • 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
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to