Class AndroidDeviceOwnerKioskModeAppPositionItem

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

    public class AndroidDeviceOwnerKioskModeAppPositionItem
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “An item in the list of app positions that sets the order of items on the Managed Home Screen”
    • 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
      • position

        protected Integer position
    • Constructor Detail

      • AndroidDeviceOwnerKioskModeAppPositionItem

        protected AndroidDeviceOwnerKioskModeAppPositionItem()
    • Method Detail

      • odataTypeName

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

        public AndroidDeviceOwnerKioskModeAppPositionItem withItem​(AndroidDeviceOwnerKioskModeHomeScreenItem item)
        Returns an immutable copy of this with just the item 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.

        “Item to be arranged”

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

        public Optional<Integer> getPosition()
        “Position of the item on the grid. Valid values 0 to 9999999”
        Returns:
        property position
      • withPosition

        public AndroidDeviceOwnerKioskModeAppPositionItem withPosition​(Integer position)
        Returns an immutable copy of this with just the position 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.

        “Position of the item on the grid. Valid values 0 to 9999999”

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