Class MacOSKernelExtension

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

    public class MacOSKernelExtension
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents a specific macOS kernel extension. A macOS kernel extension can be described by its team identifier plus its bundle identifier.”
    • 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
      • bundleId

        protected String bundleId
      • teamIdentifier

        protected String teamIdentifier
    • Constructor Detail

      • MacOSKernelExtension

        protected MacOSKernelExtension()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getBundleId()
        “Bundle ID of the kernel extension.”
        Returns:
        property bundleId
      • withBundleId

        public MacOSKernelExtension withBundleId​(String bundleId)
        Returns an immutable copy of this with just the bundleId 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 kernel extension.”

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

        public Optional<String> getTeamIdentifier()
        “The team identifier that was used to sign the kernel extension.”
        Returns:
        property teamIdentifier
      • withTeamIdentifier

        public MacOSKernelExtension withTeamIdentifier​(String teamIdentifier)
        Returns an immutable copy of this with just the teamIdentifier 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 team identifier that was used to sign the kernel extension.”

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