Package odata.msgraph.client.beta.entity
Class ManagedEBook
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedEBook
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosVppEBook
public class ManagedEBook extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“An abstract class containing the base properties for Managed eBook.”
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected StringinformationUrlprotected MimeContentlargeCoverprotected OffsetDateTimelastModifiedDateTimeprotected StringprivacyInformationUrlprotected OffsetDateTimepublishedDateTimeprotected Stringpublisher-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedEBook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<ManagedEBookAssignment> managedEBookAssignments)ManagedEBookAssignmentCollectionRequestgetAssignments()“The list of assignments for this eBook.”ManagedEBookCategoryCollectionRequestgetCategories()“The list of categories for this eBook.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The date and time when the eBook file was created.”Optional<String>getDescription()“Description.”DeviceInstallStateCollectionRequestgetDeviceStates()“The list of installation states for this eBook.”Optional<String>getDisplayName()“Name of the eBook.”Optional<String>getInformationUrl()“The more information Url.”EBookInstallSummaryRequestgetInstallSummary()“Mobile App Install Summary.”Optional<MimeContent>getLargeCover()“Book cover.”Optional<OffsetDateTime>getLastModifiedDateTime()“The date and time when the eBook was last modified.”Optional<String>getPrivacyInformationUrl()“The privacy statement Url.”Optional<OffsetDateTime>getPublishedDateTime()“The date and time when the eBook was published.”Optional<String>getPublisher()“Publisher.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()UserInstallStateSummaryCollectionRequestgetUserStateSummary()“The list of installation states for this eBook.”StringodataTypeName()ManagedEBookpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedEBookput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedEBookwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.ManagedEBookwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.ManagedEBookwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.ManagedEBookwithInformationUrl(String informationUrl)Returns an immutable copy ofthiswith just theinformationUrlfield changed.ManagedEBookwithLargeCover(MimeContent largeCover)Returns an immutable copy ofthiswith just thelargeCoverfield changed.ManagedEBookwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.ManagedEBookwithPrivacyInformationUrl(String privacyInformationUrl)Returns an immutable copy ofthiswith just theprivacyInformationUrlfield changed.ManagedEBookwithPublishedDateTime(OffsetDateTime publishedDateTime)Returns an immutable copy ofthiswith just thepublishedDateTimefield changed.ManagedEBookwithPublisher(String publisher)Returns an immutable copy ofthiswith just thepublisherfield changed.ManagedEBookwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
informationUrl
protected String informationUrl
-
largeCover
protected MimeContent largeCover
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
privacyInformationUrl
protected String privacyInformationUrl
-
publishedDateTime
protected OffsetDateTime publishedDateTime
-
publisher
protected String publisher
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The date and time when the eBook file was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public ManagedEBook 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.“The date and time when the eBook file was created.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“Description.”- Returns:
- property description
-
withDescription
public ManagedEBook withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Description.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Name of the eBook.”- Returns:
- property displayName
-
withDisplayName
public ManagedEBook withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Name of the eBook.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getInformationUrl
public Optional<String> getInformationUrl()
“The more information Url.”- Returns:
- property informationUrl
-
withInformationUrl
public ManagedEBook withInformationUrl(String informationUrl)
Returns an immutable copy ofthiswith just theinformationUrlfield 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.“The more information Url.”
- Parameters:
informationUrl- new value ofinformationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinformationUrlfield changed
-
getLargeCover
public Optional<MimeContent> getLargeCover()
“Book cover.”- Returns:
- property largeCover
-
withLargeCover
public ManagedEBook withLargeCover(MimeContent largeCover)
Returns an immutable copy ofthiswith just thelargeCoverfield 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.“Book cover.”
- Parameters:
largeCover- new value oflargeCoverfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelargeCoverfield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date and time when the eBook was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public ManagedEBook 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.“The date and time when the eBook was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getPrivacyInformationUrl
public Optional<String> getPrivacyInformationUrl()
“The privacy statement Url.”- Returns:
- property privacyInformationUrl
-
withPrivacyInformationUrl
public ManagedEBook withPrivacyInformationUrl(String privacyInformationUrl)
Returns an immutable copy ofthiswith just theprivacyInformationUrlfield 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.“The privacy statement Url.”
- Parameters:
privacyInformationUrl- new value ofprivacyInformationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprivacyInformationUrlfield changed
-
getPublishedDateTime
public Optional<OffsetDateTime> getPublishedDateTime()
“The date and time when the eBook was published.”- Returns:
- property publishedDateTime
-
withPublishedDateTime
public ManagedEBook withPublishedDateTime(OffsetDateTime publishedDateTime)
Returns an immutable copy ofthiswith just thepublishedDateTimefield 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.“The date and time when the eBook was published.”
- Parameters:
publishedDateTime- new value ofpublishedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublishedDateTimefield changed
-
withPublisher
public ManagedEBook withPublisher(String publisher)
Returns an immutable copy ofthiswith just thepublisherfield 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.“Publisher.”
- Parameters:
publisher- new value ofpublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublisherfield changed
-
withUnmappedField
public ManagedEBook withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public ManagedEBookAssignmentCollectionRequest getAssignments()
“The list of assignments for this eBook.”- Returns:
- navigational property assignments
-
getCategories
public ManagedEBookCategoryCollectionRequest getCategories()
“The list of categories for this eBook.”- Returns:
- navigational property categories
-
getDeviceStates
public DeviceInstallStateCollectionRequest getDeviceStates()
“The list of installation states for this eBook.”- Returns:
- navigational property deviceStates
-
getInstallSummary
public EBookInstallSummaryRequest getInstallSummary()
“Mobile App Install Summary.”- Returns:
- navigational property installSummary
-
getUserStateSummary
public UserInstallStateSummaryCollectionRequest getUserStateSummary()
“The list of installation states for this eBook.”- Returns:
- navigational property userStateSummary
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagedEBook patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedEBook put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<ManagedEBookAssignment> managedEBookAssignments)
-
-