Class ConfigurationManagerActionResult
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceActionResult
-
- odata.msgraph.client.beta.complex.ConfigurationManagerActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ConfigurationManagerActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
“Result of the ConfigurationManager action”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigurationManagerActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationManagerActionDeliveryStatusactionDeliveryStatusprotected IntegererrorCode-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceActionResult
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConfigurationManagerActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationManagerActionResult.BuilderbuilderConfigurationManagerActionResult()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ConfigurationManagerActionDeliveryStatus>getActionDeliveryStatus()“State of the action being delivered to on-prem server”Optional<Integer>getErrorCode()“Error code of Configuration Manager action from client”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ConfigurationManagerActionResultwithActionDeliveryStatus(ConfigurationManagerActionDeliveryStatus actionDeliveryStatus)Returns an immutable copy ofthiswith just theactionDeliveryStatusfield changed.ConfigurationManagerActionResultwithErrorCode(Integer errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.ConfigurationManagerActionResultwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceActionResult
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Field Detail
-
actionDeliveryStatus
protected ConfigurationManagerActionDeliveryStatus actionDeliveryStatus
-
errorCode
protected Integer errorCode
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceActionResult
-
getActionDeliveryStatus
public Optional<ConfigurationManagerActionDeliveryStatus> getActionDeliveryStatus()
“State of the action being delivered to on-prem server”- Returns:
- property actionDeliveryStatus
-
withActionDeliveryStatus
public ConfigurationManagerActionResult withActionDeliveryStatus(ConfigurationManagerActionDeliveryStatus actionDeliveryStatus)
Returns an immutable copy ofthiswith just theactionDeliveryStatusfield 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.“State of the action being delivered to on-prem server”
- Parameters:
actionDeliveryStatus- new value ofactionDeliveryStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactionDeliveryStatusfield changed
-
getErrorCode
public Optional<Integer> getErrorCode()
“Error code of Configuration Manager action from client”- Returns:
- property errorCode
-
withErrorCode
public ConfigurationManagerActionResult withErrorCode(Integer errorCode)
Returns an immutable copy ofthiswith just theerrorCodefield 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.“Error code of Configuration Manager action from client”
- Parameters:
errorCode- new value oferrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCodefield changed
-
withUnmappedField
public ConfigurationManagerActionResult withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceActionResult
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceActionResult
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceActionResult
-
builderConfigurationManagerActionResult
public static ConfigurationManagerActionResult.Builder builderConfigurationManagerActionResult()
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 classDeviceActionResult
-
-