Class AndroidDeviceOwnerKioskModeAppPositionItem
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidDeviceOwnerKioskModeAppPositionItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected AndroidDeviceOwnerKioskModeHomeScreenItemitemprotected StringodataTypeprotected Integerpositionprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidDeviceOwnerKioskModeAppPositionItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidDeviceOwnerKioskModeAppPositionItem.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<AndroidDeviceOwnerKioskModeHomeScreenItem>getItem()“Item to be arranged”Optional<Integer>getPosition()“Position of the item on the grid.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AndroidDeviceOwnerKioskModeAppPositionItemwithItem(AndroidDeviceOwnerKioskModeHomeScreenItem item)Returns an immutable copy ofthiswith just theitemfield changed.AndroidDeviceOwnerKioskModeAppPositionItemwithPosition(Integer position)Returns an immutable copy ofthiswith just thepositionfield changed.AndroidDeviceOwnerKioskModeAppPositionItemwithUnmappedField(String name, String value)
-
-
-
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
-
item
protected AndroidDeviceOwnerKioskModeHomeScreenItem item
-
position
protected Integer position
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getItem
public Optional<AndroidDeviceOwnerKioskModeHomeScreenItem> getItem()
“Item to be arranged”- Returns:
- property item
-
withItem
public AndroidDeviceOwnerKioskModeAppPositionItem withItem(AndroidDeviceOwnerKioskModeHomeScreenItem item)
Returns an immutable copy ofthiswith just theitemfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Item to be arranged”
- Parameters:
item- new value ofitemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theitemfield 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 ofthiswith just thepositionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofpositionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepositionfield changed
-
withUnmappedField
public AndroidDeviceOwnerKioskModeAppPositionItem withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static AndroidDeviceOwnerKioskModeAppPositionItem.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
-
-