Class OfficeSuiteApp

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

    public class OfficeSuiteApp
    extends MobileApp
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties and inherited properties for the Office365 Suite App.”
    • Field Detail

      • autoAcceptEula

        protected Boolean autoAcceptEula
      • localesToInstall

        protected List<String> localesToInstall
      • localesToInstallNextLink

        protected String localesToInstallNextLink
      • officeConfigurationXml

        protected byte[] officeConfigurationXml
      • productIdsNextLink

        protected String productIdsNextLink
      • shouldUninstallOlderVersionsOfOffice

        protected Boolean shouldUninstallOlderVersionsOfOffice
      • targetVersion

        protected String targetVersion
      • updateVersion

        protected String updateVersion
      • useSharedComputerActivation

        protected Boolean useSharedComputerActivation
    • Constructor Detail

      • OfficeSuiteApp

        protected OfficeSuiteApp()
    • Method Detail

      • odataTypeName

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

        public static OfficeSuiteApp.Builder builderOfficeSuiteApp()
        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 MobileApp
      • postInject

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

        public Optional<Boolean> getAutoAcceptEula()
        “The value to accept the EULA automatically on the enduser's device.”
        Returns:
        property autoAcceptEula
      • withAutoAcceptEula

        public OfficeSuiteApp withAutoAcceptEula​(Boolean autoAcceptEula)
        Returns an immutable copy of this with just the autoAcceptEula 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 value to accept the EULA automatically on the enduser's device.”

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

        public Optional<ExcludedApps> getExcludedApps()
        “The property to represent the apps which are excluded from the selected Office365 Product Id.”
        Returns:
        property excludedApps
      • withExcludedApps

        public OfficeSuiteApp withExcludedApps​(ExcludedApps excludedApps)
        Returns an immutable copy of this with just the excludedApps 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 property to represent the apps which are excluded from the selected Office365 Product Id.”

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

        public Optional<OfficeSuiteInstallProgressDisplayLevel> getInstallProgressDisplayLevel()
        “To specify the level of display for the Installation Progress Setup UI on the Device.”
        Returns:
        property installProgressDisplayLevel
      • withInstallProgressDisplayLevel

        public OfficeSuiteApp withInstallProgressDisplayLevel​(OfficeSuiteInstallProgressDisplayLevel installProgressDisplayLevel)
        Returns an immutable copy of this with just the installProgressDisplayLevel 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.

        “To specify the level of display for the Installation Progress Setup UI on the Device.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getLocalesToInstall()
        “The property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet. microsoft.com/en-us/library/cc179219(v=office.16).aspx”
        Returns:
        property localesToInstall
      • withLocalesToInstall

        public OfficeSuiteApp withLocalesToInstall​(List<String> localesToInstall)
        Returns an immutable copy of this with just the localesToInstall 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 property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet. microsoft.com/en-us/library/cc179219(v=office.16).aspx”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getLocalesToInstall​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet. microsoft.com/en-us/library/cc179219(v=office.16).aspx”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property localesToInstall
      • getOfficeConfigurationXml

        public Optional<byte[]> getOfficeConfigurationXml()
        “The property to represent the XML configuration file that can be specified for Office ProPlus Apps. Takes precedence over all other properties. When present, the XML configuration file will be used to create the app.”
        Returns:
        property officeConfigurationXml
      • withOfficeConfigurationXml

        public OfficeSuiteApp withOfficeConfigurationXml​(byte[] officeConfigurationXml)
        Returns an immutable copy of this with just the officeConfigurationXml 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 property to represent the XML configuration file that can be specified for Office ProPlus Apps. Takes precedence over all other properties. When present, the XML configuration file will be used to create the app.”

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

        public Optional<WindowsArchitecture> getOfficePlatformArchitecture()
        “The property to represent the Office365 app suite version.”
        Returns:
        property officePlatformArchitecture
      • withOfficePlatformArchitecture

        public OfficeSuiteApp withOfficePlatformArchitecture​(WindowsArchitecture officePlatformArchitecture)
        Returns an immutable copy of this with just the officePlatformArchitecture 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 property to represent the Office365 app suite version.”

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

        public com.github.davidmoten.odata.client.CollectionPage<OfficeProductId> getProductIds()
        “The Product Ids that represent the Office365 Suite SKU.”
        Returns:
        property productIds
      • withProductIds

        public OfficeSuiteApp withProductIds​(List<OfficeProductId> productIds)
        Returns an immutable copy of this with just the productIds 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 Product Ids that represent the Office365 Suite SKU.”

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

        public com.github.davidmoten.odata.client.CollectionPage<OfficeProductId> getProductIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The Product Ids that represent the Office365 Suite SKU.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property productIds
      • getShouldUninstallOlderVersionsOfOffice

        public Optional<Boolean> getShouldUninstallOlderVersionsOfOffice()
        “The property to determine whether to uninstall existing Office MSI if an Office365 app suite is deployed to the device or not.”
        Returns:
        property shouldUninstallOlderVersionsOfOffice
      • withShouldUninstallOlderVersionsOfOffice

        public OfficeSuiteApp withShouldUninstallOlderVersionsOfOffice​(Boolean shouldUninstallOlderVersionsOfOffice)
        Returns an immutable copy of this with just the shouldUninstallOlderVersionsOfOffice 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 property to determine whether to uninstall existing Office MSI if an Office365 app suite is deployed to the device or not.”

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

        public Optional<String> getTargetVersion()
        “The property to represent the specific target version for the Office365 app suite that should be remained deployed on the devices.”
        Returns:
        property targetVersion
      • withTargetVersion

        public OfficeSuiteApp withTargetVersion​(String targetVersion)
        Returns an immutable copy of this with just the targetVersion 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 property to represent the specific target version for the Office365 app suite that should be remained deployed on the devices.”

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

        public Optional<OfficeUpdateChannel> getUpdateChannel()
        “The property to represent the Office365 Update Channel.”
        Returns:
        property updateChannel
      • withUpdateChannel

        public OfficeSuiteApp withUpdateChannel​(OfficeUpdateChannel updateChannel)
        Returns an immutable copy of this with just the updateChannel 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 property to represent the Office365 Update Channel.”

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

        public Optional<String> getUpdateVersion()
        “The property to represent the update version in which the specific target version is available for the Office365 app suite.”
        Returns:
        property updateVersion
      • withUpdateVersion

        public OfficeSuiteApp withUpdateVersion​(String updateVersion)
        Returns an immutable copy of this with just the updateVersion 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 property to represent the update version in which the specific target version is available for the Office365 app suite.”

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

        public Optional<Boolean> getUseSharedComputerActivation()
        “The property to represent that whether the shared computer activation is used not for Office365 app suite.”
        Returns:
        property useSharedComputerActivation
      • withUseSharedComputerActivation

        public OfficeSuiteApp withUseSharedComputerActivation​(Boolean useSharedComputerActivation)
        Returns an immutable copy of this with just the useSharedComputerActivation 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 property to represent that whether the shared computer activation is used not for Office365 app suite.”

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

        public OfficeSuiteApp patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class MobileApp
        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 OfficeSuiteApp 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 MobileApp
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected