Class DeviceManagementSettingBooleanConstraint
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConstraint
-
- odata.msgraph.client.beta.complex.DeviceManagementSettingBooleanConstraint
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementSettingBooleanConstraint extends DeviceManagementConstraint implements com.github.davidmoten.odata.client.ODataType
“Constraint the enforces a particular boolean value”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementSettingBooleanConstraint.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleanvalue-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceManagementConstraint
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementSettingBooleanConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementSettingBooleanConstraint.BuilderbuilderDeviceManagementSettingBooleanConstraint()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>getValue()“The boolean value to compare against”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementSettingBooleanConstraintwithUnmappedField(String name, String value)DeviceManagementSettingBooleanConstraintwithValue(Boolean value)Returns an immutable copy ofthiswith just thevaluefield changed.
-
-
-
Field Detail
-
value
protected Boolean value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConstraint
-
getValue
public Optional<Boolean> getValue()
“The boolean value to compare against”- Returns:
- property value
-
withValue
public DeviceManagementSettingBooleanConstraint withValue(Boolean value)
Returns an immutable copy ofthiswith just thevaluefield 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.“The boolean value to compare against”
- Parameters:
value- new value ofvaluefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevaluefield changed
-
withUnmappedField
public DeviceManagementSettingBooleanConstraint withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConstraint
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConstraint
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConstraint
-
builderDeviceManagementSettingBooleanConstraint
public static DeviceManagementSettingBooleanConstraint.Builder builderDeviceManagementSettingBooleanConstraint()
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 classDeviceManagementConstraint
-
-