Package odata.msgraph.client.beta.entity
Class AccessPackageAssignmentRequest
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AccessPackageAssignmentRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AccessPackageAssignmentRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessPackageAssignmentRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AccessPackageAnswer>answersprotected StringanswersNextLinkprotected OffsetDateTimecompletedDateprotected OffsetDateTimecreatedDateTimeprotected List<CustomExtensionHandlerInstance>customExtensionHandlerInstancesprotected StringcustomExtensionHandlerInstancesNextLinkprotected OffsetDateTimeexpirationDateTimeprotected BooleanisValidationOnlyprotected Stringjustificationprotected StringrequestStateprotected StringrequestStatusprotected StringrequestTypeprotected RequestScheduleschedule-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessPackageAssignmentRequest()
-
Method Summary
-
-
-
Field Detail
-
answers
protected List<AccessPackageAnswer> answers
-
answersNextLink
protected String answersNextLink
-
completedDate
protected OffsetDateTime completedDate
-
createdDateTime
protected OffsetDateTime createdDateTime
-
customExtensionHandlerInstances
protected List<CustomExtensionHandlerInstance> customExtensionHandlerInstances
-
customExtensionHandlerInstancesNextLink
protected String customExtensionHandlerInstancesNextLink
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
isValidationOnly
protected Boolean isValidationOnly
-
justification
protected String justification
-
requestState
protected String requestState
-
requestStatus
protected String requestStatus
-
requestType
protected String requestType
-
schedule
protected RequestSchedule schedule
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAccessPackageAssignmentRequest
public static AccessPackageAssignmentRequest.Builder builderAccessPackageAssignmentRequest()
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
-
getAnswers
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageAnswer> getAnswers()
-
withAnswers
public AccessPackageAssignmentRequest withAnswers(List<AccessPackageAnswer> answers)
-
getAnswers
public com.github.davidmoten.odata.client.CollectionPage<AccessPackageAnswer> getAnswers(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCompletedDate
public Optional<OffsetDateTime> getCompletedDate()
-
withCompletedDate
public AccessPackageAssignmentRequest withCompletedDate(OffsetDateTime completedDate)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public AccessPackageAssignmentRequest withCreatedDateTime(OffsetDateTime createdDateTime)
-
getCustomExtensionHandlerInstances
public com.github.davidmoten.odata.client.CollectionPage<CustomExtensionHandlerInstance> getCustomExtensionHandlerInstances()
-
withCustomExtensionHandlerInstances
public AccessPackageAssignmentRequest withCustomExtensionHandlerInstances(List<CustomExtensionHandlerInstance> customExtensionHandlerInstances)
-
getCustomExtensionHandlerInstances
public com.github.davidmoten.odata.client.CollectionPage<CustomExtensionHandlerInstance> getCustomExtensionHandlerInstances(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
-
withExpirationDateTime
public AccessPackageAssignmentRequest withExpirationDateTime(OffsetDateTime expirationDateTime)
-
withIsValidationOnly
public AccessPackageAssignmentRequest withIsValidationOnly(Boolean isValidationOnly)
-
withJustification
public AccessPackageAssignmentRequest withJustification(String justification)
-
withRequestState
public AccessPackageAssignmentRequest withRequestState(String requestState)
-
withRequestStatus
public AccessPackageAssignmentRequest withRequestStatus(String requestStatus)
-
withRequestType
public AccessPackageAssignmentRequest withRequestType(String requestType)
-
getSchedule
public Optional<RequestSchedule> getSchedule()
-
withSchedule
public AccessPackageAssignmentRequest withSchedule(RequestSchedule schedule)
-
withUnmappedField
public AccessPackageAssignmentRequest withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAccessPackage
public AccessPackageRequest getAccessPackage()
-
getAccessPackageAssignment
public AccessPackageAssignmentRequest getAccessPackageAssignment()
-
getRequestor
public AccessPackageSubjectRequest getRequestor()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AccessPackageAssignmentRequest patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AccessPackageAssignmentRequest put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
cancel
public com.github.davidmoten.odata.client.ActionRequestNoReturn cancel()
-
reprocess
public com.github.davidmoten.odata.client.ActionRequestNoReturn reprocess()
-
-