Package odata.msgraph.client.entity
Class UnifiedRoleScheduleBase
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UnifiedRoleScheduleBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
UnifiedRoleAssignmentSchedule,UnifiedRoleEligibilitySchedule
public class UnifiedRoleScheduleBase extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleScheduleBase.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappScopeIdprotected OffsetDateTimecreatedDateTimeprotected StringcreatedUsingprotected StringdirectoryScopeIdprotected OffsetDateTimemodifiedDateTimeprotected StringprincipalIdprotected StringroleDefinitionIdprotected Stringstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleScheduleBase()
-
Method Summary
-
-
-
Field Detail
-
appScopeId
protected String appScopeId
-
createdDateTime
protected OffsetDateTime createdDateTime
-
createdUsing
protected String createdUsing
-
directoryScopeId
protected String directoryScopeId
-
modifiedDateTime
protected OffsetDateTime modifiedDateTime
-
principalId
protected String principalId
-
roleDefinitionId
protected String roleDefinitionId
-
status
protected String status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUnifiedRoleScheduleBase
public static UnifiedRoleScheduleBase.Builder builderUnifiedRoleScheduleBase()
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
-
withAppScopeId
public UnifiedRoleScheduleBase withAppScopeId(String appScopeId)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public UnifiedRoleScheduleBase withCreatedDateTime(OffsetDateTime createdDateTime)
-
withCreatedUsing
public UnifiedRoleScheduleBase withCreatedUsing(String createdUsing)
-
withDirectoryScopeId
public UnifiedRoleScheduleBase withDirectoryScopeId(String directoryScopeId)
-
getModifiedDateTime
public Optional<OffsetDateTime> getModifiedDateTime()
-
withModifiedDateTime
public UnifiedRoleScheduleBase withModifiedDateTime(OffsetDateTime modifiedDateTime)
-
withPrincipalId
public UnifiedRoleScheduleBase withPrincipalId(String principalId)
-
withRoleDefinitionId
public UnifiedRoleScheduleBase withRoleDefinitionId(String roleDefinitionId)
-
withStatus
public UnifiedRoleScheduleBase withStatus(String status)
-
withUnmappedField
public UnifiedRoleScheduleBase withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAppScope
public AppScopeRequest getAppScope()
-
getDirectoryScope
public DirectoryObjectRequest getDirectoryScope()
-
getPrincipal
public DirectoryObjectRequest getPrincipal()
-
getRoleDefinition
public UnifiedRoleDefinitionRequest getRoleDefinition()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UnifiedRoleScheduleBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UnifiedRoleScheduleBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-