Package odata.msgraph.client.complex
Class WindowsUniversalAppXAppAssignmentSettings
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppAssignmentSettings
-
- odata.msgraph.client.complex.WindowsUniversalAppXAppAssignmentSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsUniversalAppXAppAssignmentSettings extends MobileAppAssignmentSettings implements com.github.davidmoten.odata.client.ODataType
“Contains properties used when assigning a Windows Universal AppX mobile app to a group.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUniversalAppXAppAssignmentSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanuseDeviceContext-
Fields inherited from class odata.msgraph.client.complex.MobileAppAssignmentSettings
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUniversalAppXAppAssignmentSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsUniversalAppXAppAssignmentSettings.BuilderbuilderWindowsUniversalAppXAppAssignmentSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseDeviceContext()“If true, uses device execution context for Windows Universal AppX mobile app.StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsUniversalAppXAppAssignmentSettingswithUnmappedField(String name, Object value)WindowsUniversalAppXAppAssignmentSettingswithUseDeviceContext(Boolean useDeviceContext)Returns an immutable copy ofthiswith just theuseDeviceContextfield changed.
-
-
-
Field Detail
-
useDeviceContext
protected Boolean useDeviceContext
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppAssignmentSettings
-
getUseDeviceContext
public Optional<Boolean> getUseDeviceContext()
“If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false.”- Returns:
- property useDeviceContext
-
withUseDeviceContext
public WindowsUniversalAppXAppAssignmentSettings withUseDeviceContext(Boolean useDeviceContext)
Returns an immutable copy ofthiswith just theuseDeviceContextfield 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.“If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false.”
- Parameters:
useDeviceContext- new value ofuseDeviceContextfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseDeviceContextfield changed
-
withUnmappedField
public WindowsUniversalAppXAppAssignmentSettings withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMobileAppAssignmentSettings
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileAppAssignmentSettings
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileAppAssignmentSettings
-
builderWindowsUniversalAppXAppAssignmentSettings
public static WindowsUniversalAppXAppAssignmentSettings.Builder builderWindowsUniversalAppXAppAssignmentSettings()
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 classMobileAppAssignmentSettings
-
-