Package odata.msgraph.client.complex
Class UserIdentity
- java.lang.Object
-
- odata.msgraph.client.complex.Identity
-
- odata.msgraph.client.complex.UserIdentity
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class UserIdentity extends Identity implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserIdentity.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringipAddressprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.complex.Identity
contextPath, displayName, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserIdentity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserIdentity.BuilderbuilderUserIdentity()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getIpAddress()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()UserIdentitywithIpAddress(String ipAddress)UserIdentitywithUnmappedField(String name, Object value)UserIdentitywithUserPrincipalName(String userPrincipalName)-
Methods inherited from class odata.msgraph.client.complex.Identity
builder, getDisplayName, getId, withDisplayName, withId
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classIdentity
-
withIpAddress
public UserIdentity withIpAddress(String ipAddress)
-
withUserPrincipalName
public UserIdentity withUserPrincipalName(String userPrincipalName)
-
withUnmappedField
public UserIdentity withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classIdentity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classIdentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classIdentity
-
builderUserIdentity
public static UserIdentity.Builder builderUserIdentity()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-