Class MacOSIncludedApp

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

    public class MacOSIncludedApp
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties of an included .app in a MacOS app.”
    • 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
      • bundleVersion

        protected String bundleVersion
    • Constructor Detail

      • MacOSIncludedApp

        protected MacOSIncludedApp()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getBundleId()
        “The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration.”
        Returns:
        property bundleId
      • withBundleId

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

        “The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration.”

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

        public Optional<String> getBundleVersion()
        “The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration.”
        Returns:
        property bundleVersion
      • withBundleVersion

        public MacOSIncludedApp withBundleVersion​(String bundleVersion)
        Returns an immutable copy of this with just the bundleVersion 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 version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration.”

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