Package odata.msgraph.client.beta.entity
Class WindowsDefenderApplicationControlSupplementalPolicy
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsDefenderApplicationControlSupplementalPolicy
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsDefenderApplicationControlSupplementalPolicy extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsDefenderApplicationControlSupplementalPolicy.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]contentprotected StringcontentFileNameprotected OffsetDateTimecreationDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected Stringversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsDefenderApplicationControlSupplementalPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<WindowsDefenderApplicationControlSupplementalPolicyAssignment> wdacPolicyAssignments)static WindowsDefenderApplicationControlSupplementalPolicy.BuilderbuilderWindowsDefenderApplicationControlSupplementalPolicy()Returns a builder which is used to create a new instance of this class (given that this class is immutable).WindowsDefenderApplicationControlSupplementalPolicyAssignmentCollectionRequestgetAssignments()“The associated group assignments for this WindowsDefenderApplicationControl supplemental policy.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<byte[]>getContent()“The WindowsDefenderApplicationControl supplemental policy content in byte array format.”Optional<String>getContentFileName()“The WindowsDefenderApplicationControl supplemental policy content's file name.”Optional<OffsetDateTime>getCreationDateTime()“The date and time when the WindowsDefenderApplicationControl supplemental policy was uploaded.”WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummaryRequestgetDeploySummary()“WindowsDefenderApplicationControl supplemental policy deployment summary.”Optional<String>getDescription()“The description of WindowsDefenderApplicationControl supplemental policy.”WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusCollectionRequestgetDeviceStatuses()“The list of device deployment states for this WindowsDefenderApplicationControl supplemental policy.”Optional<String>getDisplayName()“The display name of WindowsDefenderApplicationControl supplemental policy.”Optional<OffsetDateTime>getLastModifiedDateTime()“The date and time when the WindowsDefenderApplicationControl supplemental policy was last modified.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersion()“The WindowsDefenderApplicationControl supplemental policy's version.”StringodataTypeName()WindowsDefenderApplicationControlSupplementalPolicypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsDefenderApplicationControlSupplementalPolicyput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsDefenderApplicationControlSupplementalPolicywithContent(byte[] content)Returns an immutable copy ofthiswith just thecontentfield changed.WindowsDefenderApplicationControlSupplementalPolicywithContentFileName(String contentFileName)Returns an immutable copy ofthiswith just thecontentFileNamefield changed.WindowsDefenderApplicationControlSupplementalPolicywithCreationDateTime(OffsetDateTime creationDateTime)Returns an immutable copy ofthiswith just thecreationDateTimefield changed.WindowsDefenderApplicationControlSupplementalPolicywithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.WindowsDefenderApplicationControlSupplementalPolicywithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.WindowsDefenderApplicationControlSupplementalPolicywithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.WindowsDefenderApplicationControlSupplementalPolicywithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.WindowsDefenderApplicationControlSupplementalPolicywithUnmappedField(String name, String value)WindowsDefenderApplicationControlSupplementalPolicywithVersion(String version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
content
protected byte[] content
-
contentFileName
protected String contentFileName
-
creationDateTime
protected OffsetDateTime creationDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsDefenderApplicationControlSupplementalPolicy
public static WindowsDefenderApplicationControlSupplementalPolicy.Builder builderWindowsDefenderApplicationControlSupplementalPolicy()
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
-
getContent
public Optional<byte[]> getContent()
“The WindowsDefenderApplicationControl supplemental policy content in byte array format.”- Returns:
- property content
-
withContent
public WindowsDefenderApplicationControlSupplementalPolicy withContent(byte[] content)
Returns an immutable copy ofthiswith just thecontentfield 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 WindowsDefenderApplicationControl supplemental policy content in byte array format.”
- Parameters:
content- new value ofcontentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontentfield changed
-
getContentFileName
public Optional<String> getContentFileName()
“The WindowsDefenderApplicationControl supplemental policy content's file name.”- Returns:
- property contentFileName
-
withContentFileName
public WindowsDefenderApplicationControlSupplementalPolicy withContentFileName(String contentFileName)
Returns an immutable copy ofthiswith just thecontentFileNamefield 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 WindowsDefenderApplicationControl supplemental policy content's file name.”
- Parameters:
contentFileName- new value ofcontentFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontentFileNamefield changed
-
getCreationDateTime
public Optional<OffsetDateTime> getCreationDateTime()
“The date and time when the WindowsDefenderApplicationControl supplemental policy was uploaded.”- Returns:
- property creationDateTime
-
withCreationDateTime
public WindowsDefenderApplicationControlSupplementalPolicy withCreationDateTime(OffsetDateTime creationDateTime)
Returns an immutable copy ofthiswith just thecreationDateTimefield 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 date and time when the WindowsDefenderApplicationControl supplemental policy was uploaded.”
- Parameters:
creationDateTime- new value ofcreationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreationDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“The description of WindowsDefenderApplicationControl supplemental policy.”- Returns:
- property description
-
withDescription
public WindowsDefenderApplicationControlSupplementalPolicy withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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 description of WindowsDefenderApplicationControl supplemental policy.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The display name of WindowsDefenderApplicationControl supplemental policy.”- Returns:
- property displayName
-
withDisplayName
public WindowsDefenderApplicationControlSupplementalPolicy withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 display name of WindowsDefenderApplicationControl supplemental policy.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date and time when the WindowsDefenderApplicationControl supplemental policy was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public WindowsDefenderApplicationControlSupplementalPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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 date and time when the WindowsDefenderApplicationControl supplemental policy was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public WindowsDefenderApplicationControlSupplementalPolicy withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getVersion
public Optional<String> getVersion()
“The WindowsDefenderApplicationControl supplemental policy's version.”- Returns:
- property version
-
withVersion
public WindowsDefenderApplicationControlSupplementalPolicy withVersion(String version)
Returns an immutable copy ofthiswith just theversionfield 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 WindowsDefenderApplicationControl supplemental policy's version.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public WindowsDefenderApplicationControlSupplementalPolicy withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public WindowsDefenderApplicationControlSupplementalPolicyAssignmentCollectionRequest getAssignments()
“The associated group assignments for this WindowsDefenderApplicationControl supplemental policy.”- Returns:
- navigational property assignments
-
getDeploySummary
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummaryRequest getDeploySummary()
“WindowsDefenderApplicationControl supplemental policy deployment summary.”- Returns:
- navigational property deploySummary
-
getDeviceStatuses
public WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusCollectionRequest getDeviceStatuses()
“The list of device deployment states for this WindowsDefenderApplicationControl supplemental policy.”- Returns:
- navigational property deviceStatuses
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsDefenderApplicationControlSupplementalPolicy patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsDefenderApplicationControlSupplementalPolicy put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<WindowsDefenderApplicationControlSupplementalPolicyAssignment> wdacPolicyAssignments)
-
-