Package odata.msgraph.client.beta.entity
Class WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the deployment summary of a WindowsDefenderApplicationControl supplemental policy.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerdeployedDeviceCountprotected IntegerfailedDeviceCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.BuilderbuilderWindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary()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>getDeployedDeviceCount()“Number of Devices that have successfully deployed this WindowsDefenderApplicationControl supplemental policy.”Optional<Integer>getFailedDeviceCount()“Number of Devices that have failed to deploy this WindowsDefenderApplicationControl supplemental policy.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummarywithDeployedDeviceCount(Integer deployedDeviceCount)Returns an immutable copy ofthiswith just thedeployedDeviceCountfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummarywithFailedDeviceCount(Integer failedDeviceCount)Returns an immutable copy ofthiswith just thefailedDeviceCountfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummarywithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary
public static WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.Builder builderWindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary()
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
-
getDeployedDeviceCount
public Optional<Integer> getDeployedDeviceCount()
“Number of Devices that have successfully deployed this WindowsDefenderApplicationControl supplemental policy.”- Returns:
- property deployedDeviceCount
-
withDeployedDeviceCount
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary withDeployedDeviceCount(Integer deployedDeviceCount)
Returns an immutable copy ofthiswith just thedeployedDeviceCountfield 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.“Number of Devices that have successfully deployed this WindowsDefenderApplicationControl supplemental policy.”
- Parameters:
deployedDeviceCount- new value ofdeployedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeployedDeviceCountfield changed
-
getFailedDeviceCount
public Optional<Integer> getFailedDeviceCount()
“Number of Devices that have failed to deploy this WindowsDefenderApplicationControl supplemental policy.”- Returns:
- property failedDeviceCount
-
withFailedDeviceCount
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary withFailedDeviceCount(Integer failedDeviceCount)
Returns an immutable copy ofthiswith just thefailedDeviceCountfield 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.“Number of Devices that have failed to deploy this WindowsDefenderApplicationControl supplemental policy.”
- Parameters:
failedDeviceCount- new value offailedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedDeviceCountfield changed
-
withUnmappedField
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary 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 WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-