Class DeviceComplianceScriptRuleError
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceComplianceScriptError
-
- odata.msgraph.client.beta.complex.DeviceComplianceScriptRuleError
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceComplianceScriptRuleError extends DeviceComplianceScriptError implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceComplianceScriptRuleError.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringsettingName-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceComplianceScriptError
code, contextPath, deviceComplianceScriptRulesValidationError, message, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceComplianceScriptRuleError()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceComplianceScriptRuleError.BuilderbuilderDeviceComplianceScriptRuleError()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getSettingName()“Setting name for the rule with error.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceComplianceScriptRuleErrorwithSettingName(String settingName)Returns an immutable copy ofthiswith just thesettingNamefield changed.DeviceComplianceScriptRuleErrorwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceComplianceScriptError
builder, getCode, getDeviceComplianceScriptRulesValidationError, getMessage, withCode, withDeviceComplianceScriptRulesValidationError, withMessage
-
-
-
-
Field Detail
-
settingName
protected String settingName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceComplianceScriptError
-
getSettingName
public Optional<String> getSettingName()
“Setting name for the rule with error.”- Returns:
- property settingName
-
withSettingName
public DeviceComplianceScriptRuleError withSettingName(String settingName)
Returns an immutable copy ofthiswith just thesettingNamefield 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.“Setting name for the rule with error.”
- Parameters:
settingName- new value ofsettingNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingNamefield changed
-
withUnmappedField
public DeviceComplianceScriptRuleError withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceComplianceScriptError
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceComplianceScriptError
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceComplianceScriptError
-
builderDeviceComplianceScriptRuleError
public static DeviceComplianceScriptRuleError.Builder builderDeviceComplianceScriptRuleError()
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 classDeviceComplianceScriptError
-
-