Class AndroidManagedStoreAccountEnterpriseSettings

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

    public class AndroidManagedStoreAccountEnterpriseSettings
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Enterprise settings for an Android managed store account.”
    • Constructor Detail

      • AndroidManagedStoreAccountEnterpriseSettings

        protected AndroidManagedStoreAccountEnterpriseSettings()
    • Method Detail

      • odataTypeName

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

        public static AndroidManagedStoreAccountEnterpriseSettings.Builder builderAndroidManagedStoreAccountEnterpriseSettings()
        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
      • getAndroidDeviceOwnerFullyManagedEnrollmentEnabled

        public Optional<Boolean> getAndroidDeviceOwnerFullyManagedEnrollmentEnabled()
        “Company codes for AndroidManagedStoreAccountEnterpriseSettings”
        Returns:
        property androidDeviceOwnerFullyManagedEnrollmentEnabled
      • withAndroidDeviceOwnerFullyManagedEnrollmentEnabled

        public AndroidManagedStoreAccountEnterpriseSettings withAndroidDeviceOwnerFullyManagedEnrollmentEnabled​(Boolean androidDeviceOwnerFullyManagedEnrollmentEnabled)
        Returns an immutable copy of this with just the androidDeviceOwnerFullyManagedEnrollmentEnabled 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.

        “Company codes for AndroidManagedStoreAccountEnterpriseSettings”

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

        public AndroidManagedStoreAccountEnterpriseSettings withBindStatus​(AndroidManagedStoreAccountBindStatus bindStatus)
        Returns an immutable copy of this with just the bindStatus 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.

        “Bind status of the tenant with the Google EMM API”

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

        public com.github.davidmoten.odata.client.CollectionPage<AndroidEnrollmentCompanyCode> getCompanyCodes()
        “Company codes for AndroidManagedStoreAccountEnterpriseSettings”
        Returns:
        property companyCodes
      • withCompanyCodes

        public AndroidManagedStoreAccountEnterpriseSettings withCompanyCodes​(List<AndroidEnrollmentCompanyCode> companyCodes)
        Returns an immutable copy of this with just the companyCodes 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.

        “Company codes for AndroidManagedStoreAccountEnterpriseSettings”

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

        public com.github.davidmoten.odata.client.CollectionPage<AndroidEnrollmentCompanyCode> getCompanyCodes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Company codes for AndroidManagedStoreAccountEnterpriseSettings”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property companyCodes
      • getDeviceOwnerManagementEnabled

        public Optional<Boolean> getDeviceOwnerManagementEnabled()
        “Indicates if this account is flighting for Android Device Owner Management with CloudDPC.”
        Returns:
        property deviceOwnerManagementEnabled
      • withDeviceOwnerManagementEnabled

        public AndroidManagedStoreAccountEnterpriseSettings withDeviceOwnerManagementEnabled​(Boolean deviceOwnerManagementEnabled)
        Returns an immutable copy of this with just the deviceOwnerManagementEnabled 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.

        “Indicates if this account is flighting for Android Device Owner Management with CloudDPC.”

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

        public AndroidManagedStoreAccountEnterpriseSettings withEnrollmentTarget​(AndroidManagedStoreAccountEnrollmentTarget enrollmentTarget)
        Returns an immutable copy of this with just the enrollmentTarget 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.

        “Indicates which users can enroll devices in Android Enterprise device management”

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

        public Optional<OffsetDateTime> getLastAppSyncDateTime()
        “Last completion time for app sync”
        Returns:
        property lastAppSyncDateTime
      • withLastAppSyncDateTime

        public AndroidManagedStoreAccountEnterpriseSettings withLastAppSyncDateTime​(OffsetDateTime lastAppSyncDateTime)
        Returns an immutable copy of this with just the lastAppSyncDateTime 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.

        “Last completion time for app sync”

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

        public AndroidManagedStoreAccountEnterpriseSettings withLastAppSyncStatus​(AndroidManagedStoreAccountAppSyncStatus lastAppSyncStatus)
        Returns an immutable copy of this with just the lastAppSyncStatus 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.

        “Last application sync result”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “Last modification time for Android enterprise settings”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public AndroidManagedStoreAccountEnterpriseSettings withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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.

        “Last modification time for Android enterprise settings”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getManagedGooglePlayInitialScopeTagIds()
        “Initial scope tags for MGP apps”
        Returns:
        property managedGooglePlayInitialScopeTagIds
      • withManagedGooglePlayInitialScopeTagIds

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

        “Initial scope tags for MGP apps”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getManagedGooglePlayInitialScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Initial scope tags for MGP apps”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property managedGooglePlayInitialScopeTagIds
      • getOwnerOrganizationName

        public Optional<String> getOwnerOrganizationName()
        “Organization name used when onboarding Android Enterprise”
        Returns:
        property ownerOrganizationName
      • withOwnerOrganizationName

        public AndroidManagedStoreAccountEnterpriseSettings withOwnerOrganizationName​(String ownerOrganizationName)
        Returns an immutable copy of this with just the ownerOrganizationName 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.

        “Organization name used when onboarding Android Enterprise”

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

        public Optional<String> getOwnerUserPrincipalName()
        “Owner UPN that created the enterprise”
        Returns:
        property ownerUserPrincipalName
      • withOwnerUserPrincipalName

        public AndroidManagedStoreAccountEnterpriseSettings withOwnerUserPrincipalName​(String ownerUserPrincipalName)
        Returns an immutable copy of this with just the ownerUserPrincipalName 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.

        “Owner UPN that created the enterprise”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getTargetGroupIds()
        “Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'”
        Returns:
        property targetGroupIds
      • withTargetGroupIds

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

        “Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getTargetGroupIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property targetGroupIds
      • 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 AndroidManagedStoreAccountEnterpriseSettings 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 AndroidManagedStoreAccountEnterpriseSettings 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
      • approveApps

        public com.github.davidmoten.odata.client.ActionRequestNoReturn approveApps​(List<String> packageIds,
                                                                                    Boolean approveAllPermissions)
      • completeSignup

        public com.github.davidmoten.odata.client.ActionRequestNoReturn completeSignup​(String enterpriseToken)
      • createGooglePlayWebToken

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> createGooglePlayWebToken​(String parentUri)
      • requestSignupUrl

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> requestSignupUrl​(String hostName)
      • setAndroidDeviceOwnerFullyManagedEnrollmentState

        public com.github.davidmoten.odata.client.ActionRequestNoReturn setAndroidDeviceOwnerFullyManagedEnrollmentState​(Boolean enabled)
      • syncApps

        public com.github.davidmoten.odata.client.ActionRequestNoReturn syncApps()
      • unbind

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