github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelFile.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // File undocumented 8 type File struct { 9 // Object is the base model of File 10 Object 11 // Hashes undocumented 12 Hashes *Hashes `json:"hashes,omitempty"` 13 // MimeType undocumented 14 MimeType *string `json:"mimeType,omitempty"` 15 // ProcessingMetadata undocumented 16 ProcessingMetadata *bool `json:"processingMetadata,omitempty"` 17 } 18 19 // FileAssessmentRequestObject undocumented 20 type FileAssessmentRequestObject struct { 21 // ThreatAssessmentRequestObject is the base model of FileAssessmentRequestObject 22 ThreatAssessmentRequestObject 23 // FileName undocumented 24 FileName *string `json:"fileName,omitempty"` 25 // ContentData undocumented 26 ContentData *string `json:"contentData,omitempty"` 27 } 28 29 // FileAttachment undocumented 30 type FileAttachment struct { 31 // Attachment is the base model of FileAttachment 32 Attachment 33 // ContentID undocumented 34 ContentID *string `json:"contentId,omitempty"` 35 // ContentLocation undocumented 36 ContentLocation *string `json:"contentLocation,omitempty"` 37 // ContentBytes undocumented 38 ContentBytes *Binary `json:"contentBytes,omitempty"` 39 } 40 41 // FileClassificationRequestObject undocumented 42 type FileClassificationRequestObject struct { 43 // Entity is the base model of FileClassificationRequestObject 44 Entity 45 // File undocumented 46 File *Stream `json:"file,omitempty"` 47 // SensitiveTypeIDs undocumented 48 SensitiveTypeIDs []string `json:"sensitiveTypeIds,omitempty"` 49 } 50 51 // FileEncryptionInfo undocumented 52 type FileEncryptionInfo struct { 53 // Object is the base model of FileEncryptionInfo 54 Object 55 // EncryptionKey The key used to encrypt the file content. 56 EncryptionKey *Binary `json:"encryptionKey,omitempty"` 57 // InitializationVector The initialization vector used for the encryption algorithm. 58 InitializationVector *Binary `json:"initializationVector,omitempty"` 59 // Mac The hash of the encrypted file content + IV (content hash). 60 Mac *Binary `json:"mac,omitempty"` 61 // MacKey The key used to get mac. 62 MacKey *Binary `json:"macKey,omitempty"` 63 // ProfileIdentifier The the profile identifier. 64 ProfileIdentifier *string `json:"profileIdentifier,omitempty"` 65 // FileDigest The file digest prior to encryption. 66 FileDigest *Binary `json:"fileDigest,omitempty"` 67 // FileDigestAlgorithm The file digest algorithm. 68 FileDigestAlgorithm *string `json:"fileDigestAlgorithm,omitempty"` 69 } 70 71 // FileHash undocumented 72 type FileHash struct { 73 // Object is the base model of FileHash 74 Object 75 // HashType undocumented 76 HashType *FileHashType `json:"hashType,omitempty"` 77 // HashValue undocumented 78 HashValue *string `json:"hashValue,omitempty"` 79 } 80 81 // FileSecurityProfile undocumented 82 type FileSecurityProfile struct { 83 // Entity is the base model of FileSecurityProfile 84 Entity 85 // ActivityGroupNames undocumented 86 ActivityGroupNames []string `json:"activityGroupNames,omitempty"` 87 // AzureSubscriptionID undocumented 88 AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"` 89 // AzureTenantID undocumented 90 AzureTenantID *string `json:"azureTenantId,omitempty"` 91 // CertificateThumbprint undocumented 92 CertificateThumbprint *string `json:"certificateThumbprint,omitempty"` 93 // Extensions undocumented 94 Extensions []string `json:"extensions,omitempty"` 95 // FileType undocumented 96 FileType *string `json:"fileType,omitempty"` 97 // FirstSeenDateTime undocumented 98 FirstSeenDateTime *time.Time `json:"firstSeenDateTime,omitempty"` 99 // Hashes undocumented 100 Hashes []FileHash `json:"hashes,omitempty"` 101 // LastSeenDateTime undocumented 102 LastSeenDateTime *time.Time `json:"lastSeenDateTime,omitempty"` 103 // MalwareStates undocumented 104 MalwareStates []MalwareState `json:"malwareStates,omitempty"` 105 // Names undocumented 106 Names []string `json:"names,omitempty"` 107 // RiskScore undocumented 108 RiskScore *string `json:"riskScore,omitempty"` 109 // Size undocumented 110 Size *int `json:"size,omitempty"` 111 // Tags undocumented 112 Tags []string `json:"tags,omitempty"` 113 // VendorInformation undocumented 114 VendorInformation *SecurityVendorInformation `json:"vendorInformation,omitempty"` 115 // VulnerabilityStates undocumented 116 VulnerabilityStates []VulnerabilityState `json:"vulnerabilityStates,omitempty"` 117 } 118 119 // FileSecurityState undocumented 120 type FileSecurityState struct { 121 // Object is the base model of FileSecurityState 122 Object 123 // FileHash undocumented 124 FileHash *FileHash `json:"fileHash,omitempty"` 125 // Name undocumented 126 Name *string `json:"name,omitempty"` 127 // Path undocumented 128 Path *string `json:"path,omitempty"` 129 // RiskScore undocumented 130 RiskScore *string `json:"riskScore,omitempty"` 131 } 132 133 // FileSystemInfo undocumented 134 type FileSystemInfo struct { 135 // Object is the base model of FileSystemInfo 136 Object 137 // CreatedDateTime undocumented 138 CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` 139 // LastAccessedDateTime undocumented 140 LastAccessedDateTime *time.Time `json:"lastAccessedDateTime,omitempty"` 141 // LastModifiedDateTime undocumented 142 LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` 143 }