Class MacOSExtensionsConfiguration

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

    public class MacOSExtensionsConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “MacOS extensions configuration profile.”
    • Field Detail

      • kernelExtensionAllowedTeamIdentifiers

        protected List<String> kernelExtensionAllowedTeamIdentifiers
      • kernelExtensionAllowedTeamIdentifiersNextLink

        protected String kernelExtensionAllowedTeamIdentifiersNextLink
      • kernelExtensionOverridesAllowed

        protected Boolean kernelExtensionOverridesAllowed
      • kernelExtensionsAllowedNextLink

        protected String kernelExtensionsAllowedNextLink
      • systemExtensionsAllowedNextLink

        protected String systemExtensionsAllowedNextLink
      • systemExtensionsAllowedTeamIdentifiers

        protected List<String> systemExtensionsAllowedTeamIdentifiers
      • systemExtensionsAllowedTeamIdentifiersNextLink

        protected String systemExtensionsAllowedTeamIdentifiersNextLink
      • systemExtensionsAllowedTypesNextLink

        protected String systemExtensionsAllowedTypesNextLink
      • systemExtensionsBlockOverride

        protected Boolean systemExtensionsBlockOverride
    • Constructor Detail

      • MacOSExtensionsConfiguration

        protected MacOSExtensionsConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • builderMacOSExtensionsConfiguration

        public static MacOSExtensionsConfiguration.Builder builderMacOSExtensionsConfiguration()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getKernelExtensionAllowedTeamIdentifiers()
        “All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”
        Returns:
        property kernelExtensionAllowedTeamIdentifiers
      • withKernelExtensionAllowedTeamIdentifiers

        public MacOSExtensionsConfiguration withKernelExtensionAllowedTeamIdentifiers​(List<String> kernelExtensionAllowedTeamIdentifiers)
        Returns an immutable copy of this with just the kernelExtensionAllowedTeamIdentifiers 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.

        “All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getKernelExtensionAllowedTeamIdentifiers​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property kernelExtensionAllowedTeamIdentifiers
      • getKernelExtensionOverridesAllowed

        public Optional<Boolean> getKernelExtensionOverridesAllowed()
        “If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles.”
        Returns:
        property kernelExtensionOverridesAllowed
      • withKernelExtensionOverridesAllowed

        public MacOSExtensionsConfiguration withKernelExtensionOverridesAllowed​(Boolean kernelExtensionOverridesAllowed)
        Returns an immutable copy of this with just the kernelExtensionOverridesAllowed 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.

        “If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSKernelExtension> getKernelExtensionsAllowed()
        “A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements.”
        Returns:
        property kernelExtensionsAllowed
      • withKernelExtensionsAllowed

        public MacOSExtensionsConfiguration withKernelExtensionsAllowed​(List<MacOSKernelExtension> kernelExtensionsAllowed)
        Returns an immutable copy of this with just the kernelExtensionsAllowed 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.

        “A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSKernelExtension> getKernelExtensionsAllowed​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property kernelExtensionsAllowed
      • getSystemExtensionsAllowed

        public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtension> getSystemExtensionsAllowed()
        “Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements.”
        Returns:
        property systemExtensionsAllowed
      • withSystemExtensionsAllowed

        public MacOSExtensionsConfiguration withSystemExtensionsAllowed​(List<MacOSSystemExtension> systemExtensionsAllowed)
        Returns an immutable copy of this with just the systemExtensionsAllowed 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.

        “Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtension> getSystemExtensionsAllowed​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property systemExtensionsAllowed
      • getSystemExtensionsAllowedTeamIdentifiers

        public com.github.davidmoten.odata.client.CollectionPage<String> getSystemExtensionsAllowedTeamIdentifiers()
        “Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved.”
        Returns:
        property systemExtensionsAllowedTeamIdentifiers
      • withSystemExtensionsAllowedTeamIdentifiers

        public MacOSExtensionsConfiguration withSystemExtensionsAllowedTeamIdentifiers​(List<String> systemExtensionsAllowedTeamIdentifiers)
        Returns an immutable copy of this with just the systemExtensionsAllowedTeamIdentifiers 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.

        “Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getSystemExtensionsAllowedTeamIdentifiers​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property systemExtensionsAllowedTeamIdentifiers
      • getSystemExtensionsAllowedTypes

        public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtensionTypeMapping> getSystemExtensionsAllowedTypes()
        “Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements.”
        Returns:
        property systemExtensionsAllowedTypes
      • withSystemExtensionsAllowedTypes

        public MacOSExtensionsConfiguration withSystemExtensionsAllowedTypes​(List<MacOSSystemExtensionTypeMapping> systemExtensionsAllowedTypes)
        Returns an immutable copy of this with just the systemExtensionsAllowedTypes 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.

        “Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtensionTypeMapping> getSystemExtensionsAllowedTypes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property systemExtensionsAllowedTypes
      • getSystemExtensionsBlockOverride

        public Optional<Boolean> getSystemExtensionsBlockOverride()
        “Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles.”
        Returns:
        property systemExtensionsBlockOverride
      • withSystemExtensionsBlockOverride

        public MacOSExtensionsConfiguration withSystemExtensionsBlockOverride​(Boolean systemExtensionsBlockOverride)
        Returns an immutable copy of this with just the systemExtensionsBlockOverride 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.

        “Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles.”

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

        public MacOSExtensionsConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public MacOSExtensionsConfiguration put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected