Class DeviceAppManagement

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

    public class DeviceAppManagement
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Singleton entity that acts as a container for all device app management functionality.”
    • Field Detail

      • isEnabledForMicrosoftStoreForBusiness

        protected Boolean isEnabledForMicrosoftStoreForBusiness
      • microsoftStoreForBusinessLanguage

        protected String microsoftStoreForBusinessLanguage
      • microsoftStoreForBusinessLastCompletedApplicationSyncTime

        protected OffsetDateTime microsoftStoreForBusinessLastCompletedApplicationSyncTime
      • microsoftStoreForBusinessLastSuccessfulSyncDateTime

        protected OffsetDateTime microsoftStoreForBusinessLastSuccessfulSyncDateTime
    • Constructor Detail

      • DeviceAppManagement

        protected DeviceAppManagement()
    • Method Detail

      • odataTypeName

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

        public static DeviceAppManagement.Builder builderDeviceAppManagement()
        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 Entity
      • postInject

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

        public Optional<Boolean> getIsEnabledForMicrosoftStoreForBusiness()
        “Whether the account is enabled for syncing applications from the Microsoft Store for Business.”
        Returns:
        property isEnabledForMicrosoftStoreForBusiness
      • withIsEnabledForMicrosoftStoreForBusiness

        public DeviceAppManagement withIsEnabledForMicrosoftStoreForBusiness​(Boolean isEnabledForMicrosoftStoreForBusiness)
        Returns an immutable copy of this with just the isEnabledForMicrosoftStoreForBusiness 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.

        “Whether the account is enabled for syncing applications from the Microsoft Store for Business.”

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

        public Optional<String> getMicrosoftStoreForBusinessLanguage()
        “The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is &lt;languagecode2 &gt;-&lt;country/regioncode2&gt;, where &lt;languagecode2&gt; is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.”
        Returns:
        property microsoftStoreForBusinessLanguage
      • withMicrosoftStoreForBusinessLanguage

        public DeviceAppManagement withMicrosoftStoreForBusinessLanguage​(String microsoftStoreForBusinessLanguage)
        Returns an immutable copy of this with just the microsoftStoreForBusinessLanguage 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 locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is &lt;languagecode2 &gt;-&lt;country/regioncode2&gt;, where &lt;languagecode2&gt; is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.”

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

        public Optional<OffsetDateTime> getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime()
        “The last time an application sync from the Microsoft Store for Business was completed.”
        Returns:
        property microsoftStoreForBusinessLastCompletedApplicationSyncTime
      • withMicrosoftStoreForBusinessLastCompletedApplicationSyncTime

        public DeviceAppManagement withMicrosoftStoreForBusinessLastCompletedApplicationSyncTime​(OffsetDateTime microsoftStoreForBusinessLastCompletedApplicationSyncTime)
        Returns an immutable copy of this with just the microsoftStoreForBusinessLastCompletedApplicationSyncTime 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 last time an application sync from the Microsoft Store for Business was completed.”

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

        public Optional<OffsetDateTime> getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime()
        “The last time the apps from the Microsoft Store for Business were synced successfully for the account.”
        Returns:
        property microsoftStoreForBusinessLastSuccessfulSyncDateTime
      • withMicrosoftStoreForBusinessLastSuccessfulSyncDateTime

        public DeviceAppManagement withMicrosoftStoreForBusinessLastSuccessfulSyncDateTime​(OffsetDateTime microsoftStoreForBusinessLastSuccessfulSyncDateTime)
        Returns an immutable copy of this with just the microsoftStoreForBusinessLastSuccessfulSyncDateTime 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 last time the apps from the Microsoft Store for Business were synced successfully for the account.”

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

        public Optional<MicrosoftStoreForBusinessPortalSelectionOptions> getMicrosoftStoreForBusinessPortalSelection()
        “The end user portal information is used to sync applications from the Microsoft Store for Business to Intune Company Portal. There are three options to pick from ['Company portal only', 'Company portal and private store', 'Private store only']”
        Returns:
        property microsoftStoreForBusinessPortalSelection
      • withMicrosoftStoreForBusinessPortalSelection

        public DeviceAppManagement withMicrosoftStoreForBusinessPortalSelection​(MicrosoftStoreForBusinessPortalSelectionOptions microsoftStoreForBusinessPortalSelection)
        Returns an immutable copy of this with just the microsoftStoreForBusinessPortalSelection 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 end user portal information is used to sync applications from the Microsoft Store for Business to Intune Company Portal. There are three options to pick from ['Company portal only', 'Company portal and private store', 'Private store only']”

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

        public ManagedEBookCategoryCollectionRequest getManagedEBookCategories()
        “The mobile eBook categories.”
        Returns:
        navigational property managedEBookCategories
      • getEnterpriseCodeSigningCertificates

        public EnterpriseCodeSigningCertificateCollectionRequest getEnterpriseCodeSigningCertificates()
        “The Windows Enterprise Code Signing Certificate.”
        Returns:
        navigational property enterpriseCodeSigningCertificates
      • getIosLobAppProvisioningConfigurations

        public IosLobAppProvisioningConfigurationCollectionRequest getIosLobAppProvisioningConfigurations()
        “The IOS Lob App Provisioning Configurations.”
        Returns:
        navigational property iosLobAppProvisioningConfigurations
      • getMobileAppCategories

        public MobileAppCategoryCollectionRequest getMobileAppCategories()
        “The mobile app categories.”
        Returns:
        navigational property mobileAppCategories
      • getMobileApps

        public MobileAppCollectionRequest getMobileApps()
        “The mobile apps.”
        Returns:
        navigational property mobileApps
      • getSymantecCodeSigningCertificate

        public SymantecCodeSigningCertificateRequest getSymantecCodeSigningCertificate()
        “The WinPhone Symantec Code Signing Certificate.”
        Returns:
        navigational property symantecCodeSigningCertificate
      • getManagedEBooks

        public ManagedEBookCollectionRequest getManagedEBooks()
        “The Managed eBook.”
        Returns:
        navigational property managedEBooks
      • getPolicySets

        public PolicySetCollectionRequest getPolicySets()
        “The PolicySet of Policies and Applications”
        Returns:
        navigational property policySets
      • getSideLoadingKeys

        public SideLoadingKeyCollectionRequest getSideLoadingKeys()
        “Side Loading Keys that are required for the Windows 8 and 8.1 Apps installation.”
        Returns:
        navigational property sideLoadingKeys
      • getVppTokens

        public VppTokenCollectionRequest getVppTokens()
        “List of Vpp tokens for this organization.”
        Returns:
        navigational property vppTokens
      • getWindowsManagementApp

        public WindowsManagementAppRequest getWindowsManagementApp()
        “Windows management app.”
        Returns:
        navigational property windowsManagementApp
      • getManagedAppPolicies

        public ManagedAppPolicyCollectionRequest getManagedAppPolicies()
        “Managed app policies.”
        Returns:
        navigational property managedAppPolicies
      • getManagedAppRegistrations

        public ManagedAppRegistrationCollectionRequest getManagedAppRegistrations()
        “The managed app registrations.”
        Returns:
        navigational property managedAppRegistrations
      • getManagedAppStatuses

        public ManagedAppStatusCollectionRequest getManagedAppStatuses()
        “The managed app statuses.”
        Returns:
        navigational property managedAppStatuses
      • getMdmWindowsInformationProtectionPolicies

        public MdmWindowsInformationProtectionPolicyCollectionRequest getMdmWindowsInformationProtectionPolicies()
        “Windows information protection for apps running on devices which are MDM enrolled.”
        Returns:
        navigational property mdmWindowsInformationProtectionPolicies
      • getTargetedManagedAppConfigurations

        public TargetedManagedAppConfigurationCollectionRequest getTargetedManagedAppConfigurations()
        “Targeted managed app configurations.”
        Returns:
        navigational property targetedManagedAppConfigurations
      • getWindowsInformationProtectionDeviceRegistrations

        public WindowsInformationProtectionDeviceRegistrationCollectionRequest getWindowsInformationProtectionDeviceRegistrations()
        “Windows information protection device registrations that are not MDM enrolled.”
        Returns:
        navigational property windowsInformationProtectionDeviceRegistrations
      • getWindowsInformationProtectionPolicies

        public WindowsInformationProtectionPolicyCollectionRequest getWindowsInformationProtectionPolicies()
        “Windows information protection for apps running on devices which are not MDM enrolled.”
        Returns:
        navigational property windowsInformationProtectionPolicies
      • getWindowsInformationProtectionWipeActions

        public WindowsInformationProtectionWipeActionCollectionRequest getWindowsInformationProtectionWipeActions()
        “Windows information protection wipe actions.”
        Returns:
        navigational property windowsInformationProtectionWipeActions
      • getDeviceAppManagementTasks

        public DeviceAppManagementTaskCollectionRequest getDeviceAppManagementTasks()
        “Device app management tasks.”
        Returns:
        navigational property deviceAppManagementTasks
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

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

        public com.github.davidmoten.odata.client.ActionRequestNoReturn syncMicrosoftStoreForBusinessApps()