Class MacOSAppleEventReceiver

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

    public class MacOSAppleEventReceiver
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents a process that can receive an Apple Event notification.”
    • 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
      • allowed

        protected Boolean allowed
      • codeRequirement

        protected String codeRequirement
      • identifier

        protected String identifier
    • Constructor Detail

      • MacOSAppleEventReceiver

        protected MacOSAppleEventReceiver()
    • Method Detail

      • odataTypeName

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

        public Optional<Boolean> getAllowed()
        “Allow or block this app from receiving Apple events.”
        Returns:
        property allowed
      • withAllowed

        public MacOSAppleEventReceiver withAllowed​(Boolean allowed)
        Returns an immutable copy of this with just the allowed 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.

        “Allow or block this app from receiving Apple events.”

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

        public Optional<String> getCodeRequirement()
        “Code requirement for the app or binary that receives the Apple Event.”
        Returns:
        property codeRequirement
      • withCodeRequirement

        public MacOSAppleEventReceiver withCodeRequirement​(String codeRequirement)
        Returns an immutable copy of this with just the codeRequirement 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.

        “Code requirement for the app or binary that receives the Apple Event.”

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

        public Optional<String> getIdentifier()
        “Bundle ID of the app or file path of the process or executable that receives the Apple Event.”
        Returns:
        property identifier
      • withIdentifier

        public MacOSAppleEventReceiver withIdentifier​(String identifier)
        Returns an immutable copy of this with just the identifier 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.

        “Bundle ID of the app or file path of the process or executable that receives the Apple Event.”

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

        public Optional<MacOSProcessIdentifierType> getIdentifierType()
        “Use bundle ID for an app or path for a process or executable that receives the Apple Event.”
        Returns:
        property identifierType
      • withIdentifierType

        public MacOSAppleEventReceiver withIdentifierType​(MacOSProcessIdentifierType identifierType)
        Returns an immutable copy of this with just the identifierType 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.

        “Use bundle ID for an app or path for a process or executable that receives the Apple Event.”

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