Class EndUserNotification

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EndUserNotification
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class EndUserNotification extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • EndUserNotification

      public EndUserNotification()
      Instantiates a new EndUserNotification and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EndUserNotification createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a EndUserNotification
    • getCreatedBy

      @Nullable public EmailIdentity getCreatedBy()
      Gets the createdBy property value. Identity of the user who created the notification.
      Returns:
      a EmailIdentity
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Date and time when the notification was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Description of the notification as defined by the user.
      Returns:
      a String
    • getDetails

      @Nullable public List<EndUserNotificationDetail> getDetails()
      Gets the details property value. The details property
      Returns:
      a List<EndUserNotificationDetail>
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. Name of the notification as defined by the user.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastModifiedBy

      @Nullable public EmailIdentity getLastModifiedBy()
      Gets the lastModifiedBy property value. Identity of the user who last modified the notification.
      Returns:
      a EmailIdentity
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. Date and time when the notification was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getNotificationType

      @Nullable public EndUserNotificationType getNotificationType()
      Gets the notificationType property value. Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue.
      Returns:
      a EndUserNotificationType
    • getSource

      @Nullable public SimulationContentSource getSource()
      Gets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue.
      Returns:
      a SimulationContentSource
    • getStatus

      @Nullable public SimulationContentStatus getStatus()
      Gets the status property value. The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue.
      Returns:
      a SimulationContentStatus
    • getSupportedLocales

      @Nullable public List<String> getSupportedLocales()
      Gets the supportedLocales property value. Supported locales for endUserNotification content.
      Returns:
      a List<String>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCreatedBy

      public void setCreatedBy(@Nullable EmailIdentity value)
      Sets the createdBy property value. Identity of the user who created the notification.
      Parameters:
      value - Value to set for the createdBy property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Date and time when the notification was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Description of the notification as defined by the user.
      Parameters:
      value - Value to set for the description property.
    • setDetails

      public void setDetails(@Nullable List<EndUserNotificationDetail> value)
      Sets the details property value. The details property
      Parameters:
      value - Value to set for the details property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Name of the notification as defined by the user.
      Parameters:
      value - Value to set for the displayName property.
    • setLastModifiedBy

      public void setLastModifiedBy(@Nullable EmailIdentity value)
      Sets the lastModifiedBy property value. Identity of the user who last modified the notification.
      Parameters:
      value - Value to set for the lastModifiedBy property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. Date and time when the notification was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setNotificationType

      public void setNotificationType(@Nullable EndUserNotificationType value)
      Sets the notificationType property value. Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue.
      Parameters:
      value - Value to set for the notificationType property.
    • setSource

      public void setSource(@Nullable SimulationContentSource value)
      Sets the source property value. The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue.
      Parameters:
      value - Value to set for the source property.
    • setStatus

      public void setStatus(@Nullable SimulationContentStatus value)
      Sets the status property value. The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue.
      Parameters:
      value - Value to set for the status property.
    • setSupportedLocales

      public void setSupportedLocales(@Nullable List<String> value)
      Sets the supportedLocales property value. Supported locales for endUserNotification content.
      Parameters:
      value - Value to set for the supportedLocales property.