Class TeamsMessageEvidence

java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.TeamsMessageEvidence
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • TeamsMessageEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static TeamsMessageEvidence 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 TeamsMessageEvidence
    • getCampaignId

      @Nullable public String getCampaignId()
      Gets the campaignId property value. The identifier of the campaign that this Teams message is part of.
      Returns:
      a String
    • getChannelId

      @Nullable public String getChannelId()
      Gets the channelId property value. The channel ID associated with this Teams message.
      Returns:
      a String
    • getDeliveryAction

      @Nullable public TeamsMessageDeliveryAction getDeliveryAction()
      Gets the deliveryAction property value. The delivery action of this Teams message. Possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue.
      Returns:
      a TeamsMessageDeliveryAction
    • getDeliveryLocation

      @Nullable public TeamsDeliveryLocation getDeliveryLocation()
      Gets the deliveryLocation property value. The delivery location of this Teams message. Possible values are: unknown, teams, quarantine, failed, unknownFutureValue.
      Returns:
      a TeamsDeliveryLocation
    • 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 AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFiles

      @Nullable public List<FileEvidence> getFiles()
      Gets the files property value. The list of file entities that are attached to this Teams message.
      Returns:
      a List<FileEvidence>
    • getGroupId

      @Nullable public String getGroupId()
      Gets the groupId property value. The identifier of the team or group that this message is part of.
      Returns:
      a String
    • getIsExternal

      @Nullable public Boolean getIsExternal()
      Gets the isExternal property value. Indicates whether the message is owned by the organization that reported the security detection alert.
      Returns:
      a Boolean
    • getIsOwned

      @Nullable public Boolean getIsOwned()
      Gets the isOwned property value. Indicates whether the message is owned by your organization.
      Returns:
      a Boolean
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. Date and time when the message was last edited. 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
    • getMessageDirection

      @Nullable public AntispamTeamsDirection getMessageDirection()
      Gets the messageDirection property value. The direction of the Teams message. The possible values are: unknown, inbound, outbound, intraorg, unknownFutureValue.
      Returns:
      a AntispamTeamsDirection
    • getMessageId

      @Nullable public String getMessageId()
      Gets the messageId property value. Message identifier unique within the thread.
      Returns:
      a String
    • getOwningTenantId

      @Nullable public UUID getOwningTenantId()
      Gets the owningTenantId property value. Tenant ID (GUID) of the owner of the message.
      Returns:
      a UUID
    • getParentMessageId

      @Nullable public String getParentMessageId()
      Gets the parentMessageId property value. Identifier of the message to which the current message is a reply; otherwise, it's the same as the messageId.
      Returns:
      a String
    • getReceivedDateTime

      @Nullable public OffsetDateTime getReceivedDateTime()
      Gets the receivedDateTime property value. The received date of this message. 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
    • getRecipients

      @Nullable public List<String> getRecipients()
      Gets the recipients property value. The recipients of this Teams message.
      Returns:
      a List<String>
    • getSenderFromAddress

      @Nullable public String getSenderFromAddress()
      Gets the senderFromAddress property value. The SMTP format address of the sender.
      Returns:
      a String
    • getSenderIP

      @Nullable public String getSenderIP()
      Gets the senderIP property value. The IP address of the sender.
      Returns:
      a String
    • getSourceAppName

      @Nullable public String getSourceAppName()
      Gets the sourceAppName property value. Source of the message; for example, desktop and mobile.
      Returns:
      a String
    • getSourceId

      @Nullable public String getSourceId()
      Gets the sourceId property value. The source ID of this Teams message.
      Returns:
      a String
    • getSubject

      @Nullable public String getSubject()
      Gets the subject property value. The subject of this Teams message.
      Returns:
      a String
    • getSuspiciousRecipients

      @Nullable public List<String> getSuspiciousRecipients()
      Gets the suspiciousRecipients property value. The list of recipients who were detected as suspicious.
      Returns:
      a List<String>
    • getThreadId

      @Nullable public String getThreadId()
      Gets the threadId property value. Identifier of the channel or chat that this message is part of.
      Returns:
      a String
    • getThreadType

      @Nullable public String getThreadType()
      Gets the threadType property value. The Teams message type. Supported values are: Chat, Topic, Space, and Meeting.
      Returns:
      a String
    • getUrls

      @Nullable public List<UrlEvidence> getUrls()
      Gets the urls property value. The URLs contained in this Teams message.
      Returns:
      a List<UrlEvidence>
    • 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 AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCampaignId

      public void setCampaignId(@Nullable String value)
      Sets the campaignId property value. The identifier of the campaign that this Teams message is part of.
      Parameters:
      value - Value to set for the campaignId property.
    • setChannelId

      public void setChannelId(@Nullable String value)
      Sets the channelId property value. The channel ID associated with this Teams message.
      Parameters:
      value - Value to set for the channelId property.
    • setDeliveryAction

      public void setDeliveryAction(@Nullable TeamsMessageDeliveryAction value)
      Sets the deliveryAction property value. The delivery action of this Teams message. Possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue.
      Parameters:
      value - Value to set for the deliveryAction property.
    • setDeliveryLocation

      public void setDeliveryLocation(@Nullable TeamsDeliveryLocation value)
      Sets the deliveryLocation property value. The delivery location of this Teams message. Possible values are: unknown, teams, quarantine, failed, unknownFutureValue.
      Parameters:
      value - Value to set for the deliveryLocation property.
    • setFiles

      public void setFiles(@Nullable List<FileEvidence> value)
      Sets the files property value. The list of file entities that are attached to this Teams message.
      Parameters:
      value - Value to set for the files property.
    • setGroupId

      public void setGroupId(@Nullable String value)
      Sets the groupId property value. The identifier of the team or group that this message is part of.
      Parameters:
      value - Value to set for the groupId property.
    • setIsExternal

      public void setIsExternal(@Nullable Boolean value)
      Sets the isExternal property value. Indicates whether the message is owned by the organization that reported the security detection alert.
      Parameters:
      value - Value to set for the isExternal property.
    • setIsOwned

      public void setIsOwned(@Nullable Boolean value)
      Sets the isOwned property value. Indicates whether the message is owned by your organization.
      Parameters:
      value - Value to set for the isOwned property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. Date and time when the message was last edited. 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.
    • setMessageDirection

      public void setMessageDirection(@Nullable AntispamTeamsDirection value)
      Sets the messageDirection property value. The direction of the Teams message. The possible values are: unknown, inbound, outbound, intraorg, unknownFutureValue.
      Parameters:
      value - Value to set for the messageDirection property.
    • setMessageId

      public void setMessageId(@Nullable String value)
      Sets the messageId property value. Message identifier unique within the thread.
      Parameters:
      value - Value to set for the messageId property.
    • setOwningTenantId

      public void setOwningTenantId(@Nullable UUID value)
      Sets the owningTenantId property value. Tenant ID (GUID) of the owner of the message.
      Parameters:
      value - Value to set for the owningTenantId property.
    • setParentMessageId

      public void setParentMessageId(@Nullable String value)
      Sets the parentMessageId property value. Identifier of the message to which the current message is a reply; otherwise, it's the same as the messageId.
      Parameters:
      value - Value to set for the parentMessageId property.
    • setReceivedDateTime

      public void setReceivedDateTime(@Nullable OffsetDateTime value)
      Sets the receivedDateTime property value. The received date of this message. 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 receivedDateTime property.
    • setRecipients

      public void setRecipients(@Nullable List<String> value)
      Sets the recipients property value. The recipients of this Teams message.
      Parameters:
      value - Value to set for the recipients property.
    • setSenderFromAddress

      public void setSenderFromAddress(@Nullable String value)
      Sets the senderFromAddress property value. The SMTP format address of the sender.
      Parameters:
      value - Value to set for the senderFromAddress property.
    • setSenderIP

      public void setSenderIP(@Nullable String value)
      Sets the senderIP property value. The IP address of the sender.
      Parameters:
      value - Value to set for the senderIP property.
    • setSourceAppName

      public void setSourceAppName(@Nullable String value)
      Sets the sourceAppName property value. Source of the message; for example, desktop and mobile.
      Parameters:
      value - Value to set for the sourceAppName property.
    • setSourceId

      public void setSourceId(@Nullable String value)
      Sets the sourceId property value. The source ID of this Teams message.
      Parameters:
      value - Value to set for the sourceId property.
    • setSubject

      public void setSubject(@Nullable String value)
      Sets the subject property value. The subject of this Teams message.
      Parameters:
      value - Value to set for the subject property.
    • setSuspiciousRecipients

      public void setSuspiciousRecipients(@Nullable List<String> value)
      Sets the suspiciousRecipients property value. The list of recipients who were detected as suspicious.
      Parameters:
      value - Value to set for the suspiciousRecipients property.
    • setThreadId

      public void setThreadId(@Nullable String value)
      Sets the threadId property value. Identifier of the channel or chat that this message is part of.
      Parameters:
      value - Value to set for the threadId property.
    • setThreadType

      public void setThreadType(@Nullable String value)
      Sets the threadType property value. The Teams message type. Supported values are: Chat, Topic, Space, and Meeting.
      Parameters:
      value - Value to set for the threadType property.
    • setUrls

      public void setUrls(@Nullable List<UrlEvidence> value)
      Sets the urls property value. The URLs contained in this Teams message.
      Parameters:
      value - Value to set for the urls property.