Package com.microsoft.graph.models
Class SubjectRightsRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SubjectRightsRequest
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SubjectRightsRequest
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectRightsRequest
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the approvers property value.Gets the assignedTo property value.Gets the closedDateTime property value.Gets the collaborators property value.Gets the contentQuery property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the dataSubject property value.Gets the dataSubjectType property value.Gets the description property value.Gets the displayName property value.Gets the externalId property value.The deserialization information for the current modelGets the history property value.Gets the includeAllVersions property value.Gets the includeAuthoredContent property value.Gets the insight property value.Gets the internalDueDateTime property value.Gets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.Gets the mailboxLocations property value.getNotes()
Gets the notes property value.Gets the pauseAfterEstimate property value.Gets the regulations property value.Gets the siteLocations property value.Gets the stages property value.Gets the status property value.getTeam()
Gets the team property value.getType()
Gets the type property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setApprovers
(List<User> value) Sets the approvers property value.void
setAssignedTo
(Identity value) Sets the assignedTo property value.void
setClosedDateTime
(OffsetDateTime value) Sets the closedDateTime property value.void
setCollaborators
(List<User> value) Sets the collaborators property value.void
setContentQuery
(String value) Sets the contentQuery property value.void
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDataSubject
(DataSubject value) Sets the dataSubject property value.void
Sets the dataSubjectType property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setExternalId
(String value) Sets the externalId property value.void
Sets the history property value.void
setIncludeAllVersions
(Boolean value) Sets the includeAllVersions property value.void
setIncludeAuthoredContent
(Boolean value) Sets the includeAuthoredContent property value.void
Sets the insight property value.void
Sets the internalDueDateTime property value.void
setLastModifiedBy
(IdentitySet value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
Sets the mailboxLocations property value.void
setNotes
(List<AuthoredNote> value) Sets the notes property value.void
setPauseAfterEstimate
(Boolean value) Sets the pauseAfterEstimate property value.void
setRegulations
(List<String> value) Sets the regulations property value.void
Sets the siteLocations property value.void
Sets the stages property value.void
Sets the status property value.void
Sets the team property value.void
setType
(SubjectRightsRequestType value) Sets the type property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SubjectRightsRequest
public SubjectRightsRequest()Instantiates a newSubjectRightsRequest
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SubjectRightsRequest createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
SubjectRightsRequest
-
getApprovers
Gets the approvers property value. Collection of users who can approve the request. Currently only supported for requests of type delete. -
getAssignedTo
Gets the assignedTo property value. Identity that the request is assigned to.- Returns:
- a
Identity
-
getClosedDateTime
Gets the closedDateTime property value. The date and time when the request was closed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getCollaborators
Gets the collaborators property value. Collection of users who can collaborate on the request. -
getContentQuery
Gets the contentQuery property value. KQL based content query that should be used for search. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
String
-
getCreatedBy
Gets the createdBy property value. Identity information for the entity that created the request.- Returns:
- a
IdentitySet
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getDataSubject
Gets the dataSubject property value. Information about the data subject.- Returns:
- a
DataSubject
-
getDataSubjectType
Gets the dataSubjectType property value. The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue.- Returns:
- a
DataSubjectType
-
getDescription
Gets the description property value. Description for the request.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the request.- Returns:
- a
String
-
getExternalId
Gets the externalId property value. The external ID for the request that is immutable after creation and is used for tracking the request for the external system. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHistory
Gets the history property value. Collection of history change events.- Returns:
- a
List<SubjectRightsRequestHistory>
-
getIncludeAllVersions
Gets the includeAllVersions property value. Include all versions of the documents. By default, the current copies of the documents are returned. If SharePoint sites have versioning enabled, including all versions includes the historical copies of the documents. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
Boolean
-
getIncludeAuthoredContent
Gets the includeAuthoredContent property value. Include content authored by the data subject. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
Boolean
-
getInsight
Gets the insight property value. Insight about the request.- Returns:
- a
SubjectRightsRequestDetail
-
getInternalDueDateTime
Gets the internalDueDateTime property value. The date and time when the request is internally due. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getLastModifiedBy
Gets the lastModifiedBy property value. Identity information for the entity that last modified the request.- Returns:
- a
IdentitySet
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The date and time when the request was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getMailboxLocations
Gets the mailboxLocations property value. The mailbox locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
SubjectRightsRequestMailboxLocation
-
getNotes
Gets the notes property value. List of notes associated with the request.- Returns:
- a
List<AuthoredNote>
-
getPauseAfterEstimate
Gets the pauseAfterEstimate property value. Pause the request after estimate has finished. By default, the data estimate runs and then pauses, allowing you to preview results and then select the option to retrieve data in the UI. You can set this property to false if you want it to perform the estimate and then automatically begin with the retrieval of the content. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
Boolean
-
getRegulations
Gets the regulations property value. List of regulations that this request fulfill. -
getSiteLocations
Gets the siteLocations property value. The SharePoint and OneDrive site locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Returns:
- a
SubjectRightsRequestSiteLocation
-
getStages
Gets the stages property value. Information about the different stages for the request.- Returns:
- a
List<SubjectRightsRequestStageDetail>
-
getStatus
Gets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue.- Returns:
- a
SubjectRightsRequestStatus
-
getTeam
Gets the team property value. Information about the Microsoft Teams team that was created for the request.- Returns:
- a
Team
-
getType
Gets the type property value. The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue.- Returns:
- a
SubjectRightsRequestType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setApprovers
Sets the approvers property value. Collection of users who can approve the request. Currently only supported for requests of type delete.- Parameters:
value
- Value to set for the approvers property.
-
setAssignedTo
Sets the assignedTo property value. Identity that the request is assigned to.- Parameters:
value
- Value to set for the assignedTo property.
-
setClosedDateTime
Sets the closedDateTime property value. The date and time when the request was closed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the closedDateTime property.
-
setCollaborators
Sets the collaborators property value. Collection of users who can collaborate on the request.- Parameters:
value
- Value to set for the collaborators property.
-
setContentQuery
Sets the contentQuery property value. KQL based content query that should be used for search. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the contentQuery property.
-
setCreatedBy
Sets the createdBy property value. Identity information for the entity that created the request.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDataSubject
Sets the dataSubject property value. Information about the data subject.- Parameters:
value
- Value to set for the dataSubject property.
-
setDataSubjectType
Sets the dataSubjectType property value. The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue.- Parameters:
value
- Value to set for the dataSubjectType property.
-
setDescription
Sets the description property value. Description for the request.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The name of the request.- Parameters:
value
- Value to set for the displayName property.
-
setExternalId
Sets the externalId property value. The external ID for the request that is immutable after creation and is used for tracking the request for the external system. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the externalId property.
-
setHistory
Sets the history property value. Collection of history change events.- Parameters:
value
- Value to set for the history property.
-
setIncludeAllVersions
Sets the includeAllVersions property value. Include all versions of the documents. By default, the current copies of the documents are returned. If SharePoint sites have versioning enabled, including all versions includes the historical copies of the documents. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the includeAllVersions property.
-
setIncludeAuthoredContent
Sets the includeAuthoredContent property value. Include content authored by the data subject. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the includeAuthoredContent property.
-
setInsight
Sets the insight property value. Insight about the request.- Parameters:
value
- Value to set for the insight property.
-
setInternalDueDateTime
Sets the internalDueDateTime property value. The date and time when the request is internally due. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the internalDueDateTime property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. Identity information for the entity that last modified the request.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The date and time when the request was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setMailboxLocations
Sets the mailboxLocations property value. The mailbox locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the mailboxLocations property.
-
setNotes
Sets the notes property value. List of notes associated with the request.- Parameters:
value
- Value to set for the notes property.
-
setPauseAfterEstimate
Sets the pauseAfterEstimate property value. Pause the request after estimate has finished. By default, the data estimate runs and then pauses, allowing you to preview results and then select the option to retrieve data in the UI. You can set this property to false if you want it to perform the estimate and then automatically begin with the retrieval of the content. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the pauseAfterEstimate property.
-
setRegulations
Sets the regulations property value. List of regulations that this request fulfill.- Parameters:
value
- Value to set for the regulations property.
-
setSiteLocations
Sets the siteLocations property value. The SharePoint and OneDrive site locations that should be searched. This property is defined only for APIs accessed using the /security query path and not the /privacy query path.- Parameters:
value
- Value to set for the siteLocations property.
-
setStages
Sets the stages property value. Information about the different stages for the request.- Parameters:
value
- Value to set for the stages property.
-
setStatus
Sets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue.- Parameters:
value
- Value to set for the status property.
-
setTeam
Sets the team property value. Information about the Microsoft Teams team that was created for the request.- Parameters:
value
- Value to set for the team property.
-
setType
Sets the type property value. The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue.- Parameters:
value
- Value to set for the type property.
-