Package odata.msgraph.client.beta.entity
Class EducationSubmission
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EducationSubmission
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EducationSubmission extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationSubmission.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IdentitySetreassignedByprotected OffsetDateTimereassignedDateTimeprotected EducationSubmissionRecipientrecipientprotected StringresourcesFolderUrlprotected IdentitySetreturnedByprotected OffsetDateTimereturnedDateTimeprotected EducationSubmissionStatusstatusprotected IdentitySetsubmittedByprotected OffsetDateTimesubmittedDateTimeprotected IdentitySetunsubmittedByprotected OffsetDateTimeunsubmittedDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationSubmission()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EducationSubmission.BuilderbuilderEducationSubmission()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()EducationOutcomeCollectionRequestgetOutcomes()Optional<IdentitySet>getReassignedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getReassignedDateTime()Org.OData.Core.V1.ComputedOptional<EducationSubmissionRecipient>getRecipient()EducationSubmissionResourceCollectionRequestgetResources()Optional<String>getResourcesFolderUrl()Org.OData.Core.V1.ComputedOptional<IdentitySet>getReturnedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getReturnedDateTime()Org.OData.Core.V1.ComputedOptional<EducationSubmissionStatus>getStatus()Org.OData.Core.V1.ComputedOptional<IdentitySet>getSubmittedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getSubmittedDateTime()Org.OData.Core.V1.ComputedEducationSubmissionResourceCollectionRequestgetSubmittedResources()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<IdentitySet>getUnsubmittedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getUnsubmittedDateTime()Org.OData.Core.V1.ComputedStringodataTypeName()EducationSubmissionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EducationSubmissionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission>reassign()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission>return_()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission>setUpResourcesFolder()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission>submit()StringtoString()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission>unsubmit()EducationSubmissionwithReassignedBy(IdentitySet reassignedBy)Returns an immutable copy ofthiswith just thereassignedByfield changed.EducationSubmissionwithReassignedDateTime(OffsetDateTime reassignedDateTime)Returns an immutable copy ofthiswith just thereassignedDateTimefield changed.EducationSubmissionwithRecipient(EducationSubmissionRecipient recipient)EducationSubmissionwithResourcesFolderUrl(String resourcesFolderUrl)Returns an immutable copy ofthiswith just theresourcesFolderUrlfield changed.EducationSubmissionwithReturnedBy(IdentitySet returnedBy)Returns an immutable copy ofthiswith just thereturnedByfield changed.EducationSubmissionwithReturnedDateTime(OffsetDateTime returnedDateTime)Returns an immutable copy ofthiswith just thereturnedDateTimefield changed.EducationSubmissionwithStatus(EducationSubmissionStatus status)Returns an immutable copy ofthiswith just thestatusfield changed.EducationSubmissionwithSubmittedBy(IdentitySet submittedBy)Returns an immutable copy ofthiswith just thesubmittedByfield changed.EducationSubmissionwithSubmittedDateTime(OffsetDateTime submittedDateTime)Returns an immutable copy ofthiswith just thesubmittedDateTimefield changed.EducationSubmissionwithUnmappedField(String name, String value)EducationSubmissionwithUnsubmittedBy(IdentitySet unsubmittedBy)Returns an immutable copy ofthiswith just theunsubmittedByfield changed.EducationSubmissionwithUnsubmittedDateTime(OffsetDateTime unsubmittedDateTime)Returns an immutable copy ofthiswith just theunsubmittedDateTimefield changed.
-
-
-
Field Detail
-
reassignedBy
protected IdentitySet reassignedBy
-
reassignedDateTime
protected OffsetDateTime reassignedDateTime
-
recipient
protected EducationSubmissionRecipient recipient
-
resourcesFolderUrl
protected String resourcesFolderUrl
-
returnedBy
protected IdentitySet returnedBy
-
returnedDateTime
protected OffsetDateTime returnedDateTime
-
status
protected EducationSubmissionStatus status
-
submittedBy
protected IdentitySet submittedBy
-
submittedDateTime
protected OffsetDateTime submittedDateTime
-
unsubmittedBy
protected IdentitySet unsubmittedBy
-
unsubmittedDateTime
protected OffsetDateTime unsubmittedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEducationSubmission
public static EducationSubmission.Builder builderEducationSubmission()
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
-
getReassignedBy
public Optional<IdentitySet> getReassignedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property reassignedBy
-
withReassignedBy
public EducationSubmission withReassignedBy(IdentitySet reassignedBy)
Returns an immutable copy ofthiswith just thereassignedByfield 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:
reassignedBy- new value ofreassignedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereassignedByfield changed
-
getReassignedDateTime
public Optional<OffsetDateTime> getReassignedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property reassignedDateTime
-
withReassignedDateTime
public EducationSubmission withReassignedDateTime(OffsetDateTime reassignedDateTime)
Returns an immutable copy ofthiswith just thereassignedDateTimefield 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:
reassignedDateTime- new value ofreassignedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereassignedDateTimefield changed
-
getRecipient
public Optional<EducationSubmissionRecipient> getRecipient()
-
withRecipient
public EducationSubmission withRecipient(EducationSubmissionRecipient recipient)
-
getResourcesFolderUrl
public Optional<String> getResourcesFolderUrl()
Org.OData.Core.V1.Computed
true
- Returns:
- property resourcesFolderUrl
-
withResourcesFolderUrl
public EducationSubmission 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
-
getReturnedBy
public Optional<IdentitySet> getReturnedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property returnedBy
-
withReturnedBy
public EducationSubmission withReturnedBy(IdentitySet returnedBy)
Returns an immutable copy ofthiswith just thereturnedByfield 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:
returnedBy- new value ofreturnedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereturnedByfield changed
-
getReturnedDateTime
public Optional<OffsetDateTime> getReturnedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property returnedDateTime
-
withReturnedDateTime
public EducationSubmission withReturnedDateTime(OffsetDateTime returnedDateTime)
Returns an immutable copy ofthiswith just thereturnedDateTimefield 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:
returnedDateTime- new value ofreturnedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereturnedDateTimefield changed
-
getStatus
public Optional<EducationSubmissionStatus> getStatus()
Org.OData.Core.V1.Computed
true
- Returns:
- property status
-
withStatus
public EducationSubmission withStatus(EducationSubmissionStatus 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
-
getSubmittedBy
public Optional<IdentitySet> getSubmittedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property submittedBy
-
withSubmittedBy
public EducationSubmission withSubmittedBy(IdentitySet submittedBy)
Returns an immutable copy ofthiswith just thesubmittedByfield 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:
submittedBy- new value ofsubmittedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubmittedByfield changed
-
getSubmittedDateTime
public Optional<OffsetDateTime> getSubmittedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property submittedDateTime
-
withSubmittedDateTime
public EducationSubmission withSubmittedDateTime(OffsetDateTime submittedDateTime)
Returns an immutable copy ofthiswith just thesubmittedDateTimefield 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:
submittedDateTime- new value ofsubmittedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubmittedDateTimefield changed
-
getUnsubmittedBy
public Optional<IdentitySet> getUnsubmittedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property unsubmittedBy
-
withUnsubmittedBy
public EducationSubmission withUnsubmittedBy(IdentitySet unsubmittedBy)
Returns an immutable copy ofthiswith just theunsubmittedByfield 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:
unsubmittedBy- new value ofunsubmittedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunsubmittedByfield changed
-
getUnsubmittedDateTime
public Optional<OffsetDateTime> getUnsubmittedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property unsubmittedDateTime
-
withUnsubmittedDateTime
public EducationSubmission withUnsubmittedDateTime(OffsetDateTime unsubmittedDateTime)
Returns an immutable copy ofthiswith just theunsubmittedDateTimefield 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:
unsubmittedDateTime- new value ofunsubmittedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunsubmittedDateTimefield changed
-
withUnmappedField
public EducationSubmission withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getOutcomes
public EducationOutcomeCollectionRequest getOutcomes()
-
getResources
public EducationSubmissionResourceCollectionRequest getResources()
-
getSubmittedResources
public EducationSubmissionResourceCollectionRequest getSubmittedResources()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EducationSubmission patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EducationSubmission put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
setUpResourcesFolder
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission> setUpResourcesFolder()
-
reassign
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission> reassign()
-
return_
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission> return_()
-
submit
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission> submit()
-
unsubmit
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EducationSubmission> unsubmit()
-
-