Class EducationModule

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class EducationModule
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Constructor Detail

      • EducationModule

        protected EducationModule()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderEducationModule

        public static EducationModule.Builder builderEducationModule()
        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
      • getCreatedBy

        public Optional<IdentitySet> getCreatedBy()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property createdBy
      • withCreatedBy

        public EducationModule 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 EducationModule 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
      • getLastModifiedBy

        public Optional<IdentitySet> getLastModifiedBy()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property lastModifiedBy
      • withLastModifiedBy

        public EducationModule 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 EducationModule 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
      • getResourcesFolderUrl

        public Optional<String> getResourcesFolderUrl()

        Org.OData.Core.V1.Computed

        true

        Returns:
        property resourcesFolderUrl
      • withResourcesFolderUrl

        public EducationModule 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 EducationModule withStatus​(EducationModuleStatus 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
      • 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 EducationModule 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 EducationModule 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<EducationModule> publish()
      • setUpResourcesFolder

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationModule> setUpResourcesFolder()
      • pin

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationModule> pin()
      • unpin

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationModule> unpin()