Package odata.msgraph.client.complex
Class DeviceManagementSettings
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceManagementSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementSettings extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdeviceComplianceCheckinThresholdDaysprotected BooleanisScheduledActionEnabledprotected StringodataTypeprotected BooleansecureByDefaultprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementSettings.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDeviceComplianceCheckinThresholdDays()“The number of days a device is allowed to go without checking in to remain compliant.”Optional<Boolean>getIsScheduledActionEnabled()“Is feature enabled or not for scheduled action for rule.”Optional<Boolean>getSecureByDefault()“Device should be noncompliant when there is no compliance policy targeted when this is true”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementSettingswithDeviceComplianceCheckinThresholdDays(Integer deviceComplianceCheckinThresholdDays)Returns an immutable copy ofthiswith just thedeviceComplianceCheckinThresholdDaysfield changed.DeviceManagementSettingswithIsScheduledActionEnabled(Boolean isScheduledActionEnabled)Returns an immutable copy ofthiswith just theisScheduledActionEnabledfield changed.DeviceManagementSettingswithSecureByDefault(Boolean secureByDefault)Returns an immutable copy ofthiswith just thesecureByDefaultfield changed.DeviceManagementSettingswithUnmappedField(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
-
deviceComplianceCheckinThresholdDays
protected Integer deviceComplianceCheckinThresholdDays
-
isScheduledActionEnabled
protected Boolean isScheduledActionEnabled
-
secureByDefault
protected Boolean secureByDefault
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceComplianceCheckinThresholdDays
public Optional<Integer> getDeviceComplianceCheckinThresholdDays()
“The number of days a device is allowed to go without checking in to remain compliant.”- Returns:
- property deviceComplianceCheckinThresholdDays
-
withDeviceComplianceCheckinThresholdDays
public DeviceManagementSettings withDeviceComplianceCheckinThresholdDays(Integer deviceComplianceCheckinThresholdDays)
Returns an immutable copy ofthiswith just thedeviceComplianceCheckinThresholdDaysfield 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 number of days a device is allowed to go without checking in to remain compliant.”
- Parameters:
deviceComplianceCheckinThresholdDays- new value ofdeviceComplianceCheckinThresholdDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceComplianceCheckinThresholdDaysfield changed
-
getIsScheduledActionEnabled
public Optional<Boolean> getIsScheduledActionEnabled()
“Is feature enabled or not for scheduled action for rule.”- Returns:
- property isScheduledActionEnabled
-
withIsScheduledActionEnabled
public DeviceManagementSettings withIsScheduledActionEnabled(Boolean isScheduledActionEnabled)
Returns an immutable copy ofthiswith just theisScheduledActionEnabledfield 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.“Is feature enabled or not for scheduled action for rule.”
- Parameters:
isScheduledActionEnabled- new value ofisScheduledActionEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisScheduledActionEnabledfield changed
-
getSecureByDefault
public Optional<Boolean> getSecureByDefault()
“Device should be noncompliant when there is no compliance policy targeted when this is true”- Returns:
- property secureByDefault
-
withSecureByDefault
public DeviceManagementSettings withSecureByDefault(Boolean secureByDefault)
Returns an immutable copy ofthiswith just thesecureByDefaultfield 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.“Device should be noncompliant when there is no compliance policy targeted when this is true”
- Parameters:
secureByDefault- new value ofsecureByDefaultfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecureByDefaultfield changed
-
withUnmappedField
public DeviceManagementSettings 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 DeviceManagementSettings.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
-
-