Package odata.msgraph.client.complex
Class MicrosoftStoreForBusinessAppAssignmentSettings
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppAssignmentSettings
-
- odata.msgraph.client.complex.MicrosoftStoreForBusinessAppAssignmentSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MicrosoftStoreForBusinessAppAssignmentSettings extends MobileAppAssignmentSettings implements com.github.davidmoten.odata.client.ODataType
“Contains properties used to assign an Microsoft Store for Business mobile app to a group.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMicrosoftStoreForBusinessAppAssignmentSettings.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 protectedMicrosoftStoreForBusinessAppAssignmentSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MicrosoftStoreForBusinessAppAssignmentSettings.BuilderbuilderMicrosoftStoreForBusinessAppAssignmentSettings()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()“Whether or not to use device execution context for Microsoft Store for Business mobile app.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MicrosoftStoreForBusinessAppAssignmentSettingswithUnmappedField(String name, String value)MicrosoftStoreForBusinessAppAssignmentSettingswithUseDeviceContext(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()
“Whether or not to use device execution context for Microsoft Store for Business mobile app.”- Returns:
- property useDeviceContext
-
withUseDeviceContext
public MicrosoftStoreForBusinessAppAssignmentSettings 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.“Whether or not to use device execution context for Microsoft Store for Business mobile app.”
- Parameters:
useDeviceContext- new value ofuseDeviceContextfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseDeviceContextfield changed
-
withUnmappedField
public MicrosoftStoreForBusinessAppAssignmentSettings withUnmappedField(String name, String 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
-
builderMicrosoftStoreForBusinessAppAssignmentSettings
public static MicrosoftStoreForBusinessAppAssignmentSettings.Builder builderMicrosoftStoreForBusinessAppAssignmentSettings()
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
-
-