Class UserIdentity

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class UserIdentity
    extends Identity
    implements com.github.davidmoten.odata.client.ODataType
    • Field Detail

      • ipAddress

        protected String ipAddress
      • userPrincipalName

        protected String userPrincipalName
    • Constructor Detail

      • UserIdentity

        protected UserIdentity()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Identity
      • getUserPrincipalName

        public Optional<String> getUserPrincipalName()
      • withUserPrincipalName

        public UserIdentity withUserPrincipalName​(String userPrincipalName)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Identity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Identity
      • 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