Package odata.msgraph.client.entity
Class EndUserNotification
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.EndUserNotification
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EndUserNotification extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndUserNotification.Builder
-
Field Summary
Fields Modifier and Type Field Description protected EmailIdentitycreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected List<EndUserNotificationDetail>detailsprotected StringdisplayNameprotected EmailIdentitylastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected EndUserNotificationTypenotificationTypeprotected SimulationContentSourcesourceprotected SimulationContentStatusstatusprotected List<String>supportedLocalesprotected StringsupportedLocalesNextLink-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEndUserNotification()
-
Method Summary
-
-
-
Field Detail
-
createdBy
protected EmailIdentity createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedBy
protected EmailIdentity lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
notificationType
protected EndUserNotificationType notificationType
-
source
protected SimulationContentSource source
-
status
protected SimulationContentStatus status
-
supportedLocalesNextLink
protected String supportedLocalesNextLink
-
details
protected List<EndUserNotificationDetail> details
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEndUserNotification
public static EndUserNotification.Builder builderEndUserNotification()
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
-
getCreatedBy
public Optional<EmailIdentity> getCreatedBy()
-
withCreatedBy
public EndUserNotification withCreatedBy(EmailIdentity createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public EndUserNotification withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public EndUserNotification withDescription(String description)
-
withDisplayName
public EndUserNotification withDisplayName(String displayName)
-
getLastModifiedBy
public Optional<EmailIdentity> getLastModifiedBy()
-
withLastModifiedBy
public EndUserNotification withLastModifiedBy(EmailIdentity lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public EndUserNotification withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getNotificationType
public Optional<EndUserNotificationType> getNotificationType()
-
withNotificationType
public EndUserNotification withNotificationType(EndUserNotificationType notificationType)
-
getSource
public Optional<SimulationContentSource> getSource()
-
withSource
public EndUserNotification withSource(SimulationContentSource source)
-
getStatus
public Optional<SimulationContentStatus> getStatus()
-
withStatus
public EndUserNotification withStatus(SimulationContentStatus status)
-
getSupportedLocales
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedLocales()
-
withSupportedLocales
public EndUserNotification withSupportedLocales(List<String> supportedLocales)
-
getSupportedLocales
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedLocales(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public EndUserNotification withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getDetails
public EndUserNotificationDetailCollectionRequest getDetails()
-
withDetails
public EndUserNotification withDetails(List<EndUserNotificationDetail> details)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EndUserNotification patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EndUserNotification put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-