public class MacOSAppleEventReceiver extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
MacOSAppleEventReceiver.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowed |
protected String |
codeRequirement |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
identifier |
protected MacOSProcessIdentifierType |
identifierType |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
MacOSAppleEventReceiver() |
| Modifier and Type | Method and Description |
|---|---|
static MacOSAppleEventReceiver.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAllowed()
“Allow or block this app from receiving Apple events.”
|
Optional<String> |
getCodeRequirement()
“Code requirement for the app or binary that receives the Apple Event.”
|
Optional<String> |
getIdentifier()
“Bundle ID of the app or file path of the process or executable that receives the
Apple Event.”
|
Optional<MacOSProcessIdentifierType> |
getIdentifierType()
“Use bundle ID for an app or path for a process or executable that receives the
Apple Event.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
MacOSAppleEventReceiver |
withAllowed(Boolean allowed)
Returns an immutable copy of
this with just the allowed field
changed. |
MacOSAppleEventReceiver |
withCodeRequirement(String codeRequirement)
Returns an immutable copy of
this with just the codeRequirement
field changed. |
MacOSAppleEventReceiver |
withIdentifier(String identifier)
Returns an immutable copy of
this with just the identifier field
changed. |
MacOSAppleEventReceiver |
withIdentifierType(MacOSProcessIdentifierType identifierType)
Returns an immutable copy of
this with just the identifierType
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String codeRequirement
protected String identifier
protected MacOSProcessIdentifierType identifierType
protected Boolean allowed
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getCodeRequirement()
public MacOSAppleEventReceiver withCodeRequirement(String codeRequirement)
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.”
codeRequirement - new value of codeRequirement field (as defined in service metadata)this with just the codeRequirement field changedpublic Optional<String> getIdentifier()
public MacOSAppleEventReceiver withIdentifier(String identifier)
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.”
identifier - new value of identifier field (as defined in service metadata)this with just the identifier field changedpublic Optional<MacOSProcessIdentifierType> getIdentifierType()
public MacOSAppleEventReceiver withIdentifierType(MacOSProcessIdentifierType identifierType)
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.”
identifierType - new value of identifierType field (as defined in service metadata)this with just the identifierType field changedpublic Optional<Boolean> getAllowed()
public MacOSAppleEventReceiver withAllowed(Boolean allowed)
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.”
allowed - new value of allowed field (as defined in service metadata)this with just the allowed field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static MacOSAppleEventReceiver.Builder builder()
Copyright © 2018–2020. All rights reserved.