github.com/yaegashi/msgraph.go@v0.1.4/v1.0/ModelMessage.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Message undocumented 8 type Message struct { 9 // OutlookItem is the base model of Message 10 OutlookItem 11 // ReceivedDateTime undocumented 12 ReceivedDateTime *time.Time `json:"receivedDateTime,omitempty"` 13 // SentDateTime undocumented 14 SentDateTime *time.Time `json:"sentDateTime,omitempty"` 15 // HasAttachments undocumented 16 HasAttachments *bool `json:"hasAttachments,omitempty"` 17 // InternetMessageID undocumented 18 InternetMessageID *string `json:"internetMessageId,omitempty"` 19 // InternetMessageHeaders undocumented 20 InternetMessageHeaders []InternetMessageHeader `json:"internetMessageHeaders,omitempty"` 21 // Subject undocumented 22 Subject *string `json:"subject,omitempty"` 23 // Body undocumented 24 Body *ItemBody `json:"body,omitempty"` 25 // BodyPreview undocumented 26 BodyPreview *string `json:"bodyPreview,omitempty"` 27 // Importance undocumented 28 Importance *Importance `json:"importance,omitempty"` 29 // ParentFolderID undocumented 30 ParentFolderID *string `json:"parentFolderId,omitempty"` 31 // Sender undocumented 32 Sender *Recipient `json:"sender,omitempty"` 33 // From undocumented 34 From *Recipient `json:"from,omitempty"` 35 // ToRecipients undocumented 36 ToRecipients []Recipient `json:"toRecipients,omitempty"` 37 // CcRecipients undocumented 38 CcRecipients []Recipient `json:"ccRecipients,omitempty"` 39 // BccRecipients undocumented 40 BccRecipients []Recipient `json:"bccRecipients,omitempty"` 41 // ReplyTo undocumented 42 ReplyTo []Recipient `json:"replyTo,omitempty"` 43 // ConversationID undocumented 44 ConversationID *string `json:"conversationId,omitempty"` 45 // ConversationIndex undocumented 46 ConversationIndex *Binary `json:"conversationIndex,omitempty"` 47 // UniqueBody undocumented 48 UniqueBody *ItemBody `json:"uniqueBody,omitempty"` 49 // IsDeliveryReceiptRequested undocumented 50 IsDeliveryReceiptRequested *bool `json:"isDeliveryReceiptRequested,omitempty"` 51 // IsReadReceiptRequested undocumented 52 IsReadReceiptRequested *bool `json:"isReadReceiptRequested,omitempty"` 53 // IsRead undocumented 54 IsRead *bool `json:"isRead,omitempty"` 55 // IsDraft undocumented 56 IsDraft *bool `json:"isDraft,omitempty"` 57 // WebLink undocumented 58 WebLink *string `json:"webLink,omitempty"` 59 // InferenceClassification undocumented 60 InferenceClassification *InferenceClassificationType `json:"inferenceClassification,omitempty"` 61 // Flag undocumented 62 Flag *FollowupFlag `json:"flag,omitempty"` 63 // SingleValueExtendedProperties undocumented 64 SingleValueExtendedProperties []SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"` 65 // MultiValueExtendedProperties undocumented 66 MultiValueExtendedProperties []MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"` 67 // Attachments undocumented 68 Attachments []Attachment `json:"attachments,omitempty"` 69 // Extensions undocumented 70 Extensions []Extension `json:"extensions,omitempty"` 71 } 72 73 // MessageRule undocumented 74 type MessageRule struct { 75 // Entity is the base model of MessageRule 76 Entity 77 // DisplayName undocumented 78 DisplayName *string `json:"displayName,omitempty"` 79 // Sequence undocumented 80 Sequence *int `json:"sequence,omitempty"` 81 // Conditions undocumented 82 Conditions *MessageRulePredicates `json:"conditions,omitempty"` 83 // Actions undocumented 84 Actions *MessageRuleActions `json:"actions,omitempty"` 85 // Exceptions undocumented 86 Exceptions *MessageRulePredicates `json:"exceptions,omitempty"` 87 // IsEnabled undocumented 88 IsEnabled *bool `json:"isEnabled,omitempty"` 89 // HasError undocumented 90 HasError *bool `json:"hasError,omitempty"` 91 // IsReadOnly undocumented 92 IsReadOnly *bool `json:"isReadOnly,omitempty"` 93 } 94 95 // MessageRuleActions undocumented 96 type MessageRuleActions struct { 97 // Object is the base model of MessageRuleActions 98 Object 99 // MoveToFolder undocumented 100 MoveToFolder *string `json:"moveToFolder,omitempty"` 101 // CopyToFolder undocumented 102 CopyToFolder *string `json:"copyToFolder,omitempty"` 103 // Delete undocumented 104 Delete *bool `json:"delete,omitempty"` 105 // PermanentDelete undocumented 106 PermanentDelete *bool `json:"permanentDelete,omitempty"` 107 // MarkAsRead undocumented 108 MarkAsRead *bool `json:"markAsRead,omitempty"` 109 // MarkImportance undocumented 110 MarkImportance *Importance `json:"markImportance,omitempty"` 111 // ForwardTo undocumented 112 ForwardTo []Recipient `json:"forwardTo,omitempty"` 113 // ForwardAsAttachmentTo undocumented 114 ForwardAsAttachmentTo []Recipient `json:"forwardAsAttachmentTo,omitempty"` 115 // RedirectTo undocumented 116 RedirectTo []Recipient `json:"redirectTo,omitempty"` 117 // AssignCategories undocumented 118 AssignCategories []string `json:"assignCategories,omitempty"` 119 // StopProcessingRules undocumented 120 StopProcessingRules *bool `json:"stopProcessingRules,omitempty"` 121 } 122 123 // MessageRulePredicates undocumented 124 type MessageRulePredicates struct { 125 // Object is the base model of MessageRulePredicates 126 Object 127 // Categories undocumented 128 Categories []string `json:"categories,omitempty"` 129 // SubjectContains undocumented 130 SubjectContains []string `json:"subjectContains,omitempty"` 131 // BodyContains undocumented 132 BodyContains []string `json:"bodyContains,omitempty"` 133 // BodyOrSubjectContains undocumented 134 BodyOrSubjectContains []string `json:"bodyOrSubjectContains,omitempty"` 135 // SenderContains undocumented 136 SenderContains []string `json:"senderContains,omitempty"` 137 // RecipientContains undocumented 138 RecipientContains []string `json:"recipientContains,omitempty"` 139 // HeaderContains undocumented 140 HeaderContains []string `json:"headerContains,omitempty"` 141 // MessageActionFlag undocumented 142 MessageActionFlag *MessageActionFlag `json:"messageActionFlag,omitempty"` 143 // Importance undocumented 144 Importance *Importance `json:"importance,omitempty"` 145 // Sensitivity undocumented 146 Sensitivity *Sensitivity `json:"sensitivity,omitempty"` 147 // FromAddresses undocumented 148 FromAddresses []Recipient `json:"fromAddresses,omitempty"` 149 // SentToAddresses undocumented 150 SentToAddresses []Recipient `json:"sentToAddresses,omitempty"` 151 // SentToMe undocumented 152 SentToMe *bool `json:"sentToMe,omitempty"` 153 // SentOnlyToMe undocumented 154 SentOnlyToMe *bool `json:"sentOnlyToMe,omitempty"` 155 // SentCcMe undocumented 156 SentCcMe *bool `json:"sentCcMe,omitempty"` 157 // SentToOrCcMe undocumented 158 SentToOrCcMe *bool `json:"sentToOrCcMe,omitempty"` 159 // NotSentToMe undocumented 160 NotSentToMe *bool `json:"notSentToMe,omitempty"` 161 // HasAttachments undocumented 162 HasAttachments *bool `json:"hasAttachments,omitempty"` 163 // IsApprovalRequest undocumented 164 IsApprovalRequest *bool `json:"isApprovalRequest,omitempty"` 165 // IsAutomaticForward undocumented 166 IsAutomaticForward *bool `json:"isAutomaticForward,omitempty"` 167 // IsAutomaticReply undocumented 168 IsAutomaticReply *bool `json:"isAutomaticReply,omitempty"` 169 // IsEncrypted undocumented 170 IsEncrypted *bool `json:"isEncrypted,omitempty"` 171 // IsMeetingRequest undocumented 172 IsMeetingRequest *bool `json:"isMeetingRequest,omitempty"` 173 // IsMeetingResponse undocumented 174 IsMeetingResponse *bool `json:"isMeetingResponse,omitempty"` 175 // IsNonDeliveryReport undocumented 176 IsNonDeliveryReport *bool `json:"isNonDeliveryReport,omitempty"` 177 // IsPermissionControlled undocumented 178 IsPermissionControlled *bool `json:"isPermissionControlled,omitempty"` 179 // IsReadReceipt undocumented 180 IsReadReceipt *bool `json:"isReadReceipt,omitempty"` 181 // IsSigned undocumented 182 IsSigned *bool `json:"isSigned,omitempty"` 183 // IsVoicemail undocumented 184 IsVoicemail *bool `json:"isVoicemail,omitempty"` 185 // WithinSizeRange undocumented 186 WithinSizeRange *SizeRange `json:"withinSizeRange,omitempty"` 187 }