Package odata.msgraph.client.beta.entity
Class SubjectRightsRequest
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SubjectRightsRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SubjectRightsRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubjectRightsRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IdentityassignedToprotected OffsetDateTimeclosedDateTimeprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected DataSubjectdataSubjectprotected DataSubjectTypedataSubjectTypeprotected Stringdescriptionprotected StringdisplayNameprotected List<SubjectRightsRequestHistory>historyprotected StringhistoryNextLinkprotected SubjectRightsRequestDetailinsightprotected OffsetDateTimeinternalDueDateTimeprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected List<String>regulationsprotected StringregulationsNextLinkprotected List<SubjectRightsRequestStageDetail>stagesprotected StringstagesNextLinkprotected SubjectRightsRequestStatusstatusprotected SubjectRightsRequestTypetype-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubjectRightsRequest()
-
Method Summary
-
-
-
Field Detail
-
assignedTo
protected Identity assignedTo
-
closedDateTime
protected OffsetDateTime closedDateTime
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
dataSubject
protected DataSubject dataSubject
-
dataSubjectType
protected DataSubjectType dataSubjectType
-
description
protected String description
-
displayName
protected String displayName
-
history
protected List<SubjectRightsRequestHistory> history
-
historyNextLink
protected String historyNextLink
-
insight
protected SubjectRightsRequestDetail insight
-
internalDueDateTime
protected OffsetDateTime internalDueDateTime
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
regulationsNextLink
protected String regulationsNextLink
-
stages
protected List<SubjectRightsRequestStageDetail> stages
-
stagesNextLink
protected String stagesNextLink
-
status
protected SubjectRightsRequestStatus status
-
type
protected SubjectRightsRequestType type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSubjectRightsRequest
public static SubjectRightsRequest.Builder builderSubjectRightsRequest()
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
-
withAssignedTo
public SubjectRightsRequest withAssignedTo(Identity assignedTo)
-
getClosedDateTime
public Optional<OffsetDateTime> getClosedDateTime()
-
withClosedDateTime
public SubjectRightsRequest withClosedDateTime(OffsetDateTime closedDateTime)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public SubjectRightsRequest withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public SubjectRightsRequest withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDataSubject
public Optional<DataSubject> getDataSubject()
-
withDataSubject
public SubjectRightsRequest withDataSubject(DataSubject dataSubject)
-
getDataSubjectType
public Optional<DataSubjectType> getDataSubjectType()
-
withDataSubjectType
public SubjectRightsRequest withDataSubjectType(DataSubjectType dataSubjectType)
-
withDescription
public SubjectRightsRequest withDescription(String description)
-
withDisplayName
public SubjectRightsRequest withDisplayName(String displayName)
-
getHistory
public com.github.davidmoten.odata.client.CollectionPage<SubjectRightsRequestHistory> getHistory()
-
withHistory
public SubjectRightsRequest withHistory(List<SubjectRightsRequestHistory> history)
-
getHistory
public com.github.davidmoten.odata.client.CollectionPage<SubjectRightsRequestHistory> getHistory(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getInsight
public Optional<SubjectRightsRequestDetail> getInsight()
-
withInsight
public SubjectRightsRequest withInsight(SubjectRightsRequestDetail insight)
-
getInternalDueDateTime
public Optional<OffsetDateTime> getInternalDueDateTime()
-
withInternalDueDateTime
public SubjectRightsRequest withInternalDueDateTime(OffsetDateTime internalDueDateTime)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
-
withLastModifiedBy
public SubjectRightsRequest withLastModifiedBy(IdentitySet lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public SubjectRightsRequest withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getRegulations
public com.github.davidmoten.odata.client.CollectionPage<String> getRegulations()
-
withRegulations
public SubjectRightsRequest withRegulations(List<String> regulations)
-
getRegulations
public com.github.davidmoten.odata.client.CollectionPage<String> getRegulations(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getStages
public com.github.davidmoten.odata.client.CollectionPage<SubjectRightsRequestStageDetail> getStages()
-
withStages
public SubjectRightsRequest withStages(List<SubjectRightsRequestStageDetail> stages)
-
getStages
public com.github.davidmoten.odata.client.CollectionPage<SubjectRightsRequestStageDetail> getStages(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getStatus
public Optional<SubjectRightsRequestStatus> getStatus()
-
withStatus
public SubjectRightsRequest withStatus(SubjectRightsRequestStatus status)
-
getType
public Optional<SubjectRightsRequestType> getType()
-
withType
public SubjectRightsRequest withType(SubjectRightsRequestType type)
-
withUnmappedField
public SubjectRightsRequest withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getNotes
public AuthoredNoteCollectionRequest getNotes()
-
getTeam
public TeamRequest getTeam()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SubjectRightsRequest patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SubjectRightsRequest put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
getFinalAttachment
public com.github.davidmoten.odata.client.FunctionRequestReturningStream getFinalAttachment()
-
getFinalReport
public com.github.davidmoten.odata.client.FunctionRequestReturningStream getFinalReport()
-
-