Class DeviceManagementConfigurationSettingOccurrence
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingOccurrence
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationSettingOccurrence extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationSettingOccurrence.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegermaxDeviceOccurrenceprotected IntegerminDeviceOccurrenceprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationSettingOccurrence()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationSettingOccurrence.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getMaxDeviceOccurrence()“Maximum times setting can be set on device.”Optional<Integer>getMinDeviceOccurrence()“Minimum times setting can be set on device.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationSettingOccurrencewithMaxDeviceOccurrence(Integer maxDeviceOccurrence)Returns an immutable copy ofthiswith just themaxDeviceOccurrencefield changed.DeviceManagementConfigurationSettingOccurrencewithMinDeviceOccurrence(Integer minDeviceOccurrence)Returns an immutable copy ofthiswith just theminDeviceOccurrencefield changed.DeviceManagementConfigurationSettingOccurrencewithUnmappedField(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
-
maxDeviceOccurrence
protected Integer maxDeviceOccurrence
-
minDeviceOccurrence
protected Integer minDeviceOccurrence
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getMaxDeviceOccurrence
public Optional<Integer> getMaxDeviceOccurrence()
“Maximum times setting can be set on device.”- Returns:
- property maxDeviceOccurrence
-
withMaxDeviceOccurrence
public DeviceManagementConfigurationSettingOccurrence withMaxDeviceOccurrence(Integer maxDeviceOccurrence)
Returns an immutable copy ofthiswith just themaxDeviceOccurrencefield 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.“Maximum times setting can be set on device.”
- Parameters:
maxDeviceOccurrence- new value ofmaxDeviceOccurrencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaxDeviceOccurrencefield changed
-
getMinDeviceOccurrence
public Optional<Integer> getMinDeviceOccurrence()
“Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional”- Returns:
- property minDeviceOccurrence
-
withMinDeviceOccurrence
public DeviceManagementConfigurationSettingOccurrence withMinDeviceOccurrence(Integer minDeviceOccurrence)
Returns an immutable copy ofthiswith just theminDeviceOccurrencefield 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.“Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional”
- Parameters:
minDeviceOccurrence- new value ofminDeviceOccurrencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminDeviceOccurrencefield changed
-
withUnmappedField
public DeviceManagementConfigurationSettingOccurrence 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 DeviceManagementConfigurationSettingOccurrence.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
-
-