Class AuditActor

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

    public class AuditActor
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “A class containing the properties for Audit Actor.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • applicationDisplayName

        protected String applicationDisplayName
      • applicationId

        protected String applicationId
      • auditActorType

        protected String auditActorType
      • ipAddress

        protected String ipAddress
      • servicePrincipalName

        protected String servicePrincipalName
      • userId

        protected String userId
      • userPermissions

        protected List<String> userPermissions
      • userPermissionsNextLink

        protected String userPermissionsNextLink
      • userPrincipalName

        protected String userPrincipalName
    • Constructor Detail

      • AuditActor

        protected AuditActor()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getApplicationDisplayName

        public Optional<String> getApplicationDisplayName()
        “Name of the Application.”
        Returns:
        property applicationDisplayName
      • withApplicationDisplayName

        public AuditActor withApplicationDisplayName​(String applicationDisplayName)
        Returns an immutable copy of this with just the applicationDisplayName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Name of the Application.”

        Parameters:
        applicationDisplayName - new value of applicationDisplayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the applicationDisplayName field changed
      • getApplicationId

        public Optional<String> getApplicationId()
        “AAD Application Id.”
        Returns:
        property applicationId
      • withApplicationId

        public AuditActor withApplicationId​(String applicationId)
        Returns an immutable copy of this with just the applicationId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “AAD Application Id.”

        Parameters:
        applicationId - new value of applicationId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the applicationId field changed
      • getAuditActorType

        public Optional<String> getAuditActorType()
        “Actor Type.”
        Returns:
        property auditActorType
      • withAuditActorType

        public AuditActor withAuditActorType​(String auditActorType)
        Returns an immutable copy of this with just the auditActorType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Actor Type.”

        Parameters:
        auditActorType - new value of auditActorType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the auditActorType field changed
      • getIpAddress

        public Optional<String> getIpAddress()
        “IPAddress.”
        Returns:
        property ipAddress
      • withIpAddress

        public AuditActor withIpAddress​(String ipAddress)
        Returns an immutable copy of this with just the ipAddress field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “IPAddress.”

        Parameters:
        ipAddress - new value of ipAddress field (as defined in service metadata)
        Returns:
        immutable copy of this with just the ipAddress field changed
      • getServicePrincipalName

        public Optional<String> getServicePrincipalName()
        “Service Principal Name (SPN).”
        Returns:
        property servicePrincipalName
      • withServicePrincipalName

        public AuditActor withServicePrincipalName​(String servicePrincipalName)
        Returns an immutable copy of this with just the servicePrincipalName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Service Principal Name (SPN).”

        Parameters:
        servicePrincipalName - new value of servicePrincipalName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the servicePrincipalName field changed
      • getUserId

        public Optional<String> getUserId()
        “User Id.”
        Returns:
        property userId
      • withUserId

        public AuditActor withUserId​(String userId)
        Returns an immutable copy of this with just the userId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “User Id.”

        Parameters:
        userId - new value of userId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userId field changed
      • getUserPermissions

        public com.github.davidmoten.odata.client.CollectionPage<String> getUserPermissions()
        “List of user permissions when the audit was performed.”
        Returns:
        property userPermissions
      • getUserPermissions

        public com.github.davidmoten.odata.client.CollectionPage<String> getUserPermissions​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of user permissions when the audit was performed.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property userPermissions
      • getUserPrincipalName

        public Optional<String> getUserPrincipalName()
        “User Principal Name (UPN).”
        Returns:
        property userPrincipalName
      • withUserPrincipalName

        public AuditActor withUserPrincipalName​(String userPrincipalName)
        Returns an immutable copy of this with just the userPrincipalName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “User Principal Name (UPN).”

        Parameters:
        userPrincipalName - new value of userPrincipalName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userPrincipalName field changed
      • getUnmappedFields

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

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static AuditActor.Builder builder()
        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