Package odata.msgraph.client.beta.entity
Class WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the deployment state of a WindowsDefenderApplicationControl supplemental policy for a device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WindowsDefenderApplicationControlSupplementalPolicyStatusesdeploymentStatusprotected StringdeviceIdprotected StringdeviceNameprotected OffsetDateTimelastSyncDateTimeprotected StringosDescriptionprotected StringosVersionprotected StringpolicyVersionprotected StringuserNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.BuilderbuilderWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus()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<WindowsDefenderApplicationControlSupplementalPolicyStatuses>getDeploymentStatus()“The deployment state of the policy.”Optional<String>getDeviceId()“Device ID.”Optional<String>getDeviceName()“Device name.”Optional<OffsetDateTime>getLastSyncDateTime()“Last sync date time.”Optional<String>getOsDescription()“Windows OS Version Description.”Optional<String>getOsVersion()“Windows OS Version.”WindowsDefenderApplicationControlSupplementalPolicyRequestgetPolicy()“The navigation link to the WindowsDefenderApplicationControl supplemental policy .”Optional<String>getPolicyVersion()“Human readable version of the WindowsDefenderApplicationControl supplemental policy.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserName()“The name of the user of this device.”Optional<String>getUserPrincipalName()“User Principal Name.”StringodataTypeName()WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithDeploymentStatus(WindowsDefenderApplicationControlSupplementalPolicyStatuses deploymentStatus)Returns an immutable copy ofthiswith just thedeploymentStatusfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithLastSyncDateTime(OffsetDateTime lastSyncDateTime)Returns an immutable copy ofthiswith just thelastSyncDateTimefield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithOsDescription(String osDescription)Returns an immutable copy ofthiswith just theosDescriptionfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithPolicyVersion(String policyVersion)Returns an immutable copy ofthiswith just thepolicyVersionfield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithUnmappedField(String name, String value)WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatuswithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
deploymentStatus
protected WindowsDefenderApplicationControlSupplementalPolicyStatuses deploymentStatus
-
deviceId
protected String deviceId
-
deviceName
protected String deviceName
-
lastSyncDateTime
protected OffsetDateTime lastSyncDateTime
-
osDescription
protected String osDescription
-
osVersion
protected String osVersion
-
policyVersion
protected String policyVersion
-
userName
protected String userName
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus
public static WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.Builder builderWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus()
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
-
getDeploymentStatus
public Optional<WindowsDefenderApplicationControlSupplementalPolicyStatuses> getDeploymentStatus()
“The deployment state of the policy.”- Returns:
- property deploymentStatus
-
withDeploymentStatus
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withDeploymentStatus(WindowsDefenderApplicationControlSupplementalPolicyStatuses deploymentStatus)
Returns an immutable copy ofthiswith just thedeploymentStatusfield 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.“The deployment state of the policy.”
- Parameters:
deploymentStatus- new value ofdeploymentStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentStatusfield changed
-
withDeviceId
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withDeviceId(String deviceId)
Returns an immutable copy ofthiswith just thedeviceIdfield 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.“Device ID.”
- Parameters:
deviceId- new value ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
withDeviceName
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield 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.“Device name.”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getLastSyncDateTime
public Optional<OffsetDateTime> getLastSyncDateTime()
“Last sync date time.”- Returns:
- property lastSyncDateTime
-
withLastSyncDateTime
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy ofthiswith just thelastSyncDateTimefield 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.“Last sync date time.”
- Parameters:
lastSyncDateTime- new value oflastSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncDateTimefield changed
-
getOsDescription
public Optional<String> getOsDescription()
“Windows OS Version Description.”- Returns:
- property osDescription
-
withOsDescription
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withOsDescription(String osDescription)
Returns an immutable copy ofthiswith just theosDescriptionfield 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.“Windows OS Version Description.”
- Parameters:
osDescription- new value ofosDescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosDescriptionfield changed
-
getOsVersion
public Optional<String> getOsVersion()
“Windows OS Version.”- Returns:
- property osVersion
-
withOsVersion
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield 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.“Windows OS Version.”
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
getPolicyVersion
public Optional<String> getPolicyVersion()
“Human readable version of the WindowsDefenderApplicationControl supplemental policy.”- Returns:
- property policyVersion
-
withPolicyVersion
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withPolicyVersion(String policyVersion)
Returns an immutable copy ofthiswith just thepolicyVersionfield 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.“Human readable version of the WindowsDefenderApplicationControl supplemental policy.”
- Parameters:
policyVersion- new value ofpolicyVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepolicyVersionfield changed
-
getUserName
public Optional<String> getUserName()
“The name of the user of this device.”- Returns:
- property userName
-
withUserName
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withUserName(String userName)
Returns an immutable copy ofthiswith just theuserNamefield 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.“The name of the user of this device.”
- Parameters:
userName- new value ofuserNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserNamefield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User Principal Name.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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.“User Principal Name.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getPolicy
public WindowsDefenderApplicationControlSupplementalPolicyRequest getPolicy()
“The navigation link to the WindowsDefenderApplicationControl supplemental policy .”- Returns:
- navigational property policy
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-