Class 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
    • Constructor Detail

      • EducationAssignment

        protected EducationAssignment()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getAllowLateSubmissions

        public Optional<Boolean> getAllowLateSubmissions()
      • 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 of this with just the assignDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of assignDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the assignDateTime field 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 of this with just the assignedDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of assignedDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the assignedDateTime field changed
      • getCreatedBy

        public Optional<IdentitySet> getCreatedBy()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property createdBy
      • withCreatedBy

        public EducationAssignment withCreatedBy​(IdentitySet createdBy)
        Returns an immutable copy of this with just the createdBy field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of createdBy field (as defined in service metadata)
        Returns:
        immutable copy of this with just the createdBy field 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 of this with just the createdDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of createdDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the createdDateTime field changed
      • getFeedbackResourcesFolderUrl

        public Optional<String> getFeedbackResourcesFolderUrl()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property feedbackResourcesFolderUrl
      • withFeedbackResourcesFolderUrl

        public EducationAssignment withFeedbackResourcesFolderUrl​(String feedbackResourcesFolderUrl)
        Returns an immutable copy of this with just the feedbackResourcesFolderUrl field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of feedbackResourcesFolderUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the feedbackResourcesFolderUrl field changed
      • getLastModifiedBy

        public Optional<IdentitySet> getLastModifiedBy()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property lastModifiedBy
      • withLastModifiedBy

        public EducationAssignment withLastModifiedBy​(IdentitySet lastModifiedBy)
        Returns an immutable copy of this with just the lastModifiedBy field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of lastModifiedBy field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastModifiedBy field 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 of this with just the lastModifiedDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of lastModifiedDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastModifiedDateTime field changed
      • getNotificationChannelUrl

        public Optional<String> getNotificationChannelUrl()
      • getResourcesFolderUrl

        public Optional<String> getResourcesFolderUrl()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property resourcesFolderUrl
      • withResourcesFolderUrl

        public EducationAssignment withResourcesFolderUrl​(String resourcesFolderUrl)
        Returns an immutable copy of this with just the resourcesFolderUrl field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of resourcesFolderUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the resourcesFolderUrl field changed
      • withStatus

        public EducationAssignment withStatus​(EducationAssignmentStatus status)
        Returns an immutable copy of this with just the status field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of status field (as defined in service metadata)
        Returns:
        immutable copy of this with just the status field 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 of this with just the webUrl field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of webUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the webUrl field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public EducationAssignment patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public EducationAssignment put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • 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()