Package com.microsoft.graph.models
Class UserIdentity
java.lang.Object
com.microsoft.graph.models.Identity
com.microsoft.graph.models.UserIdentity
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class UserIdentity
extends Identity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the User Identity.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Ip Address.The User Principal Name.Fields inherited from class com.microsoft.graph.models.Identity
displayName, id, oDataType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Identity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
ipAddress
The Ip Address. Indicates the client IP address used by user performing the activity (audit log only). -
userPrincipalName
@SerializedName(value="userPrincipalName", alternate="UserPrincipalName") @Expose @Nullable public String userPrincipalNameThe User Principal Name. The userPrincipalName attribute of the user.
-
-
Constructor Details
-
UserIdentity
public UserIdentity()
-
-
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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classIdentity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-