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
  • Constructor Details

    • SubjectRightsRequest

      public SubjectRightsRequest()
      Instantiates a new SubjectRightsRequest 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

      @Nullable public List<User> getApprovers()
      Gets the approvers property value. Collection of users who can approve the request. Currently only supported for requests of type delete.
      Returns:
      a List<User>
    • getAssignedTo

      @Nullable public Identity getAssignedTo()
      Gets the assignedTo property value. Identity that the request is assigned to.
      Returns:
      a Identity
    • getClosedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public List<User> getCollaborators()
      Gets the collaborators property value. Collection of users who can collaborate on the request.
      Returns:
      a List<User>
    • getContentQuery

      @Nullable public String 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

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. Identity information for the entity that created the request.
      Returns:
      a IdentitySet
    • getCreatedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public DataSubject getDataSubject()
      Gets the dataSubject property value. Information about the data subject.
      Returns:
      a DataSubject
    • getDataSubjectType

      @Nullable public DataSubjectType 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

      @Nullable public String getDescription()
      Gets the description property value. Description for the request.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The name of the request.
      Returns:
      a String
    • getExternalId

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHistory

      @Nullable public List<SubjectRightsRequestHistory> getHistory()
      Gets the history property value. Collection of history change events.
      Returns:
      a List<SubjectRightsRequestHistory>
    • getIncludeAllVersions

      @Nullable public Boolean 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

      @Nullable public 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

      @Nullable public SubjectRightsRequestDetail getInsight()
      Gets the insight property value. Insight about the request.
      Returns:
      a SubjectRightsRequestDetail
    • getInternalDueDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public IdentitySet getLastModifiedBy()
      Gets the lastModifiedBy property value. Identity information for the entity that last modified the request.
      Returns:
      a IdentitySet
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public SubjectRightsRequestMailboxLocation 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

      @Nullable public List<AuthoredNote> getNotes()
      Gets the notes property value. List of notes associated with the request.
      Returns:
      a List<AuthoredNote>
    • getPauseAfterEstimate

      @Nullable public Boolean 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

      @Nullable public List<String> getRegulations()
      Gets the regulations property value. List of regulations that this request fulfill.
      Returns:
      a List<String>
    • getSiteLocations

      @Nullable public SubjectRightsRequestSiteLocation 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

      @Nullable public List<SubjectRightsRequestStageDetail> getStages()
      Gets the stages property value. Information about the different stages for the request.
      Returns:
      a List<SubjectRightsRequestStageDetail>
    • getStatus

      @Nullable public SubjectRightsRequestStatus getStatus()
      Gets the status property value. The status of the request. Possible values are: active, closed, unknownFutureValue.
      Returns:
      a SubjectRightsRequestStatus
    • getTeam

      @Nullable public Team getTeam()
      Gets the team property value. Information about the Microsoft Teams team that was created for the request.
      Returns:
      a Team
    • getType

      @Nullable public SubjectRightsRequestType 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setApprovers

      public void setApprovers(@Nullable List<User> value)
      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

      public void setAssignedTo(@Nullable Identity value)
      Sets the assignedTo property value. Identity that the request is assigned to.
      Parameters:
      value - Value to set for the assignedTo property.
    • setClosedDateTime

      public void setClosedDateTime(@Nullable OffsetDateTime value)
      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

      public void setCollaborators(@Nullable List<User> value)
      Sets the collaborators property value. Collection of users who can collaborate on the request.
      Parameters:
      value - Value to set for the collaborators property.
    • setContentQuery

      public void setContentQuery(@Nullable String value)
      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

      public void setCreatedBy(@Nullable IdentitySet value)
      Sets the createdBy property value. Identity information for the entity that created the request.
      Parameters:
      value - Value to set for the createdBy property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setDataSubject(@Nullable DataSubject value)
      Sets the dataSubject property value. Information about the data subject.
      Parameters:
      value - Value to set for the dataSubject property.
    • setDataSubjectType

      public void setDataSubjectType(@Nullable DataSubjectType value)
      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

      public void setDescription(@Nullable String value)
      Sets the description property value. Description for the request.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the request.
      Parameters:
      value - Value to set for the displayName property.
    • setExternalId

      public void setExternalId(@Nullable String value)
      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

      public void setHistory(@Nullable List<SubjectRightsRequestHistory> value)
      Sets the history property value. Collection of history change events.
      Parameters:
      value - Value to set for the history property.
    • setIncludeAllVersions

      public void setIncludeAllVersions(@Nullable Boolean value)
      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

      public void setIncludeAuthoredContent(@Nullable Boolean value)
      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

      public void setInsight(@Nullable SubjectRightsRequestDetail value)
      Sets the insight property value. Insight about the request.
      Parameters:
      value - Value to set for the insight property.
    • setInternalDueDateTime

      public void setInternalDueDateTime(@Nullable OffsetDateTime value)
      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

      public void setLastModifiedBy(@Nullable IdentitySet value)
      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

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      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

      public void setMailboxLocations(@Nullable SubjectRightsRequestMailboxLocation value)
      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

      public void setNotes(@Nullable List<AuthoredNote> value)
      Sets the notes property value. List of notes associated with the request.
      Parameters:
      value - Value to set for the notes property.
    • setPauseAfterEstimate

      public void setPauseAfterEstimate(@Nullable Boolean value)
      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

      public void setRegulations(@Nullable List<String> value)
      Sets the regulations property value. List of regulations that this request fulfill.
      Parameters:
      value - Value to set for the regulations property.
    • setSiteLocations

      public void setSiteLocations(@Nullable SubjectRightsRequestSiteLocation value)
      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

      public void setStages(@Nullable List<SubjectRightsRequestStageDetail> value)
      Sets the stages property value. Information about the different stages for the request.
      Parameters:
      value - Value to set for the stages property.
    • setStatus

      public void setStatus(@Nullable SubjectRightsRequestStatus value)
      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

      public void setTeam(@Nullable Team value)
      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

      public void setType(@Nullable SubjectRightsRequestType value)
      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.