Package odata.msgraph.client.beta.entity
Class DeviceManagementScriptRunSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementScriptRunSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementScriptRunSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the run summary of a device management script.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementScriptRunSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegererrorDeviceCountprotected IntegererrorUserCountprotected IntegersuccessDeviceCountprotected IntegersuccessUserCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementScriptRunSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementScriptRunSummary.BuilderbuilderDeviceManagementScriptRunSummary()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.internal.ChangedFieldsgetChangedFields()Optional<Integer>getErrorDeviceCount()“Error device count.”Optional<Integer>getErrorUserCount()“Error user count.”Optional<Integer>getSuccessDeviceCount()“Success device count.”Optional<Integer>getSuccessUserCount()“Success user count.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementScriptRunSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementScriptRunSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementScriptRunSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.DeviceManagementScriptRunSummarywithErrorUserCount(Integer errorUserCount)Returns an immutable copy ofthiswith just theerrorUserCountfield changed.DeviceManagementScriptRunSummarywithSuccessDeviceCount(Integer successDeviceCount)Returns an immutable copy ofthiswith just thesuccessDeviceCountfield changed.DeviceManagementScriptRunSummarywithSuccessUserCount(Integer successUserCount)Returns an immutable copy ofthiswith just thesuccessUserCountfield changed.DeviceManagementScriptRunSummarywithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementScriptRunSummary
public static DeviceManagementScriptRunSummary.Builder builderDeviceManagementScriptRunSummary()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getErrorDeviceCount
public Optional<Integer> getErrorDeviceCount()
“Error device count.”- Returns:
- property errorDeviceCount
-
withErrorDeviceCount
public DeviceManagementScriptRunSummary withErrorDeviceCount(Integer errorDeviceCount)
Returns an immutable copy ofthiswith just theerrorDeviceCountfield 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 device count.”
- Parameters:
errorDeviceCount- new value oferrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDeviceCountfield changed
-
getErrorUserCount
public Optional<Integer> getErrorUserCount()
“Error user count.”- Returns:
- property errorUserCount
-
withErrorUserCount
public DeviceManagementScriptRunSummary withErrorUserCount(Integer errorUserCount)
Returns an immutable copy ofthiswith just theerrorUserCountfield 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 user count.”
- Parameters:
errorUserCount- new value oferrorUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorUserCountfield changed
-
getSuccessDeviceCount
public Optional<Integer> getSuccessDeviceCount()
“Success device count.”- Returns:
- property successDeviceCount
-
withSuccessDeviceCount
public DeviceManagementScriptRunSummary withSuccessDeviceCount(Integer successDeviceCount)
Returns an immutable copy ofthiswith just thesuccessDeviceCountfield 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.“Success device count.”
- Parameters:
successDeviceCount- new value ofsuccessDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesuccessDeviceCountfield changed
-
getSuccessUserCount
public Optional<Integer> getSuccessUserCount()
“Success user count.”- Returns:
- property successUserCount
-
withSuccessUserCount
public DeviceManagementScriptRunSummary withSuccessUserCount(Integer successUserCount)
Returns an immutable copy ofthiswith just thesuccessUserCountfield 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.“Success user count.”
- Parameters:
successUserCount- new value ofsuccessUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesuccessUserCountfield changed
-
withUnmappedField
public DeviceManagementScriptRunSummary withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementScriptRunSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementScriptRunSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-