Class Win32LobAppProductCodeDetection

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

    public class Win32LobAppProductCodeDetection
    extends Win32LobAppDetection
    implements com.github.davidmoten.odata.client.ODataType
    “Contains product code and version properties to detect a Win32 App”
    • Constructor Detail

      • Win32LobAppProductCodeDetection

        protected Win32LobAppProductCodeDetection()
    • Method Detail

      • getProductCode

        public Optional<String> getProductCode()
        “The product code of Win32 Line of Business (LoB) app.”
        Returns:
        property productCode
      • withProductCode

        public Win32LobAppProductCodeDetection withProductCode​(String productCode)
        Returns an immutable copy of this with just the productCode 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 product code of Win32 Line of Business (LoB) app.”

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

        public Optional<String> getProductVersion()
        “The product version of Win32 Line of Business (LoB) app.”
        Returns:
        property productVersion
      • withProductVersion

        public Win32LobAppProductCodeDetection withProductVersion​(String productVersion)
        Returns an immutable copy of this with just the productVersion 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 product version of Win32 Line of Business (LoB) app.”

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

        public Optional<Win32LobAppDetectionOperator> getProductVersionOperator()
        “The operator to detect product version.”
        Returns:
        property productVersionOperator
      • withProductVersionOperator

        public Win32LobAppProductCodeDetection withProductVersionOperator​(Win32LobAppDetectionOperator productVersionOperator)
        Returns an immutable copy of this with just the productVersionOperator 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 to detect product version.”

        Parameters:
        productVersionOperator - new value of productVersionOperator field (as defined in service metadata)
        Returns:
        immutable copy of this with just the productVersionOperator 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 Win32LobAppDetection
      • postInject

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

        public static Win32LobAppProductCodeDetection.Builder builderWin32LobAppProductCodeDetection()
        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