Package odata.msgraph.client.entity
Class UnifiedRoleAssignmentScheduleInstance
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UnifiedRoleScheduleInstanceBase
-
- odata.msgraph.client.entity.UnifiedRoleAssignmentScheduleInstance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnifiedRoleAssignmentScheduleInstance extends UnifiedRoleScheduleInstanceBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleAssignmentScheduleInstance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringassignmentTypeprotected OffsetDateTimeendDateTimeprotected StringmemberTypeprotected StringroleAssignmentOriginIdprotected StringroleAssignmentScheduleIdprotected OffsetDateTimestartDateTime-
Fields inherited from class odata.msgraph.client.entity.UnifiedRoleScheduleInstanceBase
appScopeId, directoryScopeId, principalId, roleDefinitionId
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleAssignmentScheduleInstance()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.UnifiedRoleScheduleInstanceBase
builderUnifiedRoleScheduleInstanceBase, getAppScope, getAppScopeId, getDirectoryScope, getDirectoryScopeId, getPrincipal, getPrincipalId, getRoleDefinition, getRoleDefinitionId, withAppScopeId, withDirectoryScopeId, withPrincipalId, withRoleDefinitionId
-
-
-
-
Field Detail
-
assignmentType
protected String assignmentType
-
endDateTime
protected OffsetDateTime endDateTime
-
memberType
protected String memberType
-
roleAssignmentOriginId
protected String roleAssignmentOriginId
-
roleAssignmentScheduleId
protected String roleAssignmentScheduleId
-
startDateTime
protected OffsetDateTime startDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classUnifiedRoleScheduleInstanceBase
-
builderUnifiedRoleAssignmentScheduleInstance
public static UnifiedRoleAssignmentScheduleInstance.Builder builderUnifiedRoleAssignmentScheduleInstance()
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 classUnifiedRoleScheduleInstanceBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classUnifiedRoleScheduleInstanceBase
-
withAssignmentType
public UnifiedRoleAssignmentScheduleInstance withAssignmentType(String assignmentType)
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public UnifiedRoleAssignmentScheduleInstance withEndDateTime(OffsetDateTime endDateTime)
-
withMemberType
public UnifiedRoleAssignmentScheduleInstance withMemberType(String memberType)
-
withRoleAssignmentOriginId
public UnifiedRoleAssignmentScheduleInstance withRoleAssignmentOriginId(String roleAssignmentOriginId)
-
withRoleAssignmentScheduleId
public UnifiedRoleAssignmentScheduleInstance withRoleAssignmentScheduleId(String roleAssignmentScheduleId)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public UnifiedRoleAssignmentScheduleInstance withStartDateTime(OffsetDateTime startDateTime)
-
withUnmappedField
public UnifiedRoleAssignmentScheduleInstance withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classUnifiedRoleScheduleInstanceBase
-
getActivatedUsing
public UnifiedRoleEligibilityScheduleInstanceRequest getActivatedUsing()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classUnifiedRoleScheduleInstanceBase
-
patch
public UnifiedRoleAssignmentScheduleInstance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classUnifiedRoleScheduleInstanceBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public UnifiedRoleAssignmentScheduleInstance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classUnifiedRoleScheduleInstanceBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classUnifiedRoleScheduleInstanceBase
-
-