Class MacOSSystemExtensionTypeMapping

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

    public class MacOSSystemExtensionTypeMapping
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents a mapping between team identifiers for macOS system extensions and system extension types.”
    • 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
      • teamIdentifier

        protected String teamIdentifier
    • Constructor Detail

      • MacOSSystemExtensionTypeMapping

        protected MacOSSystemExtensionTypeMapping()
    • Method Detail

      • odataTypeName

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

        public Optional<MacOSSystemExtensionType> getAllowedTypes()
        “Gets or sets the allowed macOS system extension types.”
        Returns:
        property allowedTypes
      • withAllowedTypes

        public MacOSSystemExtensionTypeMapping withAllowedTypes​(MacOSSystemExtensionType allowedTypes)
        Returns an immutable copy of this with just the allowedTypes 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 the allowed macOS system extension types.”

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

        public Optional<String> getTeamIdentifier()
        “Gets or sets the team identifier used to sign the system extension.”
        Returns:
        property teamIdentifier
      • withTeamIdentifier

        public MacOSSystemExtensionTypeMapping 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.

        “Gets or sets the team identifier used to sign the system 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 MacOSSystemExtensionTypeMapping.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