Class AndroidDeviceOwnerKioskModeApp
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeHomeScreenItem
-
- odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeFolderItem
-
- odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AndroidDeviceOwnerKioskModeApp extends AndroidDeviceOwnerKioskModeFolderItem implements com.github.davidmoten.odata.client.ODataType
“An application on the Android Device Owner Managed Home Screen”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidDeviceOwnerKioskModeApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringclassNameprotected Stringpackage_-
Fields inherited from class odata.msgraph.client.beta.complex.AndroidDeviceOwnerKioskModeHomeScreenItem
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidDeviceOwnerKioskModeApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidDeviceOwnerKioskModeApp.BuilderbuilderAndroidDeviceOwnerKioskModeApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getClassName()“Class name of application”Optional<String>getPackage()“Package name of application”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AndroidDeviceOwnerKioskModeAppwithClassName(String className)Returns an immutable copy ofthiswith just theclassNamefield changed.AndroidDeviceOwnerKioskModeAppwithPackage(String package_)Returns an immutable copy ofthiswith just thepackagefield changed.AndroidDeviceOwnerKioskModeAppwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAndroidDeviceOwnerKioskModeFolderItem
-
getClassName
public Optional<String> getClassName()
“Class name of application”- Returns:
- property className
-
withClassName
public AndroidDeviceOwnerKioskModeApp withClassName(String className)
Returns an immutable copy ofthiswith just theclassNamefield 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.“Class name of application”
- Parameters:
className- new value ofclassNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theclassNamefield changed
-
getPackage
public Optional<String> getPackage()
“Package name of application”- Returns:
- property package
-
withPackage
public AndroidDeviceOwnerKioskModeApp withPackage(String package_)
Returns an immutable copy ofthiswith just thepackagefield 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.“Package name of application”
- Parameters:
package_- new value ofpackagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepackagefield changed
-
withUnmappedField
public AndroidDeviceOwnerKioskModeApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAndroidDeviceOwnerKioskModeFolderItem
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAndroidDeviceOwnerKioskModeFolderItem
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAndroidDeviceOwnerKioskModeFolderItem
-
builderAndroidDeviceOwnerKioskModeApp
public static AndroidDeviceOwnerKioskModeApp.Builder builderAndroidDeviceOwnerKioskModeApp()
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
-
toString
public String toString()
- Overrides:
toStringin classAndroidDeviceOwnerKioskModeFolderItem
-
-