Class MacOSAppleEventReceiver
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSAppleEventReceiver.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleanallowedprotected StringcodeRequirementprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringidentifierprotected MacOSProcessIdentifierTypeidentifierTypeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSAppleEventReceiver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSAppleEventReceiver.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOSAppleEventReceiverwithAllowed(Boolean allowed)Returns an immutable copy ofthiswith just theallowedfield changed.MacOSAppleEventReceiverwithCodeRequirement(String codeRequirement)Returns an immutable copy ofthiswith just thecodeRequirementfield changed.MacOSAppleEventReceiverwithIdentifier(String identifier)Returns an immutable copy ofthiswith just theidentifierfield changed.MacOSAppleEventReceiverwithIdentifierType(MacOSProcessIdentifierType identifierType)Returns an immutable copy ofthiswith just theidentifierTypefield changed.MacOSAppleEventReceiverwithUnmappedField(String name, String value)
-
-
-
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
-
identifierType
protected MacOSProcessIdentifierType identifierType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just theallowedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofallowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowedfield 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 ofthiswith just thecodeRequirementfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofcodeRequirementfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecodeRequirementfield 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 ofthiswith just theidentifierfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofidentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentifierfield 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 ofthiswith just theidentifierTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofidentifierTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidentifierTypefield changed
-
withUnmappedField
public MacOSAppleEventReceiver withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-