Class ManagedDeviceMobileAppConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    IosMobileAppConfiguration

    public class ManagedDeviceMobileAppConfiguration
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “An abstract class for Mobile app configuration for enrolled devices.”
    • Constructor Detail

      • ManagedDeviceMobileAppConfiguration

        protected ManagedDeviceMobileAppConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • 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
      • getCreatedDateTime

        public Optional<OffsetDateTime> getCreatedDateTime()
        “DateTime the object was created.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public ManagedDeviceMobileAppConfiguration withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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.

        “DateTime the object was created.”

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

        public Optional<String> getDescription()
        “Admin provided description of the Device Configuration.”
        Returns:
        property description
      • withDescription

        public ManagedDeviceMobileAppConfiguration withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “Admin provided description of the Device Configuration.”

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

        public Optional<String> getDisplayName()
        “Admin provided name of the device configuration.”
        Returns:
        property displayName
      • withDisplayName

        public ManagedDeviceMobileAppConfiguration withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “Admin provided name of the device configuration.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “DateTime the object was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

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

        “DateTime the object was last modified.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedMobileApps()
        “the associated app.”
        Returns:
        property targetedMobileApps
      • withTargetedMobileApps

        public ManagedDeviceMobileAppConfiguration withTargetedMobileApps​(List<String> targetedMobileApps)
        Returns an immutable copy of this with just the targetedMobileApps 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 associated app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedMobileApps​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “the associated app.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property targetedMobileApps
      • getVersion

        public Optional<Integer> getVersion()
        “Version of the device configuration.”
        Returns:
        property version
      • withVersion

        public ManagedDeviceMobileAppConfiguration withVersion​(Integer version)
        Returns an immutable copy of this with just the version 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.

        “Version of the device configuration.”

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

        public ManagedDeviceMobileAppConfiguration withAssignments​(List<ManagedDeviceMobileAppConfigurationAssignment> assignments)
        Returns an immutable copy of this with just the assignments 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 list of group assignemenets for app configration.”

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

        public ManagedDeviceMobileAppConfiguration withDeviceStatuses​(List<ManagedDeviceMobileAppConfigurationDeviceStatus> deviceStatuses)
        Returns an immutable copy of this with just the deviceStatuses 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.

        “List of ManagedDeviceMobileAppConfigurationDeviceStatus.”

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

        public ManagedDeviceMobileAppConfiguration withDeviceStatusSummary​(ManagedDeviceMobileAppConfigurationDeviceSummary deviceStatusSummary)
        Returns an immutable copy of this with just the deviceStatusSummary 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.

        “App configuration device status summary.”

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

        public ManagedDeviceMobileAppConfiguration withUserStatuses​(List<ManagedDeviceMobileAppConfigurationUserStatus> userStatuses)
        Returns an immutable copy of this with just the userStatuses 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.

        “List of ManagedDeviceMobileAppConfigurationUserStatus.”

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

        public ManagedDeviceMobileAppConfiguration withUserStatusSummary​(ManagedDeviceMobileAppConfigurationUserSummary userStatusSummary)
        Returns an immutable copy of this with just the userStatusSummary 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.

        “App configuration user status summary.”

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

        public ManagedDeviceMobileAppConfiguration 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 ManagedDeviceMobileAppConfiguration 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