Class Win32LobAppFileSystemRule

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

    public class Win32LobAppFileSystemRule
    extends Win32LobAppRule
    implements com.github.davidmoten.odata.client.ODataType
    “A complex type to store file or folder rule data for a Win32 LOB app.”
    • Constructor Detail

      • Win32LobAppFileSystemRule

        protected Win32LobAppFileSystemRule()
    • Method Detail

      • odataTypeName

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

        public Optional<Boolean> getCheck32BitOn64System()
        “A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.”
        Returns:
        property check32BitOn64System
      • withCheck32BitOn64System

        public Win32LobAppFileSystemRule withCheck32BitOn64System​(Boolean check32BitOn64System)
        Returns an immutable copy of this with just the check32BitOn64System 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.

        “A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.”

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

        public Optional<String> getComparisonValue()
        “The file or folder comparison value.”
        Returns:
        property comparisonValue
      • withComparisonValue

        public Win32LobAppFileSystemRule withComparisonValue​(String comparisonValue)
        Returns an immutable copy of this with just the comparisonValue 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.

        “The file or folder comparison value.”

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

        public Optional<String> getFileOrFolderName()
        “The file or folder name to look up.”
        Returns:
        property fileOrFolderName
      • withFileOrFolderName

        public Win32LobAppFileSystemRule withFileOrFolderName​(String fileOrFolderName)
        Returns an immutable copy of this with just the fileOrFolderName 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.

        “The file or folder name to look up.”

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

        public Win32LobAppFileSystemRule withOperationType​(Win32LobAppFileSystemOperationType operationType)
        Returns an immutable copy of this with just the operationType 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.

        “The file system operation type.”

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

        public Win32LobAppFileSystemRule withOperator​(Win32LobAppRuleOperator operator)
        Returns an immutable copy of this with just the operator 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.

        “The operator for file or folder detection.”

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

        public Optional<String> getPath()
        “The file or folder path to look up.”
        Returns:
        property path
      • withPath

        public Win32LobAppFileSystemRule withPath​(String path)
        Returns an immutable copy of this with just the path 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.

        “The file or folder path to look up.”

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

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

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

        public static Win32LobAppFileSystemRule.Builder builderWin32LobAppFileSystemRule()
        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