Package odata.msgraph.client.beta.entity
Class UnifiedRoleEligibilityScheduleInstance
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UnifiedRoleScheduleInstanceBase
-
- odata.msgraph.client.beta.entity.UnifiedRoleEligibilityScheduleInstance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnifiedRoleEligibilityScheduleInstance extends UnifiedRoleScheduleInstanceBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleEligibilityScheduleInstance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimeendDateTimeprotected StringmemberTypeprotected StringroleEligibilityScheduleIdprotected OffsetDateTimestartDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.UnifiedRoleScheduleInstanceBase
appScopeId, directoryScopeId, principalId, roleDefinitionId
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleEligibilityScheduleInstance()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.UnifiedRoleScheduleInstanceBase
builderUnifiedRoleScheduleInstanceBase, getAppScope, getAppScopeId, getDirectoryScope, getDirectoryScopeId, getPrincipal, getPrincipalId, getRoleDefinition, getRoleDefinitionId, withAppScopeId, withDirectoryScopeId, withPrincipalId, withRoleDefinitionId
-
-
-
-
Field Detail
-
endDateTime
protected OffsetDateTime endDateTime
-
memberType
protected String memberType
-
roleEligibilityScheduleId
protected String roleEligibilityScheduleId
-
startDateTime
protected OffsetDateTime startDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classUnifiedRoleScheduleInstanceBase
-
builderUnifiedRoleEligibilityScheduleInstance
public static UnifiedRoleEligibilityScheduleInstance.Builder builderUnifiedRoleEligibilityScheduleInstance()
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
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public UnifiedRoleEligibilityScheduleInstance withEndDateTime(OffsetDateTime endDateTime)
-
withMemberType
public UnifiedRoleEligibilityScheduleInstance withMemberType(String memberType)
-
withRoleEligibilityScheduleId
public UnifiedRoleEligibilityScheduleInstance withRoleEligibilityScheduleId(String roleEligibilityScheduleId)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public UnifiedRoleEligibilityScheduleInstance withStartDateTime(OffsetDateTime startDateTime)
-
withUnmappedField
public UnifiedRoleEligibilityScheduleInstance withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classUnifiedRoleScheduleInstanceBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classUnifiedRoleScheduleInstanceBase
-
patch
public UnifiedRoleEligibilityScheduleInstance 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 UnifiedRoleEligibilityScheduleInstance 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
-
-