Package odata.msgraph.client.entity
Class UnifiedRoleAssignmentSchedule
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UnifiedRoleScheduleBase
-
- odata.msgraph.client.entity.UnifiedRoleAssignmentSchedule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnifiedRoleAssignmentSchedule extends UnifiedRoleScheduleBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleAssignmentSchedule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringassignmentTypeprotected StringmemberTypeprotected RequestSchedulescheduleInfo-
Fields inherited from class odata.msgraph.client.entity.UnifiedRoleScheduleBase
appScopeId, createdDateTime, createdUsing, directoryScopeId, modifiedDateTime, principalId, roleDefinitionId, status
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleAssignmentSchedule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnifiedRoleAssignmentSchedule.BuilderbuilderUnifiedRoleAssignmentSchedule()Returns a builder which is used to create a new instance of this class (given that this class is immutable).UnifiedRoleEligibilityScheduleRequestgetActivatedUsing()Optional<String>getAssignmentType()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getMemberType()Optional<RequestSchedule>getScheduleInfo()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UnifiedRoleAssignmentSchedulepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UnifiedRoleAssignmentScheduleput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UnifiedRoleAssignmentSchedulewithAssignmentType(String assignmentType)UnifiedRoleAssignmentSchedulewithMemberType(String memberType)UnifiedRoleAssignmentSchedulewithScheduleInfo(RequestSchedule scheduleInfo)UnifiedRoleAssignmentSchedulewithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.UnifiedRoleScheduleBase
builderUnifiedRoleScheduleBase, getAppScope, getAppScopeId, getCreatedDateTime, getCreatedUsing, getDirectoryScope, getDirectoryScopeId, getModifiedDateTime, getPrincipal, getPrincipalId, getRoleDefinition, getRoleDefinitionId, getStatus, withAppScopeId, withCreatedDateTime, withCreatedUsing, withDirectoryScopeId, withModifiedDateTime, withPrincipalId, withRoleDefinitionId, withStatus
-
-
-
-
Field Detail
-
assignmentType
protected String assignmentType
-
memberType
protected String memberType
-
scheduleInfo
protected RequestSchedule scheduleInfo
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classUnifiedRoleScheduleBase
-
builderUnifiedRoleAssignmentSchedule
public static UnifiedRoleAssignmentSchedule.Builder builderUnifiedRoleAssignmentSchedule()
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 classUnifiedRoleScheduleBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classUnifiedRoleScheduleBase
-
withAssignmentType
public UnifiedRoleAssignmentSchedule withAssignmentType(String assignmentType)
-
withMemberType
public UnifiedRoleAssignmentSchedule withMemberType(String memberType)
-
getScheduleInfo
public Optional<RequestSchedule> getScheduleInfo()
-
withScheduleInfo
public UnifiedRoleAssignmentSchedule withScheduleInfo(RequestSchedule scheduleInfo)
-
withUnmappedField
public UnifiedRoleAssignmentSchedule withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classUnifiedRoleScheduleBase
-
getActivatedUsing
public UnifiedRoleEligibilityScheduleRequest getActivatedUsing()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classUnifiedRoleScheduleBase
-
patch
public UnifiedRoleAssignmentSchedule patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classUnifiedRoleScheduleBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public UnifiedRoleAssignmentSchedule put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classUnifiedRoleScheduleBase- 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 classUnifiedRoleScheduleBase
-
-