Interface EmailMessageCoo
- All Superinterfaces:
BundleableObject,CyberObservableObject,CyberObservableObjectCommonProperties,GenericValidation,SdoDefaultValidator,Serializable,Stix,StixCustomProperties
- All Known Implementing Classes:
EmailMessage
@Immutable
@DefaultTypeValue(value="email-message",
groups=DefaultValuesProcessor.class)
@BusinessRule(ifExp="isMultipart() == true",thenExp="getBody().isPresent() == false",errorMessage="Body cannot be used if isMultipart equals true") @BusinessRule(ifExp="isMultipart() == false",thenExp="getBodyMultipart().isEmpty() == true",errorMessage="Body_Multipart cannot be used if isMultipart equals false")
public interface EmailMessageCoo
extends CyberObservableObject
The Email Message Object represents an instance of an email message.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Methods inherited from interface security.whisper.javastix.bundle.BundleableObject
getGranularMarkings, getHydrated, getObjectMarkingRefs, getType, toJsonStringMethods inherited from interface security.whisper.javastix.coo.CyberObservableObjectCommonProperties
getDefanged, getExtensions, getObservableObjectKey, getTypeMethods inherited from interface security.whisper.javastix.validation.GenericValidation
validateEntityMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomProperties
-
Method Details
-
isMultipart
@JsonPropertyDescription("Indicates whether the email body contains multiple MIME parts.") @NotNull @NotNull Boolean isMultipart() -
getDate
@JsonPropertyDescription("Specifies the date/time that the email message was sent.") Optional<StixInstant> getDate() -
getContentType
-
getFromRef
-
getSenderRef
-
getToRefs
-
getCcRefs
-
getBccRefs
-
getSubject
-
getReceivedLines
-
getAdditionalHeaderFields
-
getBody
-
getBodyMultipart
@JsonPropertyDescription("Specifies a list of the MIME parts that make up the email body.") default Set<MimePartTypeObj> getBodyMultipart() -
getRawEmailRef
-
getId
Deterministically generates the ID for this email message based on its subject, from, date, and content.- Specified by:
getIdin interfaceBundleableObject- Specified by:
getIdin interfaceCyberObservableObjectCommonProperties
-