Package odata.msgraph.client.entity
Class UnifiedRoleAssignmentScheduleRequest
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Request
-
- odata.msgraph.client.entity.UnifiedRoleAssignmentScheduleRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnifiedRoleAssignmentScheduleRequest extends Request implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleAssignmentScheduleRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UnifiedRoleScheduleRequestActionsactionprotected StringappScopeIdprotected StringdirectoryScopeIdprotected BooleanisValidationOnlyprotected Stringjustificationprotected StringprincipalIdprotected StringroleDefinitionIdprotected RequestSchedulescheduleInfoprotected StringtargetScheduleIdprotected TicketInfoticketInfo-
Fields inherited from class odata.msgraph.client.entity.Request
approvalId, completedDateTime, createdBy, createdDateTime, customData, status
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleAssignmentScheduleRequest()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.Request
builderRequest, getApprovalId, getCompletedDateTime, getCreatedBy, getCreatedDateTime, getCustomData, getStatus, withApprovalId, withCompletedDateTime, withCreatedBy, withCreatedDateTime, withCustomData, withStatus
-
-
-
-
Field Detail
-
action
protected UnifiedRoleScheduleRequestActions action
-
appScopeId
protected String appScopeId
-
directoryScopeId
protected String directoryScopeId
-
isValidationOnly
protected Boolean isValidationOnly
-
justification
protected String justification
-
principalId
protected String principalId
-
roleDefinitionId
protected String roleDefinitionId
-
scheduleInfo
protected RequestSchedule scheduleInfo
-
targetScheduleId
protected String targetScheduleId
-
ticketInfo
protected TicketInfo ticketInfo
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classRequest
-
builderUnifiedRoleAssignmentScheduleRequest
public static UnifiedRoleAssignmentScheduleRequest.Builder builderUnifiedRoleAssignmentScheduleRequest()
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 classRequest
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classRequest
-
getAction
public Optional<UnifiedRoleScheduleRequestActions> getAction()
-
withAction
public UnifiedRoleAssignmentScheduleRequest withAction(UnifiedRoleScheduleRequestActions action)
-
withAppScopeId
public UnifiedRoleAssignmentScheduleRequest withAppScopeId(String appScopeId)
-
withDirectoryScopeId
public UnifiedRoleAssignmentScheduleRequest withDirectoryScopeId(String directoryScopeId)
-
withIsValidationOnly
public UnifiedRoleAssignmentScheduleRequest withIsValidationOnly(Boolean isValidationOnly)
-
withJustification
public UnifiedRoleAssignmentScheduleRequest withJustification(String justification)
-
withPrincipalId
public UnifiedRoleAssignmentScheduleRequest withPrincipalId(String principalId)
-
withRoleDefinitionId
public UnifiedRoleAssignmentScheduleRequest withRoleDefinitionId(String roleDefinitionId)
-
getScheduleInfo
public Optional<RequestSchedule> getScheduleInfo()
-
withScheduleInfo
public UnifiedRoleAssignmentScheduleRequest withScheduleInfo(RequestSchedule scheduleInfo)
-
withTargetScheduleId
public UnifiedRoleAssignmentScheduleRequest withTargetScheduleId(String targetScheduleId)
-
getTicketInfo
public Optional<TicketInfo> getTicketInfo()
-
withTicketInfo
public UnifiedRoleAssignmentScheduleRequest withTicketInfo(TicketInfo ticketInfo)
-
withUnmappedField
public UnifiedRoleAssignmentScheduleRequest withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classRequest
-
getActivatedUsing
public UnifiedRoleEligibilityScheduleRequest getActivatedUsing()
-
getAppScope
public AppScopeRequest getAppScope()
-
getDirectoryScope
public DirectoryObjectRequest getDirectoryScope()
-
getPrincipal
public DirectoryObjectRequest getPrincipal()
-
getRoleDefinition
public UnifiedRoleDefinitionRequest getRoleDefinition()
-
getTargetSchedule
public UnifiedRoleAssignmentScheduleRequest getTargetSchedule()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classRequest
-
patch
public UnifiedRoleAssignmentScheduleRequest patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UnifiedRoleAssignmentScheduleRequest 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()
-
-