Package odata.msgraph.client.complex
Class EducationResource
- java.lang.Object
-
- odata.msgraph.client.complex.EducationResource
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
EducationChannelResource,EducationExcelResource,EducationExternalResource,EducationFileResource,EducationLinkedAssignmentResource,EducationLinkResource,EducationMediaResource,EducationPowerPointResource,EducationTeamsAppResource,EducationWordResource
public class EducationResource extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected StringdisplayNameprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<IdentitySet>getCreatedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getCreatedDateTime()Org.OData.Core.V1.ComputedOptional<String>getDisplayName()Optional<IdentitySet>getLastModifiedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getLastModifiedDateTime()Org.OData.Core.V1.Computedcom.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()EducationResourcewithCreatedBy(IdentitySet createdBy)Returns an immutable copy ofthiswith just thecreatedByfield changed.EducationResourcewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.EducationResourcewithDisplayName(String displayName)EducationResourcewithLastModifiedBy(IdentitySet lastModifiedBy)Returns an immutable copy ofthiswith just thelastModifiedByfield changed.EducationResourcewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.EducationResourcewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property createdBy
-
withCreatedBy
public EducationResource 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 EducationResource 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 EducationResource withDisplayName(String displayName)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property lastModifiedBy
-
withLastModifiedBy
public EducationResource 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 EducationResource 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
-
withUnmappedField
public EducationResource withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
-