public class ManagedEBook extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected String |
informationUrl |
protected MimeContent |
largeCover |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
privacyInformationUrl |
protected OffsetDateTime |
publishedDateTime |
protected String |
publisher |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedEBook() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
assign(List<ManagedEBookAssignment> managedEBookAssignments) |
ManagedEBookAssignmentCollectionRequest |
getAssignments()
“The list of assignments for this eBook.”
|
ManagedEBookCategoryCollectionRequest |
getCategories()
“The list of categories for this eBook.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The date and time when the eBook file was created.”
|
Optional<String> |
getDescription()
“Description.”
|
DeviceInstallStateCollectionRequest |
getDeviceStates()
“The list of installation states for this eBook.”
|
Optional<String> |
getDisplayName()
“Name of the eBook.”
|
Optional<String> |
getInformationUrl()
“The more information Url.”
|
EBookInstallSummaryRequest |
getInstallSummary()
“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.internal.UnmappedFields |
getUnmappedFields() |
UserInstallStateSummaryCollectionRequest |
getUserStateSummary()
“The list of installation states for this eBook.”
|
String |
odataTypeName() |
ManagedEBook |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedEBook |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagedEBook |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ManagedEBook |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
ManagedEBook |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
ManagedEBook |
withInformationUrl(String informationUrl)
Returns an immutable copy of
this with just the informationUrl
field changed. |
ManagedEBook |
withLargeCover(MimeContent largeCover)
Returns an immutable copy of
this with just the largeCover field
changed. |
ManagedEBook |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
ManagedEBook |
withPrivacyInformationUrl(String privacyInformationUrl)
Returns an immutable copy of
this with just the privacyInformationUrl field changed. |
ManagedEBook |
withPublishedDateTime(OffsetDateTime publishedDateTime)
Returns an immutable copy of
this with just the publishedDateTime
field changed. |
ManagedEBook |
withPublisher(String publisher)
Returns an immutable copy of
this with just the publisher field
changed. |
protected String displayName
protected String description
protected String publisher
protected OffsetDateTime publishedDateTime
protected MimeContent largeCover
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String informationUrl
protected String privacyInformationUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public ManagedEBook withDisplayName(String displayName)
this with just the displayName
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.
“Name of the eBook.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public ManagedEBook withDescription(String description)
this with just the description
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.
“Description.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic ManagedEBook withPublisher(String publisher)
this with just the publisher 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.
“Publisher.”
publisher - new value of publisher field (as defined in service metadata)this with just the publisher field changedpublic Optional<OffsetDateTime> getPublishedDateTime()
public ManagedEBook withPublishedDateTime(OffsetDateTime publishedDateTime)
this with just the publishedDateTime
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.
“The date and time when the eBook was published.”
publishedDateTime - new value of publishedDateTime field (as defined in service metadata)this with just the publishedDateTime field changedpublic Optional<MimeContent> getLargeCover()
public ManagedEBook withLargeCover(MimeContent largeCover)
this with just the largeCover 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.
“Book cover.”
largeCover - new value of largeCover field (as defined in service metadata)this with just the largeCover field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public ManagedEBook withCreatedDateTime(OffsetDateTime createdDateTime)
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.
“The date and time when the eBook file was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public ManagedEBook withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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.
“The date and time when the eBook was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getInformationUrl()
public ManagedEBook withInformationUrl(String informationUrl)
this with just the informationUrl
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.
“The more information Url.”
informationUrl - new value of informationUrl field (as defined in service metadata)this with just the informationUrl field changedpublic Optional<String> getPrivacyInformationUrl()
public ManagedEBook withPrivacyInformationUrl(String privacyInformationUrl)
this with just the privacyInformationUrl 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.
“The privacy statement Url.”
privacyInformationUrl - new value of privacyInformationUrl field (as defined in service metadata)this with just the privacyInformationUrl field changedpublic ManagedEBookCategoryCollectionRequest getCategories()
public ManagedEBookAssignmentCollectionRequest getAssignments()
public EBookInstallSummaryRequest getInstallSummary()
public DeviceInstallStateCollectionRequest getDeviceStates()
public UserInstallStateSummaryCollectionRequest getUserStateSummary()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagedEBook patch()
this with changed fields reset.public ManagedEBook put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<ManagedEBookAssignment> managedEBookAssignments)
Copyright © 2018–2020. All rights reserved.