Class SharedAppleDeviceUser

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

    public class SharedAppleDeviceUser
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • 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
      • dataQuota

        protected Long dataQuota
      • dataToSync

        protected Boolean dataToSync
      • dataUsed

        protected Long dataUsed
      • userPrincipalName

        protected String userPrincipalName
    • Constructor Detail

      • SharedAppleDeviceUser

        protected SharedAppleDeviceUser()
    • Method Detail

      • odataTypeName

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

        public Optional<Long> getDataQuota()
        “Data quota”
        Returns:
        property dataQuota
      • withDataQuota

        public SharedAppleDeviceUser withDataQuota​(Long dataQuota)
        Returns an immutable copy of this with just the dataQuota 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.

        “Data quota”

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

        public Optional<Boolean> getDataToSync()
        “Data to sync”
        Returns:
        property dataToSync
      • withDataToSync

        public SharedAppleDeviceUser withDataToSync​(Boolean dataToSync)
        Returns an immutable copy of this with just the dataToSync 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.

        “Data to sync”

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

        public Optional<Long> getDataUsed()
        “Data quota”
        Returns:
        property dataUsed
      • withDataUsed

        public SharedAppleDeviceUser withDataUsed​(Long dataUsed)
        Returns an immutable copy of this with just the dataUsed 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.

        “Data quota”

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

        public Optional<String> getUserPrincipalName()
        “User name”
        Returns:
        property userPrincipalName
      • withUserPrincipalName

        public SharedAppleDeviceUser withUserPrincipalName​(String userPrincipalName)
        Returns an immutable copy of this with just the userPrincipalName 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.

        “User name”

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