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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.security.AlertEvidence
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TeamsMessageEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the campaignId property value.Gets the channelId property value.Gets the deliveryAction property value.Gets the deliveryLocation property value.The deserialization information for the current modelgetFiles()Gets the files property value.Gets the groupId property value.Gets the isExternal property value.Gets the isOwned property value.Gets the lastModifiedDateTime property value.Gets the messageDirection property value.Gets the messageId property value.Gets the owningTenantId property value.Gets the parentMessageId property value.Gets the receivedDateTime property value.Gets the recipients property value.Gets the senderFromAddress property value.Gets the senderIP property value.Gets the sourceAppName property value.Gets the sourceId property value.Gets the subject property value.Gets the suspiciousRecipients property value.Gets the threadId property value.Gets the threadType property value.getUrls()Gets the urls property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCampaignId(String value) Sets the campaignId property value.voidsetChannelId(String value) Sets the channelId property value.voidSets the deliveryAction property value.voidSets the deliveryLocation property value.voidsetFiles(List<FileEvidence> value) Sets the files property value.voidsetGroupId(String value) Sets the groupId property value.voidsetIsExternal(Boolean value) Sets the isExternal property value.voidsetIsOwned(Boolean value) Sets the isOwned property value.voidSets the lastModifiedDateTime property value.voidSets the messageDirection property value.voidsetMessageId(String value) Sets the messageId property value.voidsetOwningTenantId(UUID value) Sets the owningTenantId property value.voidsetParentMessageId(String value) Sets the parentMessageId property value.voidSets the receivedDateTime property value.voidsetRecipients(List<String> value) Sets the recipients property value.voidsetSenderFromAddress(String value) Sets the senderFromAddress property value.voidsetSenderIP(String value) Sets the senderIP property value.voidsetSourceAppName(String value) Sets the sourceAppName property value.voidsetSourceId(String value) Sets the sourceId property value.voidsetSubject(String value) Sets the subject property value.voidsetSuspiciousRecipients(List<String> value) Sets the suspiciousRecipients property value.voidsetThreadId(String value) Sets the threadId property value.voidsetThreadType(String value) Sets the threadType property value.voidsetUrls(List<UrlEvidence> value) Sets the urls property value.Methods inherited from class com.microsoft.graph.models.security.AlertEvidence
getAdditionalData, getBackingStore, getCreatedDateTime, getDetailedRoles, getOdataType, getRemediationStatus, getRemediationStatusDetails, getRoles, getTags, getVerdict, setAdditionalData, setBackingStore, setCreatedDateTime, setDetailedRoles, setOdataType, setRemediationStatus, setRemediationStatusDetails, setRoles, setTags, setVerdict
-
Constructor Details
-
TeamsMessageEvidence
public TeamsMessageEvidence()Instantiates a newTeamsMessageEvidenceand 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
Gets the campaignId property value. The identifier of the campaign that this Teams message is part of.- Returns:
- a
String
-
getChannelId
Gets the channelId property value. The channel ID associated with this Teams message.- Returns:
- a
String
-
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAlertEvidence- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFiles
Gets the files property value. The list of file entities that are attached to this Teams message.- Returns:
- a
List<FileEvidence>
-
getGroupId
Gets the groupId property value. The identifier of the team or group that this message is part of.- Returns:
- a
String
-
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
Gets the isOwned property value. Indicates whether the message is owned by your organization.- Returns:
- a
Boolean
-
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
Gets the messageDirection property value. The direction of the Teams message. The possible values are: unknown, inbound, outbound, intraorg, unknownFutureValue.- Returns:
- a
AntispamTeamsDirection
-
getMessageId
Gets the messageId property value. Message identifier unique within the thread.- Returns:
- a
String
-
getOwningTenantId
Gets the owningTenantId property value. Tenant ID (GUID) of the owner of the message.- Returns:
- a
UUID
-
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
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
Gets the recipients property value. The recipients of this Teams message. -
getSenderFromAddress
Gets the senderFromAddress property value. The SMTP format address of the sender.- Returns:
- a
String
-
getSenderIP
Gets the senderIP property value. The IP address of the sender.- Returns:
- a
String
-
getSourceAppName
Gets the sourceAppName property value. Source of the message; for example, desktop and mobile.- Returns:
- a
String
-
getSourceId
Gets the sourceId property value. The source ID of this Teams message.- Returns:
- a
String
-
getSubject
Gets the subject property value. The subject of this Teams message.- Returns:
- a
String
-
getSuspiciousRecipients
Gets the suspiciousRecipients property value. The list of recipients who were detected as suspicious. -
getThreadId
Gets the threadId property value. Identifier of the channel or chat that this message is part of.- Returns:
- a
String
-
getThreadType
Gets the threadType property value. The Teams message type. Supported values are: Chat, Topic, Space, and Meeting.- Returns:
- a
String
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAlertEvidence- Parameters:
writer- Serialization writer to use to serialize this model
-
setCampaignId
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
Sets the channelId property value. The channel ID associated with this Teams message.- Parameters:
value- Value to set for the channelId property.
-
setDeliveryAction
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
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
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
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
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
Sets the isOwned property value. Indicates whether the message is owned by your organization.- Parameters:
value- Value to set for the isOwned property.
-
setLastModifiedDateTime
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
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
Sets the messageId property value. Message identifier unique within the thread.- Parameters:
value- Value to set for the messageId property.
-
setOwningTenantId
Sets the owningTenantId property value. Tenant ID (GUID) of the owner of the message.- Parameters:
value- Value to set for the owningTenantId property.
-
setParentMessageId
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
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
Sets the recipients property value. The recipients of this Teams message.- Parameters:
value- Value to set for the recipients property.
-
setSenderFromAddress
Sets the senderFromAddress property value. The SMTP format address of the sender.- Parameters:
value- Value to set for the senderFromAddress property.
-
setSenderIP
Sets the senderIP property value. The IP address of the sender.- Parameters:
value- Value to set for the senderIP property.
-
setSourceAppName
Sets the sourceAppName property value. Source of the message; for example, desktop and mobile.- Parameters:
value- Value to set for the sourceAppName property.
-
setSourceId
Sets the sourceId property value. The source ID of this Teams message.- Parameters:
value- Value to set for the sourceId property.
-
setSubject
Sets the subject property value. The subject of this Teams message.- Parameters:
value- Value to set for the subject property.
-
setSuspiciousRecipients
Sets the suspiciousRecipients property value. The list of recipients who were detected as suspicious.- Parameters:
value- Value to set for the suspiciousRecipients property.
-
setThreadId
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
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
Sets the urls property value. The URLs contained in this Teams message.- Parameters:
value- Value to set for the urls property.
-