Package odata.msgraph.client.entity
Class EducationAssignment
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.EducationAssignment
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EducationAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationAssignment.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationAssignment()
-
Method Summary
-
-
-
Field Detail
-
addedStudentAction
protected EducationAddedStudentAction addedStudentAction
-
addToCalendarAction
protected EducationAddToCalendarOptions addToCalendarAction
-
allowLateSubmissions
protected Boolean allowLateSubmissions
-
allowStudentsToAddResourcesToSubmission
protected Boolean allowStudentsToAddResourcesToSubmission
-
assignDateTime
protected OffsetDateTime assignDateTime
-
assignedDateTime
protected OffsetDateTime assignedDateTime
-
assignTo
protected EducationAssignmentRecipient assignTo
-
classId
protected String classId
-
closeDateTime
protected OffsetDateTime closeDateTime
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
dueDateTime
protected OffsetDateTime dueDateTime
-
feedbackResourcesFolderUrl
protected String feedbackResourcesFolderUrl
-
grading
protected EducationAssignmentGradeType grading
-
instructions
protected EducationItemBody instructions
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
notificationChannelUrl
protected String notificationChannelUrl
-
resourcesFolderUrl
protected String resourcesFolderUrl
-
status
protected EducationAssignmentStatus status
-
webUrl
protected String webUrl
-
categories
protected List<EducationCategory> categories
-
resources
protected List<EducationAssignmentResource> resources
-
rubric
protected EducationRubric rubric
-
submissions
protected List<EducationSubmission> submissions
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEducationAssignment
public static EducationAssignment.Builder builderEducationAssignment()
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
-
getAddedStudentAction
public Optional<EducationAddedStudentAction> getAddedStudentAction()
-
withAddedStudentAction
public EducationAssignment withAddedStudentAction(EducationAddedStudentAction addedStudentAction)
-
getAddToCalendarAction
public Optional<EducationAddToCalendarOptions> getAddToCalendarAction()
-
withAddToCalendarAction
public EducationAssignment withAddToCalendarAction(EducationAddToCalendarOptions addToCalendarAction)
-
withAllowLateSubmissions
public EducationAssignment withAllowLateSubmissions(Boolean allowLateSubmissions)
-
getAllowStudentsToAddResourcesToSubmission
public Optional<Boolean> getAllowStudentsToAddResourcesToSubmission()
-
withAllowStudentsToAddResourcesToSubmission
public EducationAssignment withAllowStudentsToAddResourcesToSubmission(Boolean allowStudentsToAddResourcesToSubmission)
-
getAssignDateTime
public Optional<OffsetDateTime> getAssignDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property assignDateTime
-
withAssignDateTime
public EducationAssignment withAssignDateTime(OffsetDateTime assignDateTime)
Returns an immutable copy ofthiswith just theassignDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
assignDateTime- new value ofassignDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignDateTimefield changed
-
getAssignedDateTime
public Optional<OffsetDateTime> getAssignedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property assignedDateTime
-
withAssignedDateTime
public EducationAssignment withAssignedDateTime(OffsetDateTime assignedDateTime)
Returns an immutable copy ofthiswith just theassignedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
assignedDateTime- new value ofassignedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassignedDateTimefield changed
-
getAssignTo
public Optional<EducationAssignmentRecipient> getAssignTo()
-
withAssignTo
public EducationAssignment withAssignTo(EducationAssignmentRecipient assignTo)
-
withClassId
public EducationAssignment withClassId(String classId)
-
getCloseDateTime
public Optional<OffsetDateTime> getCloseDateTime()
-
withCloseDateTime
public EducationAssignment withCloseDateTime(OffsetDateTime closeDateTime)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property createdBy
-
withCreatedBy
public EducationAssignment withCreatedBy(IdentitySet createdBy)
Returns an immutable copy ofthiswith just thecreatedByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
createdBy- new value ofcreatedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedByfield changed
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property createdDateTime
-
withCreatedDateTime
public EducationAssignment withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
withDisplayName
public EducationAssignment withDisplayName(String displayName)
-
getDueDateTime
public Optional<OffsetDateTime> getDueDateTime()
-
withDueDateTime
public EducationAssignment withDueDateTime(OffsetDateTime dueDateTime)
-
getFeedbackResourcesFolderUrl
public Optional<String> getFeedbackResourcesFolderUrl()
Org.OData.Core.V1.Computed
true
- Returns:
- property feedbackResourcesFolderUrl
-
withFeedbackResourcesFolderUrl
public EducationAssignment withFeedbackResourcesFolderUrl(String feedbackResourcesFolderUrl)
Returns an immutable copy ofthiswith just thefeedbackResourcesFolderUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
feedbackResourcesFolderUrl- new value offeedbackResourcesFolderUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeedbackResourcesFolderUrlfield changed
-
getGrading
public Optional<EducationAssignmentGradeType> getGrading()
-
withGrading
public EducationAssignment withGrading(EducationAssignmentGradeType grading)
-
getInstructions
public Optional<EducationItemBody> getInstructions()
-
withInstructions
public EducationAssignment withInstructions(EducationItemBody instructions)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property lastModifiedBy
-
withLastModifiedBy
public EducationAssignment withLastModifiedBy(IdentitySet lastModifiedBy)
Returns an immutable copy ofthiswith just thelastModifiedByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
lastModifiedBy- new value oflastModifiedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedByfield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public EducationAssignment withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
withNotificationChannelUrl
public EducationAssignment withNotificationChannelUrl(String notificationChannelUrl)
-
getResourcesFolderUrl
public Optional<String> getResourcesFolderUrl()
Org.OData.Core.V1.Computed
true
- Returns:
- property resourcesFolderUrl
-
withResourcesFolderUrl
public EducationAssignment withResourcesFolderUrl(String resourcesFolderUrl)
Returns an immutable copy ofthiswith just theresourcesFolderUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
resourcesFolderUrl- new value ofresourcesFolderUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theresourcesFolderUrlfield changed
-
getStatus
public Optional<EducationAssignmentStatus> getStatus()
Org.OData.Core.V1.Computed
true
- Returns:
- property status
-
withStatus
public EducationAssignment withStatus(EducationAssignmentStatus status)
Returns an immutable copy ofthiswith just thestatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
getWebUrl
public Optional<String> getWebUrl()
Org.OData.Core.V1.Computed
true
- Returns:
- property webUrl
-
withWebUrl
public EducationAssignment withWebUrl(String webUrl)
Returns an immutable copy ofthiswith just thewebUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
webUrl- new value ofwebUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewebUrlfield changed
-
withUnmappedField
public EducationAssignment withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getCategories
public EducationCategoryCollectionRequest getCategories()
-
getResources
public EducationAssignmentResourceCollectionRequest getResources()
-
getRubric
public EducationRubricRequest getRubric()
-
getSubmissions
public EducationSubmissionCollectionRequest getSubmissions()
-
withCategories
public EducationAssignment withCategories(List<EducationCategory> categories)
-
withResources
public EducationAssignment withResources(List<EducationAssignmentResource> resources)
-
withRubric
public EducationAssignment withRubric(EducationRubric rubric)
-
withSubmissions
public EducationAssignment withSubmissions(List<EducationSubmission> submissions)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EducationAssignment patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EducationAssignment put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
publish
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationAssignment> publish()
-
setUpFeedbackResourcesFolder
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationAssignment> setUpFeedbackResourcesFolder()
-
setUpResourcesFolder
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationAssignment> setUpResourcesFolder()
-
-