github.com/yaegashi/msgraph.go@v0.1.4/beta/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 // MentionsPreview undocumented 60 MentionsPreview *MentionsPreview `json:"mentionsPreview,omitempty"` 61 // InferenceClassification undocumented 62 InferenceClassification *InferenceClassificationType `json:"inferenceClassification,omitempty"` 63 // UnsubscribeData undocumented 64 UnsubscribeData []string `json:"unsubscribeData,omitempty"` 65 // UnsubscribeEnabled undocumented 66 UnsubscribeEnabled *bool `json:"unsubscribeEnabled,omitempty"` 67 // Flag undocumented 68 Flag *FollowupFlag `json:"flag,omitempty"` 69 // SingleValueExtendedProperties undocumented 70 SingleValueExtendedProperties []SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"` 71 // MultiValueExtendedProperties undocumented 72 MultiValueExtendedProperties []MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"` 73 // Attachments undocumented 74 Attachments []Attachment `json:"attachments,omitempty"` 75 // Extensions undocumented 76 Extensions []Extension `json:"extensions,omitempty"` 77 // Mentions undocumented 78 Mentions []Mention `json:"mentions,omitempty"` 79 } 80 81 // MessageRule undocumented 82 type MessageRule struct { 83 // Entity is the base model of MessageRule 84 Entity 85 // DisplayName undocumented 86 DisplayName *string `json:"displayName,omitempty"` 87 // Sequence undocumented 88 Sequence *int `json:"sequence,omitempty"` 89 // Conditions undocumented 90 Conditions *MessageRulePredicates `json:"conditions,omitempty"` 91 // Actions undocumented 92 Actions *MessageRuleActions `json:"actions,omitempty"` 93 // Exceptions undocumented 94 Exceptions *MessageRulePredicates `json:"exceptions,omitempty"` 95 // IsEnabled undocumented 96 IsEnabled *bool `json:"isEnabled,omitempty"` 97 // HasError undocumented 98 HasError *bool `json:"hasError,omitempty"` 99 // IsReadOnly undocumented 100 IsReadOnly *bool `json:"isReadOnly,omitempty"` 101 } 102 103 // MessageRuleActions undocumented 104 type MessageRuleActions struct { 105 // Object is the base model of MessageRuleActions 106 Object 107 // MoveToFolder undocumented 108 MoveToFolder *string `json:"moveToFolder,omitempty"` 109 // CopyToFolder undocumented 110 CopyToFolder *string `json:"copyToFolder,omitempty"` 111 // Delete undocumented 112 Delete *bool `json:"delete,omitempty"` 113 // PermanentDelete undocumented 114 PermanentDelete *bool `json:"permanentDelete,omitempty"` 115 // MarkAsRead undocumented 116 MarkAsRead *bool `json:"markAsRead,omitempty"` 117 // MarkImportance undocumented 118 MarkImportance *Importance `json:"markImportance,omitempty"` 119 // ForwardTo undocumented 120 ForwardTo []Recipient `json:"forwardTo,omitempty"` 121 // ForwardAsAttachmentTo undocumented 122 ForwardAsAttachmentTo []Recipient `json:"forwardAsAttachmentTo,omitempty"` 123 // RedirectTo undocumented 124 RedirectTo []Recipient `json:"redirectTo,omitempty"` 125 // AssignCategories undocumented 126 AssignCategories []string `json:"assignCategories,omitempty"` 127 // StopProcessingRules undocumented 128 StopProcessingRules *bool `json:"stopProcessingRules,omitempty"` 129 } 130 131 // MessageRulePredicates undocumented 132 type MessageRulePredicates struct { 133 // Object is the base model of MessageRulePredicates 134 Object 135 // Categories undocumented 136 Categories []string `json:"categories,omitempty"` 137 // SubjectContains undocumented 138 SubjectContains []string `json:"subjectContains,omitempty"` 139 // BodyContains undocumented 140 BodyContains []string `json:"bodyContains,omitempty"` 141 // BodyOrSubjectContains undocumented 142 BodyOrSubjectContains []string `json:"bodyOrSubjectContains,omitempty"` 143 // SenderContains undocumented 144 SenderContains []string `json:"senderContains,omitempty"` 145 // RecipientContains undocumented 146 RecipientContains []string `json:"recipientContains,omitempty"` 147 // HeaderContains undocumented 148 HeaderContains []string `json:"headerContains,omitempty"` 149 // MessageActionFlag undocumented 150 MessageActionFlag *MessageActionFlag `json:"messageActionFlag,omitempty"` 151 // Importance undocumented 152 Importance *Importance `json:"importance,omitempty"` 153 // Sensitivity undocumented 154 Sensitivity *Sensitivity `json:"sensitivity,omitempty"` 155 // FromAddresses undocumented 156 FromAddresses []Recipient `json:"fromAddresses,omitempty"` 157 // SentToAddresses undocumented 158 SentToAddresses []Recipient `json:"sentToAddresses,omitempty"` 159 // SentToMe undocumented 160 SentToMe *bool `json:"sentToMe,omitempty"` 161 // SentOnlyToMe undocumented 162 SentOnlyToMe *bool `json:"sentOnlyToMe,omitempty"` 163 // SentCcMe undocumented 164 SentCcMe *bool `json:"sentCcMe,omitempty"` 165 // SentToOrCcMe undocumented 166 SentToOrCcMe *bool `json:"sentToOrCcMe,omitempty"` 167 // NotSentToMe undocumented 168 NotSentToMe *bool `json:"notSentToMe,omitempty"` 169 // HasAttachments undocumented 170 HasAttachments *bool `json:"hasAttachments,omitempty"` 171 // IsApprovalRequest undocumented 172 IsApprovalRequest *bool `json:"isApprovalRequest,omitempty"` 173 // IsAutomaticForward undocumented 174 IsAutomaticForward *bool `json:"isAutomaticForward,omitempty"` 175 // IsAutomaticReply undocumented 176 IsAutomaticReply *bool `json:"isAutomaticReply,omitempty"` 177 // IsEncrypted undocumented 178 IsEncrypted *bool `json:"isEncrypted,omitempty"` 179 // IsMeetingRequest undocumented 180 IsMeetingRequest *bool `json:"isMeetingRequest,omitempty"` 181 // IsMeetingResponse undocumented 182 IsMeetingResponse *bool `json:"isMeetingResponse,omitempty"` 183 // IsNonDeliveryReport undocumented 184 IsNonDeliveryReport *bool `json:"isNonDeliveryReport,omitempty"` 185 // IsPermissionControlled undocumented 186 IsPermissionControlled *bool `json:"isPermissionControlled,omitempty"` 187 // IsReadReceipt undocumented 188 IsReadReceipt *bool `json:"isReadReceipt,omitempty"` 189 // IsSigned undocumented 190 IsSigned *bool `json:"isSigned,omitempty"` 191 // IsVoicemail undocumented 192 IsVoicemail *bool `json:"isVoicemail,omitempty"` 193 // WithinSizeRange undocumented 194 WithinSizeRange *SizeRange `json:"withinSizeRange,omitempty"` 195 }