diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index fea54f0a..04987f94 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,23 +1,23 @@ lockVersion: 2.0.0 id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1 management: - docChecksum: ec7e84fe9ae49de24ac676fbc253b201 + docChecksum: 97655e5f462597871f90a480262ae16f docVersion: 0.9.0 - speakeasyVersion: 1.722.7 - generationVersion: 2.832.9 - releaseVersion: 0.12.23 - configChecksum: b6f4009a53cf9967ce7f6806eb726a74 + speakeasyVersion: 1.730.1 + generationVersion: 2.844.3 + releaseVersion: 0.12.24 + configChecksum: 63064a3b952a5598c46c0e2faf556299 repoURL: https://github.com/gleanwork/api-client-java.git published: true persistentEdits: - generation_id: eca3ba63-ba74-4799-9915-cd29da6221a0 - pristine_commit_hash: 042cd019b81d5145e264574e1a3e1f18564bb098 - pristine_tree_hash: 38f8c08e012aea6032375fdbc28ae887b39f2697 + generation_id: 559ff9b7-bea9-4e12-a0ce-21675be505cb + pristine_commit_hash: 610e7787b2ef1efa43948961b49d91e07eb0ef7d + pristine_tree_hash: db36174019264e6d82ca680fced5535b9a891766 features: java: additionalDependencies: 0.1.0 additionalProperties: 0.0.1 - constsAndDefaults: 0.1.2 + constsAndDefaults: 0.1.3 core: 3.55.14 deprecations: 2.81.2 examples: 2.81.6 @@ -27,7 +27,7 @@ features: globalSecurityFlattening: 0.1.0 globalServerURLs: 2.83.0 groups: 2.81.3 - nameOverrides: 2.81.3 + nameOverrides: 2.81.5 sdkHooks: 1.2.0 unions: 0.3.2 uploadStreams: 0.1.0 @@ -46,8 +46,8 @@ trackedFiles: pristine_git_object: 3815c3c2e292f1dce484e2cd13537c30ca8d5e28 docs/models/components/ActionSummary.md: id: 300b48ceb953 - last_write_checksum: sha1:d9732e07de5aa01b83d5c667652721e0b92fb480 - pristine_git_object: 6855dc0976c8e1021a51f05bad0d32925d35eddc + last_write_checksum: sha1:d24ff2264b6ad779db6e851a84cc85c592b08902 + pristine_git_object: c1d850e7b37adb0bf5fabbb570ba7fedf651f362 docs/models/components/Activity.md: id: 40ede959d6db last_write_checksum: sha1:baeecedaf433816a950ec296c6ac1c3dbed85115 @@ -374,8 +374,8 @@ trackedFiles: pristine_git_object: ea82a0834a5722d441ada6a5f39de49db28029bc docs/models/components/ChatResponse.md: id: 25d9c6cc41fc - last_write_checksum: sha1:a6c84828d13f1a1c7f059224d4025321f2f96948 - pristine_git_object: 11204bf48409bf6c3145748ff1e82cf9fb626614 + last_write_checksum: sha1:807f82d43e31f40e58df38e59ff5d74a51260d08 + pristine_git_object: 3cb237a2740fd863965503e1678cd94cb14a4c83 docs/models/components/ChatRestrictionFilters.md: id: 703c8498f539 last_write_checksum: sha1:e8652d6e8ccc268b56714e3f45b0937f47eabe74 @@ -496,6 +496,10 @@ trackedFiles: id: 9e8e9637967a last_write_checksum: sha1:c597b1a30b09f87991a13bb59c53400410134f35 pristine_git_object: b9e1060aed3df9dcc4a396b895e26bd7529f6d61 + docs/models/components/ConfigurationValue.md: + id: 654971d9b98c + last_write_checksum: sha1:838dfd63d9fa63b9e45edf38c47bf69e39d76296 + pristine_git_object: 08238b3ce775f222975c7458ea7943c14b98c6c8 docs/models/components/ConnectorType.md: id: "328572433000" last_write_checksum: sha1:9efd332a75fba3f2023b761f238f274680a46d81 @@ -636,10 +640,18 @@ trackedFiles: id: 0f76c9f3a753 last_write_checksum: sha1:9dad3acf74b5977a6476f86ba6c45781c352aa81 pristine_git_object: 44d81a93960839704e0ee5f0d19ec4884aab0c4e + docs/models/components/DatasourceConfigurationResponse.md: + id: f2248e515ceb + last_write_checksum: sha1:13bd3121a7b2914825633ea14179399a3dda8912 + pristine_git_object: a0527fb09e3de76882ea22d76362d671063375ec docs/models/components/DatasourceGroupDefinition.md: id: 78e0bb588b90 last_write_checksum: sha1:b47f7efea435c5596881c72ef891a5ff04a4ab62 pristine_git_object: 43094b1b1a669cd447ef18aee6619e79f33dd11a + docs/models/components/DatasourceInstanceConfiguration.md: + id: dc8d3f73a2a6 + last_write_checksum: sha1:0a0bcc0e9866f7617002fcb2ec4782ab4f7ee05e + pristine_git_object: 6020c8d3d5545f51a544a3d13f0bcbd7ee682e67 docs/models/components/DatasourceMembershipDefinition.md: id: ff63bbfae9ff last_write_checksum: sha1:a77c8cdfc4fc99899b26a9b74713dcfded0b8c2b @@ -1274,8 +1286,8 @@ trackedFiles: pristine_git_object: 70cc18a663a8e0c20346f918b59c4e96ec1902e9 docs/models/components/GleanDataError.md: id: a86b292f0e28 - last_write_checksum: sha1:214fe382ed08b2cafd7b9f1e8db0881d2aabbb59 - pristine_git_object: b44a2bd95e65b6bc54b5709e3cddc6cd63d40259 + last_write_checksum: sha1:6248a6b2912b5aaf4b51a29c7049af274a060d85 + pristine_git_object: fa12f9644bab377f09064f69869097b40cbea2b6 docs/models/components/GrantPermission.md: id: 85bb47b74049 last_write_checksum: sha1:7192b8a87a07a72c0fdee634468f650eac650826 @@ -1410,8 +1422,8 @@ trackedFiles: pristine_git_object: d58f8fd23f50b3157e7d445ca555c66d99af765f docs/models/components/InviteInfo.md: id: adf341e93710 - last_write_checksum: sha1:51323cf95c2fbb71c4096f687dbbc527bb89f810 - pristine_git_object: 7c63445787026df85ea5de46bbbd64ed050445b0 + last_write_checksum: sha1:090b1317ae4b222f57ea75fbc309abe8030cff48 + pristine_git_object: d2a859f16aa42032085a051bc14e20cf04db7450 docs/models/components/Issue.md: id: 3043dd71d24b last_write_checksum: sha1:f6909f3a5070d87eeb198d7f7c3d04a75ca718c3 @@ -2128,6 +2140,10 @@ trackedFiles: id: cdc482ca621e last_write_checksum: sha1:3fae77b086ef0f31131463443921a9409a206550 pristine_git_object: b5229e364ac6e41857ea55794dec5ae7759de607 + docs/models/components/UpdateDatasourceConfigurationRequest.md: + id: cac67d4c891e + last_write_checksum: sha1:1bd6a12348a8f85594d3ef6c48a436d062af927d + pristine_git_object: 411a585f63234f0112d2e71ad577f4084abd34e1 docs/models/components/UpdateDlpConfigRequest.md: id: 8deb803d65fe last_write_checksum: sha1:9a957ce7b6ae7c852dba13ad0911b6ad7931065a @@ -2296,10 +2312,14 @@ trackedFiles: id: 21843405a77c last_write_checksum: sha1:5b36e594375e6872805183e397273c781c188de4 pristine_git_object: e49e34f188c53385ee977d1f6e4d5c8fed1274a6 + docs/models/errors/ErrorResponse.md: + id: 33e83376310b + last_write_checksum: sha1:7c0ddd9cbf1343477620fc053ed0af97700b94b6 + pristine_git_object: fb62cd47f3e80e4d9c2459cdb0da40e209523010 docs/models/errors/GleanDataError.md: id: 90db26d988e3 - last_write_checksum: sha1:214fe382ed08b2cafd7b9f1e8db0881d2aabbb59 - pristine_git_object: b44a2bd95e65b6bc54b5709e3cddc6cd63d40259 + last_write_checksum: sha1:6248a6b2912b5aaf4b51a29c7049af274a060d85 + pristine_git_object: fa12f9644bab377f09064f69869097b40cbea2b6 docs/models/operations/ActivityResponse.md: id: abb6e00957d5 last_write_checksum: sha1:abc14096d3cb9aed19f041351a32089f5f000289 @@ -2576,6 +2596,14 @@ trackedFiles: id: b9d15ac782eb last_write_checksum: sha1:43b809ae9de45cee4700b082b0c53fe4a444e036 pristine_git_object: afccb3b71a9b7553f4464218f7bfead08d9c9012 + docs/models/operations/GetDatasourceInstanceConfigurationRequest.md: + id: c81fd7343157 + last_write_checksum: sha1:22c0a3a41f5ef21ce3950422b5a28dd9daf8337c + pristine_git_object: 0b970907c55a08c9f23589045cfd57065abb47b4 + docs/models/operations/GetDatasourceInstanceConfigurationResponse.md: + id: 0bf55414a5ca + last_write_checksum: sha1:c1513708013028c8d8c9d1e83b32f73d906b4eb8 + pristine_git_object: 520453c31aff144952b4ae5748c5559a8e242d40 docs/models/operations/GetRestApiV1ToolsListRequest.md: id: 29660c2d25f6 last_write_checksum: sha1:536dea7622dd3d47449a9cee66b6b02e039cc420 @@ -3008,6 +3036,14 @@ trackedFiles: id: 2efd5bdb01a2 last_write_checksum: sha1:924310a8322b56411b0f8fde747dcf32e3b7f933 pristine_git_object: f576406a3d8ef9d5d9402031cb505f15f1dbe8b3 + docs/models/operations/UpdateDatasourceInstanceConfigurationRequest.md: + id: 89ddff505371 + last_write_checksum: sha1:3258a813e1905b5892b39747f22c9f2cd0f4d789 + pristine_git_object: 14be6afbd5aeb07dad54768be0041d5670d5c1b2 + docs/models/operations/UpdateDatasourceInstanceConfigurationResponse.md: + id: 6eccda0d36e6 + last_write_checksum: sha1:f337a61bfa7c15aa5247ab672e69abe8d6a4967d + pristine_git_object: ed23aafee4953bde769cbc86bdb27374a90b6218 docs/models/operations/UpdateannouncementRequest.md: id: f0f1669ab33e last_write_checksum: sha1:079f6114667a33fbce71b2f03e35800d8e652e30 @@ -3054,8 +3090,8 @@ trackedFiles: pristine_git_object: 1c1a4016a91b7b38d1d60e445563daccc701a95c docs/sdks/agents/README.md: id: 5965d8232fd8 - last_write_checksum: sha1:2806734397c7bf3f6000036ed8ae34a729da0b10 - pristine_git_object: d801a674d814747e5d5dcab8dd6c0b0bdd84c4e5 + last_write_checksum: sha1:acba22aa04a784edf812282098960b1ebf558d17 + pristine_git_object: 9ff335e1f510f592f98607725e816dc737b99140 docs/sdks/announcements/README.md: id: 3d2e130a217c last_write_checksum: sha1:7efe7211bbcfd81746ebcde1b813cac00bb9813c @@ -3094,8 +3130,8 @@ trackedFiles: pristine_git_object: a2290a5324c6f14a5ddb3827b40cea013f366580 docs/sdks/datasources/README.md: id: 024d3ed36945 - last_write_checksum: sha1:f4ca91fc9dc9c9da2a5256f2a4abb5d839a3440f - pristine_git_object: cac8bbfa9560d3094100a3d3f0fbd9baeafaca9b + last_write_checksum: sha1:74ea9169e34f48c0dc0b16d6a26233118c8c7240 + pristine_git_object: 6c4bf6dd080b1bebe882db6f367952bab8b95c6c docs/sdks/entities/README.md: id: a140ac5181b9 last_write_checksum: sha1:bc29ae154a7d444e760c007f6b3a7f0a0dd0c866 @@ -3108,6 +3144,10 @@ trackedFiles: id: 3d8b5fccff24 last_write_checksum: sha1:71013deb6d5ab3f3599089e96646dd25aeec8c0d pristine_git_object: c063a52db95acad5c373b67feede51c09982c77a + docs/sdks/indexingdatasources/README.md: + id: aa113bda8cbc + last_write_checksum: sha1:f4ca91fc9dc9c9da2a5256f2a4abb5d839a3440f + pristine_git_object: cac8bbfa9560d3094100a3d3f0fbd9baeafaca9b docs/sdks/indexingdocuments/README.md: id: 7ca38da53414 last_write_checksum: sha1:a17ca2dfc6761135352c557dedab7c786a855539 @@ -3126,8 +3166,8 @@ trackedFiles: pristine_git_object: aa17ed65d8214d9c11e675a4a195edc0b9c2090a docs/sdks/people/README.md: id: ff7b3ee21c2b - last_write_checksum: sha1:fb10ea1e89396fc3abce58d61e0d36a0f4d536bd - pristine_git_object: 417d593bd30917f76b85357ae2a30d8c666d3047 + last_write_checksum: sha1:c12de763f8d0e29a0bdbd6b33412e5faa9a4ee8a + pristine_git_object: 6fcf8e5d8ace83ca934ab95d87b8dca4dee1e02e docs/sdks/permissions/README.md: id: 2e4061ce50d4 last_write_checksum: sha1:2d184078ad9e71666bbc4e875c40709bad31ea22 @@ -3166,8 +3206,8 @@ trackedFiles: pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:07b0849383dc2c1dfa1564ac7180ce719818df0c - pristine_git_object: 46e86b408b9a43c7441d1028a8c69e51190b627f + last_write_checksum: sha1:bc4b390762ed973209913575ee32c4f9263fbe4a + pristine_git_object: dac2a0f630d3df9ba05d7cdf8a48443d13debc5c gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -3202,8 +3242,8 @@ trackedFiles: pristine_git_object: 89208257469f3b305d8a0a3f565289540c45241e ? spring/glean-api-client-spring-boot-autoconfigure/src/main/java/com/glean/api_client/glean_api_client/GleanApiClientAutoConfig.java : id: dc219279f3d6 - last_write_checksum: sha1:74f10f3236c45856b782b3b8a95fc8b5dc388e2c - pristine_git_object: 8ed674e8572173a3390e5ce5abc55f68090efafb + last_write_checksum: sha1:d2e0b3a4496320423464a7612b61412e38e8f16c + pristine_git_object: 388a682d5fd632604ba56bc666f76d6013581006 ? spring/glean-api-client-spring-boot-autoconfigure/src/main/java/com/glean/api_client/glean_api_client/GleanApiClientAutoConfigProperties.java : id: 5111ca066791 last_write_checksum: sha1:74388824e105b2ba90f8ba8eccea1183c31b0125 @@ -3294,16 +3334,16 @@ trackedFiles: pristine_git_object: 1ac65d484f54cb5c8301cdcf6ec261d0e93dead3 src/main/java/com/glean/api_client/glean_api_client/AsyncDatasources.java: id: 3c173ec01fbb - last_write_checksum: sha1:de022767c881626d046d841af61322c8b0d6439f - pristine_git_object: 700fc240f8cb42245d911a766ffdeb5d430dc128 + last_write_checksum: sha1:6df47a92cfa6070089f9b112ec9eb574eb7e4caf + pristine_git_object: 861f870619f3e1335b62483fe3889b5c7158d5f3 src/main/java/com/glean/api_client/glean_api_client/AsyncEntities.java: id: 7589d9e17031 last_write_checksum: sha1:e619dc54d440c2d0d9c038cf1a0d8a450ed6d0d8 pristine_git_object: ed12a67570eeb0250242feceb7d9d393c5a90f8f src/main/java/com/glean/api_client/glean_api_client/AsyncGlean.java: id: 41f5be2f8342 - last_write_checksum: sha1:3cbcff48b8fc359e4d7c007dc187f11358cf2407 - pristine_git_object: b593688a47109160ce3718f37357d4a3d0309da2 + last_write_checksum: sha1:287f7eeb42c7ceaf72f03d4cf49e5124ddda9433 + pristine_git_object: a103fa6e7291519aa91094ced97d4e8ad6284036 src/main/java/com/glean/api_client/glean_api_client/AsyncGovernance.java: id: 38b2443ece41 last_write_checksum: sha1:11b45741f3d97f43fe1897ee24d60cd6f5ea1c6c @@ -3314,12 +3354,16 @@ trackedFiles: pristine_git_object: 0e0164bd5d64f6ff16d6d0dec54e5d4dcb8f54c2 src/main/java/com/glean/api_client/glean_api_client/AsyncIndexing.java: id: c81a94fdbcc9 - last_write_checksum: sha1:05204a6761ca2eb4e5223663f2470a7932a14614 - pristine_git_object: 177330a19e203ccc47920cd1e2d86b90fb007598 + last_write_checksum: sha1:678e8f4237c60e8e2247bfbc791aa23617a46057 + pristine_git_object: 6bc60b0602b36010f469d2ad945b91581d0d7a85 src/main/java/com/glean/api_client/glean_api_client/AsyncIndexingAuthentication.java: id: 310e14b845ab last_write_checksum: sha1:28fd03ac9f5aff618e7bb0da25563ded13705e27 pristine_git_object: 1c0b2618229d610772c0f5c3a6dc2764a5b7d075 + src/main/java/com/glean/api_client/glean_api_client/AsyncIndexingDatasources.java: + id: dae1595db559 + last_write_checksum: sha1:c66735bc00340faff1251b91e612c22146325a25 + pristine_git_object: 445efb29399cad89675827d6ea383eb3ef321944 src/main/java/com/glean/api_client/glean_api_client/AsyncIndexingDocuments.java: id: 979f8541bead last_write_checksum: sha1:4d31c80d03c15b308b41a87fdc4b88826e326eeb @@ -3338,8 +3382,8 @@ trackedFiles: pristine_git_object: cfd01a8706579bc1e3e803c283787e3d64b03598 src/main/java/com/glean/api_client/glean_api_client/AsyncPeople.java: id: 82c71a183545 - last_write_checksum: sha1:67a5dced7f5bbfd43e6853e543788989af67f627 - pristine_git_object: a7207bd8db662a47746500a048d9bcc40547a716 + last_write_checksum: sha1:90a8162b0e12eb83679a5590e4ee0eda522a1414 + pristine_git_object: 07d3553dafcc77d0bc679bcb1a1b3a7a05322df2 src/main/java/com/glean/api_client/glean_api_client/AsyncPermissions.java: id: db35479cf34c last_write_checksum: sha1:117041a1bc325f56dfc89c4baabd878ca78776fa @@ -3414,16 +3458,16 @@ trackedFiles: pristine_git_object: 46b3fca2c27bda280f3147c702816b6838a468a1 src/main/java/com/glean/api_client/glean_api_client/Datasources.java: id: a5c243202fb9 - last_write_checksum: sha1:8321ad2fef77dc7138e66194b59f51f7f950257e - pristine_git_object: 0251b44a803e5d0448d81c9bb9c604ac3955b2ff + last_write_checksum: sha1:0efb9a9d9cc7d649e6912ae78223a7a70924e4c3 + pristine_git_object: e63d32bc2a6c0ec4aefc7f119373eca5c0678e72 src/main/java/com/glean/api_client/glean_api_client/Entities.java: id: 8254f307c235 last_write_checksum: sha1:684efdd6659088009e9da19e08f366ce814dd493 pristine_git_object: 7d41b401aae26bdb14f3f5f93801f67c4e76e68e src/main/java/com/glean/api_client/glean_api_client/Glean.java: id: ebe9053b14eb - last_write_checksum: sha1:a8807ecb1427a3ee524bd805557db324ad71f50b - pristine_git_object: d40280182367e00b45e4ebdba34393a9333a0034 + last_write_checksum: sha1:2ff3691fc4e018cf84eefd1ada15f8edf8bfb4d8 + pristine_git_object: e48c81c9f45b89a1820d23b8bfc28dd2b713ba5a src/main/java/com/glean/api_client/glean_api_client/Governance.java: id: 2d4a3c95da6a last_write_checksum: sha1:6ffd66e6c5a97e0cb068dfeecf79566a171cef50 @@ -3434,12 +3478,16 @@ trackedFiles: pristine_git_object: 8887009a962297d92cacdf7c364119a5eaa47996 src/main/java/com/glean/api_client/glean_api_client/Indexing.java: id: 47615dad7a0d - last_write_checksum: sha1:6e3ab6b7ac99c548e40aef4f40ca60cd5a33afa8 - pristine_git_object: 22beaeedf5b3eb95573531285d3a0f81927f25f7 + last_write_checksum: sha1:c525fbd5f7fda615cfea7aac97b75fd89025561b + pristine_git_object: 397e53d904436399d213812bb2883eb917b4f847 src/main/java/com/glean/api_client/glean_api_client/IndexingAuthentication.java: id: 2933c17619f0 last_write_checksum: sha1:580ce535da161206a3441628cd6994b2e40710bb pristine_git_object: fbe0574235ffc6039b2f8ab62434cabc2bc5afba + src/main/java/com/glean/api_client/glean_api_client/IndexingDatasources.java: + id: 1437e6488e50 + last_write_checksum: sha1:fe3c4cc19980b85797c3f00263602ec6209b95f2 + pristine_git_object: 0f9b28a23e15d286cb4a99485754a4631f955fc5 src/main/java/com/glean/api_client/glean_api_client/IndexingDocuments.java: id: b8e047968f3b last_write_checksum: sha1:1611a9ee74d04125489599ba20420b6940fda499 @@ -3458,8 +3506,8 @@ trackedFiles: pristine_git_object: 3678a263f1d0637b24bd0306801841276dd51261 src/main/java/com/glean/api_client/glean_api_client/People.java: id: 311d2880a5d3 - last_write_checksum: sha1:41ab077ca811370bfcc3d9113a5116c90ac21b28 - pristine_git_object: 8a667e71c48fb1edbc10c639003ae52d3e14f9be + last_write_checksum: sha1:e01dfedabe5e5ebd205aee197db7843bafd0f0f8 + pristine_git_object: c15157b8e34dc28b352c4a568a91620f4537236f src/main/java/com/glean/api_client/glean_api_client/Permissions.java: id: ed93c032b9ae last_write_checksum: sha1:349045ffc4ac9ee51f65857abd5a50b8e8d0b791 @@ -3478,8 +3526,8 @@ trackedFiles: pristine_git_object: 5e30515ba0d212914ac9a195db6019330b6b0a2b src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java: id: d5fcc61f5992 - last_write_checksum: sha1:d27cf4fa216f716e2e28e88197c13065072630f3 - pristine_git_object: 9a76d7e37692e8d7db8bc70851a808f944946b89 + last_write_checksum: sha1:ddae4769597b8d0cdbbd7fd404f09fbbda298f69 + pristine_git_object: db06d321226e48978e2bc8eae4e5b02fca12d0c5 src/main/java/com/glean/api_client/glean_api_client/Search.java: id: f22d94b920b5 last_write_checksum: sha1:36e225a42ff566cb610d877bb5f41fc09e3e49e5 @@ -3502,16 +3550,16 @@ trackedFiles: pristine_git_object: 62941041e2b68d20d030ed10238467f2d92b9dab src/main/java/com/glean/api_client/glean_api_client/models/components/ActionSummary.java: id: 9ed3dcd26676 - last_write_checksum: sha1:348c5fec01241b9f86e5dda0d439d01b279fdbae - pristine_git_object: 1272bcc967509cc139ef1480bb75b985e2758f80 + last_write_checksum: sha1:091a8657c6954da47cf36f6d838da9cdbe621e94 + pristine_git_object: dcded37fa3cd0203f8295927fcb7b319576bba56 src/main/java/com/glean/api_client/glean_api_client/models/components/Activity.java: id: be1b046048ca last_write_checksum: sha1:05d9476ac02ab42076158dbf240c0c8ff826b4ad pristine_git_object: f458438ff83bc2d2f87fa6b77112d53e1d791b1d src/main/java/com/glean/api_client/glean_api_client/models/components/ActivityEnum.java: id: 30c03b554ca7 - last_write_checksum: sha1:f1f0756b8b79229f9a60b30e5969210e27ddf7fd - pristine_git_object: e69ed28bf88409355a77460bf15745f79a6c7eb0 + last_write_checksum: sha1:f6ac3a49a29fbd8657e43ebf03bc6989f6ddfd25 + pristine_git_object: b6704b5d8d07e7f59b106bf89a59c0dcf9fb7081 src/main/java/com/glean/api_client/glean_api_client/models/components/ActivityEvent.java: id: ccbb095bc2b4 last_write_checksum: sha1:dbc9b04155de663f1614d953ad9074011a83268b @@ -3530,8 +3578,8 @@ trackedFiles: pristine_git_object: c829038fd755a7351ac16c90fb7db39a79f6fa60 src/main/java/com/glean/api_client/glean_api_client/models/components/AddCollectionItemsErrorErrorType.java: id: 0ef5a50a0ad6 - last_write_checksum: sha1:474742e7ff1f0350b8365d39bc9d5a5fd72635bb - pristine_git_object: e3275f81bd849f3a45e1a20d13347cfffee58597 + last_write_checksum: sha1:d9ccad4800078001b9185b59fd468605ad7f5318 + pristine_git_object: a8b60efeb781b4b2e2f6bd9bee1d13c8f31fdb37 src/main/java/com/glean/api_client/glean_api_client/models/components/AddCollectionItemsRequest.java: id: 8e54fc689398 last_write_checksum: sha1:be91a524fdfda16c166be580504ba013dd0972e9 @@ -3558,12 +3606,12 @@ trackedFiles: pristine_git_object: ec75f89287f3d86107730ee037b003040d92b8aa src/main/java/com/glean/api_client/glean_api_client/models/components/AgentEnum.java: id: 43a7358e61cc - last_write_checksum: sha1:0414df352f6d8dd3a00b5e49a0a9e597a385b9a5 - pristine_git_object: 76eb881140d135e38f05807fb111add7f27efbcb + last_write_checksum: sha1:2c293304513762b2571c32ce314230d2faaab505 + pristine_git_object: c85cf2a135f0a6c1d29f2deb256b3fa92ff99b15 src/main/java/com/glean/api_client/glean_api_client/models/components/AgentExecutionStatus.java: id: df8b15556d36 - last_write_checksum: sha1:a66bf2da7e0a4bd2ad7121c3bc48127e7ad81575 - pristine_git_object: ff8e1a50f0c8045d92a02da67304b860aee49250 + last_write_checksum: sha1:9ff1cc370112ac354ef38bb3e01b5a71c46a7152 + pristine_git_object: a767ffb93bcbfb2f5492f22d58ef2c20b551fc6f src/main/java/com/glean/api_client/glean_api_client/models/components/AgentMetadata.java: id: c39703bcbbbf last_write_checksum: sha1:6cde49a59e7277ba7db3b3f5b453dcf4b5cbc90d @@ -3610,12 +3658,12 @@ trackedFiles: pristine_git_object: b036c02f7e8d8af567775da1e5b2e7e08872c1b6 src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementChannel.java: id: 0f32dd5dcfb3 - last_write_checksum: sha1:547059da41a473e038def74ada964a1f595f2e04 - pristine_git_object: 97c540de1d2fde0491751abed5f34e33eb97dfd0 + last_write_checksum: sha1:4fba5af5da3a2cb6ff3b12d88e6074e83c0d9855 + pristine_git_object: ad41cd82af66fe5f312535f1d9c2178643c2e06d src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementPostType.java: id: b3916cf9947c - last_write_checksum: sha1:6ce9c9da50c4c1e016a835c386230e7abe87a46e - pristine_git_object: 23ac48155a1e2ee57558157873dc995aa0fe47bb + last_write_checksum: sha1:c79d80ce8ba61d93d925e736f636352d8808ca75 + pristine_git_object: 2e3c23a971bf4bd52d50957f62f3cc014158865b src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementViewerInfo.java: id: e6f4c20a91cc last_write_checksum: sha1:d3ed2043565d89d8561ffbca1d273a2a0b7cb349 @@ -3626,8 +3674,8 @@ trackedFiles: pristine_git_object: fe6eae5bc7e9a1ce2fc7dff4d414956a7dcf15e4 src/main/java/com/glean/api_client/glean_api_client/models/components/AnonymousEventEventType.java: id: f7ae57075d32 - last_write_checksum: sha1:544aa501eae8381e5208ca5ff8f1780f0aef8f4b - pristine_git_object: 9cd42efe6ac3509bf27b704ae31148a649f1e5cc + last_write_checksum: sha1:027b231a3825fcb96e951c4caa5b87ef9b58be79 + pristine_git_object: a66a8e108f2bd0a6a64009f4312989353e87ab5e src/main/java/com/glean/api_client/glean_api_client/models/components/Answer.java: id: d34125c67c06 last_write_checksum: sha1:aafaffd77d31efc992fd2d77edf619333c487cf9 @@ -3654,8 +3702,8 @@ trackedFiles: pristine_git_object: ad02740e820cdf5700bd1922a2483a3c1111dba5 src/main/java/com/glean/api_client/glean_api_client/models/components/AnswerSourceType.java: id: 5c241cc72c36 - last_write_checksum: sha1:34325bdcae433a4dfc3694b8fb39cc3656bb46ff - pristine_git_object: 55cb612c27f9efd8698d5125b0d603186f6c97d3 + last_write_checksum: sha1:4032f4b93899fabcc8470a176ad0f9c4db3b3c73 + pristine_git_object: 3858b219f29fe4298fb00c512886f36f7aa6222c src/main/java/com/glean/api_client/glean_api_client/models/components/AppResult.java: id: 63aba0148e56 last_write_checksum: sha1:ff89d3b451084b7cd46143437f1fa695a35f5044 @@ -3670,28 +3718,28 @@ trackedFiles: pristine_git_object: 0a8418035bc275dd6a4ea37b174b64357cee8ae0 src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigStatus.java: id: 0a61a8a7ad53 - last_write_checksum: sha1:7a5f5e653387e8b68fd6cee64fcd4f3c9f2a6697 - pristine_git_object: 68149c23ffde92e0ea588dff8d7befe31daa3762 + last_write_checksum: sha1:25adca66ee3625385e3accb915e1771b17093f43 + pristine_git_object: bd809485b3ccf9b53fc4368b559aab1e1fb699ab src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigType.java: id: 827353c3e25a - last_write_checksum: sha1:0d36389fedaab3975d020a91251d93523727ef9b - pristine_git_object: 9f02eb0a30744788393d0d41d130902d6d31e334 + last_write_checksum: sha1:6485a371ef30c5135310fed4d3127ecbc424d0b6 + pristine_git_object: ff9bf61c16af43b6c6a0a9977a69e70d7d7eef2a src/main/java/com/glean/api_client/glean_api_client/models/components/AuthStatus.java: id: 32f457fb3009 - last_write_checksum: sha1:71b8cbf96fd5c5fc2bb5b7453bbe105ff3646ada - pristine_git_object: 4580f6de2451f2b725685519267c478964c01a49 + last_write_checksum: sha1:cce9a2f411a2ef5718f83e2a9ed93605bf200156 + pristine_git_object: 7a7bc87bdaec9cac5305397287f9c461ad21b928 src/main/java/com/glean/api_client/glean_api_client/models/components/AuthToken.java: id: c487c752d35c last_write_checksum: sha1:09e229a9b562e34823abdfdb05f0dba3a0360d68 pristine_git_object: df725109facd5c0bbc80d9b22eb7cf03d0411f4d src/main/java/com/glean/api_client/glean_api_client/models/components/AuthType.java: id: c19dce413635 - last_write_checksum: sha1:86fff9f764968876bfbb24d96816dd679ad5f69c - pristine_git_object: a7efa6dc15174fe0ca2d66bbb28f1ad1a756907e + last_write_checksum: sha1:4ec9c058921fd1e492ce6b8493a3f740cf29251b + pristine_git_object: 9f82c103966190da16cf4ad1840be39acd7484b4 src/main/java/com/glean/api_client/glean_api_client/models/components/Author.java: id: bb5e41659043 - last_write_checksum: sha1:fb7db6093279fe0214ed5a3ea61c480f04ca4b15 - pristine_git_object: 12127484573de36ff109b2274416cfc026a27011 + last_write_checksum: sha1:d007d7c3fe87084f759086714d06a8a94f5576b7 + pristine_git_object: c52587614ed8784f65ff91ee257d859533d38214 src/main/java/com/glean/api_client/glean_api_client/models/components/AutocompleteRequest.java: id: 503b44c212c8 last_write_checksum: sha1:dc8766bb9b5751aff18ad6def5d89e2e9f04a9b8 @@ -3714,8 +3762,8 @@ trackedFiles: pristine_git_object: 6d71758007d89e233dd54b7350f5763dc004ae90 src/main/java/com/glean/api_client/glean_api_client/models/components/AutocompleteResultResultType.java: id: d84b899065b5 - last_write_checksum: sha1:bfd2b3035e8ecf3d416a98aa649166394c522c2d - pristine_git_object: f3e5aeb3cfadfe8332f7e853cca540534a690631 + last_write_checksum: sha1:938e142aabba96c007d7a184399e316b9c619bbd + pristine_git_object: 72daa0c6c8ef4ec78be858301eb12011dc849b9b src/main/java/com/glean/api_client/glean_api_client/models/components/Badge.java: id: b3192734966f last_write_checksum: sha1:ee21f74934825531145a84e2491bcc3c0d61e297 @@ -3754,8 +3802,8 @@ trackedFiles: pristine_git_object: 7de3dc0ce80aefbbcdbdfaf89dc950c01b70b7ab src/main/java/com/glean/api_client/glean_api_client/models/components/BulkUploadHistoryEventStatus.java: id: ee61cda4071f - last_write_checksum: sha1:bf51b23db69ab5ad7c266b18bd5baed3697e67f3 - pristine_git_object: 3108eff51c9a18f89281748b49cdb14111e29bb6 + last_write_checksum: sha1:9fc8e771980c4b3b9b61b82bc318a1c60c6dfd47 + pristine_git_object: b73525d4eb94ebb82fd329bc58b25871a85ebbc3 src/main/java/com/glean/api_client/glean_api_client/models/components/CalendarAttendee.java: id: 5725f2fec897 last_write_checksum: sha1:e0d72571884395fb5b8d77c77620f1a8a468bdd3 @@ -3770,8 +3818,8 @@ trackedFiles: pristine_git_object: 07bd8cb169e8ef702abb8b8cf0b459cfe30df152 src/main/java/com/glean/api_client/glean_api_client/models/components/CalendarEventEventType.java: id: 27cdad84ad3b - last_write_checksum: sha1:dc306c392a6e2de833591ec1b5410a4c1eaabdc7 - pristine_git_object: 099f2b5fd3f711d4dbc7df98c12ea42a24a2551c + last_write_checksum: sha1:3d28445818e506e112b02b3a62177969f9cfafd2 + pristine_git_object: 68a67bdccb9eca4220e2faf8807a0e2c90484a10 src/main/java/com/glean/api_client/glean_api_client/models/components/CanonicalizingRegexType.java: id: a508e4784005 last_write_checksum: sha1:4b75fbc659eb3101eb558504b3182d5a478a5284 @@ -3794,16 +3842,16 @@ trackedFiles: pristine_git_object: 9b27574af46d85703895688db105dacf4787824a src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java: id: 1e03dc357968 - last_write_checksum: sha1:da7e76cf5a7137141336e199b54022df70cb8128 - pristine_git_object: 17ec276124c8ac46e0654cffb04cbbda45109bc2 + last_write_checksum: sha1:dba4004102dcb4d9ccb76aff3fd70b4915537430 + pristine_git_object: 31ca279d67944ff038fdcf250d481d09d3ce7470 src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileMetadata.java: id: 60e136b77e25 last_write_checksum: sha1:89e1ae6667d13bb7c1a98eff4edbedb0775adcd6 pristine_git_object: 55f7e25b4a25b7f85438ff0f3911f401daef857a src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileStatus.java: id: 1ed741caa948 - last_write_checksum: sha1:0f4a2d3ae739201d310690507e2e849482059f7a - pristine_git_object: edad678bf1b6be4838de09de2d2b8a3bf70c1834 + last_write_checksum: sha1:d0776cfe36a1404e11d7003ee1a8e4052aee0193 + pristine_git_object: 9700b0f9721a43b4fd9f80bcedfbf90131e97756 src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessage.java: id: "752399768165" last_write_checksum: sha1:9c598341bca1715117763b3994747b59f7f24b52 @@ -3830,8 +3878,8 @@ trackedFiles: pristine_git_object: bbcfbf595aee2f328bcb7d8e84b5e7d38095f88b src/main/java/com/glean/api_client/glean_api_client/models/components/ChatResponse.java: id: 8749976b9cc8 - last_write_checksum: sha1:9fa407bc4dbb40f102068d0bff4dae159fcede10 - pristine_git_object: f203bbb60e264685441b51e8d9b5f7c143bd1f29 + last_write_checksum: sha1:216249f0a1f3f0faa99c8b90f443fef99dc24f31 + pristine_git_object: 7e8259c4d903a5fbb2984dec6d059247010e468c src/main/java/com/glean/api_client/glean_api_client/models/components/ChatRestrictionFilters.java: id: 0739e2b957ce last_write_checksum: sha1:3f2d1551dcf7abdf65f399c46799e219e52a71fe @@ -3866,8 +3914,8 @@ trackedFiles: pristine_git_object: 0d8fdddd7f6f7dc7c547e239a5c4657eba965123 src/main/java/com/glean/api_client/glean_api_client/models/components/ClusterTypeEnum.java: id: 04e4f8dfc01c - last_write_checksum: sha1:b91213850306867a49daea413c01f9a437779b74 - pristine_git_object: 41296b058f288f9c823bfe43940240abfc443d2b + last_write_checksum: sha1:165a411c783bfe2d19ca6e3ef059824ee5c2723c + pristine_git_object: 4922c493597f0e9c6cafe49d6dc5acddb4ae8f2e src/main/java/com/glean/api_client/glean_api_client/models/components/Code.java: id: 311b3521e6c7 last_write_checksum: sha1:3b9c39ea2c6e1d1badca5f4fe25c9dcade7cefc8 @@ -3894,8 +3942,8 @@ trackedFiles: pristine_git_object: c93fd3ecb146c4a509be3b405f47d641c917ca43 src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionErrorErrorCode.java: id: bc79919ab65c - last_write_checksum: sha1:21bfda762086061068463e176ced62e6be13c943 - pristine_git_object: dc5681a4e40c121204c8bc91e639fb21c3d12d16 + last_write_checksum: sha1:81edd0c77f2a2b0d37fe03d7eebdb4d3859a806f + pristine_git_object: da0a0b9df717362480eef3f9a837a4c665f1aaca src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionItem.java: id: 2a01ea2b8250 last_write_checksum: sha1:6b1950885fc062b2250d395f7c0d900bf3124067 @@ -3910,8 +3958,8 @@ trackedFiles: pristine_git_object: 3ce64bf9c2a40cb95536d4e754a7ef62ba6690a0 src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionItemItemType.java: id: b481265e6405 - last_write_checksum: sha1:d502305f326e05846c53e8a2874ced1cee714fd2 - pristine_git_object: 9e3869b6d6b0bf78a801a37423c1cb786c916828 + last_write_checksum: sha1:0a4025ef0ec09680254fb4c0062204cf4c13abe9 + pristine_git_object: 5fdd243e9fe03f4964959847d547a0799229b240 src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinMetadata.java: id: b006ff477b1d last_write_checksum: sha1:f11b4161e97e6e7ff5c9b64871d4308dafaa616c @@ -3922,12 +3970,12 @@ trackedFiles: pristine_git_object: 1dee6c3cf6100edf954e9cb2129de79d91c859d7 src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableCategories.java: id: d62d537a5611 - last_write_checksum: sha1:853fe5d4871b89e10943dd485e29e946ef43ea47 - pristine_git_object: 6dd2c481e87100e24f90958efe0309d9af4949df + last_write_checksum: sha1:60ff24f36692d5a0a11179102a89c55e7d9c3d96 + pristine_git_object: afb0788d692ef61fb52f0bbd68521867ff4335e6 src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableTargets.java: id: cc580795ff1a - last_write_checksum: sha1:2777dcc86337c3f16629f7e7f97285f05317ee29 - pristine_git_object: cd8b1427b4c9bb6b1e252a68fcc876f0cd4179ff + last_write_checksum: sha1:144c711d1783dde6abaa045d56f70f08ca93d560 + pristine_git_object: 665bab2d120fda03be09e2c0c3a62f59dd378eec src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnedMetadata.java: id: 74234722dd0b last_write_checksum: sha1:8436a98cc6a45a6d9d64f81927337b0cc4001a09 @@ -3938,8 +3986,8 @@ trackedFiles: pristine_git_object: 4608c2c67324ec7a49e448465b72e5684ae64b31 src/main/java/com/glean/api_client/glean_api_client/models/components/CommunicationChannel.java: id: 2253917ef6e7 - last_write_checksum: sha1:a46d8045474bc9758925f68ff5016815fa8013e4 - pristine_git_object: ec2f00e565efae5c6b1882c0a4222616f9745512 + last_write_checksum: sha1:e2cbd3f01e5284a153868840428554e5c75e694d + pristine_git_object: 40769703de00070687de92e6294278d844c04967 src/main/java/com/glean/api_client/glean_api_client/models/components/Company.java: id: 33d24a581bdc last_write_checksum: sha1:e2f87f8d516622a48793ee3f82af8fc04ea2082c @@ -3950,20 +3998,24 @@ trackedFiles: pristine_git_object: be409d636143680d1628a95551e191b7aea13de8 src/main/java/com/glean/api_client/glean_api_client/models/components/ConferenceDataSource.java: id: 17eafa60aff3 - last_write_checksum: sha1:3826d1322ace72fb715e16c8185e48a01dca52ac - pristine_git_object: d626edbc6a2232a7386a9e1632ecd6d80f0ccb74 + last_write_checksum: sha1:e26efd190fe3ba12992e9a2630e3bafaa9f94fbb + pristine_git_object: 792e344aff35aa1fee970260a161aa6c44aabb89 + src/main/java/com/glean/api_client/glean_api_client/models/components/ConfigurationValue.java: + id: 033f137a2ff5 + last_write_checksum: sha1:1d07b07af6e70516e4f54312c351d4fc10a79a75 + pristine_git_object: 82ce88193016e1bc997e2d44c3fd529c5a5234b1 src/main/java/com/glean/api_client/glean_api_client/models/components/ConnectorType.java: id: bdef5019d480 - last_write_checksum: sha1:da59640a11f19cdecb737e79babedd767896f18a - pristine_git_object: 87b7dca27ee1f2e559cd723a829fb2373c0e2657 + last_write_checksum: sha1:74bdb30582946a344cf6cbdc95ceacb03a748d82 + pristine_git_object: 1ca4f373471237fbfb473cd10f0a637782dbffd8 src/main/java/com/glean/api_client/glean_api_client/models/components/ContentDefinition.java: id: 1a6e7d66ff24 last_write_checksum: sha1:1eea4c958518275e87f1201c81d5d5c7929ec1fe pristine_git_object: 35f64094e0d96e97f78ca50d142a26141cf262d6 src/main/java/com/glean/api_client/glean_api_client/models/components/ContentType.java: id: 75631b82904e - last_write_checksum: sha1:e9bad485b3babda77726d2ba545247aa5c21be2a - pristine_git_object: 4688581f33c0f76df0dc8d385d22105f6ad77713 + last_write_checksum: sha1:4794d9650b7bdd2c2aa2058c58a9240a2b9c8aa0 + pristine_git_object: 6d116c56647316d70666f4d6bae2c3acb8745058 src/main/java/com/glean/api_client/glean_api_client/models/components/CountInfo.java: id: 3d374eab7350 last_write_checksum: sha1:508f68cab45331cde991db70649bda7716a2b096 @@ -4022,8 +4074,8 @@ trackedFiles: pristine_git_object: 8f73ee8ad49c5101b4b543a3cb2647fbb04a0f7d src/main/java/com/glean/api_client/glean_api_client/models/components/CustomDatasourceConfigConnectorType.java: id: d826a426a226 - last_write_checksum: sha1:0934ace90b4ffc46e2eeda0cb5d38d14ee3efba5 - pristine_git_object: 193a02ba55312a57c71ddd7eb1ba307fe7184820 + last_write_checksum: sha1:3cceee8fa805b7949d22259a9b0a4134d78ef7dd + pristine_git_object: ebf8942e88f81d3ea1d6560f667126d9b36e8f16 src/main/java/com/glean/api_client/glean_api_client/models/components/CustomEntity.java: id: 4d4ce73482c5 last_write_checksum: sha1:4165db85ca461febeed578691c700b58ba3bc9d5 @@ -4066,12 +4118,12 @@ trackedFiles: pristine_git_object: ccaa72e9b05034567e0a024b6c14ca8b944f943b src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleLikelihoodThreshold.java: id: a02cb31f09c8 - last_write_checksum: sha1:4d40d18b7783545741e04a8e4e299624f26ba415 - pristine_git_object: 118b6875a06e866592e61941e3a014514284af7d + last_write_checksum: sha1:4ef96405303655d2fb9bdee09962eb829bf7f410 + pristine_git_object: 1c9f57bb9286c7884467542ff5dc1471c44f833b src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleType.java: id: 4aaa54aa3043 - last_write_checksum: sha1:12afe403d305ceb20c02c517c9dc85718b8616ba - pristine_git_object: b8b1480efe9629c8bb02e7fca5685bb2bb83f2ea + last_write_checksum: sha1:7a7d8e259476c899758e825004be091d585be0d6 + pristine_git_object: 7f0588a80f7fd1572077a1bf96828feca0f05089 src/main/java/com/glean/api_client/glean_api_client/models/components/Customer.java: id: 6da444be2921 last_write_checksum: sha1:8ccbbc60b1db7b46e52803c8d7b89dfc84a3689b @@ -4090,12 +4142,20 @@ trackedFiles: pristine_git_object: ff545b93f36df1940cd63f877b5093817e71b06d src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceCategory.java: id: 594c38f365e3 - last_write_checksum: sha1:b5d6388b4e1d78e374602dd8066d5299b01777cc - pristine_git_object: fa0a40ad9bcd55fd6c2a988d2edc4d792722e6eb + last_write_checksum: sha1:adff5a41a103241b550d3b520ffeb84e093341b2 + pristine_git_object: 97a10a21f187129d642650e417a5119aa1a738c1 + src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceConfigurationResponse.java: + id: bc6aa4441b02 + last_write_checksum: sha1:cafddd91a855d94cb148688a8f69dc7f0e33016e + pristine_git_object: 77f12d20693c4530998d65905f06177979796f3b src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceGroupDefinition.java: id: bf78b36e5a35 last_write_checksum: sha1:e18844e8e3519bd9f1910264392f626120c8f94b pristine_git_object: 3ab23e838bb28597e44b48452a465a68fe750663 + src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceInstanceConfiguration.java: + id: 6471ce3db1de + last_write_checksum: sha1:953e1cf9ce6164169857b722e7d41c0edee7b6db + pristine_git_object: 173cf0d867ec75e1d94a6a71b69d812bbc207e5a src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceMembershipDefinition.java: id: 783938b1ed3b last_write_checksum: sha1:964bb4a21d59633f2ae968070fe9772b54000da9 @@ -4114,12 +4174,12 @@ trackedFiles: pristine_git_object: 0794c921822b36cb7d50dee51711d09915d76f8d src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceVisibility.java: id: 046ae670ca45 - last_write_checksum: sha1:9161d7ab2d63858dddb479c125eb07fbe6dafccc - pristine_git_object: 284463ec51ae2a97620f8e631c23cf668d6d6d43 + last_write_checksum: sha1:11bc35677dc0b3764cf2f852255f9c2b0c301f09 + pristine_git_object: 95ac833a71e6412d23fe870f957d3e8a25362dc7 src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourcesType.java: id: ce4ba41f8c25 - last_write_checksum: sha1:065b6052dc075b917231e94f617ae377328c4a7c - pristine_git_object: fb6dadf62c90bdfbdf9f4487a199d2af4d78b65d + last_write_checksum: sha1:c8ddd4ef08ae8eaf1647d418005fb5cf36e36022 + pristine_git_object: 2c0d894bf184329baa6fefbbb7214e861b4fadd6 src/main/java/com/glean/api_client/glean_api_client/models/components/DebugDatasourceStatusIdentityResponseComponent.java: id: cf51f6180f51 last_write_checksum: sha1:7e471b979d8c448e3b1c1665a32692a0e57d01d5 @@ -4258,8 +4318,8 @@ trackedFiles: pristine_git_object: e67082548e61ac634c6c42b2e77dd9f139daae10 src/main/java/com/glean/api_client/glean_api_client/models/components/DlpFrequency.java: id: 28cba0614d04 - last_write_checksum: sha1:bc7eb007b6951edad6d089e44725ad789d08c9c3 - pristine_git_object: 2d7976c3810530cab467caf9f5274c7659311c9c + last_write_checksum: sha1:cb228ae09a11d5a630a85f6fd123eff2df2893e1 + pristine_git_object: 11a1cf0ea17e56397db45b62117bfec17b448b7e src/main/java/com/glean/api_client/glean_api_client/models/components/DlpPerson.java: id: 2ab0b6a4a8c8 last_write_checksum: sha1:215c1951b8c48b691c363cd189e3a259e66adc34 @@ -4274,20 +4334,20 @@ trackedFiles: pristine_git_object: d7baeb63653cd46e6b610b897e331608dc5f4a88 src/main/java/com/glean/api_client/glean_api_client/models/components/DlpReportStatus.java: id: abcaa2c35433 - last_write_checksum: sha1:64ffe4a2e85d97fd4a1328c20f2790ac5e31de38 - pristine_git_object: cd1333f865176b18f8f3738e6d7d93990260f8ff + last_write_checksum: sha1:dd43472ef1c35f04514a1f241582c301869cec79 + pristine_git_object: f6be5616b90565c14e84ca81969feb17e725de53 src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSeverity.java: id: 2e2142ed7cb7 - last_write_checksum: sha1:b7d44892962d58546e049126fccb5516feb1f0e0 - pristine_git_object: f49ada0c4404bfc67fe241686fb5ec2c3d9c093a + last_write_checksum: sha1:fecbee4837168c14c222eb6361ec04f321b13755 + pristine_git_object: 50f4dc3b8e099e48947f158515e2ac7b26e21a49 src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSimpleResult.java: id: 56f2d153b80a - last_write_checksum: sha1:567a37064bbac73ec994815dd5dff12d908c9700 - pristine_git_object: be2855b12fca5d9b2b281c7bb66f91712a8aac32 + last_write_checksum: sha1:17996bc273919471f924df976d4b3ab46e5c2b23 + pristine_git_object: 4e55fd2e7d5dd88e570b18b2e19114fcd32a90b5 src/main/java/com/glean/api_client/glean_api_client/models/components/DocCategory.java: id: 4bb2dc758f1a - last_write_checksum: sha1:ab7b3ba0b3ebb109e492a78972cd71dd6224cd98 - pristine_git_object: 5f1c2c64b5fae66c27a7240614b673394bf0df93 + last_write_checksum: sha1:b14ce5686869e8a4e09f1e90bf06973338f9f5e2 + pristine_git_object: 01946200ca59cf8357e03d8c56f3eee8fe3e44ff src/main/java/com/glean/api_client/glean_api_client/models/components/Document.java: id: 286c1a3ce82a last_write_checksum: sha1:ec6680f27c0ff33eed0860d468f4baf9d59c0aab @@ -4346,12 +4406,12 @@ trackedFiles: pristine_git_object: 69cb211d63b4c326bb3a8e2d0eebbf548664f587 src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType1.java: id: cd12a8fea9af - last_write_checksum: sha1:2ab0337eaa27a432b042a094ac06412bd6824bf4 - pristine_git_object: d312ea7fc1ce7078a24fe3afbd800442acbb8336 + last_write_checksum: sha1:5ef6f84f6e8f10bc3ca7d053f683d58a65fbb38b + pristine_git_object: 9e07255378d15e1057f1c1e8988ae1231c4467a3 src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType2.java: id: 280dcc704471 - last_write_checksum: sha1:e550c94054ea644a9dd5162ef21814e192300162 - pristine_git_object: 0c0277711c5d0601510b960cde1405f5705ec0ea + last_write_checksum: sha1:cef30726a54905d1e01a79dc5441eb2a6e9561a5 + pristine_git_object: b98303165c2ae823731fb4f43b51fade5f4a306f src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUnion.java: id: ba590f7f5406 last_write_checksum: sha1:1f1094931c8eefae900aa15ef6be8ce8e2ff8d00 @@ -4362,24 +4422,24 @@ trackedFiles: pristine_git_object: 47bdbc1420685b4f45800e21b7524d7e9c333748 src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibility.java: id: b62f01cb0d2a - last_write_checksum: sha1:8e60723c626412c8a04342e721a46c7d83b87642 - pristine_git_object: c2b7b837d35bf086eb611298a634801cbac81a84 + last_write_checksum: sha1:45093f0a91db4e13ffc8fefbf7f446fa89595435 + pristine_git_object: 84a9d25ee8ab8bc2c7925a6789e0dea431da6eeb src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityOverride.java: id: 1a7dbda3f5b8 last_write_checksum: sha1:fd44d5b62b3cc6fe8101654c198da85a2d7f2b4b pristine_git_object: 28f88e7c7c94680a44e3babd35bd17facb4cf123 src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityOverrideOverride.java: id: 7843a9776f01 - last_write_checksum: sha1:e109da2db2715624988b141017f07cce2e8c3961 - pristine_git_object: 991243c370db6d061ae089572cc3496b1c31ecca + last_write_checksum: sha1:322fee5d98db8f3e6d05f3dea0d180f8ab3fca29 + pristine_git_object: e1ebfcac1b80972b52d1e2ba6d83f99981cb53ee src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityUpdateResult.java: id: 44e4083fafd0 last_write_checksum: sha1:3d00a319ecb66cd09bd47dfd838a31bafc5c9f79 pristine_git_object: e5fb95ac73bb73e5f6d94292afea5d412a0a9f6f src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityUpdateResultOverride.java: id: d256d3cd4485 - last_write_checksum: sha1:ca2b33e1a541215c0e6fe4c074a42e3a54317b39 - pristine_git_object: 6fc38ec42d011cd7884e59932574ded1f4ae54b3 + last_write_checksum: sha1:af6506a3c238676c4f9d736662d30f53ff08df88 + pristine_git_object: dd4da3a92e2f6194f9b3fbad1b49a33defc73e99 src/main/java/com/glean/api_client/glean_api_client/models/components/Documents.java: id: f2e418f53d29 last_write_checksum: sha1:c327d48a5d2500a9dc733f80f586051ccacffcd3 @@ -4410,8 +4470,8 @@ trackedFiles: pristine_git_object: 3e83ae8d008b7ce3cf773f858243369ea7b1c1eb src/main/java/com/glean/api_client/glean_api_client/models/components/EditCollectionResponseErrorCode.java: id: ec103e36e48d - last_write_checksum: sha1:1dedc287545ab417cfa303a2b062379e0c1b1b61 - pristine_git_object: 1bbbda906d9dcb294329a96137121b5c920739c3 + last_write_checksum: sha1:f849c309180fa5f2819d885f7a75063d0d66d675 + pristine_git_object: ec358b48beac72e366c130245b5eae1344b83730 src/main/java/com/glean/api_client/glean_api_client/models/components/EditPinRequest.java: id: 9d121c7be959 last_write_checksum: sha1:00c1c61fc60beade70b628f0271c3bee91239e97 @@ -4426,16 +4486,16 @@ trackedFiles: pristine_git_object: 6f104b7af27de5c4d78386fa8723ea8e16345fa7 src/main/java/com/glean/api_client/glean_api_client/models/components/EntitiesSortOrder.java: id: a3d774754b67 - last_write_checksum: sha1:9f13e30ed324e03a4f35d06291ebb8364b0e72ab - pristine_git_object: eb235c460b90c18861f3b45d5bce91f7c86fcf2f + last_write_checksum: sha1:7532ff2d5a42ab9189cc9e0d224a0054e70c71e1 + pristine_git_object: 31f6ddf412a6c7db50eba2cf7c480adb0916cba2 src/main/java/com/glean/api_client/glean_api_client/models/components/EntityRelationship.java: id: c1566a30b761 last_write_checksum: sha1:d8e542c6e42c6aebd1a83cd56f49a50a642e2d0b pristine_git_object: 7236b85ad2f681bce8548927d3f01bc52412a7aa src/main/java/com/glean/api_client/glean_api_client/models/components/EntityType.java: id: 58ab34fcf12d - last_write_checksum: sha1:7cd981aa7f7982b5f92566528a0dae885ec1557d - pristine_git_object: de2f862fd767b7973346069db3469d99ff11913b + last_write_checksum: sha1:492ab25fe0938f6c09c02e64c9366e52490c8931 + pristine_git_object: efa3d1542e4a28e6a124deb9573c158b0920601c src/main/java/com/glean/api_client/glean_api_client/models/components/Error.java: id: a6cc4ff875f0 last_write_checksum: sha1:083c29432a84bfb9c748c3a151e4f3ef7b6afb51 @@ -4454,20 +4514,20 @@ trackedFiles: pristine_git_object: b26c72fa788f2f818299a5d708df71c407f39c04 src/main/java/com/glean/api_client/glean_api_client/models/components/EventClassificationName.java: id: 920bd898e699 - last_write_checksum: sha1:c624cbf7b567c711aba301e1ad0e0a25fa48885c - pristine_git_object: 39d74576f2e6864612c0e89d1de169b40ae1e7c2 + last_write_checksum: sha1:55d57e3af6db44d1b099580c62b065f4f1c191d9 + pristine_git_object: 277ba1d43a5c92e24e26218c3736f49beb491d0e src/main/java/com/glean/api_client/glean_api_client/models/components/EventStrategyName.java: id: b13552825ce8 - last_write_checksum: sha1:564410e29af574eea1cb86ddcdfa444e4a834495 - pristine_git_object: 43cd580d5e8057aa228dcb424b68997016a375e3 + last_write_checksum: sha1:55cbf98caf2cdf43c8e97aa23e7987d68bdbd1a3 + pristine_git_object: 9a41df52df07086d3571204ddcf453f355ec5756 src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfo.java: id: ba6d21a1125d last_write_checksum: sha1:7b65357a490ff53b613da6cf39e7f54da38985a4 pristine_git_object: a7af4f2fed36127d9cf6793c07f671e6cb34b560 src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfoStatus.java: id: 626d316bca66 - last_write_checksum: sha1:0a6421495b7a27cff7c311a1e099121d3db6ff96 - pristine_git_object: be1969fda8cfebc3fc358320b50939185a7bf887 + last_write_checksum: sha1:7d4fe8db56a877c933af47aadb1f92a1f175906e + pristine_git_object: 06d993d493873d5b6665823d99fe6c3cd64b1044 src/main/java/com/glean/api_client/glean_api_client/models/components/ExportType.java: id: 899c7965db91 last_write_checksum: sha1:39d240e9847f519adbf27ae4e95dced4a478d1e1 @@ -4542,8 +4602,8 @@ trackedFiles: pristine_git_object: 7e04cec4faf056eac520202e316ad9782d44ce8b src/main/java/com/glean/api_client/glean_api_client/models/components/FeedResultCategory.java: id: d5f852e61d61 - last_write_checksum: sha1:e638c1573815f502c60110bd321117f2d06d5268 - pristine_git_object: 4a1912e2dc1bdd62bcd1de84b4e0eff1b7e51363 + last_write_checksum: sha1:ebdc95815aac3125ac41023f55dcb919e46f7b21 + pristine_git_object: a869546792622720a7d5260911d935d4fda72b06 src/main/java/com/glean/api_client/glean_api_client/models/components/Feedback.java: id: f7178cc3b4f0 last_write_checksum: sha1:fff6f8f39d7782a2f79dc18e67857e9de64c3661 @@ -4574,8 +4634,8 @@ trackedFiles: pristine_git_object: 3b96a20a00fea3512d74bea148261f55db5e0680 src/main/java/com/glean/api_client/glean_api_client/models/components/Format.java: id: d3528f160eb0 - last_write_checksum: sha1:8eff03ecc79e4fcb806b5c09cc3e2c26f953d3dc - pristine_git_object: f753a7f95c09fa4a09d1ac071a6ce480706b1446 + last_write_checksum: sha1:c48e0871df70cd6518a0faaab0ef29d466b8ba79 + pristine_git_object: 16ee3b7373ea14b2f6b22a8507c1015c77dc1326 src/main/java/com/glean/api_client/glean_api_client/models/components/GeneratedAttachment.java: id: a7aa3de5fe5c last_write_checksum: sha1:d14896c5d1643efee449388818a9e31c810a405f @@ -4590,16 +4650,16 @@ trackedFiles: pristine_git_object: 6cbd466134f41939d88ae2ea083d3b2fbfd4c9b5 src/main/java/com/glean/api_client/glean_api_client/models/components/GeneratedQnaStatus.java: id: 99334c4d0ea7 - last_write_checksum: sha1:b1d6381d5d7629980e9a5f6a04b32caaddb5b975 - pristine_git_object: 4d5e0c6a4b5d00ca698a233289544b0067abd243 + last_write_checksum: sha1:d5bc687680ff2ff8ecf469ab040e0eec6362ae91 + pristine_git_object: 316bc87e4bf953aae85c31d2416b239512dc3ba6 src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerError.java: id: 5a195132501a last_write_checksum: sha1:5bc29df18860cb0bddacafc9a45ee7d5a5cc3838 pristine_git_object: 357aa1dc223de088a585fac0d92904aaf35d2fb7 src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerErrorErrorType.java: id: 4fca11cdf22b - last_write_checksum: sha1:8114abacebe9552b5dfde501acc80506d2247b85 - pristine_git_object: ba3004156f36fb5691c472e2c6e4b228559ff589 + last_write_checksum: sha1:8f3c560477b0cce66c827c199b31d0e76fe7006a + pristine_git_object: e3a7a92c7191f9985fce8b7dedf6fa6bb4ef649f src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerRequest.java: id: c4c68ef12bfe last_write_checksum: sha1:e1d0ba7ee9d02495d7bff7e3ecdb282d2abe8156 @@ -4730,16 +4790,16 @@ trackedFiles: pristine_git_object: fe3c22e47ea285e0c615e634e020fe21cf4984c4 src/main/java/com/glean/api_client/glean_api_client/models/components/GleanDataError.java: id: 6f723854d757 - last_write_checksum: sha1:b05e367007025d3eeeca81870256c699babb305d - pristine_git_object: ab42994ac9bb3350d804d49782771ead0af6c236 + last_write_checksum: sha1:957b9fd7bd289e45b4855308b530ad6f47dd091c + pristine_git_object: 34d47385597705f75fd5b66f93d6d7007abfe052 src/main/java/com/glean/api_client/glean_api_client/models/components/GrantPermission.java: id: 6383aabbbc1d last_write_checksum: sha1:08a3d14a58ab45454a3322c35157b33d9e9a1a86 pristine_git_object: df51a788c4f6265cef65521a84aaa56a85bf5129 src/main/java/com/glean/api_client/glean_api_client/models/components/GrantType.java: id: 9df8d4dc9a89 - last_write_checksum: sha1:d6b0e1c57dc8a6f2139ba2c1fa9f84dcc9df9f1b - pristine_git_object: 909ef647ade4068b82069ebb969e7774c62bd8c3 + last_write_checksum: sha1:f545af5c9ca5fc10a8a3fb3244a1cbf74019e545 + pristine_git_object: 5b099f5f7a3bd40c622f7e308d98495a1b5800e2 src/main/java/com/glean/api_client/glean_api_client/models/components/GreenlistUsersRequest.java: id: 17b89073cca1 last_write_checksum: sha1:a1a150152bfdc3724c01b9bf55374769c1676f9f @@ -4750,12 +4810,12 @@ trackedFiles: pristine_git_object: cda8fefb1086d80c1057d2713d22061963ceff54 src/main/java/com/glean/api_client/glean_api_client/models/components/GroupType.java: id: bc799be0dc57 - last_write_checksum: sha1:d3ae175173c2b7c17f730788f077ad25ef542bce - pristine_git_object: 7418cffc6de9dc8b2aedba010daa81e44025d467 + last_write_checksum: sha1:581ca4b3692ad54ea1cf1efb40c6a8f2e7627089 + pristine_git_object: 1fe958156d27644b6f480a8291d6179d286aa2b2 src/main/java/com/glean/api_client/glean_api_client/models/components/HideBuiltInFacet.java: id: 6e2c851b0491 - last_write_checksum: sha1:df6f7c3baebdf63472b24a4e235a4654bbe18615 - pristine_git_object: 0db873d9eadd06c20e8934cef7db04f7896326e8 + last_write_checksum: sha1:c951c26e31f272d546bb8d3fbcce81887aa85a08 + pristine_git_object: 833f15cfc3d16f240e15c3595bf05b6e15b0c660 src/main/java/com/glean/api_client/glean_api_client/models/components/Hotword.java: id: 47edab918e89 last_write_checksum: sha1:88c4a3c5875cfff01b94eb2cf41704ea5ea9be14 @@ -4770,8 +4830,8 @@ trackedFiles: pristine_git_object: abaff9b2efe5c745f35cbecd6e23a47f526ce25f src/main/java/com/glean/api_client/glean_api_client/models/components/IconType.java: id: 14caf04ddd5b - last_write_checksum: sha1:e745bb28459e7e40678ffb3ebd0c02a1addd1cd9 - pristine_git_object: 965456d3cb96b0c53d7dd7dec883a201b5214aed + last_write_checksum: sha1:0fd7bfa51105300d8d23c2ece3444e0dc5226f22 + pristine_git_object: 7a8b66254ac3136be70a2c8cce5c711123451b43 src/main/java/com/glean/api_client/glean_api_client/models/components/IdType.java: id: 1d2c1305b6ad last_write_checksum: sha1:e5bbb9fc18e01835508d6178977b8f45c38305d7 @@ -4826,8 +4886,8 @@ trackedFiles: pristine_git_object: 600c7caf60b060b5e92259c594619ee47b44a7b1 src/main/java/com/glean/api_client/glean_api_client/models/components/InputOptionsTimePeriodType.java: id: 46bf10a60da5 - last_write_checksum: sha1:1bbf3121d5b36d86713cb041dc28307fdfea7b87 - pristine_git_object: cbf147af64933bf20557824667f32962292bfecf + last_write_checksum: sha1:590153710c189bf37e3169990f20a07768379e32 + pristine_git_object: 641710946a149a2789803964bd114f1f6dddc3b7 src/main/java/com/glean/api_client/glean_api_client/models/components/InputSchema.java: id: 36ea007dc862 last_write_checksum: sha1:36f48abcd49aed14334fe52bc927cda12b340d72 @@ -4866,28 +4926,28 @@ trackedFiles: pristine_git_object: 751e349ab0beaa2ff66338fb43b4926ec8f73bd9 src/main/java/com/glean/api_client/glean_api_client/models/components/InviteInfo.java: id: "663166677152" - last_write_checksum: sha1:c2cbf5900c19c888f3aa609de67c83089d999240 - pristine_git_object: 8cbcda1fa483dc6702db36dcbeb85358bc3cd97d + last_write_checksum: sha1:23633164666f222631734ae204bf567a12ba73d2 + pristine_git_object: 5398b56af44d127e0a3f99b007ba2a2bd443406c src/main/java/com/glean/api_client/glean_api_client/models/components/Issue.java: id: 81fcbbe75f46 last_write_checksum: sha1:7253e68e6af885c1e7bdedfb284c11d00bb3b30e pristine_git_object: 93f0de2cc5531a41addeb97f60303054bcaa2d32 src/main/java/com/glean/api_client/glean_api_client/models/components/JustificationType.java: id: 4e704d02ecd5 - last_write_checksum: sha1:d5e037ca6a6bf4520513d1c287f5efc37e6566ab - pristine_git_object: 2905e4308600a00663b7fda2d30726377625f71c + last_write_checksum: sha1:4e9d09853fa21129073ba7f05591ff29bf9d0472 + pristine_git_object: ad9f39304b200bacf12a212cd89eb9dfdc669017 src/main/java/com/glean/api_client/glean_api_client/models/components/KnowledgeType.java: id: 86321f7dd6fe - last_write_checksum: sha1:80df4df4f616f018586ef4dd8bdf9ab408da731d - pristine_git_object: 7d5d53ec3fdbb3aff945a3e5be0bef2bc058bda9 + last_write_checksum: sha1:7fc178247c9af758df957ff70931aa48ac4e7eaa + pristine_git_object: a502e8dacfa88aee37b07ff3cc24f9e0dbe86b06 src/main/java/com/glean/api_client/glean_api_client/models/components/LabeledCountInfo.java: id: bb1cc6cbe83e last_write_checksum: sha1:4b8761c621dbb1c965c27b87a4a586ca0b162c1a pristine_git_object: 5df7379f6c59cff074f80caff4ca12d933bc57e8 src/main/java/com/glean/api_client/glean_api_client/models/components/LastScanStatus.java: id: 735967bfa691 - last_write_checksum: sha1:5e1ff760d5d396a7716ca0e0212f4774cf4ba134 - pristine_git_object: 12e2539b5fb0772045e73cce04577974b92aaca7 + last_write_checksum: sha1:ee434889b095f9d51a87b1548b348d2e95402622 + pristine_git_object: 5bfd60a43dbdf1e4db8dc29d99a2d063d9dfcc73 src/main/java/com/glean/api_client/glean_api_client/models/components/ListAnswersRequest.java: id: "815479149921" last_write_checksum: sha1:7ffe6457d0d4fee34380af180c634200e4afa044 @@ -4986,8 +5046,8 @@ trackedFiles: pristine_git_object: 60ecdaa7bc04748182087f83d855948961508dbb src/main/java/com/glean/api_client/glean_api_client/models/components/MessageType.java: id: 58e05288e676 - last_write_checksum: sha1:0157d5d12564c084620ef05e4c4d49ecf20ab4df - pristine_git_object: feeb93df225dfb0fb605da10da7ef804b2b51d0d + last_write_checksum: sha1:fd82feca3e87086860127398b39ba3b5defb6b4a + pristine_git_object: d7c1d87356d097231f1ec4e157ec8631aa9b4c1c src/main/java/com/glean/api_client/glean_api_client/models/components/MessagesRequest.java: id: eadea8cc5435 last_write_checksum: sha1:299b8f8fb6a0c7cd781df7fa6d269c2f3724044c @@ -4998,8 +5058,8 @@ trackedFiles: pristine_git_object: 2c61f7d33fb58bc9a25adb4705186e2b8c619951 src/main/java/com/glean/api_client/glean_api_client/models/components/Mode.java: id: c15527d88840 - last_write_checksum: sha1:5467a77e4443d224805a092c8d56f79122d7f819 - pristine_git_object: fbdb27f7f564ee242793a8cff706ce4b14c5a79d + last_write_checksum: sha1:4dbc31b09b03aa4ae23da063d92111058c41813c + pristine_git_object: f1b095a81d9c83b642c32499a7fc169ebf7860e6 src/main/java/com/glean/api_client/glean_api_client/models/components/ObjectDefinition.java: id: 20f12c950005 last_write_checksum: sha1:2d32c33a8c0813caa103da93759b4d6dec0042ca @@ -5018,8 +5078,8 @@ trackedFiles: pristine_git_object: 49ef1228bd4e3758404babe044e56aac0861a1c4 src/main/java/com/glean/api_client/glean_api_client/models/components/OperatorType.java: id: 496f1fdf3ee1 - last_write_checksum: sha1:07a4d16bc139d9e847ca003b7a1b8efede9c08b5 - pristine_git_object: d9a4e65046035d22ee1c50833921de8b0b116bdf + last_write_checksum: sha1:11c1b09102533add5bc9ec795929ea6707a5026f + pristine_git_object: d34a7573fff308ffb1b2d224863ee464df5518f2 src/main/java/com/glean/api_client/glean_api_client/models/components/OrderBy.java: id: ccfcea24d91a last_write_checksum: sha1:be9076783990679e0258637991071e5596e91991 @@ -5078,8 +5138,8 @@ trackedFiles: pristine_git_object: f4c8b2bba4eb452528e0d188e55514c3c6a0df92 src/main/java/com/glean/api_client/glean_api_client/models/components/PersonMetadataType.java: id: cb8f56404970 - last_write_checksum: sha1:85b55f8ee0b9764dbd8dfd238820d214638945cd - pristine_git_object: 065cca708f1bebb8e2fe1a54adba2f7af1006fa6 + last_write_checksum: sha1:68d5850391006675f82d05fd7dd90b85164a19b8 + pristine_git_object: 4b70a85147ec80b0b328f08dfca4c3bf80add9e8 src/main/java/com/glean/api_client/glean_api_client/models/components/PersonObject.java: id: 5552ac25e3a8 last_write_checksum: sha1:9f74d61ab078464d3b17ef9ed7e4c894b62c353b @@ -5090,16 +5150,16 @@ trackedFiles: pristine_git_object: c8577ce9c9f5fdbd544c820c80bffa6e7a821f75 src/main/java/com/glean/api_client/glean_api_client/models/components/PersonTeamRelationship.java: id: b43312033409 - last_write_checksum: sha1:d6b09d3df0e79abbfb916cd602d28561094f1af1 - pristine_git_object: 35dccb514cde6ee9ec654d6c803ed074a42a752c + last_write_checksum: sha1:19fae1ad062eed5901e9f5b43ad6902bac948367 + pristine_git_object: 09a839c999db02698b3b54f693411fa7b672e84c src/main/java/com/glean/api_client/glean_api_client/models/components/PersonToTeamRelationship.java: id: 055b29d795ba last_write_checksum: sha1:888ce64755b9774039d21a5accb5d95701e9b11d pristine_git_object: 9ec84bfba6f953e6083a199689efb2fcf16de421 src/main/java/com/glean/api_client/glean_api_client/models/components/PersonToTeamRelationshipRelationship.java: id: ea9908bd2500 - last_write_checksum: sha1:6996ca0753343ff8f72ad50be515536bee73c1dc - pristine_git_object: 695355e1eabe8c58a1acfeb41e7eb2ed7d22cf92 + last_write_checksum: sha1:f3146233d930a69d68f32988401be521e145686b + pristine_git_object: f827f423928449429112e255b838d60bcf906675 src/main/java/com/glean/api_client/glean_api_client/models/components/PinDocument.java: id: c051a6494fe1 last_write_checksum: sha1:a45f78aa75a2836a8fe5842cb1a421ae6abcd03e @@ -5126,12 +5186,12 @@ trackedFiles: pristine_git_object: 2bb9464f23bdb8ba45b6c15994093123fd893782 src/main/java/com/glean/api_client/glean_api_client/models/components/ProcessingState.java: id: 82b84fd39ac3 - last_write_checksum: sha1:6f03f4462d25cbf3bd0ac8b8cd947517e5172a80 - pristine_git_object: 038eb263983c8fa47324643ee2801307724f1ba3 + last_write_checksum: sha1:b6748b28becaf3a09234a2fa63b52e083f4d5dcd + pristine_git_object: d42980d6928883d527ee6bd556611aeda3b611a1 src/main/java/com/glean/api_client/glean_api_client/models/components/Prominence.java: id: ea9a73583b3f - last_write_checksum: sha1:d2205eb4f60abe2c75084459bf14d7b95daa387f - pristine_git_object: 47e33e0f08ac9e3fa4678b3fa8a0e790b4bb97c6 + last_write_checksum: sha1:975b5cf540f5e2c9972c55a92d3758f12d802b3c + pristine_git_object: aa0258053a5859b7290b7e6d31bff68579a4656a src/main/java/com/glean/api_client/glean_api_client/models/components/PromptTemplate.java: id: 286d8ad76c38 last_write_checksum: sha1:019dca472f69c3d7fab9565fdab96f7930d7e0cb @@ -5150,12 +5210,12 @@ trackedFiles: pristine_git_object: e12fe940bb0bca9edc834c24101be6cadfd32c24 src/main/java/com/glean/api_client/glean_api_client/models/components/PropertyType.java: id: 22ac0a98e4d4 - last_write_checksum: sha1:436caaf9c1786cc3e933e8bdcd20b7d5c6014777 - pristine_git_object: 3bef58ad4a3a94fc449a5532676e25b15769c173 + last_write_checksum: sha1:5868bae82294c9587b0aee46b00a67a340dc85a7 + pristine_git_object: 1c8bb9756df621f99c98f2b48ff486c7d0209cd0 src/main/java/com/glean/api_client/glean_api_client/models/components/Provider.java: id: 9198ae0c3394 - last_write_checksum: sha1:13c157f39398d7cadb801096b7dbb7fc200b7b93 - pristine_git_object: 7a2ea27d0c9f73fd7149873f91312f37717d3fa3 + last_write_checksum: sha1:2c0c1e52fcb934b4355b5598b755bd5f0a5e684e + pristine_git_object: 4e3616c6a7509573686017f70b2713cb9a045571 src/main/java/com/glean/api_client/glean_api_client/models/components/QuerySuggestion.java: id: afbd9b90d86e last_write_checksum: sha1:4d51ee2d81f9d401a3f1f0555abd2cc28518a32c @@ -5210,12 +5270,12 @@ trackedFiles: pristine_git_object: 4bc211d70bc14dfe2c85cc20852fa04af1ba5ce8 src/main/java/com/glean/api_client/glean_api_client/models/components/Relation.java: id: e91871652f75 - last_write_checksum: sha1:7f185b7a0793dc9f1f9f20daead5e476ff209f6c - pristine_git_object: 08d4f97a1beceeeec64a466630761155b1300430 + last_write_checksum: sha1:61c6dfa170fb3ee59d03cabb84b3d613cd2c08b8 + pristine_git_object: 997f493f54a78cc8a30a63742173d4451b7ae6ba src/main/java/com/glean/api_client/glean_api_client/models/components/RelationType.java: id: dbbdfc0d59a8 - last_write_checksum: sha1:a500156b458d8ad4d66b6e1bc2c54bc05bd62a00 - pristine_git_object: 178ca86f2711f002e9e670e5612d9b2b283feaf2 + last_write_checksum: sha1:b8b07375c4d7f997ceb0218a41d63cacbbaa8812 + pristine_git_object: 911ff2d4480657ddeb374e8b8fc0e83e8c807cae src/main/java/com/glean/api_client/glean_api_client/models/components/Reminder.java: id: af1bbb1a9caa last_write_checksum: sha1:6f8637863fde7c2601a0f370be8c2031351f4723 @@ -5230,24 +5290,24 @@ trackedFiles: pristine_git_object: 58932206605262d50ce3313fc288c360cb1a5db8 src/main/java/com/glean/api_client/glean_api_client/models/components/ReportStatusResponseStatus.java: id: e0baa4ab8293 - last_write_checksum: sha1:eeccefc9dd649fdebdebaeb0e9429b91c23d9663 - pristine_git_object: 30fa02da487e9f607c1b0268f5be3c203af3fbe7 + last_write_checksum: sha1:a94890ce21dc6abd47cfca737dcc0fe8859119da + pristine_git_object: 216b506d24bd8412ba5255a9b9968710526a5fa4 src/main/java/com/glean/api_client/glean_api_client/models/components/RequestType.java: id: b82d8bdf4934 last_write_checksum: sha1:90b37f377fdc1a24e791629a41944f6e5812e62c pristine_git_object: 3126b3810b6be7d9f78b3d2bd5e6a53495de41a7 src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseHint.java: id: 9a7151459ddf - last_write_checksum: sha1:4e4bdffa8de2aa80ad25451678b7a54e2d152af0 - pristine_git_object: 21893a58dfa1934a598b592a66b8143b2b79f558 + last_write_checksum: sha1:8fcb12047fc4e4c15461f625743f8fdb6548d525 + pristine_git_object: add14a083423bd32b8b13ce3300179b42a6d297f src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseMetadata.java: id: 0bd7337a9e63 last_write_checksum: sha1:b5df5047d6ef6df4203b03689087acd81d82bbdf pristine_git_object: 18321cecce9ee2d099f0362a270413364d4a61ac src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseStatus.java: id: e2a0935c9327 - last_write_checksum: sha1:7cfb00df55e892a6e0259d5662301eee8985c61a - pristine_git_object: 410a6b11bbcd8bb6315785c4513b723503416c49 + last_write_checksum: sha1:a19c88ed2f6c09784c0073407399022fecaea009 + pristine_git_object: 682fb927a43515883f4d2719ed9fe2c849b7086f src/main/java/com/glean/api_client/glean_api_client/models/components/RestrictionFilters.java: id: faeffcdb98fb last_write_checksum: sha1:bbe16bc2817a59e93f26b9d04b6a239d4444fe36 @@ -5270,20 +5330,20 @@ trackedFiles: pristine_git_object: 1d71cbe9a72fda287cb7c4975d07a8a7fdd88398 src/main/java/com/glean/api_client/glean_api_client/models/components/Role.java: id: 27c1126ef53f - last_write_checksum: sha1:25083ffbe973262ba9f56712d9e6e6874a700f3d - pristine_git_object: b4b27559c558f6b7d4e51006f5958a1410e9b677 + last_write_checksum: sha1:0d7e893a66526513a0235e94f2d1021eefab39b0 + pristine_git_object: 9a82b558a1d1daf918316370c5a3e3b313fe2a66 src/main/java/com/glean/api_client/glean_api_client/models/components/RotateTokenResponse.java: id: bf054aecb9e4 last_write_checksum: sha1:406e1951e135fb8b686a60b0fd99f1778cffa0ec pristine_git_object: c62c5b2535929260d8558bfdb37c590e12adad7b src/main/java/com/glean/api_client/glean_api_client/models/components/Scope.java: id: 429b527003ba - last_write_checksum: sha1:ceea005b9c52193be21b422ffef6e5d9eca47cec - pristine_git_object: c918116db8dfad063e6cc6aff45233521054c8ce + last_write_checksum: sha1:9709be307f03227b9a11556973064bbf96888abc + pristine_git_object: 48775f3fbc41d0ee954eb5cfbd97ec8e9f847fea src/main/java/com/glean/api_client/glean_api_client/models/components/ScopeType.java: id: 7efb30396b18 - last_write_checksum: sha1:9d8061ea60f6ac9dc8cd6b75c82a46bf7965aa72 - pristine_git_object: 30ab75667203461074df71ab301097b306b329eb + last_write_checksum: sha1:0d17d86d0f0c8c8f349d89f01464643049066a40 + pristine_git_object: d16e3962ed71090b22b9c1d4862ed1040a2328e7 src/main/java/com/glean/api_client/glean_api_client/models/components/SearchAgentsRequest.java: id: ec8023e96147 last_write_checksum: sha1:94e0a560e0676b722eb99a0fa66a68fc36369760 @@ -5322,8 +5382,8 @@ trackedFiles: pristine_git_object: a941c93156eed0a8583273af6e07700882cca42a src/main/java/com/glean/api_client/glean_api_client/models/components/SearchResultProminenceEnum.java: id: 13dfe590e7b7 - last_write_checksum: sha1:930756f8b3651e43f2865ccf74e1d64e06fd072e - pristine_git_object: 64c7fe37e81344c9febdcbfa1401c5565adceb71 + last_write_checksum: sha1:90e7c3f4cc8c2afab1b9c9c1100f9d60a4968d06 + pristine_git_object: 566f94d09520bd02787ea68aeab7606beebaf8a0 src/main/java/com/glean/api_client/glean_api_client/models/components/SearchResultSnippet.java: id: 047d34af9596 last_write_checksum: sha1:5ef4dbb759a2721e40542ae4ac43c4221503ef4d @@ -5334,8 +5394,8 @@ trackedFiles: pristine_git_object: 1da3a46389f3cf5b758009f4a52ec9140fa8c79d src/main/java/com/glean/api_client/glean_api_client/models/components/SectionType.java: id: 59baf0ec1aba - last_write_checksum: sha1:6ba941b1b5593a0d0ab04f9d9b09885dfe037f79 - pristine_git_object: c0a4991f655f1d9859599143b4a3754b47e40089 + last_write_checksum: sha1:221b42ab2f0fdeea9efc201bf616ac5b54adbb59 + pristine_git_object: 3f5ba6567ad4df53d02b589a6c5702ba434d21f5 src/main/java/com/glean/api_client/glean_api_client/models/components/Security.java: id: 322dca2a8bf0 last_write_checksum: sha1:abb75c2226a1d0a9d54488517047e18559fdc38c @@ -5358,8 +5418,8 @@ trackedFiles: pristine_git_object: f304a0bf4e990be7d7d7cba3bd0293d82b257e70 src/main/java/com/glean/api_client/glean_api_client/models/components/SensitiveInfoTypeLikelihoodThreshold.java: id: 85c29d92b872 - last_write_checksum: sha1:3b1e818450f9984158a7222a9ed5c23e522c5f6e - pristine_git_object: 92eade700cdcf9f9faf80dc62d81b77049eb33c1 + last_write_checksum: sha1:339de491ea43dc7fcf17e5a4cd157b54e1790c77 + pristine_git_object: fb4ff15dccc6e0392d67e087f7b2f0edc1b319ac src/main/java/com/glean/api_client/glean_api_client/models/components/SessionInfo.java: id: ad7b0e031edf last_write_checksum: sha1:672c86a39689f06127554492db022a20337a5025 @@ -5382,8 +5442,8 @@ trackedFiles: pristine_git_object: c6d5776df5a465420ffa4f18337759ce0874175f src/main/java/com/glean/api_client/glean_api_client/models/components/ShortcutErrorErrorType.java: id: db98cfda15a2 - last_write_checksum: sha1:fe031356a7292d067dc9c86e3dd5cad18034d7ec - pristine_git_object: 66ed90a1cddd7c1fd86fc1593e695534bdfa61d0 + last_write_checksum: sha1:c3578ead633268b971ebdb07eb4f85e69854e249 + pristine_git_object: 575e3843db47331ddd651da3ef1bb4f2078f71df src/main/java/com/glean/api_client/glean_api_client/models/components/ShortcutMutableProperties.java: id: 6bc671a35733 last_write_checksum: sha1:893e57e81583d77ab9b654cb271d3e22ca9bd82f @@ -5410,8 +5470,8 @@ trackedFiles: pristine_git_object: 16c63af2329ca06540c4722a57933963f958b7c8 src/main/java/com/glean/api_client/glean_api_client/models/components/State.java: id: 396f1937ab89 - last_write_checksum: sha1:c16e067a5cf555f317b022a46a2c07a4b4d00c38 - pristine_git_object: f1ae2d7452dbc89416e8b176f1d43c50f23c3f5a + last_write_checksum: sha1:27bd5d2d468340c82e42c4898edc899bc9413039 + pristine_git_object: 45e70c2d79316e1d533a241d1f6b7ad98cfbaeca src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredLink.java: id: 6bf285087f0d last_write_checksum: sha1:66500b157b2f55cb98d59615863e843a6aee155c @@ -5426,8 +5486,8 @@ trackedFiles: pristine_git_object: 5d1540d7a9c30ba7810b91ee5eadf214fd3e8395 src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java: id: cc78cee75709 - last_write_checksum: sha1:700e989f4b3a69f788d0dd62625de10ff22ccd2b - pristine_git_object: d5a2bc99154e163a54f7cbd76e5f779c61a8ba70 + last_write_checksum: sha1:e4698fba8c7fe614ab19abdd9d123dcae9f9c882 + pristine_git_object: b7fe47ff82eb07c6f4e40ea9e9da6f093a2b7e15 src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredText.java: id: 1b534e8a554a last_write_checksum: sha1:aa8c7c179b82e87df2db5dc287172ef2a7a9b209 @@ -5470,16 +5530,16 @@ trackedFiles: pristine_git_object: d37dce446b8b6846cba335227414392931813cfc src/main/java/com/glean/api_client/glean_api_client/models/components/TeamStatus.java: id: b67284333e54 - last_write_checksum: sha1:630517f9c90f518580bc6dce6f53260199a34b9b - pristine_git_object: 0f6202adf54eb248be637f2b92e8ccde9feec253 + last_write_checksum: sha1:694a68a14a051d64199ba48d5b7a3c0b26101188 + pristine_git_object: 370dce5d628fba8316235c53b20396cac131fe16 src/main/java/com/glean/api_client/glean_api_client/models/components/TextRange.java: id: fa9cfd2740e8 last_write_checksum: sha1:d855f8d74ccc933b69e85ad2a521d9be34bb34c9 pristine_git_object: 83d9f4bd29bd221ff5e2ab54201faf1f95997f3b src/main/java/com/glean/api_client/glean_api_client/models/components/TextRangeType.java: id: ed8f4c45adb5 - last_write_checksum: sha1:fb2e48203a200d0eec8acf6effeda05de6c460c1 - pristine_git_object: a13b16e3f14beda201ccf0164119b80ce119d30f + last_write_checksum: sha1:5d665b8c38665b3920ee75421449067dfe647b0c + pristine_git_object: 0131665eb2b55e5d8a38c464254aa2fc5b0f879b src/main/java/com/glean/api_client/glean_api_client/models/components/Thumbnail.java: id: ef69bedfe1c3 last_write_checksum: sha1:d2210e93d1abcf486b48973270d955f5782a6f30 @@ -5502,8 +5562,8 @@ trackedFiles: pristine_git_object: 2d8fcd71dcef8dde28e671d8f88ae1f9ac1bce3c src/main/java/com/glean/api_client/glean_api_client/models/components/TimeRangeFilterTimePeriodType.java: id: 918e887eb4d1 - last_write_checksum: sha1:bfa38fada830a2bd9519e40b4b481f8c367120e9 - pristine_git_object: 4cb4767e431abf933715a986784df0c3080bcb30 + last_write_checksum: sha1:e6b51ac29f344c407b6ebed6b91b03da441d713c + pristine_git_object: 6b6e5ecbb9929d5de5938875ed1439440cb7f02d src/main/java/com/glean/api_client/glean_api_client/models/components/Tool.java: id: b1f1d0700edb last_write_checksum: sha1:2dbc5ea93c89bbfcca2353303762ac3adbb2d580 @@ -5518,24 +5578,24 @@ trackedFiles: pristine_git_object: b5dd244060b16bc13faffb81ac8e998bb0a78500 src/main/java/com/glean/api_client/glean_api_client/models/components/ToolMetadataType.java: id: 2b9cf4b714da - last_write_checksum: sha1:af378116405a9b0cbd5b0b11697fed5cdfa29035 - pristine_git_object: 2f4ad38c50903b5122d8970dd21b0eb5e7edc5a1 + last_write_checksum: sha1:ed172827598bff0bf365432d2f75a688b22865d9 + pristine_git_object: 59bc9dba945e78a5c37ad3544f5cae56f5457ae0 src/main/java/com/glean/api_client/glean_api_client/models/components/ToolParameter.java: id: cc9a69f298a6 last_write_checksum: sha1:401820433b1205787e88edb6fce84d0b4b5a9df5 pristine_git_object: 711dfa33a2a791230e7ec6cefc94cfbe8e6d8d8c src/main/java/com/glean/api_client/glean_api_client/models/components/ToolParameterType.java: id: bf941dae7985 - last_write_checksum: sha1:9f1123dc24cffb89fbb6626456b7c99c79698613 - pristine_git_object: c5609c45dff84415b1d899d8da52d42f65f9caf4 + last_write_checksum: sha1:9f39e8d9a41b2e6fbdd5ce6c68d1707b986f1a17 + pristine_git_object: e94690614f7a01d3cfa47447b0823bf16b0fceef src/main/java/com/glean/api_client/glean_api_client/models/components/ToolSets.java: id: a74bdefc9ec5 last_write_checksum: sha1:0ce4d40b8f02c70a33223f9c4d74134113bf3e0e pristine_git_object: 3905b4495060a91f9417fc1d0fdedc6079189662 src/main/java/com/glean/api_client/glean_api_client/models/components/ToolType.java: id: 07d3667b81da - last_write_checksum: sha1:b159994e54025236b6da6f2657a278fbc8ade97f - pristine_git_object: 958c86443dd92528bc5acb635d4cb9ff8c762db6 + last_write_checksum: sha1:96641622c616d9b3ed6acedad76f5216c0e8c4bf + pristine_git_object: c19eddf05f1a2341bc3e6d801d9c6ec3e30d54e6 src/main/java/com/glean/api_client/glean_api_client/models/components/ToolsCallParameter.java: id: f8bef202cdd8 last_write_checksum: sha1:81c126eccdf29eb44ae335fc144587aa9ff41c50 @@ -5554,16 +5614,16 @@ trackedFiles: pristine_git_object: 28dd33fc87061e4069fba7032c7237c8d7e5ba38 src/main/java/com/glean/api_client/glean_api_client/models/components/UgcType.java: id: 799738fed61d - last_write_checksum: sha1:42984f9bc31191f607be52843aca3ab2885fe25e - pristine_git_object: 0857214d32ca4aed6f185702d10776d488c61a7b + last_write_checksum: sha1:f93f3e86c6c1de41bee2c9b6b2d4e84bdbc7df59 + pristine_git_object: d7311150e68e4462c5c68ee403b94d47117b84bc src/main/java/com/glean/api_client/glean_api_client/models/components/UiConfig.java: id: 4a03695e2c2e last_write_checksum: sha1:9fc3343b6116a90df44344e10020c38b2a2fcfae pristine_git_object: 19d9051540996bcb944c6c884b234d60ad13c409 src/main/java/com/glean/api_client/glean_api_client/models/components/UiOptions.java: id: 3daac9bb9ae1 - last_write_checksum: sha1:a266ab2b02e6964ca42d067b07d665cf739fb09e - pristine_git_object: 3b680f979e3e5dea8c156363f345d93e1b82dcc6 + last_write_checksum: sha1:2f08ac232b182572c2acd093f7517ab205ff1280 + pristine_git_object: cb60a038a453653e5c737f59c63671d982555b5d src/main/java/com/glean/api_client/glean_api_client/models/components/UnauthorizedDatasourceInstance.java: id: 1ab8711d9c22 last_write_checksum: sha1:5be44ed7f8ca53dad0f85a80fb31343e30d6b6b4 @@ -5584,6 +5644,10 @@ trackedFiles: id: 984622c3e677 last_write_checksum: sha1:d6e0f4b074c86632ec0c21d6ae998de77798a3d7 pristine_git_object: 10db7e64cf37e91d819aca0f110284e7c7ffe009 + src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateDatasourceConfigurationRequest.java: + id: 2052f8ba34df + last_write_checksum: sha1:c82a90beccc8827ed27e20bcece5c28e70306ad2 + pristine_git_object: dc5745b4f523b13f3edc53568c210ce1475bca49 src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateDlpConfigRequest.java: id: 27cfa4d265e5 last_write_checksum: sha1:b0c0b43a46a60fe3b1c3f038400879d7507535b9 @@ -5622,8 +5686,8 @@ trackedFiles: pristine_git_object: ebbbc71e1c8217bb25d1af45361c9e231d18987c src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateType.java: id: c80136c264cf - last_write_checksum: sha1:d6db80a7bc39ecfa5bedf15d728680f68a30264d - pristine_git_object: fdc4ec877c20daf2d3aefe16749dcfa6416ab520 + last_write_checksum: sha1:064e5398376c7484828cac0bf36b469fc8d426d1 + pristine_git_object: 021cee9ccd31c0ed71ee94a2eb93d8f8541866fa src/main/java/com/glean/api_client/glean_api_client/models/components/UploadChatFilesRequest.java: id: 2ecd2a5f0d41 last_write_checksum: sha1:8a74b4c237f6ab6632d0e7a809ad93898cae9cc4 @@ -5638,8 +5702,8 @@ trackedFiles: pristine_git_object: 0ef1b95135b434612439225a951753eb95b69b1b src/main/java/com/glean/api_client/glean_api_client/models/components/UploadStatusEnum.java: id: 2aa53ed9aaf3 - last_write_checksum: sha1:0ae681f6243f739fe0a55312a6f6e2344616cc48 - pristine_git_object: 9fff5b888e113164bd6399bd1d9018c8072629da + last_write_checksum: sha1:2f32bc4d329ad605340a7a56cc5eec678966b504 + pristine_git_object: 7ce1277bd138adfcecece4ea7a2c61a088aa9ef3 src/main/java/com/glean/api_client/glean_api_client/models/components/User.java: id: ce237465f68a last_write_checksum: sha1:bc80ba5984067c13cc0ca3bc48e48ab44ed8344b @@ -5650,8 +5714,8 @@ trackedFiles: pristine_git_object: 20cd396dfb669877dd8dcba313f58e058b934f1b src/main/java/com/glean/api_client/glean_api_client/models/components/UserActivityAction.java: id: 6363b4594806 - last_write_checksum: sha1:53d6d380398f7ce5fd954ef74308b0be3e51a2b0 - pristine_git_object: f0340fd67f2613a3c170cacb71b561a6d69d9fe5 + last_write_checksum: sha1:0d062a8e887d8eaa880bd4da1b45a80225ccf9b9 + pristine_git_object: 0d0bcf7fb3c5f632b20b975b8e2b0311cf121947 src/main/java/com/glean/api_client/glean_api_client/models/components/UserActivityInsight.java: id: 29fb63e9f926 last_write_checksum: sha1:c3249f7833e5ca51aa657eea078c1db4a8e719fe @@ -5666,8 +5730,8 @@ trackedFiles: pristine_git_object: e94e1f71d6aeb92ff4b473d87b30b7394ac6c956 src/main/java/com/glean/api_client/glean_api_client/models/components/UserRole.java: id: 7cceefd495c5 - last_write_checksum: sha1:9cf0f779f4fed468e8bc0a9279d9c62d4544900a - pristine_git_object: 0f4c5ce3b6847c47853e7f3ab66bc4159e848bd9 + last_write_checksum: sha1:82aa273e7051578ceecaa3893b55236a04bac066 + pristine_git_object: 25396a8145907652ccd7d006d8ab60b4b414737f src/main/java/com/glean/api_client/glean_api_client/models/components/UserRoleSpecification.java: id: 87f9a607e297 last_write_checksum: sha1:c9070e5ebc031330b76d381c17f87bc5fd50fbbd @@ -5710,8 +5774,8 @@ trackedFiles: pristine_git_object: 1b0127ce76aca704545bc68f1188d70966c394e1 src/main/java/com/glean/api_client/glean_api_client/models/components/WarningType.java: id: ee95cb71c6f1 - last_write_checksum: sha1:55a9a59f472c1c47fc908fe8a83242d163a010d7 - pristine_git_object: 80c8970e20bf5dc64bc670fbe694ad990b8ebe62 + last_write_checksum: sha1:66161d9faf5c08e709387135fd313e23e168b671 + pristine_git_object: 32659e01c3002ccd21a650d4701c60dbd33ff320 src/main/java/com/glean/api_client/glean_api_client/models/components/Workflow.java: id: 362d77a90ee3 last_write_checksum: sha1:c3770d597666e6a329924ccaadd2d3db5caf040c @@ -5734,12 +5798,12 @@ trackedFiles: pristine_git_object: 6b5f7e4619bfca35074ef087f3d860bb637e1dfe src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionParameterType.java: id: 7d29145ff5b7 - last_write_checksum: sha1:1a89a7f0078785e9fd42cff35683db35af54a7f0 - pristine_git_object: 3495caf684617183be72b192e637a732d1a9fffe + last_write_checksum: sha1:a6022a9868d7f5c70811a8f1fbe743b4069725ce + pristine_git_object: b8d5afca346965054fb14c77fddf82f0ca145f0f src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java: id: 0f8d307217d2 - last_write_checksum: sha1:95e1fcb7ebf7a57b7bdb7725e1ff4b4e24de075a - pristine_git_object: c7fd1a4f9ea261853093b707976a001f9b5876bc + last_write_checksum: sha1:d5f03bd4219cdf001114cbc0a06c8a7e912faf27 + pristine_git_object: 13f14c275df3607ea3e237301444339658140fda src/main/java/com/glean/api_client/glean_api_client/models/components/WritePermission.java: id: 9b4845cee409 last_write_checksum: sha1:7ce7f3d1e2a72b14453f1a680324faeb6363bc53 @@ -5762,12 +5826,16 @@ trackedFiles: pristine_git_object: 460a7a64010afb4f3f6885bece91453bb6b2d389 src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java: id: e2ce83e00dfc - last_write_checksum: sha1:3467fa6ca6dfb54de7bb6311d44810512b7e4753 - pristine_git_object: aa3d4a580ab69c40ef0d45e48f51b23b2582244d + last_write_checksum: sha1:432b8957de83196ef7a4684729ae4ee459dc10ef + pristine_git_object: 3a1f189ceb943c61c0fd9a3c6ad0fff16a725bc2 + src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorResponse.java: + id: f900b82c72e9 + last_write_checksum: sha1:e9eed18b3c1a515d583ad1a4d7a50b347087c8b1 + pristine_git_object: 7d122324a94d20b82b5f6d131dbc774268b85bdd src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java: id: dd08ac4a5cb0 - last_write_checksum: sha1:bfe2733f3e152e276b5c2851404e625540e0a2fe - pristine_git_object: d8540392d3f0168ac0c77a74d996f27646664331 + last_write_checksum: sha1:de6fa763b94c0208c88712b7c93b44897dadc030 + pristine_git_object: c60e3cc4d7e1304fad10f5fc11749a5c36955b5b src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanError.java: id: f76c87475860 last_write_checksum: sha1:7b7283153e6c3fd03b2b841b70eb93e4decb4fb8 @@ -5924,6 +5992,10 @@ trackedFiles: id: 78ce0c6b242c last_write_checksum: sha1:2f9b7d7e999bd1e207f40a19e60fb630a7f971cf pristine_git_object: 2fde01db42ba84789d6fcb1a1c2852aeebe35b4f + ? src/main/java/com/glean/api_client/glean_api_client/models/operations//async/GetDatasourceInstanceConfigurationRequestBuilder.java + : id: 63938814345e + last_write_checksum: sha1:c84974940a4bd5ee836b34297d3e1a3145c31139 + pristine_git_object: 26f0c3fc01a9d9e2a352d6a0887e86580dea4525 src/main/java/com/glean/api_client/glean_api_client/models/operations//async/GetRestApiV1ToolsListRequestBuilder.java: id: d0ece07eab72 last_write_checksum: sha1:6a72e0358371e0d992f430852e10f09745308b78 @@ -6208,6 +6280,10 @@ trackedFiles: id: 33b1df94f00d last_write_checksum: sha1:5bf6760477536c8287d6f3c75ac22303b25d4e29 pristine_git_object: 953304807a1eea3d71440f2b3adcb4d11bc7cae8 + ? src/main/java/com/glean/api_client/glean_api_client/models/operations//async/UpdateDatasourceInstanceConfigurationRequestBuilder.java + : id: 8f7e545b6dc1 + last_write_checksum: sha1:006bdce668bb7e27689e347dd94744551c747b05 + pristine_git_object: bbbbc01dcd64f40d05aef08479be6d4dceee6434 src/main/java/com/glean/api_client/glean_api_client/models/operations//async/UpdateannouncementRequestBuilder.java: id: 47eb06b06a95 last_write_checksum: sha1:06eb0a16ac404a4a8bbe67a395db33803dad93d9 @@ -6656,6 +6732,18 @@ trackedFiles: id: 0f877dbacbcf last_write_checksum: sha1:43a81ac1bf22de71fb50366956901f6e1e1637e6 pristine_git_object: cef6bf061b8ecc2363dd78347acacfe6a8966a14 + src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequest.java: + id: 2720d4773720 + last_write_checksum: sha1:8b1ef0f43938416dfafebdb2eec664876673cf41 + pristine_git_object: 57b0c54fd07282c4339cd8de7ac127aa3f4f28a0 + src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequestBuilder.java: + id: 4b067d8da678 + last_write_checksum: sha1:3cfcedfd889de2c55cadd06a93e69ca409ec0f19 + pristine_git_object: c7fa105e7e026ffae4f3057f8c95816face0a4d2 + src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationResponse.java: + id: e597d9ac1ff4 + last_write_checksum: sha1:6dabf8882d4d76c141c1253cb2ad3466c5000cfc + pristine_git_object: 5cce12f6b05d19cd97ac3a4b0339a3510884619d src/main/java/com/glean/api_client/glean_api_client/models/operations/GetRestApiV1ToolsListRequest.java: id: 5ce062bb2269 last_write_checksum: sha1:3ce5bfe7df0145f8cc7c0060eb6d25e5ba2f7f2f @@ -7372,6 +7460,18 @@ trackedFiles: id: 2bb7bb863947 last_write_checksum: sha1:6cb3e4e191637ba6dac48e8cf90a3b288216f1e8 pristine_git_object: 8989de1eef025744b0d0b3a1d97765e92ca8b74c + src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequest.java: + id: 8196644ac2b4 + last_write_checksum: sha1:f284c5336377f1b6179948bafcc0bc78e726064d + pristine_git_object: 345d177282d790e1923db5959bdb426ddfebb779 + src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequestBuilder.java: + id: fe9e6c91f806 + last_write_checksum: sha1:312c794f9bb6c117d3476e3dad2b430585bcf194 + pristine_git_object: 112d938d61e37c0c6d21f31244885b78b2ac8a8d + src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationResponse.java: + id: 63ee4e1231e3 + last_write_checksum: sha1:8385f6fee90ad4217486a89a74d49d92c7343c09 + pristine_git_object: fec4aa94a3a4d2b072ab2fa4584cbd0248445f7d src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateannouncementRequest.java: id: f9f6507c4e57 last_write_checksum: sha1:a82a1a00146660e7f33eddabf5b777c377e57deb @@ -7584,6 +7684,10 @@ trackedFiles: id: 7abc39060daa last_write_checksum: sha1:81c281784d86fc0d6c84983fdfe12f92b009218d pristine_git_object: 93d97712e5190a64dfd0ed57da950fab2ec75118 + src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationResponse.java: + id: e96306d013c9 + last_write_checksum: sha1:be94be3967adcb78b07e0d3ae3aa28752495bbd5 + pristine_git_object: cd76f542c6dfb0040d5180bb84a41557fa6dbb9c src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetRestApiV1ToolsListResponse.java: id: ba801362e6da last_write_checksum: sha1:c15b7a469ed1d05803d7d6ff561bfc94ca8be18d @@ -7868,6 +7972,10 @@ trackedFiles: id: 198c065ce588 last_write_checksum: sha1:022251861786caf89e4643b128adae9dabc0efea pristine_git_object: 1fbb3cd949b4ad78bb7657bd6c9d20b7018a0ffb + src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationResponse.java: + id: bfbf48f3b549 + last_write_checksum: sha1:105b6853f2e6c860c5328e3b0f28a03a883f9dde + pristine_git_object: 5748d8e4043fe741114b55bacd85ae51fa8bd29f src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateannouncementResponse.java: id: fe1cdfdaa751 last_write_checksum: sha1:9cac32786421eec948ffd79b885f01b49c94b35b @@ -7922,8 +8030,8 @@ trackedFiles: pristine_git_object: 71dfa0b51410abcce44a332d2d5b5ae84e1eb294 src/main/java/com/glean/api_client/glean_api_client/operations/CreateAndStreamRun.java: id: b8ec40595118 - last_write_checksum: sha1:40f5b3c239b019e204c5fba6e745d86472e5a6ca - pristine_git_object: 26ca93af42a155073d7774cd65ef874a17288dfc + last_write_checksum: sha1:d928bc1829366f85af20a6f0f5330c005c72adb8 + pristine_git_object: bf72c4ac710a0c527bbf7386af5f7bab05a37708 src/main/java/com/glean/api_client/glean_api_client/operations/CreateAndWaitRun.java: id: 1a2d40ab4cc8 last_write_checksum: sha1:87ca126714ee840050033d1c642bfd282ebfb55e @@ -8034,12 +8142,16 @@ trackedFiles: pristine_git_object: 2d91c9329117eaa50c8b8eea640f21d64095faea src/main/java/com/glean/api_client/glean_api_client/operations/GetAgent.java: id: e014b71c7d2d - last_write_checksum: sha1:c87bd790d1f154f563345ad486c06e782a9522f8 - pristine_git_object: 4ae983771571cc05b727c587bd12ce4156c9f37d + last_write_checksum: sha1:42312440e12b3c67bfc108fd970b51b4728213ef + pristine_git_object: 99239d6ca966e3a09b06e749c8f8adb1c026ca90 src/main/java/com/glean/api_client/glean_api_client/operations/GetAgentSchemas.java: id: b0bdd6bb4e15 - last_write_checksum: sha1:1e7895e742e60de2c4eac4195283f166c2ab81ee - pristine_git_object: c11637bb1220d355095da13001f6b3f712cabe9e + last_write_checksum: sha1:cd0df9baa614fa332f03d1692740678a4d1dafdd + pristine_git_object: 181b271614a52fe8889526dac6ce86559a84e4ba + src/main/java/com/glean/api_client/glean_api_client/operations/GetDatasourceInstanceConfiguration.java: + id: 46207fe96766 + last_write_checksum: sha1:d9a186013e50161216cd9e6d29376b4a22d7dff4 + pristine_git_object: 4597fd97e5c1777ec6baf0a1f0c745fa7a116b44 src/main/java/com/glean/api_client/glean_api_client/operations/GetRestApiV1ToolsList.java: id: 50c6bb08a25c last_write_checksum: sha1:fbb59220c5fe3d14214987130e1bfb577474d388 @@ -8314,8 +8426,8 @@ trackedFiles: pristine_git_object: e1e85f52a86c6262b6be9a2293f97136a6f07893 src/main/java/com/glean/api_client/glean_api_client/operations/SearchAgents.java: id: d5fd9d23c122 - last_write_checksum: sha1:4a36c7ed2ab5cd7edb14937226a93073419cd943 - pristine_git_object: 18af75463cd5818658f62fc722bdde373a01188b + last_write_checksum: sha1:9d3061a0d9b2c2abc60106f4e110a5f83b48b4fe + pristine_git_object: e0c5030b93365599fd6a6913adf63b9adb5531f7 src/main/java/com/glean/api_client/glean_api_client/operations/Setdocvisibility.java: id: 0368d9d8a532 last_write_checksum: sha1:c0507467d773ac587a2c10941339fed48c0092b1 @@ -8328,6 +8440,10 @@ trackedFiles: id: ac23b649ea51 last_write_checksum: sha1:a7eb2fe29a07377427948b35263fc5be659a0f46 pristine_git_object: e8dfa9153a67ee5b7dc98efe6278eb151db1ec0c + src/main/java/com/glean/api_client/glean_api_client/operations/UpdateDatasourceInstanceConfiguration.java: + id: ee8fcd2b1f66 + last_write_checksum: sha1:cacb07ca73bba29ac88010e353e0cbcc859cf714 + pristine_git_object: a444e323b16a8a733f10f0cbf81c41c6c5ae65aa src/main/java/com/glean/api_client/glean_api_client/operations/Updateannouncement.java: id: c87fe8fab694 last_write_checksum: sha1:7373bdda29d1269de5d0d91f8f3f654e0f277906 @@ -8688,7 +8804,7 @@ examples: application/json: {"messages": [{"author": "USER", "fragments": [{"text": "Who was the first person to land on the moon?"}], "messageType": "CONTENT"}], "agentConfig": {"agent": "GPT"}} responses: "200": - application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "backendTimeMillis": 1100, "unauthorizedDatasourceInstances": [{"datasourceInstance": "slack_0", "displayName": "Slack"}]} + application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "backendTimeMillis": 1100} streamingExample: requestBody: application/json: {"messages": [{"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}, {"author": "USER", "citations": [{"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "sourceFile": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "sourcePerson": {"name": "George Clooney", "obfuscatedId": "abc123"}, "referenceRanges": [{"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"textRange": {"startIndex": 260313, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "fragments": [{"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}, {"structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}, {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "relationship": "MEMBER"}], "customFields": [{"label": "", "values": [{}], "displayable": true}], "datasourceProfiles": [{"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "ANSWER_MODERATOR"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "EDITOR"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}, "role": "OWNER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}, {"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "likedByUser": true, "numLikes": 412487}, "author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 587641}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 633695}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "collections": [{"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}, {"name": "", "description": "vicinity officially eek fondly hmph clinking um ah circa well-groomed", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 345790, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "items": [{"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}, {"collectionId": 765696, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "itemType": "URL"}]}], "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "extractedQnA": {"questionResult": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}}, "collection": {"name": "", "description": "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 444084, "creator": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "code": {"repoName": "scio", "fileName": "README.md"}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}, "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "relatedQuestion": {"ranges": [{"startIndex": 367849, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}]}}], "querySuggestion": {"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}, "file": {"id": "FILE_1234", "url": "www.google.com", "name": "sample.pdf"}, "action": {"metadata": {"type": "RETRIEVAL", "name": "", "displayName": "Avis_Gislason87", "displayDescription": "", "objectName": "[\"HR ticket\",\"Email\",\"Chat message\"]"}}}], "messageType": "CONTENT"}], "timeoutMillis": 30000} @@ -8789,6 +8905,8 @@ examples: responses: "200": application/json: {"agent_id": "mho4lwzylcozgoc2", "name": "HR Policy Agent", "description": "This agent answers questions about the current company HR policies.", "capabilities": {}} + "404": + application/json: {} getAgentSchemas: speakeasy-default-get-agent-schemas: parameters: @@ -8798,6 +8916,8 @@ examples: responses: "200": application/json: {"agent_id": "mho4lwzylcozgoc2", "input_schema": {}, "output_schema": {}} + "404": + application/json: {} searchAgents: speakeasy-default-search-agents: requestBody: @@ -8805,6 +8925,8 @@ examples: responses: "200": application/json: {"agents": [{"agent_id": "mho4lwzylcozgoc2", "name": "HR Policy Agent", "description": "This agent answers questions about the current company HR policies.", "capabilities": {}}]} + "404": + application/json: {} createAndStreamRun: speakeasy-default-create-and-stream-run: requestBody: @@ -8812,6 +8934,8 @@ examples: responses: "200": text/event-stream: "" + "404": + application/json: {} createAndWaitRun: speakeasy-default-create-and-wait-run: requestBody: @@ -8959,7 +9083,7 @@ examples: "200": application/json: {"trackingToken": "trackingToken", "results": [{"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}], "errorInfo": {"errorMessages": [{"source": "gmail", "errorMessage": "invalid token"}, {"source": "slack", "errorMessage": "expired token"}]}, "requestID": "5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100", "facetResults": [{"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}, {"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}], "rewrittenFacetFilters": [{"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}, {"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}], "hasMoreResults": true} "403": - application/json: {"unauthorizedDatasourceInstances": [{"datasourceInstance": "slack_0", "displayName": "Slack"}]} + application/json: {} autocomplete: speakeasy-default-autocomplete: requestBody: @@ -8980,7 +9104,7 @@ examples: application/json: {"sourceDocument": {"containerDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "parentDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": "abc123"}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "pageSize": 100, "maxSnippetSize": 400, "requestOptions": {"facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "context": {"containerDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "parentDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": ""}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}, "metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "name", "obfuscatedId": "abc123"}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "customData": {"someCustomField": {}}}}}} responses: "200": - application/json: {"results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}], "structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, {"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "relationship": "MEMBER"}], "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, {"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "likedByUser": false, "numLikes": 216075}, "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}, {"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, "extractedQnA": {"questionResult": {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, {"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}], "relatedResults": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 166582, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}], "inputDetails": {"hasCopyPaste": true}}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 166582, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}], "inputDetails": {"hasCopyPaste": true}}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 166582, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}], "inputDetails": {"hasCopyPaste": true}}}], "allClusteredResults": [{"visibleCountHint": 667032}, {"visibleCountHint": 667032}], "mustIncludeSuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, "querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 976775, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "inputDetails": {"hasCopyPaste": true}}}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}}, "collection": {"name": "", "description": "officially ew chime profitable phooey culture cheetah like above buzzing", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 558364, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 120672}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}, {"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 120672}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, "code": {"repoName": "scio", "fileName": "README.md", "lines": [{}, {}, {}]}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 120672}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}], "generatedQnaResult": {"ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}]}, "errorInfo": {"unauthorizedDatasourceInstances": [{"datasourceInstance": "slack_0", "displayName": "Slack"}]}, "backendTimeMillis": 1100} + application/json: {"results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}], "structuredResults": [{"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, {"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "customer": {"id": "", "company": {"name": "", "location": "New York City", "industry": "Finances", "about": "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City"}, "poc": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "notes": "CIO is interested in trying out the product."}, "team": {"id": "", "name": "", "members": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "relationship": "MEMBER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "relationship": "MEMBER"}], "datasourceProfiles": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "status": "PROCESSED", "canBeDeleted": true}, "customEntity": {"roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "answer": {"id": 3, "docId": "ANSWERS_answer_3", "question": "Why is the sky blue?", "bodyText": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "combinedAnswerText": {"text": "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", "structuredList": [{"link": "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, {"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "text": "Because its wavelengths are shorter, blue light is more strongly scattered than the longer-wavelength lights, red or green. Hence the result that when looking at the sky away from the direct incident sunlight, the human eye perceives the sky to be blue."}]}, "likes": {"likedBy": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"user": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "likedByUser": false, "numLikes": 216075}, "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "sourceDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}, {"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, "extractedQnA": {"questionResult": {"document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 711201, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124}, {"startIndex": 707124}], "inputDetails": {"hasCopyPaste": true}}}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "mentionedPeople": [{"name": "George Clooney", "obfuscatedId": "abc123"}], "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": "", "attribution": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "collections": [{"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, {"name": "", "description": "hence why at epic only supposing", "addedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "removedRoles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 253796, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}], "interactions": {"reacts": [{"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}, {"reactors": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}], "shares": [{"numDaysAgo": 652391, "sharer": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}, "verification": {"state": "DEPRECATED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 611121}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 148513}, "candidateVerifiers": [{"name": "George Clooney", "obfuscatedId": "abc123"}]}}, "shortcuts": [{"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}], "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}], "relatedResults": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 166582, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}], "inputDetails": {"hasCopyPaste": true}}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 166582, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}], "inputDetails": {"hasCopyPaste": true}}}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 166582, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}], "inputDetails": {"hasCopyPaste": true}}}], "allClusteredResults": [{"visibleCountHint": 667032}, {"visibleCountHint": 667032}], "mustIncludeSuggestions": {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, "querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "facetFilterSets": [{"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}, {"filters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}]}], "facetBucketSize": 976775, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "inputDetails": {"hasCopyPaste": true}}}}, "meeting": {"attendees": {"people": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}, {"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}]}}, "collection": {"name": "", "description": "officially ew chime profitable phooey culture cheetah like above buzzing", "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 558364, "creator": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "items": [{"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 120672}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}, {"collectionId": 94361, "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 120672}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "itemType": "URL"}]}, "code": {"repoName": "scio", "fileName": "README.md", "lines": [{}, {}, {}]}, "shortcut": {"inputAlias": "", "createdBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "destinationDocument": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "UNVERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 120672}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}, "roles": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}]}, "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "role": "VERIFIER"}]}, "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}], "generatedQnaResult": {"ranges": [{"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}, {"startIndex": 707124, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "author": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "owner": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "components": ["Backend", "Networking"], "status": "[\"Done\"]", "assignedTo": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "updatedBy": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "verification": {"state": "VERIFIED", "metadata": {"lastVerifier": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}, {"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "requestor": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "remindAt": 284307}}}, "customData": {"someCustomField": {}}, "contactPerson": {"name": "George Clooney", "obfuscatedId": "abc123", "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}}}}]}, "backendTimeMillis": 1100} search: speakeasy-default-search: requestBody: @@ -8989,7 +9113,7 @@ examples: "200": application/json: {"trackingToken": "trackingToken", "results": [{"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}], "errorInfo": {"errorMessages": [{"source": "gmail", "errorMessage": "invalid token"}, {"source": "slack", "errorMessage": "expired token"}]}, "requestID": "5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100", "facetResults": [{"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}, {"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}], "rewrittenFacetFilters": [{"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}, {"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}], "hasMoreResults": true} "403": - application/json: {"unauthorizedDatasourceInstances": [{"datasourceInstance": "slack_0", "displayName": "Slack"}]} + application/json: {} listentities: speakeasy-default-listentities: requestBody: @@ -9353,6 +9477,30 @@ examples: responses: "200": application/json: {"unauthorizedDatasourceInstances": [{"datasourceInstance": "slack_0", "displayName": "Slack"}]} + getDatasourceInstanceConfiguration: + speakeasy-default-get-datasource-instance-configuration: + parameters: + path: + datasourceId: "o365sharepoint" + instanceId: "o365sharepoint_abc123" + responses: + "200": + application/json: {"configuration": {"values": {"key": {}}}} + "400": + application/json: {} + updateDatasourceInstanceConfiguration: + speakeasy-default-update-datasource-instance-configuration: + parameters: + path: + datasourceId: "o365sharepoint" + instanceId: "o365sharepoint_abc123" + requestBody: + application/json: {"configuration": {"values": {}}} + responses: + "200": + application/json: {"configuration": {"values": {}}} + "400": + application/json: {} examplesVersion: 1.0.2 generatedTests: activity: "2025-06-09T18:03:44Z" @@ -9495,9 +9643,7 @@ generatedTests: get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z" post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z" listpolicies: "2025-06-09T18:03:44Z" -releaseNotes: | - ## Java SDK Changes: - * `glean.authentication.checkdatasourceauth()`: `response.unauthorizedDatasourceInstances` **Changed** +releaseNotes: "## Java SDK Changes:\n* `glean.client.messages.retrieve()`: `response.searchResponse.gleanDataError.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n* `glean.client.search.query()`: \n * `response.gleanDataError.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n * `error.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n* `glean.client.chat.create()`: `response.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n* `glean.client.search.recommendations()`: `response.gleanDataError.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n* `glean.client.search.autocomplete()`: `response.gleanDataError.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n* `glean.client.search.queryAsAdmin()`: \n * `response.gleanDataError.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n * `error.unauthorizedDatasourceInstances` **Removed** (Breaking ⚠️)\n* `glean.client.agents.retrieve()`: `error.status[404]` **Added**\n* `glean.client.agents.runStream()`: `error` **Changed**\n* `glean.client.agents.list()`: `error` **Changed**\n* `glean.client.agents.retrieveSchemas()`: \n * `response.tools[]` **Changed**\n * `error` **Changed**\n* `glean.datasources.getDatasourceInstanceConfiguration()`: **Added**\n* `glean.datasources.updateDatasourceInstanceConfiguration()`: **Added**\n* `glean.indexing.people.bulkIndex()`: **Deprecated**\n" generatedFiles: - .gitattributes - USAGE.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index a1b99ac8..fb8a71e0 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -14,6 +14,7 @@ generation: securityFeb2025: true sharedErrorComponentsApr2025: false sharedNestedComponentsJan2026: false + nameOverrideFeb2026: false auth: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true @@ -28,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 0.12.23 + version: 0.12.24 additionalDependencies: [] additionalPlugins: [] artifactID: glean-api-client diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index b24210bd..9a834cec 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: version: 0.9.0 title: Glean API - x-source-commit-sha: b9ea91029b2b66b64b5145cea87d0bbfc2dd6a6e + x-source-commit-sha: 716ecb2c8085d0f207f3bd1581d87c742c2338f1 description: | # Introduction In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean. @@ -22,7 +22,7 @@ info: These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice. x-logo: url: https://app.glean.com/images/glean-text2.svg - x-open-api-commit-sha: ef44a085147b249f40ce92e135abb4c6e5439d7d + x-open-api-commit-sha: d6d4b1c9fbabc1b8b326a1ef1c6a861b58625c3d x-speakeasy-name: 'Glean API' servers: - url: https://{instance}-be.glean.com @@ -3122,6 +3122,13 @@ paths: description: Not Authorized "409": description: Conflict + deprecated: true + x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" + x-glean-deprecated: + id: ce596f49-55c4-465e-bf3c-5a3a33906e1f + introduced: "2026-02-03" + message: Endpoint is deprecated + removal: "2026-10-15" x-speakeasy-name-override: bulkIndex x-speakeasy-group: indexing.people /api/index/v1/indexemployeelist: {} @@ -3676,6 +3683,89 @@ paths: "500": description: Internal error x-visibility: Public + /rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}: + get: + operationId: getDatasourceInstanceConfiguration + summary: Get datasource instance configuration + description: | + Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. + tags: + - Datasources + parameters: + - $ref: '#/components/parameters/datasourceId' + - $ref: '#/components/parameters/instanceId' + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/DatasourceConfigurationResponse' + "400": + description: Invalid request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + "401": + description: Not authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + "404": + description: Datasource instance not found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-visibility: Preview + patch: + operationId: updateDatasourceInstanceConfiguration + summary: Update datasource instance configuration + description: | + Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. + tags: + - Datasources + parameters: + - $ref: '#/components/parameters/datasourceId' + - $ref: '#/components/parameters/instanceId' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateDatasourceConfigurationRequest' + required: true + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/DatasourceConfigurationResponse' + "400": + description: Invalid request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + "401": + description: Not authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + "404": + description: Datasource instance not found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-visibility: Preview /rest/api/v1/chat#stream: post: tags: @@ -6547,16 +6637,34 @@ components: deprecated: true description: The person that invited this person. $ref: "#/components/schemas/Person" + x-glean-deprecated: + id: 1d3cd23f-9085-4378-b466-9bdc2e344a71 + introduced: "2026-02-05" + message: Use ChannelInviteInfo instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead" inviteTime: deprecated: true type: string format: date-time description: The time this person was invited in ISO format (ISO 8601). + x-glean-deprecated: + id: 2dc3f572-cded-483d-af07-fc9fc7fd0ae4 + introduced: "2026-02-05" + message: Use ChannelInviteInfo instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead" reminderTime: deprecated: true type: string format: date-time description: The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. + x-glean-deprecated: + id: d02d58cf-eb90-45d0-ab90-f7a9d707ae3c + introduced: "2026-02-05" + message: Use ChannelInviteInfo instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead" ReadPermission: description: Describes the read permission level that a user has for a specific feature properties: @@ -7944,12 +8052,6 @@ components: chatSessionTrackingToken: type: string description: A token that is used to track the session. - unauthorizedDatasourceInstances: - type: array - description: | - Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth, aggregated across all tools invoked in this turn. - items: - $ref: "#/components/schemas/UnauthorizedDatasourceInstance" DeleteChatsRequest: required: - ids @@ -8107,9 +8209,12 @@ components: description: Whether the agent supports streaming output. If true, you you can stream agent ouput. All agents currently support streaming. additionalProperties: true ErrorResponse: - type: string - title: ErrorResponse - description: Error message returned from the server + type: object + description: Error response returned for failed requests + properties: + message: + type: string + description: Client-facing error message describing what went wrong ActionSummary: type: object description: Represents a minimal summary of an action. @@ -8123,6 +8228,32 @@ components: display_name: type: string description: The display name of the action. + type: + type: string + description: The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + auth_type: + type: string + description: The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide delegation), or NONE. + write_action_type: + type: string + description: For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + is_setup_finished: + type: boolean + description: Whether this action has been fully configured and validated. + x-includeEmpty: true + data_source: + type: string + description: | + Indicates the kind of knowledge a tool would access or modify. + Company knowledge: + - Glean search, and any native tools that derive from it (e.g., expert search, code search) + - Native federated tools to company data sources (e.g., outlook search) + World knowledge: + - Native tools that bring in public content (e.g., web browser) + - Platform action like bingwebsearch, geminiwebsearch, etc + Neutral knowledge: + - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + - Platform read or write tools (creator has to determine their knowledge implications) AgentSchemas: properties: agent_id: @@ -9026,12 +9157,6 @@ components: federatedSearchRateLimitError: type: boolean description: Indicates the federated search results could not be fetched due to rate limiting. - unauthorizedDatasourceInstances: - type: array - description: | - Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth. - items: - $ref: "#/components/schemas/UnauthorizedDatasourceInstance" x-speakeasy-name-override: GleanDataError ResultsResponse: properties: @@ -13217,6 +13342,49 @@ components: items: type: string description: List of field names to exclude from the export + ConfigurationValue: + type: object + properties: + value: + type: string + description: The configuration value as a string. Only one of value or valueList should be populated. + valueList: + type: array + items: + type: string + description: The configuration value as a list of strings. Only one of value or valueList should be populated. + description: A single configuration value, either a scalar or a list + ConfigurationValues: + type: object + additionalProperties: + $ref: '#/components/schemas/ConfigurationValue' + description: A map from configuration key names to their values + DatasourceInstanceConfiguration: + type: object + properties: + values: + $ref: '#/components/schemas/ConfigurationValues' + required: + - values + description: Configuration for a datasource instance + DatasourceConfigurationResponse: + type: object + properties: + configuration: + $ref: '#/components/schemas/DatasourceInstanceConfiguration' + required: + - configuration + description: | + The greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist are included. + UpdateDatasourceConfigurationRequest: + type: object + properties: + configuration: + $ref: '#/components/schemas/DatasourceInstanceConfiguration' + required: + - configuration + description: | + Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set. ChatRequestStream: required: - messages @@ -13274,6 +13442,22 @@ components: description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. schema: type: integer + datasourceId: + name: datasourceId + in: path + description: The datasource type identifier (e.g. o365sharepoint) + required: true + schema: + type: string + example: o365sharepoint + instanceId: + name: instanceId + in: path + description: The datasource instance identifier + required: true + schema: + type: string + example: o365sharepoint_abc123 responses: SuccessResponse: description: OK diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 128a4cdb..071159b9 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.722.7 +speakeasyVersion: 1.730.1 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:d5821c86abba62ae5c86977e91a4226c5f3c60081aca52768fb6924cc1f4e721 - sourceBlobDigest: sha256:25bbf44aeb95dac432ddbae594ee0954e8df205a2b24bac7855b1f3e56624d83 + sourceRevisionDigest: sha256:abf7cbda147336e4de5a07259def30420fc81aca0b62a96cab4568fd49928ed0 + sourceBlobDigest: sha256:73c0b581675285c216b5059c76b25d8566b887c258058be47949c9fa9c642e73 tags: - latest - - speakeasy-sdk-regen-1771525186 + - speakeasy-sdk-regen-1771641359 Glean-OAS: sourceNamespace: glean-oas sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317 @@ -18,10 +18,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:d5821c86abba62ae5c86977e91a4226c5f3c60081aca52768fb6924cc1f4e721 - sourceBlobDigest: sha256:25bbf44aeb95dac432ddbae594ee0954e8df205a2b24bac7855b1f3e56624d83 + sourceRevisionDigest: sha256:abf7cbda147336e4de5a07259def30420fc81aca0b62a96cab4568fd49928ed0 + sourceBlobDigest: sha256:73c0b581675285c216b5059c76b25d8566b887c258058be47949c9fa9c642e73 codeSamplesNamespace: glean-api-specs-java-code-samples - codeSamplesRevisionDigest: sha256:20200550df64700f76dee5b1c099271d649b72a7a845352b2162c87dd708b0a2 + codeSamplesRevisionDigest: sha256:35128dbabd836dbe5af7a40941ec25e3c0ee2199708237a0e3391bca81b1719a workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 34a03e33..99944b23 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.glean.api-client:glean-api-client:0.12.23' +implementation 'com.glean.api-client:glean-api-client:0.12.24' ``` Maven: @@ -74,7 +74,7 @@ Maven: com.glean.api-client glean-api-client - 0.12.23 + 0.12.24 ``` @@ -531,6 +531,11 @@ For more information on obtaining the appropriate token type, please contact you * [list](docs/sdks/verification/README.md#list) - List verifications * [verify](docs/sdks/verification/README.md#verify) - Update verification +### [Datasources](docs/sdks/datasources/README.md) + +* [getDatasourceInstanceConfiguration](docs/sdks/datasources/README.md#getdatasourceinstanceconfiguration) - Get datasource instance configuration +* [updateDatasourceInstanceConfiguration](docs/sdks/datasources/README.md#updatedatasourceinstanceconfiguration) - Update datasource instance configuration + ### [Governance](docs/sdks/governance/README.md) * [createfindingsexport](docs/sdks/governance/README.md#createfindingsexport) - Creates findings export @@ -547,10 +552,10 @@ For more information on obtaining the appropriate token type, please contact you * [status](docs/sdks/datasource/README.md#status) - Beta: Get datasource status -### [Indexing.Datasources](docs/sdks/datasources/README.md) +### [Indexing.Datasources](docs/sdks/indexingdatasources/README.md) -* [add](docs/sdks/datasources/README.md#add) - Add or update datasource -* [retrieveConfig](docs/sdks/datasources/README.md#retrieveconfig) - Get datasource config +* [add](docs/sdks/indexingdatasources/README.md#add) - Add or update datasource +* [retrieveConfig](docs/sdks/indexingdatasources/README.md#retrieveconfig) - Get datasource config ### [Indexing.Documents](docs/sdks/indexingdocuments/README.md) @@ -573,7 +578,7 @@ For more information on obtaining the appropriate token type, please contact you * [~~count~~](docs/sdks/people/README.md#count) - Get user count :warning: **Deprecated** * [index](docs/sdks/people/README.md#index) - Index employee -* [bulkIndex](docs/sdks/people/README.md#bulkindex) - Bulk index employees +* [~~bulkIndex~~](docs/sdks/people/README.md#bulkindex) - Bulk index employees :warning: **Deprecated** * [processAllEmployeesAndTeams](docs/sdks/people/README.md#processallemployeesandteams) - Schedules the processing of uploaded employees and teams * [delete](docs/sdks/people/README.md#delete) - Delete employee * [indexTeam](docs/sdks/people/README.md#indexteam) - Index team @@ -625,626 +630,28 @@ Handling errors in this SDK should largely match your expectations. All operatio package hello.world; import com.glean.api_client.glean_api_client.Glean; -import com.glean.api_client.glean_api_client.models.components.*; -import com.glean.api_client.glean_api_client.models.errors.*; -import com.glean.api_client.glean_api_client.models.operations.CreatecollectionResponse; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; +import com.glean.api_client.glean_api_client.models.errors.GleanError; +import com.glean.api_client.glean_api_client.models.operations.GetAgentResponse; import java.io.UncheckedIOException; import java.lang.Exception; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.*; +import java.lang.String; +import java.util.Optional; public class Application { - public static void main(String[] args) throws CollectionError, Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) .build(); try { - CreatecollectionResponse res = sdk.client().collections().create() - .createCollectionRequest(CreateCollectionRequest.builder() - .name("") - .addedRoles(List.of( - UserRoleSpecification.builder() - .role(UserRole.VERIFIER) - .person(Person.builder() - .name("George Clooney") - .obfuscatedId("abc123") - .relatedDocuments(List.of( - RelatedDocuments.builder() - .querySuggestion(QuerySuggestion.builder() - .query("app:github type:pull author:mortimer") - .searchProviderInfo(SearchProviderInfo.builder() - .name("Google") - .searchLinkUrlTemplate("https://www.google.com/search?q={query}&hl=en") - .build()) - .label("Mortimer's PRs") - .datasource("github") - .requestOptions(SearchRequestOptions.builder() - .facetBucketSize(977077L) - .datasourceFilter("JIRA") - .datasourcesFilter(List.of( - "JIRA")) - .queryOverridesFacetFilters(true) - .facetFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .facetFilterSets(List.of( - FacetFilterSet.builder() - .filters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build(), - FacetFilterSet.builder() - .filters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build(), - FacetFilterSet.builder() - .filters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build())) - .authTokens(List.of( - AuthToken.builder() - .accessToken("123abc") - .datasource("gmail") - .scope("email profile https://www.googleapis.com/auth/gmail.readonly") - .tokenType("Bearer") - .authUser("1") - .build())) - .build()) - .ranges(List.of( - TextRange.builder() - .startIndex(86650L) - .document(Document.builder() - .metadata(DocumentMetadata.builder() - .datasource("datasource") - .objectType("Feature Request") - .container("container") - .parentId("JIRA_EN-1337") - .mimeType("mimeType") - .documentId("documentId") - .createTime(OffsetDateTime.parse("2000-01-23T04:56:07.000Z")) - .updateTime(OffsetDateTime.parse("2000-01-23T04:56:07.000Z")) - .components(List.of( - "Backend", - "Networking")) - .status("[\"Done\"]") - .pins(List.of( - PinDocument.builder() - .documentId("") - .audienceFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build())) - .collections(List.of( - Collection.builder() - .name("") - .description("meaty dial elegantly while react") - .id(854591L) - .audienceFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .items(List.of( - CollectionItem.builder() - .collectionId(697663L) - .itemType(CollectionItemItemType.TEXT) - .shortcut(Shortcut.builder() - .inputAlias("") - .build()) - .build(), - CollectionItem.builder() - .collectionId(697663L) - .itemType(CollectionItemItemType.TEXT) - .shortcut(Shortcut.builder() - .inputAlias("") - .build()) - .build(), - CollectionItem.builder() - .collectionId(697663L) - .itemType(CollectionItemItemType.TEXT) - .shortcut(Shortcut.builder() - .inputAlias("") - .build()) - .build())) - .build())) - .interactions(DocumentInteractions.builder() - .reacts(List.of( - Reaction.builder() - .build(), - Reaction.builder() - .build())) - .shares(List.of( - Share.builder() - .numDaysAgo(365776L) - .build(), - Share.builder() - .numDaysAgo(365776L) - .build(), - Share.builder() - .numDaysAgo(365776L) - .build())) - .build()) - .verification(Verification.builder() - .state(State.DEPRECATED) - .metadata(VerificationMetadata.builder() - .reminders(List.of( - Reminder.builder() - .assignee(Person.builder() - .name("George Clooney") - .obfuscatedId("abc123") - .build()) - .remindAt(268615L) - .build())) - .lastReminder(Reminder.builder() - .assignee(Person.builder() - .name("George Clooney") - .obfuscatedId("abc123") - .build()) - .remindAt(423482L) - .build()) - .build()) - .build()) - .shortcuts(List.of( - Shortcut.builder() - .inputAlias("") - .build(), - Shortcut.builder() - .inputAlias("") - .build(), - Shortcut.builder() - .inputAlias("") - .build())) - .customData(Map.ofEntries( - Map.entry("someCustomField", CustomDataValue.builder() - .build()))) - .build()) - .build()) - .build())) - .inputDetails(SearchRequestInputDetails.builder() - .hasCopyPaste(true) - .build()) - .build()) - .results(List.of( - SearchResult.builder() - .url("https://example.com/foo/bar") - .title("title") - .nativeAppUrl("slack://foo/bar") - .snippets(List.of( - SearchResultSnippet.builder() - .snippet("snippet") - .mimeType("mimeType") - .build())) - .build())) - .build(), - RelatedDocuments.builder() - .querySuggestion(QuerySuggestion.builder() - .query("app:github type:pull author:mortimer") - .searchProviderInfo(SearchProviderInfo.builder() - .name("Google") - .searchLinkUrlTemplate("https://www.google.com/search?q={query}&hl=en") - .build()) - .label("Mortimer's PRs") - .datasource("github") - .requestOptions(SearchRequestOptions.builder() - .facetBucketSize(977077L) - .datasourceFilter("JIRA") - .datasourcesFilter(List.of( - "JIRA")) - .queryOverridesFacetFilters(true) - .facetFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .facetFilterSets(List.of( - FacetFilterSet.builder() - .filters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build(), - FacetFilterSet.builder() - .filters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build(), - FacetFilterSet.builder() - .filters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build())) - .authTokens(List.of( - AuthToken.builder() - .accessToken("123abc") - .datasource("gmail") - .scope("email profile https://www.googleapis.com/auth/gmail.readonly") - .tokenType("Bearer") - .authUser("1") - .build())) - .build()) - .ranges(List.of( - TextRange.builder() - .startIndex(86650L) - .document(Document.builder() - .metadata(DocumentMetadata.builder() - .datasource("datasource") - .objectType("Feature Request") - .container("container") - .parentId("JIRA_EN-1337") - .mimeType("mimeType") - .documentId("documentId") - .createTime(OffsetDateTime.parse("2000-01-23T04:56:07.000Z")) - .updateTime(OffsetDateTime.parse("2000-01-23T04:56:07.000Z")) - .components(List.of( - "Backend", - "Networking")) - .status("[\"Done\"]") - .pins(List.of( - PinDocument.builder() - .documentId("") - .audienceFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build())) - .collections(List.of( - Collection.builder() - .name("") - .description("meaty dial elegantly while react") - .id(854591L) - .audienceFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .items(List.of( - CollectionItem.builder() - .collectionId(697663L) - .itemType(CollectionItemItemType.TEXT) - .shortcut(Shortcut.builder() - .inputAlias("") - .build()) - .build(), - CollectionItem.builder() - .collectionId(697663L) - .itemType(CollectionItemItemType.TEXT) - .shortcut(Shortcut.builder() - .inputAlias("") - .build()) - .build(), - CollectionItem.builder() - .collectionId(697663L) - .itemType(CollectionItemItemType.TEXT) - .shortcut(Shortcut.builder() - .inputAlias("") - .build()) - .build())) - .build())) - .interactions(DocumentInteractions.builder() - .reacts(List.of( - Reaction.builder() - .build(), - Reaction.builder() - .build())) - .shares(List.of( - Share.builder() - .numDaysAgo(365776L) - .build(), - Share.builder() - .numDaysAgo(365776L) - .build(), - Share.builder() - .numDaysAgo(365776L) - .build())) - .build()) - .verification(Verification.builder() - .state(State.DEPRECATED) - .metadata(VerificationMetadata.builder() - .reminders(List.of( - Reminder.builder() - .assignee(Person.builder() - .name("George Clooney") - .obfuscatedId("abc123") - .build()) - .remindAt(268615L) - .build())) - .lastReminder(Reminder.builder() - .assignee(Person.builder() - .name("George Clooney") - .obfuscatedId("abc123") - .build()) - .remindAt(423482L) - .build()) - .build()) - .build()) - .shortcuts(List.of( - Shortcut.builder() - .inputAlias("") - .build(), - Shortcut.builder() - .inputAlias("") - .build(), - Shortcut.builder() - .inputAlias("") - .build())) - .customData(Map.ofEntries( - Map.entry("someCustomField", CustomDataValue.builder() - .build()))) - .build()) - .build()) - .build())) - .inputDetails(SearchRequestInputDetails.builder() - .hasCopyPaste(true) - .build()) - .build()) - .results(List.of( - SearchResult.builder() - .url("https://example.com/foo/bar") - .title("title") - .nativeAppUrl("slack://foo/bar") - .snippets(List.of( - SearchResultSnippet.builder() - .snippet("snippet") - .mimeType("mimeType") - .build())) - .build())) - .build())) - .metadata(PersonMetadata.builder() - .type(PersonMetadataType.FULL_TIME) - .title("Actor") - .department("Movies") - .email("george@example.com") - .location("Hollywood, CA") - .phone("6505551234") - .photoUrl("https://example.com/george.jpg") - .startDate(LocalDate.parse("2000-01-23")) - .datasourceProfile(List.of( - DatasourceProfile.builder() - .datasource("github") - .handle("") - .build(), - DatasourceProfile.builder() - .datasource("github") - .handle("") - .build())) - .querySuggestions(QuerySuggestionList.builder() - .suggestions(List.of( - QuerySuggestion.builder() - .query("app:github type:pull author:mortimer") - .label("Mortimer's PRs") - .datasource("github") - .build())) - .build()) - .inviteInfo(InviteInfo.builder() - .invites(List.of( - ChannelInviteInfo.builder() - .build(), - ChannelInviteInfo.builder() - .build())) - .build()) - .customFields(List.of( - CustomFieldData.builder() - .label("") - .values(List.of( - CustomFieldValue.of(CustomFieldValueStr.builder() - .build()), - CustomFieldValue.of(CustomFieldValueStr.builder() - .build()), - CustomFieldValue.of(CustomFieldValueStr.builder() - .build()))) - .build(), - CustomFieldData.builder() - .label("") - .values(List.of( - CustomFieldValue.of(CustomFieldValueStr.builder() - .build()), - CustomFieldValue.of(CustomFieldValueStr.builder() - .build()), - CustomFieldValue.of(CustomFieldValueStr.builder() - .build()))) - .build())) - .badges(List.of( - Badge.builder() - .key("deployment_name_new_hire") - .displayName("New hire") - .iconConfig(IconConfig.builder() - .color("#343CED") - .key("person_icon") - .iconType(IconType.GLYPH) - .name("user") - .build()) - .build())) - .build()) - .build()) - .build())) - .removedRoles(List.of( - UserRoleSpecification.builder() - .role(UserRole.VIEWER) - .person(Person.builder() - .name("George Clooney") - .obfuscatedId("abc123") - .metadata(PersonMetadata.builder() - .type(PersonMetadataType.FULL_TIME) - .title("Actor") - .department("Movies") - .email("george@example.com") - .location("Hollywood, CA") - .phone("6505551234") - .photoUrl("https://example.com/george.jpg") - .startDate(LocalDate.parse("2000-01-23")) - .datasourceProfile(List.of( - DatasourceProfile.builder() - .datasource("github") - .handle("") - .build(), - DatasourceProfile.builder() - .datasource("github") - .handle("") - .build())) - .querySuggestions(QuerySuggestionList.builder() - .suggestions(List.of( - QuerySuggestion.builder() - .query("app:github type:pull author:mortimer") - .label("Mortimer's PRs") - .datasource("github") - .build())) - .build()) - .inviteInfo(InviteInfo.builder() - .invites(List.of( - ChannelInviteInfo.builder() - .build(), - ChannelInviteInfo.builder() - .build())) - .build()) - .badges(List.of( - Badge.builder() - .key("deployment_name_new_hire") - .displayName("New hire") - .iconConfig(IconConfig.builder() - .color("#343CED") - .key("person_icon") - .iconType(IconType.GLYPH) - .name("user") - .build()) - .build())) - .build()) - .build()) - .build())) - .audienceFilters(List.of( - FacetFilter.builder() - .fieldName("type") - .values(List.of( - FacetFilterValue.builder() - .value("Spreadsheet") - .relationType(RelationType.EQUALS) - .build(), - FacetFilterValue.builder() - .value("Presentation") - .relationType(RelationType.EQUALS) - .build())) - .build())) - .build()) + GetAgentResponse res = sdk.client().agents().retrieve() + .agentId("") .call(); - if (res.oneOf().isPresent()) { + if (res.agent().isPresent()) { // handle response } } catch (GleanError ex) { // all SDK exceptions inherit from GleanError @@ -1262,11 +669,11 @@ public class Application { // different error subclasses may be thrown // depending on the service call - if (ex instanceof CollectionError) { - var e = (CollectionError) ex; + if (ex instanceof ErrorResponse) { + var e = (ErrorResponse) ex; // Check error data fields e.data().ifPresent(payload -> { - ErrorCode errorCode = payload.errorCode(); + Optional message = payload.message(); }); } @@ -1286,7 +693,7 @@ public class Application { **Primary error:** * [`GleanError`](./src/main/java/models/errors/GleanError.java): The base class for HTTP error responses. -
Less common errors (8) +
Less common errors (9)
@@ -1296,8 +703,9 @@ public class Application { many more subclasses in the JDK platform). **Inherit from [`GleanError`](./src/main/java/models/errors/GleanError.java)**: -* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 114 methods.* -* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 114 methods.* +* [`com.glean.api_client.glean_api_client.models.errors.ErrorResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorResponse.java): Error response returned for failed requests. Applicable to 6 of 116 methods.* +* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 116 methods.* +* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 116 methods.*
diff --git a/RELEASES.md b/RELEASES.md index ca209cc2..6b53ff30 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -578,4 +578,14 @@ Based on: ### Generated - [java v0.12.23] . ### Releases -- [Maven Central v0.12.23] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.23 - . \ No newline at end of file +- [Maven Central v0.12.23] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.23 - . + +## 2026-02-26 02:42:09 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.730.1 (2.844.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.12.24] . +### Releases +- [Maven Central v0.12.24] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.24 - . \ No newline at end of file diff --git a/docs/models/components/ActionSummary.md b/docs/models/components/ActionSummary.md index 6855dc09..c1d850e7 100644 --- a/docs/models/components/ActionSummary.md +++ b/docs/models/components/ActionSummary.md @@ -5,7 +5,12 @@ Represents a minimal summary of an action. ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `toolId` | *String* | :heavy_check_mark: | The unique identifier of the action. | -| `displayName` | *String* | :heavy_check_mark: | The display name of the action. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `toolId` | *String* | :heavy_check_mark: | The unique identifier of the action. | +| `displayName` | *String* | :heavy_check_mark: | The display name of the action. | +| `type` | *Optional\* | :heavy_minus_sign: | The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. | +| `authType` | *Optional\* | :heavy_minus_sign: | The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide delegation), or NONE. | +| `writeActionType` | *Optional\* | :heavy_minus_sign: | For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). | +| `isSetupFinished` | *Optional\* | :heavy_minus_sign: | Whether this action has been fully configured and validated. | +| `dataSource` | *Optional\* | :heavy_minus_sign: | Indicates the kind of knowledge a tool would access or modify.
Company knowledge:
- Glean search, and any native tools that derive from it (e.g., expert search, code search)
- Native federated tools to company data sources (e.g., outlook search)
World knowledge:
- Native tools that bring in public content (e.g., web browser)
- Platform action like bingwebsearch, geminiwebsearch, etc
Neutral knowledge:
- Native tools that don't access or modify content via APIs (e.g., file analyst, think)
- Platform read or write tools (creator has to determine their knowledge implications)
| \ No newline at end of file diff --git a/docs/models/components/ChatResponse.md b/docs/models/components/ChatResponse.md index 11204bf4..3cb237a2 100644 --- a/docs/models/components/ChatResponse.md +++ b/docs/models/components/ChatResponse.md @@ -5,11 +5,10 @@ A single response from the /chat backend. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `messages` | List\<[ChatMessage](../../models/components/ChatMessage.md)> | :heavy_minus_sign: | N/A | | -| `chatId` | *Optional\* | :heavy_minus_sign: | The id of the associated Chat the messages belong to, if one exists. | | -| `followUpPrompts` | List\<*String*> | :heavy_minus_sign: | Follow-up prompts for the user to potentially use | | -| `backendTimeMillis` | *Optional\* | :heavy_minus_sign: | Time in milliseconds the backend took to respond to the request. | 1100 | -| `chatSessionTrackingToken` | *Optional\* | :heavy_minus_sign: | A token that is used to track the session. | | -| `unauthorizedDatasourceInstances` | List\<[UnauthorizedDatasourceInstance](../../models/components/UnauthorizedDatasourceInstance.md)> | :heavy_minus_sign: | Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth, aggregated across all tools invoked in this turn.
| | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `messages` | List\<[ChatMessage](../../models/components/ChatMessage.md)> | :heavy_minus_sign: | N/A | | +| `chatId` | *Optional\* | :heavy_minus_sign: | The id of the associated Chat the messages belong to, if one exists. | | +| `followUpPrompts` | List\<*String*> | :heavy_minus_sign: | Follow-up prompts for the user to potentially use | | +| `backendTimeMillis` | *Optional\* | :heavy_minus_sign: | Time in milliseconds the backend took to respond to the request. | 1100 | +| `chatSessionTrackingToken` | *Optional\* | :heavy_minus_sign: | A token that is used to track the session. | | \ No newline at end of file diff --git a/docs/models/components/ConfigurationValue.md b/docs/models/components/ConfigurationValue.md new file mode 100644 index 00000000..08238b3c --- /dev/null +++ b/docs/models/components/ConfigurationValue.md @@ -0,0 +1,11 @@ +# ConfigurationValue + +A single configuration value, either a scalar or a list + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `value` | *Optional\* | :heavy_minus_sign: | The configuration value as a string. Only one of value or valueList should be populated. | +| `valueList` | List\<*String*> | :heavy_minus_sign: | The configuration value as a list of strings. Only one of value or valueList should be populated. | \ No newline at end of file diff --git a/docs/models/components/DatasourceConfigurationResponse.md b/docs/models/components/DatasourceConfigurationResponse.md new file mode 100644 index 00000000..a0527fb0 --- /dev/null +++ b/docs/models/components/DatasourceConfigurationResponse.md @@ -0,0 +1,11 @@ +# DatasourceConfigurationResponse + +The greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist are included. + + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `configuration` | [DatasourceInstanceConfiguration](../../models/components/DatasourceInstanceConfiguration.md) | :heavy_check_mark: | Configuration for a datasource instance | \ No newline at end of file diff --git a/docs/models/components/DatasourceInstanceConfiguration.md b/docs/models/components/DatasourceInstanceConfiguration.md new file mode 100644 index 00000000..6020c8d3 --- /dev/null +++ b/docs/models/components/DatasourceInstanceConfiguration.md @@ -0,0 +1,10 @@ +# DatasourceInstanceConfiguration + +Configuration for a datasource instance + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `values` | Map\ | :heavy_check_mark: | A map from configuration key names to their values | \ No newline at end of file diff --git a/docs/models/components/GleanDataError.md b/docs/models/components/GleanDataError.md index b44a2bd9..fa12f964 100644 --- a/docs/models/components/GleanDataError.md +++ b/docs/models/components/GleanDataError.md @@ -3,11 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `badGmailToken` | *Optional\* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. | -| `badOutlookToken` | *Optional\* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. | -| `invalidOperators` | List\<[InvalidOperatorValueError](../../models/components/InvalidOperatorValueError.md)> | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. | -| `errorMessages` | List\<[ErrorMessage](../../models/components/ErrorMessage.md)> | :heavy_minus_sign: | N/A | -| `federatedSearchRateLimitError` | *Optional\* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. | -| `unauthorizedDatasourceInstances` | List\<[UnauthorizedDatasourceInstance](../../models/components/UnauthorizedDatasourceInstance.md)> | :heavy_minus_sign: | Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth.
| \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `badGmailToken` | *Optional\* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. | +| `badOutlookToken` | *Optional\* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. | +| `invalidOperators` | List\<[InvalidOperatorValueError](../../models/components/InvalidOperatorValueError.md)> | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. | +| `errorMessages` | List\<[ErrorMessage](../../models/components/ErrorMessage.md)> | :heavy_minus_sign: | N/A | +| `federatedSearchRateLimitError` | *Optional\* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. | \ No newline at end of file diff --git a/docs/models/components/InviteInfo.md b/docs/models/components/InviteInfo.md index 7c634457..d2a859f1 100644 --- a/docs/models/components/InviteInfo.md +++ b/docs/models/components/InviteInfo.md @@ -10,5 +10,5 @@ Information regarding the invite status of a person. | `signUpTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The time this person signed up in ISO format (ISO 8601). | | | `invites` | List\<[ChannelInviteInfo](../../models/components/ChannelInviteInfo.md)> | :heavy_minus_sign: | Latest invites received by the user for each channel | | | `inviter` | [Optional\](../../models/components/Person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | -| ~~`inviteTime`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The time this person was invited in ISO format (ISO 8601). | | -| ~~`reminderTime`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. | | \ No newline at end of file +| ~~`inviteTime`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead.

The time this person was invited in ISO format (ISO 8601). | | +| ~~`reminderTime`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead.

The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. | | \ No newline at end of file diff --git a/docs/models/components/UpdateDatasourceConfigurationRequest.md b/docs/models/components/UpdateDatasourceConfigurationRequest.md new file mode 100644 index 00000000..411a585f --- /dev/null +++ b/docs/models/components/UpdateDatasourceConfigurationRequest.md @@ -0,0 +1,11 @@ +# UpdateDatasourceConfigurationRequest + +Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set. + + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `configuration` | [DatasourceInstanceConfiguration](../../models/components/DatasourceInstanceConfiguration.md) | :heavy_check_mark: | Configuration for a datasource instance | \ No newline at end of file diff --git a/docs/models/errors/ErrorResponse.md b/docs/models/errors/ErrorResponse.md new file mode 100644 index 00000000..fb62cd47 --- /dev/null +++ b/docs/models/errors/ErrorResponse.md @@ -0,0 +1,10 @@ +# ErrorResponse + +Error response returned for failed requests + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `message` | *Optional\* | :heavy_minus_sign: | Client-facing error message describing what went wrong | \ No newline at end of file diff --git a/docs/models/errors/GleanDataError.md b/docs/models/errors/GleanDataError.md index b44a2bd9..fa12f964 100644 --- a/docs/models/errors/GleanDataError.md +++ b/docs/models/errors/GleanDataError.md @@ -3,11 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `badGmailToken` | *Optional\* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. | -| `badOutlookToken` | *Optional\* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. | -| `invalidOperators` | List\<[InvalidOperatorValueError](../../models/components/InvalidOperatorValueError.md)> | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. | -| `errorMessages` | List\<[ErrorMessage](../../models/components/ErrorMessage.md)> | :heavy_minus_sign: | N/A | -| `federatedSearchRateLimitError` | *Optional\* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. | -| `unauthorizedDatasourceInstances` | List\<[UnauthorizedDatasourceInstance](../../models/components/UnauthorizedDatasourceInstance.md)> | :heavy_minus_sign: | Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth.
| \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `badGmailToken` | *Optional\* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. | +| `badOutlookToken` | *Optional\* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. | +| `invalidOperators` | List\<[InvalidOperatorValueError](../../models/components/InvalidOperatorValueError.md)> | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. | +| `errorMessages` | List\<[ErrorMessage](../../models/components/ErrorMessage.md)> | :heavy_minus_sign: | N/A | +| `federatedSearchRateLimitError` | *Optional\* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. | \ No newline at end of file diff --git a/docs/models/operations/GetDatasourceInstanceConfigurationRequest.md b/docs/models/operations/GetDatasourceInstanceConfigurationRequest.md new file mode 100644 index 00000000..0b970907 --- /dev/null +++ b/docs/models/operations/GetDatasourceInstanceConfigurationRequest.md @@ -0,0 +1,9 @@ +# GetDatasourceInstanceConfigurationRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `datasourceId` | *String* | :heavy_check_mark: | The datasource type identifier (e.g. o365sharepoint) | o365sharepoint | +| `instanceId` | *String* | :heavy_check_mark: | The datasource instance identifier | o365sharepoint_abc123 | \ No newline at end of file diff --git a/docs/models/operations/GetDatasourceInstanceConfigurationResponse.md b/docs/models/operations/GetDatasourceInstanceConfigurationResponse.md new file mode 100644 index 00000000..520453c3 --- /dev/null +++ b/docs/models/operations/GetDatasourceInstanceConfigurationResponse.md @@ -0,0 +1,11 @@ +# GetDatasourceInstanceConfigurationResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `datasourceConfigurationResponse` | [Optional\](../../models/components/DatasourceConfigurationResponse.md) | :heavy_minus_sign: | OK | \ No newline at end of file diff --git a/docs/models/operations/UpdateDatasourceInstanceConfigurationRequest.md b/docs/models/operations/UpdateDatasourceInstanceConfigurationRequest.md new file mode 100644 index 00000000..14be6afb --- /dev/null +++ b/docs/models/operations/UpdateDatasourceInstanceConfigurationRequest.md @@ -0,0 +1,10 @@ +# UpdateDatasourceInstanceConfigurationRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `datasourceId` | *String* | :heavy_check_mark: | The datasource type identifier (e.g. o365sharepoint) | o365sharepoint | +| `instanceId` | *String* | :heavy_check_mark: | The datasource instance identifier | o365sharepoint_abc123 | +| `updateDatasourceConfigurationRequest` | [UpdateDatasourceConfigurationRequest](../../models/components/UpdateDatasourceConfigurationRequest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/UpdateDatasourceInstanceConfigurationResponse.md b/docs/models/operations/UpdateDatasourceInstanceConfigurationResponse.md new file mode 100644 index 00000000..ed23aafe --- /dev/null +++ b/docs/models/operations/UpdateDatasourceInstanceConfigurationResponse.md @@ -0,0 +1,11 @@ +# UpdateDatasourceInstanceConfigurationResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `datasourceConfigurationResponse` | [Optional\](../../models/components/DatasourceConfigurationResponse.md) | :heavy_minus_sign: | OK | \ No newline at end of file diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index d801a674..9ff335e1 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -21,12 +21,13 @@ Returns details of an [agent](https://developers.glean.com/agents/agents-api) cr package hello.world; import com.glean.api_client.glean_api_client.Glean; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; import com.glean.api_client.glean_api_client.models.operations.GetAgentResponse; import java.lang.Exception; public class Application { - public static void main(String[] args) throws Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) @@ -57,9 +58,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| models/errors/ErrorResponse | 404 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | ## retrieveSchemas @@ -72,12 +74,13 @@ Return [agent](https://developers.glean.com/agents/agents-api)'s input and outpu package hello.world; import com.glean.api_client.glean_api_client.Glean; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; import com.glean.api_client.glean_api_client.models.operations.GetAgentSchemasResponse; import java.lang.Exception; public class Application { - public static void main(String[] args) throws Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) @@ -108,9 +111,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| models/errors/ErrorResponse | 404, 422 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | ## list @@ -124,12 +128,13 @@ package hello.world; import com.glean.api_client.glean_api_client.Glean; import com.glean.api_client.glean_api_client.models.components.SearchAgentsRequest; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; import com.glean.api_client.glean_api_client.models.operations.SearchAgentsResponse; import java.lang.Exception; public class Application { - public static void main(String[] args) throws Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) @@ -162,9 +167,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| models/errors/ErrorResponse | 404, 422 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | ## runStream @@ -179,13 +185,14 @@ package hello.world; import com.glean.api_client.glean_api_client.Glean; import com.glean.api_client.glean_api_client.models.components.AgentRunCreate; import com.glean.api_client.glean_api_client.models.components.Message; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; import com.glean.api_client.glean_api_client.models.operations.CreateAndStreamRunResponse; import java.lang.Exception; import java.util.List; public class Application { - public static void main(String[] args) throws Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) @@ -222,9 +229,10 @@ public class Application { ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| models/errors/ErrorResponse | 404, 409, 422 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | ## run diff --git a/docs/sdks/datasources/README.md b/docs/sdks/datasources/README.md index cac8bbfa..6c4bf6dd 100644 --- a/docs/sdks/datasources/README.md +++ b/docs/sdks/datasources/README.md @@ -1,107 +1,107 @@ -# Indexing.Datasources +# Datasources ## Overview +Manage datasources. + ### Available Operations -* [add](#add) - Add or update datasource -* [retrieveConfig](#retrieveconfig) - Get datasource config +* [getDatasourceInstanceConfiguration](#getdatasourceinstanceconfiguration) - Get datasource instance configuration +* [updateDatasourceInstanceConfiguration](#updatedatasourceinstanceconfiguration) - Update datasource instance configuration + +## getDatasourceInstanceConfiguration -## add +Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. -Add or update a custom datasource and its schema. ### Example Usage - + ```java package hello.world; import com.glean.api_client.glean_api_client.Glean; -import com.glean.api_client.glean_api_client.models.components.*; -import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1AdddatasourceResponse; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; +import com.glean.api_client.glean_api_client.models.operations.GetDatasourceInstanceConfigurationResponse; import java.lang.Exception; -import java.util.List; public class Application { - public static void main(String[] args) throws Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) .build(); - CustomDatasourceConfig req = CustomDatasourceConfig.builder() - .name("") - .urlRegex("https://example-company.datasource.com/.*") - .quicklinks(List.of( - Quicklink.builder() - .iconConfig(IconConfig.builder() - .color("#343CED") - .key("person_icon") - .iconType(IconType.GLYPH) - .name("user") - .build()) - .build())) - .build(); - - PostApiIndexV1AdddatasourceResponse res = sdk.indexing().datasources().add() - .request(req) + GetDatasourceInstanceConfigurationResponse res = sdk.datasources().getDatasourceInstanceConfiguration() + .datasourceId("o365sharepoint") + .instanceId("o365sharepoint_abc123") .call(); - // handle response + if (res.datasourceConfigurationResponse().isPresent()) { + // handle response + } } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `request` | [CustomDatasourceConfig](../../models/shared/CustomDatasourceConfig.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `datasourceId` | *String* | :heavy_check_mark: | The datasource type identifier (e.g. o365sharepoint) | o365sharepoint | +| `instanceId` | *String* | :heavy_check_mark: | The datasource instance identifier | o365sharepoint_abc123 | ### Response -**[PostApiIndexV1AdddatasourceResponse](../../models/operations/PostApiIndexV1AdddatasourceResponse.md)** +**[GetDatasourceInstanceConfigurationResponse](../../models/operations/GetDatasourceInstanceConfigurationResponse.md)** ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models/errors/APIException | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| models/errors/ErrorResponse | 400, 403, 404 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## updateDatasourceInstanceConfiguration -## retrieveConfig +Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. -Fetches the datasource config for the specified custom datasource. ### Example Usage - + ```java package hello.world; import com.glean.api_client.glean_api_client.Glean; -import com.glean.api_client.glean_api_client.models.components.GetDatasourceConfigRequest; -import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1GetdatasourceconfigResponse; +import com.glean.api_client.glean_api_client.models.components.DatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.models.components.UpdateDatasourceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; +import com.glean.api_client.glean_api_client.models.operations.UpdateDatasourceInstanceConfigurationResponse; import java.lang.Exception; +import java.util.Map; public class Application { - public static void main(String[] args) throws Exception { + public static void main(String[] args) throws ErrorResponse, Exception { Glean sdk = Glean.builder() .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) .build(); - GetDatasourceConfigRequest req = GetDatasourceConfigRequest.builder() - .datasource("") - .build(); - - PostApiIndexV1GetdatasourceconfigResponse res = sdk.indexing().datasources().retrieveConfig() - .request(req) + UpdateDatasourceInstanceConfigurationResponse res = sdk.datasources().updateDatasourceInstanceConfiguration() + .datasourceId("o365sharepoint") + .instanceId("o365sharepoint_abc123") + .updateDatasourceConfigurationRequest(UpdateDatasourceConfigurationRequest.builder() + .configuration(DatasourceInstanceConfiguration.builder() + .values(Map.ofEntries( + )) + .build()) + .build()) .call(); - if (res.customDatasourceConfig().isPresent()) { + if (res.datasourceConfigurationResponse().isPresent()) { // handle response } } @@ -110,16 +110,19 @@ public class Application { ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `request` | [GetDatasourceConfigRequest](../../models/shared/GetDatasourceConfigRequest.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `datasourceId` | *String* | :heavy_check_mark: | The datasource type identifier (e.g. o365sharepoint) | o365sharepoint | +| `instanceId` | *String* | :heavy_check_mark: | The datasource instance identifier | o365sharepoint_abc123 | +| `updateDatasourceConfigurationRequest` | [UpdateDatasourceConfigurationRequest](../../models/components/UpdateDatasourceConfigurationRequest.md) | :heavy_check_mark: | N/A | | ### Response -**[PostApiIndexV1GetdatasourceconfigResponse](../../models/operations/PostApiIndexV1GetdatasourceconfigResponse.md)** +**[UpdateDatasourceInstanceConfigurationResponse](../../models/operations/UpdateDatasourceInstanceConfigurationResponse.md)** ### Errors -| Error Type | Status Code | Content Type | -| -------------------------- | -------------------------- | -------------------------- | -| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| models/errors/ErrorResponse | 400, 403, 404 | application/json | +| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/indexingdatasources/README.md b/docs/sdks/indexingdatasources/README.md new file mode 100644 index 00000000..cac8bbfa --- /dev/null +++ b/docs/sdks/indexingdatasources/README.md @@ -0,0 +1,125 @@ +# Indexing.Datasources + +## Overview + +### Available Operations + +* [add](#add) - Add or update datasource +* [retrieveConfig](#retrieveconfig) - Get datasource config + +## add + +Add or update a custom datasource and its schema. + +### Example Usage + + +```java +package hello.world; + +import com.glean.api_client.glean_api_client.Glean; +import com.glean.api_client.glean_api_client.models.components.*; +import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1AdddatasourceResponse; +import java.lang.Exception; +import java.util.List; + +public class Application { + + public static void main(String[] args) throws Exception { + + Glean sdk = Glean.builder() + .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) + .build(); + + CustomDatasourceConfig req = CustomDatasourceConfig.builder() + .name("") + .urlRegex("https://example-company.datasource.com/.*") + .quicklinks(List.of( + Quicklink.builder() + .iconConfig(IconConfig.builder() + .color("#343CED") + .key("person_icon") + .iconType(IconType.GLYPH) + .name("user") + .build()) + .build())) + .build(); + + PostApiIndexV1AdddatasourceResponse res = sdk.indexing().datasources().add() + .request(req) + .call(); + + // handle response + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `request` | [CustomDatasourceConfig](../../models/shared/CustomDatasourceConfig.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PostApiIndexV1AdddatasourceResponse](../../models/operations/PostApiIndexV1AdddatasourceResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| models/errors/APIException | 4XX, 5XX | \*/\* | + +## retrieveConfig + +Fetches the datasource config for the specified custom datasource. + +### Example Usage + + +```java +package hello.world; + +import com.glean.api_client.glean_api_client.Glean; +import com.glean.api_client.glean_api_client.models.components.GetDatasourceConfigRequest; +import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1GetdatasourceconfigResponse; +import java.lang.Exception; + +public class Application { + + public static void main(String[] args) throws Exception { + + Glean sdk = Glean.builder() + .apiToken(System.getenv().getOrDefault("GLEAN_API_TOKEN", "")) + .build(); + + GetDatasourceConfigRequest req = GetDatasourceConfigRequest.builder() + .datasource("") + .build(); + + PostApiIndexV1GetdatasourceconfigResponse res = sdk.indexing().datasources().retrieveConfig() + .request(req) + .call(); + + if (res.customDatasourceConfig().isPresent()) { + // handle response + } + } +} +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [GetDatasourceConfigRequest](../../models/shared/GetDatasourceConfigRequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[PostApiIndexV1GetdatasourceconfigResponse](../../models/operations/PostApiIndexV1GetdatasourceconfigResponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| models/errors/APIException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/people/README.md b/docs/sdks/people/README.md index 417d593b..6fcf8e5d 100644 --- a/docs/sdks/people/README.md +++ b/docs/sdks/people/README.md @@ -8,7 +8,7 @@ * [~~count~~](#count) - Get user count :warning: **Deprecated** * [index](#index) - Index employee -* [bulkIndex](#bulkindex) - Bulk index employees +* [~~bulkIndex~~](#bulkindex) - Bulk index employees :warning: **Deprecated** * [processAllEmployeesAndTeams](#processallemployeesandteams) - Schedules the processing of uploaded employees and teams * [delete](#delete) - Delete employee * [indexTeam](#indexteam) - Index team @@ -192,10 +192,12 @@ public class Application { | -------------------------- | -------------------------- | -------------------------- | | models/errors/APIException | 4XX, 5XX | \*/\* | -## bulkIndex +## ~~bulkIndex~~ Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. +> :warning: **DEPRECATED**: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. + ### Example Usage diff --git a/gradle.properties b/gradle.properties index 46e86b40..dac2a0f6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.glean.api-client artifactId=glean-api-client -version=0.12.23 +version=0.12.24 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/gradlew.bat b/gradlew.bat index db3a6ac2..5eed7ee8 100755 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,94 +1,94 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem -@rem SPDX-License-Identifier: Apache-2.0 -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH= - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH= + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/spring/glean-api-client-spring-boot-autoconfigure/src/main/java/com/glean/api_client/glean_api_client/GleanApiClientAutoConfig.java b/spring/glean-api-client-spring-boot-autoconfigure/src/main/java/com/glean/api_client/glean_api_client/GleanApiClientAutoConfig.java index 8ed674e8..388a682d 100644 --- a/spring/glean-api-client-spring-boot-autoconfigure/src/main/java/com/glean/api_client/glean_api_client/GleanApiClientAutoConfig.java +++ b/spring/glean-api-client-spring-boot-autoconfigure/src/main/java/com/glean/api_client/glean_api_client/GleanApiClientAutoConfig.java @@ -264,6 +264,17 @@ public Indexing indexing(Glean glean) { public Governance governance(Glean glean) { return glean.governance(); } + /** + * Creates a Datasources sub-SDK bean if none exists. + * + * @param glean the main SDK instance + * @return A configured Datasources instance + */ + @Bean + @ConditionalOnMissingBean + public Datasources datasources(Glean glean) { + return glean.datasources(); + } /** * Creates the async SDK bean if none exists. @@ -321,4 +332,15 @@ public AsyncIndexing asyncIndexing(AsyncGlean asyncGlean) { public AsyncGovernance asyncGovernance(AsyncGlean asyncGlean) { return asyncGlean.governance(); } + /** + * Creates an AsyncDatasources sub-SDK bean if none exists. + * + * @param asyncGlean the async SDK instance + * @return A configured AsyncDatasources instance + */ + @Bean + @ConditionalOnMissingBean + public AsyncDatasources asyncDatasources(AsyncGlean asyncGlean) { + return asyncGlean.datasources(); + } } \ No newline at end of file diff --git a/src/main/java/com/glean/api_client/glean_api_client/AsyncDatasources.java b/src/main/java/com/glean/api_client/glean_api_client/AsyncDatasources.java index 700fc240..861f8706 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/AsyncDatasources.java +++ b/src/main/java/com/glean/api_client/glean_api_client/AsyncDatasources.java @@ -5,18 +5,22 @@ import static com.glean.api_client.glean_api_client.operations.Operations.AsyncRequestOperation; -import com.glean.api_client.glean_api_client.models.components.CustomDatasourceConfig; -import com.glean.api_client.glean_api_client.models.components.GetDatasourceConfigRequest; -import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1AdddatasourceRequestBuilder; -import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1AdddatasourceResponse; -import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1GetdatasourceconfigRequestBuilder; -import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1GetdatasourceconfigResponse; -import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Adddatasource; -import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Getdatasourceconfig; +import com.glean.api_client.glean_api_client.models.components.UpdateDatasourceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.GetDatasourceInstanceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.UpdateDatasourceInstanceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.async.GetDatasourceInstanceConfigurationRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.async.GetDatasourceInstanceConfigurationResponse; +import com.glean.api_client.glean_api_client.models.operations.async.UpdateDatasourceInstanceConfigurationRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.async.UpdateDatasourceInstanceConfigurationResponse; +import com.glean.api_client.glean_api_client.operations.GetDatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.operations.UpdateDatasourceInstanceConfiguration; import com.glean.api_client.glean_api_client.utils.Headers; +import java.lang.String; import java.util.concurrent.CompletableFuture; - +/** + * Manage datasources. + */ public class AsyncDatasources { private static final Headers _headers = Headers.EMPTY; private final SDKConfiguration sdkConfiguration; @@ -38,54 +42,79 @@ public Datasources sync() { /** - * Add or update datasource + * Get datasource instance configuration * - *

Add or update a custom datasource and its schema. + *

Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys + * that are exposed via the public API greenlist. * * @return The async call builder */ - public PostApiIndexV1AdddatasourceRequestBuilder add() { - return new PostApiIndexV1AdddatasourceRequestBuilder(sdkConfiguration); + public GetDatasourceInstanceConfigurationRequestBuilder getDatasourceInstanceConfiguration() { + return new GetDatasourceInstanceConfigurationRequestBuilder(sdkConfiguration); } /** - * Add or update datasource + * Get datasource instance configuration * - *

Add or update a custom datasource and its schema. + *

Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys + * that are exposed via the public API greenlist. * - * @param request The request object containing all the parameters for the API call. - * @return {@code CompletableFuture} - The async response + * @param datasourceId The datasource type identifier (e.g. o365sharepoint) + * @param instanceId The datasource instance identifier + * @return {@code CompletableFuture} - The async response */ - public CompletableFuture add(CustomDatasourceConfig request) { - AsyncRequestOperation operation - = new PostApiIndexV1Adddatasource.Async(sdkConfiguration, _headers); + public CompletableFuture getDatasourceInstanceConfiguration(String datasourceId, String instanceId) { + GetDatasourceInstanceConfigurationRequest request = + GetDatasourceInstanceConfigurationRequest + .builder() + .datasourceId(datasourceId) + .instanceId(instanceId) + .build(); + AsyncRequestOperation operation + = new GetDatasourceInstanceConfiguration.Async(sdkConfiguration, _headers); return operation.doRequest(request) .thenCompose(operation::handleResponse); } /** - * Get datasource config + * Update datasource instance configuration * - *

Fetches the datasource config for the specified custom datasource. + *

Updates the greenlisted configuration values for a datasource instance. Only configuration keys that + * are exposed via the public API greenlist may be set. Returns the full greenlisted configuration + * after the update is applied. * * @return The async call builder */ - public PostApiIndexV1GetdatasourceconfigRequestBuilder retrieveConfig() { - return new PostApiIndexV1GetdatasourceconfigRequestBuilder(sdkConfiguration); + public UpdateDatasourceInstanceConfigurationRequestBuilder updateDatasourceInstanceConfiguration() { + return new UpdateDatasourceInstanceConfigurationRequestBuilder(sdkConfiguration); } /** - * Get datasource config + * Update datasource instance configuration * - *

Fetches the datasource config for the specified custom datasource. + *

Updates the greenlisted configuration values for a datasource instance. Only configuration keys that + * are exposed via the public API greenlist may be set. Returns the full greenlisted configuration + * after the update is applied. * - * @param request The request object containing all the parameters for the API call. - * @return {@code CompletableFuture} - The async response + * @param datasourceId The datasource type identifier (e.g. o365sharepoint) + * @param instanceId The datasource instance identifier + * @param updateDatasourceConfigurationRequest Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set. + * + * @return {@code CompletableFuture} - The async response */ - public CompletableFuture retrieveConfig(GetDatasourceConfigRequest request) { - AsyncRequestOperation operation - = new PostApiIndexV1Getdatasourceconfig.Async(sdkConfiguration, _headers); + public CompletableFuture updateDatasourceInstanceConfiguration( + String datasourceId, String instanceId, + UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + UpdateDatasourceInstanceConfigurationRequest request = + UpdateDatasourceInstanceConfigurationRequest + .builder() + .datasourceId(datasourceId) + .instanceId(instanceId) + .updateDatasourceConfigurationRequest(updateDatasourceConfigurationRequest) + .build(); + AsyncRequestOperation operation + = new UpdateDatasourceInstanceConfiguration.Async(sdkConfiguration, _headers); return operation.doRequest(request) .thenCompose(operation::handleResponse); } diff --git a/src/main/java/com/glean/api_client/glean_api_client/AsyncGlean.java b/src/main/java/com/glean/api_client/glean_api_client/AsyncGlean.java index b593688a..a103fa6e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/AsyncGlean.java +++ b/src/main/java/com/glean/api_client/glean_api_client/AsyncGlean.java @@ -42,6 +42,10 @@ public class AsyncGlean { private final AsyncIndexing indexing; private final AsyncGovernance governance; + /** + * Manage datasources. + */ + private final AsyncDatasources datasources; public AsyncClient client() { return client; @@ -60,6 +64,12 @@ public AsyncIndexing indexing() { public AsyncGovernance governance() { return governance; } + /** + * Manage datasources. + */ + public AsyncDatasources datasources() { + return datasources; + } private final SDKConfiguration sdkConfiguration; private final Glean syncSDK; @@ -71,6 +81,7 @@ public AsyncGovernance governance() { this.authentication = new AsyncAuthentication(syncSDK.authentication(), sdkConfiguration); this.indexing = new AsyncIndexing(syncSDK.indexing(), sdkConfiguration); this.governance = new AsyncGovernance(syncSDK.governance(), sdkConfiguration); + this.datasources = new AsyncDatasources(syncSDK.datasources(), sdkConfiguration); } /** diff --git a/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexing.java b/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexing.java index 177330a1..6bc60b06 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexing.java +++ b/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexing.java @@ -13,7 +13,7 @@ public class AsyncIndexing { private final AsyncPermissions permissions; private final AsyncDatasource datasource; private final AsyncPeople people; - private final AsyncDatasources datasources; + private final AsyncIndexingDatasources datasources; private final AsyncIndexingAuthentication authentication; private final AsyncIndexingShortcuts shortcuts; private final Indexing syncSDK; @@ -24,7 +24,7 @@ public class AsyncIndexing { this.permissions = new AsyncPermissions(syncSDK.permissions(), this.sdkConfiguration); this.datasource = new AsyncDatasource(syncSDK.datasource(), this.sdkConfiguration); this.people = new AsyncPeople(syncSDK.people(), this.sdkConfiguration); - this.datasources = new AsyncDatasources(syncSDK.datasources(), this.sdkConfiguration); + this.datasources = new AsyncIndexingDatasources(syncSDK.datasources(), this.sdkConfiguration); this.authentication = new AsyncIndexingAuthentication(syncSDK.authentication(), this.sdkConfiguration); this.shortcuts = new AsyncIndexingShortcuts(syncSDK.shortcuts(), this.sdkConfiguration); this.syncSDK = syncSDK; @@ -46,7 +46,7 @@ public final AsyncPeople people() { return people; } - public final AsyncDatasources datasources() { + public final AsyncIndexingDatasources datasources() { return datasources; } diff --git a/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexingDatasources.java b/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexingDatasources.java new file mode 100644 index 00000000..445efb29 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/AsyncIndexingDatasources.java @@ -0,0 +1,93 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client; + +import static com.glean.api_client.glean_api_client.operations.Operations.AsyncRequestOperation; + +import com.glean.api_client.glean_api_client.models.components.CustomDatasourceConfig; +import com.glean.api_client.glean_api_client.models.components.GetDatasourceConfigRequest; +import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1AdddatasourceRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1AdddatasourceResponse; +import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1GetdatasourceconfigRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.async.PostApiIndexV1GetdatasourceconfigResponse; +import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Adddatasource; +import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Getdatasourceconfig; +import com.glean.api_client.glean_api_client.utils.Headers; +import java.util.concurrent.CompletableFuture; + + +public class AsyncIndexingDatasources { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final IndexingDatasources syncSDK; + + AsyncIndexingDatasources(IndexingDatasources syncSDK, SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.syncSDK = syncSDK; + } + + /** + * Switches to the sync SDK. + * + * @return The sync SDK + */ + public IndexingDatasources sync() { + return syncSDK; + } + + + /** + * Add or update datasource + * + *

Add or update a custom datasource and its schema. + * + * @return The async call builder + */ + public PostApiIndexV1AdddatasourceRequestBuilder add() { + return new PostApiIndexV1AdddatasourceRequestBuilder(sdkConfiguration); + } + + /** + * Add or update datasource + * + *

Add or update a custom datasource and its schema. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture add(CustomDatasourceConfig request) { + AsyncRequestOperation operation + = new PostApiIndexV1Adddatasource.Async(sdkConfiguration, _headers); + return operation.doRequest(request) + .thenCompose(operation::handleResponse); + } + + + /** + * Get datasource config + * + *

Fetches the datasource config for the specified custom datasource. + * + * @return The async call builder + */ + public PostApiIndexV1GetdatasourceconfigRequestBuilder retrieveConfig() { + return new PostApiIndexV1GetdatasourceconfigRequestBuilder(sdkConfiguration); + } + + /** + * Get datasource config + * + *

Fetches the datasource config for the specified custom datasource. + * + * @param request The request object containing all the parameters for the API call. + * @return {@code CompletableFuture} - The async response + */ + public CompletableFuture retrieveConfig(GetDatasourceConfigRequest request) { + AsyncRequestOperation operation + = new PostApiIndexV1Getdatasourceconfig.Async(sdkConfiguration, _headers); + return operation.doRequest(request) + .thenCompose(operation::handleResponse); + } + +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/AsyncPeople.java b/src/main/java/com/glean/api_client/glean_api_client/AsyncPeople.java index a7207bd8..07d3553d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/AsyncPeople.java +++ b/src/main/java/com/glean/api_client/glean_api_client/AsyncPeople.java @@ -184,7 +184,9 @@ public CompletableFuture index(IndexEmploye * an explanation of how to use bulk endpoints. * * @return The async call builder + * @deprecated method: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. */ + @Deprecated public PostApiIndexV1BulkindexemployeesRequestBuilder bulkIndex() { return new PostApiIndexV1BulkindexemployeesRequestBuilder(sdkConfiguration); } @@ -198,7 +200,9 @@ public PostApiIndexV1BulkindexemployeesRequestBuilder bulkIndex() { * * @param request The request object containing all the parameters for the API call. * @return {@code CompletableFuture} - The async response + * @deprecated method: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. */ + @Deprecated public CompletableFuture bulkIndex(BulkIndexEmployeesRequest request) { AsyncRequestOperation operation = new PostApiIndexV1Bulkindexemployees.Async(sdkConfiguration, _headers); diff --git a/src/main/java/com/glean/api_client/glean_api_client/Datasources.java b/src/main/java/com/glean/api_client/glean_api_client/Datasources.java index 0251b44a..e63d32bc 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/Datasources.java +++ b/src/main/java/com/glean/api_client/glean_api_client/Datasources.java @@ -5,17 +5,21 @@ import static com.glean.api_client.glean_api_client.operations.Operations.RequestOperation; -import com.glean.api_client.glean_api_client.models.components.CustomDatasourceConfig; -import com.glean.api_client.glean_api_client.models.components.GetDatasourceConfigRequest; -import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1AdddatasourceRequestBuilder; -import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1AdddatasourceResponse; -import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1GetdatasourceconfigRequestBuilder; -import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1GetdatasourceconfigResponse; -import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Adddatasource; -import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Getdatasourceconfig; +import com.glean.api_client.glean_api_client.models.components.UpdateDatasourceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.GetDatasourceInstanceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.GetDatasourceInstanceConfigurationRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.GetDatasourceInstanceConfigurationResponse; +import com.glean.api_client.glean_api_client.models.operations.UpdateDatasourceInstanceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.UpdateDatasourceInstanceConfigurationRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.UpdateDatasourceInstanceConfigurationResponse; +import com.glean.api_client.glean_api_client.operations.GetDatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.operations.UpdateDatasourceInstanceConfiguration; import com.glean.api_client.glean_api_client.utils.Headers; +import java.lang.String; - +/** + * Manage datasources. + */ public class Datasources { private static final Headers _headers = Headers.EMPTY; private final SDKConfiguration sdkConfiguration; @@ -36,54 +40,79 @@ public AsyncDatasources async() { } /** - * Add or update datasource + * Get datasource instance configuration * - *

Add or update a custom datasource and its schema. + *

Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys + * that are exposed via the public API greenlist. * * @return The call builder */ - public PostApiIndexV1AdddatasourceRequestBuilder add() { - return new PostApiIndexV1AdddatasourceRequestBuilder(sdkConfiguration); + public GetDatasourceInstanceConfigurationRequestBuilder getDatasourceInstanceConfiguration() { + return new GetDatasourceInstanceConfigurationRequestBuilder(sdkConfiguration); } /** - * Add or update datasource + * Get datasource instance configuration * - *

Add or update a custom datasource and its schema. + *

Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys + * that are exposed via the public API greenlist. * - * @param request The request object containing all the parameters for the API call. + * @param datasourceId The datasource type identifier (e.g. o365sharepoint) + * @param instanceId The datasource instance identifier * @return The response from the API call * @throws RuntimeException subclass if the API call fails */ - public PostApiIndexV1AdddatasourceResponse add(CustomDatasourceConfig request) { - RequestOperation operation - = new PostApiIndexV1Adddatasource.Sync(sdkConfiguration, _headers); + public GetDatasourceInstanceConfigurationResponse getDatasourceInstanceConfiguration(String datasourceId, String instanceId) { + GetDatasourceInstanceConfigurationRequest request = + GetDatasourceInstanceConfigurationRequest + .builder() + .datasourceId(datasourceId) + .instanceId(instanceId) + .build(); + RequestOperation operation + = new GetDatasourceInstanceConfiguration.Sync(sdkConfiguration, _headers); return operation.handleResponse(operation.doRequest(request)); } /** - * Get datasource config + * Update datasource instance configuration * - *

Fetches the datasource config for the specified custom datasource. + *

Updates the greenlisted configuration values for a datasource instance. Only configuration keys that + * are exposed via the public API greenlist may be set. Returns the full greenlisted configuration + * after the update is applied. * * @return The call builder */ - public PostApiIndexV1GetdatasourceconfigRequestBuilder retrieveConfig() { - return new PostApiIndexV1GetdatasourceconfigRequestBuilder(sdkConfiguration); + public UpdateDatasourceInstanceConfigurationRequestBuilder updateDatasourceInstanceConfiguration() { + return new UpdateDatasourceInstanceConfigurationRequestBuilder(sdkConfiguration); } /** - * Get datasource config + * Update datasource instance configuration * - *

Fetches the datasource config for the specified custom datasource. + *

Updates the greenlisted configuration values for a datasource instance. Only configuration keys that + * are exposed via the public API greenlist may be set. Returns the full greenlisted configuration + * after the update is applied. * - * @param request The request object containing all the parameters for the API call. + * @param datasourceId The datasource type identifier (e.g. o365sharepoint) + * @param instanceId The datasource instance identifier + * @param updateDatasourceConfigurationRequest Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set. + * * @return The response from the API call * @throws RuntimeException subclass if the API call fails */ - public PostApiIndexV1GetdatasourceconfigResponse retrieveConfig(GetDatasourceConfigRequest request) { - RequestOperation operation - = new PostApiIndexV1Getdatasourceconfig.Sync(sdkConfiguration, _headers); + public UpdateDatasourceInstanceConfigurationResponse updateDatasourceInstanceConfiguration( + String datasourceId, String instanceId, + UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + UpdateDatasourceInstanceConfigurationRequest request = + UpdateDatasourceInstanceConfigurationRequest + .builder() + .datasourceId(datasourceId) + .instanceId(instanceId) + .updateDatasourceConfigurationRequest(updateDatasourceConfigurationRequest) + .build(); + RequestOperation operation + = new UpdateDatasourceInstanceConfiguration.Sync(sdkConfiguration, _headers); return operation.handleResponse(operation.doRequest(request)); } diff --git a/src/main/java/com/glean/api_client/glean_api_client/Glean.java b/src/main/java/com/glean/api_client/glean_api_client/Glean.java index d4028018..e48c81c9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/Glean.java +++ b/src/main/java/com/glean/api_client/glean_api_client/Glean.java @@ -67,6 +67,11 @@ public class Glean { private final Governance governance; + /** + * Manage datasources. + */ + private final Datasources datasources; + public Client client() { return client; @@ -88,6 +93,13 @@ public Indexing indexing() { public Governance governance() { return governance; } + + /** + * Manage datasources. + */ + public Datasources datasources() { + return datasources; + } private final AsyncGlean asyncSDK; /** @@ -258,6 +270,7 @@ public Glean(SDKConfiguration sdkConfiguration) { this.authentication = new Authentication(sdkConfiguration); this.indexing = new Indexing(sdkConfiguration); this.governance = new Governance(sdkConfiguration); + this.datasources = new Datasources(sdkConfiguration); SdkInitData data = sdkConfiguration.hooks().sdkInit( new SdkInitData( sdkConfiguration.resolvedServerUrl(), diff --git a/src/main/java/com/glean/api_client/glean_api_client/Indexing.java b/src/main/java/com/glean/api_client/glean_api_client/Indexing.java index 22beaeed..397e53d9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/Indexing.java +++ b/src/main/java/com/glean/api_client/glean_api_client/Indexing.java @@ -14,7 +14,7 @@ public class Indexing { private final Permissions permissions; private final Datasource datasource; private final People people; - private final Datasources datasources; + private final IndexingDatasources datasources; private final IndexingAuthentication authentication; private final IndexingShortcuts shortcuts; @@ -24,7 +24,7 @@ public class Indexing { this.permissions = new Permissions(this.sdkConfiguration); this.datasource = new Datasource(this.sdkConfiguration); this.people = new People(this.sdkConfiguration); - this.datasources = new Datasources(this.sdkConfiguration); + this.datasources = new IndexingDatasources(this.sdkConfiguration); this.authentication = new IndexingAuthentication(this.sdkConfiguration); this.shortcuts = new IndexingShortcuts(this.sdkConfiguration); this.asyncSDK = new AsyncIndexing(this, sdkConfiguration); @@ -46,7 +46,7 @@ public final People people() { return people; } - public final Datasources datasources() { + public final IndexingDatasources datasources() { return datasources; } diff --git a/src/main/java/com/glean/api_client/glean_api_client/IndexingDatasources.java b/src/main/java/com/glean/api_client/glean_api_client/IndexingDatasources.java new file mode 100644 index 00000000..0f9b28a2 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/IndexingDatasources.java @@ -0,0 +1,90 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client; + +import static com.glean.api_client.glean_api_client.operations.Operations.RequestOperation; + +import com.glean.api_client.glean_api_client.models.components.CustomDatasourceConfig; +import com.glean.api_client.glean_api_client.models.components.GetDatasourceConfigRequest; +import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1AdddatasourceRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1AdddatasourceResponse; +import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1GetdatasourceconfigRequestBuilder; +import com.glean.api_client.glean_api_client.models.operations.PostApiIndexV1GetdatasourceconfigResponse; +import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Adddatasource; +import com.glean.api_client.glean_api_client.operations.PostApiIndexV1Getdatasourceconfig; +import com.glean.api_client.glean_api_client.utils.Headers; + + +public class IndexingDatasources { + private static final Headers _headers = Headers.EMPTY; + private final SDKConfiguration sdkConfiguration; + private final AsyncIndexingDatasources asyncSDK; + + IndexingDatasources(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + this.asyncSDK = new AsyncIndexingDatasources(this, sdkConfiguration); + } + + /** + * Switches to the async SDK. + * + * @return The async SDK + */ + public AsyncIndexingDatasources async() { + return asyncSDK; + } + + /** + * Add or update datasource + * + *

Add or update a custom datasource and its schema. + * + * @return The call builder + */ + public PostApiIndexV1AdddatasourceRequestBuilder add() { + return new PostApiIndexV1AdddatasourceRequestBuilder(sdkConfiguration); + } + + /** + * Add or update datasource + * + *

Add or update a custom datasource and its schema. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PostApiIndexV1AdddatasourceResponse add(CustomDatasourceConfig request) { + RequestOperation operation + = new PostApiIndexV1Adddatasource.Sync(sdkConfiguration, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + + /** + * Get datasource config + * + *

Fetches the datasource config for the specified custom datasource. + * + * @return The call builder + */ + public PostApiIndexV1GetdatasourceconfigRequestBuilder retrieveConfig() { + return new PostApiIndexV1GetdatasourceconfigRequestBuilder(sdkConfiguration); + } + + /** + * Get datasource config + * + *

Fetches the datasource config for the specified custom datasource. + * + * @param request The request object containing all the parameters for the API call. + * @return The response from the API call + * @throws RuntimeException subclass if the API call fails + */ + public PostApiIndexV1GetdatasourceconfigResponse retrieveConfig(GetDatasourceConfigRequest request) { + RequestOperation operation + = new PostApiIndexV1Getdatasourceconfig.Sync(sdkConfiguration, _headers); + return operation.handleResponse(operation.doRequest(request)); + } + +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/People.java b/src/main/java/com/glean/api_client/glean_api_client/People.java index 8a667e71..c15157b8 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/People.java +++ b/src/main/java/com/glean/api_client/glean_api_client/People.java @@ -179,7 +179,9 @@ public PostApiIndexV1IndexemployeeResponse index(IndexEmployeeRequest request) { * an explanation of how to use bulk endpoints. * * @return The call builder + * @deprecated method: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. */ + @Deprecated public PostApiIndexV1BulkindexemployeesRequestBuilder bulkIndex() { return new PostApiIndexV1BulkindexemployeesRequestBuilder(sdkConfiguration); } @@ -194,7 +196,9 @@ public PostApiIndexV1BulkindexemployeesRequestBuilder bulkIndex() { * @param request The request object containing all the parameters for the API call. * @return The response from the API call * @throws RuntimeException subclass if the API call fails + * @deprecated method: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. */ + @Deprecated public PostApiIndexV1BulkindexemployeesResponse bulkIndex(BulkIndexEmployeesRequest request) { RequestOperation operation = new PostApiIndexV1Bulkindexemployees.Sync(sdkConfiguration, _headers); diff --git a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java index 9a76d7e3..db06d321 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java +++ b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java @@ -24,8 +24,8 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "0.9.0"; - public static final String SDK_VERSION = "0.12.23"; - public static final String GEN_VERSION = "2.832.9"; + public static final String SDK_VERSION = "0.12.24"; + public static final String GEN_VERSION = "2.844.3"; private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ActionSummary.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ActionSummary.java index 1272bcc9..dcded37f 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ActionSummary.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ActionSummary.java @@ -5,10 +5,14 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Boolean; import java.lang.Override; import java.lang.String; +import java.util.Optional; /** * ActionSummary @@ -28,14 +32,82 @@ public class ActionSummary { @JsonProperty("display_name") private String displayName; + /** + * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("type") + private Optional type; + + /** + * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide + * delegation), or NONE. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("write_action_type") + private Optional writeActionType; + + /** + * Whether this action has been fully configured and validated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("is_setup_finished") + private Optional isSetupFinished; + + /** + * Indicates the kind of knowledge a tool would access or modify. + * Company knowledge: + * - Glean search, and any native tools that derive from it (e.g., expert search, code search) + * - Native federated tools to company data sources (e.g., outlook search) + * World knowledge: + * - Native tools that bring in public content (e.g., web browser) + * - Platform action like bingwebsearch, geminiwebsearch, etc + * Neutral knowledge: + * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + * - Platform read or write tools (creator has to determine their knowledge implications) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_source") + private Optional dataSource; + @JsonCreator public ActionSummary( @JsonProperty("tool_id") String toolId, - @JsonProperty("display_name") String displayName) { + @JsonProperty("display_name") String displayName, + @JsonProperty("type") Optional type, + @JsonProperty("auth_type") Optional authType, + @JsonProperty("write_action_type") Optional writeActionType, + @JsonProperty("is_setup_finished") Optional isSetupFinished, + @JsonProperty("data_source") Optional dataSource) { Utils.checkNotNull(toolId, "toolId"); Utils.checkNotNull(displayName, "displayName"); + Utils.checkNotNull(type, "type"); + Utils.checkNotNull(authType, "authType"); + Utils.checkNotNull(writeActionType, "writeActionType"); + Utils.checkNotNull(isSetupFinished, "isSetupFinished"); + Utils.checkNotNull(dataSource, "dataSource"); this.toolId = toolId; this.displayName = displayName; + this.type = type; + this.authType = authType; + this.writeActionType = writeActionType; + this.isSetupFinished = isSetupFinished; + this.dataSource = dataSource; + } + + public ActionSummary( + String toolId, + String displayName) { + this(toolId, displayName, Optional.empty(), + Optional.empty(), Optional.empty(), Optional.empty(), + Optional.empty()); } /** @@ -54,6 +126,56 @@ public String displayName() { return displayName; } + /** + * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + */ + @JsonIgnore + public Optional type() { + return type; + } + + /** + * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide + * delegation), or NONE. + */ + @JsonIgnore + public Optional authType() { + return authType; + } + + /** + * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + */ + @JsonIgnore + public Optional writeActionType() { + return writeActionType; + } + + /** + * Whether this action has been fully configured and validated. + */ + @JsonIgnore + public Optional isSetupFinished() { + return isSetupFinished; + } + + /** + * Indicates the kind of knowledge a tool would access or modify. + * Company knowledge: + * - Glean search, and any native tools that derive from it (e.g., expert search, code search) + * - Native federated tools to company data sources (e.g., outlook search) + * World knowledge: + * - Native tools that bring in public content (e.g., web browser) + * - Platform action like bingwebsearch, geminiwebsearch, etc + * Neutral knowledge: + * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + * - Platform read or write tools (creator has to determine their knowledge implications) + */ + @JsonIgnore + public Optional dataSource() { + return dataSource; + } + public static Builder builder() { return new Builder(); } @@ -77,6 +199,121 @@ public ActionSummary withDisplayName(String displayName) { return this; } + /** + * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + */ + public ActionSummary withType(String type) { + Utils.checkNotNull(type, "type"); + this.type = Optional.ofNullable(type); + return this; + } + + + /** + * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + */ + public ActionSummary withType(Optional type) { + Utils.checkNotNull(type, "type"); + this.type = type; + return this; + } + + /** + * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide + * delegation), or NONE. + */ + public ActionSummary withAuthType(String authType) { + Utils.checkNotNull(authType, "authType"); + this.authType = Optional.ofNullable(authType); + return this; + } + + + /** + * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide + * delegation), or NONE. + */ + public ActionSummary withAuthType(Optional authType) { + Utils.checkNotNull(authType, "authType"); + this.authType = authType; + return this; + } + + /** + * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + */ + public ActionSummary withWriteActionType(String writeActionType) { + Utils.checkNotNull(writeActionType, "writeActionType"); + this.writeActionType = Optional.ofNullable(writeActionType); + return this; + } + + + /** + * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + */ + public ActionSummary withWriteActionType(Optional writeActionType) { + Utils.checkNotNull(writeActionType, "writeActionType"); + this.writeActionType = writeActionType; + return this; + } + + /** + * Whether this action has been fully configured and validated. + */ + public ActionSummary withIsSetupFinished(boolean isSetupFinished) { + Utils.checkNotNull(isSetupFinished, "isSetupFinished"); + this.isSetupFinished = Optional.ofNullable(isSetupFinished); + return this; + } + + + /** + * Whether this action has been fully configured and validated. + */ + public ActionSummary withIsSetupFinished(Optional isSetupFinished) { + Utils.checkNotNull(isSetupFinished, "isSetupFinished"); + this.isSetupFinished = isSetupFinished; + return this; + } + + /** + * Indicates the kind of knowledge a tool would access or modify. + * Company knowledge: + * - Glean search, and any native tools that derive from it (e.g., expert search, code search) + * - Native federated tools to company data sources (e.g., outlook search) + * World knowledge: + * - Native tools that bring in public content (e.g., web browser) + * - Platform action like bingwebsearch, geminiwebsearch, etc + * Neutral knowledge: + * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + * - Platform read or write tools (creator has to determine their knowledge implications) + */ + public ActionSummary withDataSource(String dataSource) { + Utils.checkNotNull(dataSource, "dataSource"); + this.dataSource = Optional.ofNullable(dataSource); + return this; + } + + + /** + * Indicates the kind of knowledge a tool would access or modify. + * Company knowledge: + * - Glean search, and any native tools that derive from it (e.g., expert search, code search) + * - Native federated tools to company data sources (e.g., outlook search) + * World knowledge: + * - Native tools that bring in public content (e.g., web browser) + * - Platform action like bingwebsearch, geminiwebsearch, etc + * Neutral knowledge: + * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + * - Platform read or write tools (creator has to determine their knowledge implications) + */ + public ActionSummary withDataSource(Optional dataSource) { + Utils.checkNotNull(dataSource, "dataSource"); + this.dataSource = dataSource; + return this; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -88,20 +325,32 @@ public boolean equals(java.lang.Object o) { ActionSummary other = (ActionSummary) o; return Utils.enhancedDeepEquals(this.toolId, other.toolId) && - Utils.enhancedDeepEquals(this.displayName, other.displayName); + Utils.enhancedDeepEquals(this.displayName, other.displayName) && + Utils.enhancedDeepEquals(this.type, other.type) && + Utils.enhancedDeepEquals(this.authType, other.authType) && + Utils.enhancedDeepEquals(this.writeActionType, other.writeActionType) && + Utils.enhancedDeepEquals(this.isSetupFinished, other.isSetupFinished) && + Utils.enhancedDeepEquals(this.dataSource, other.dataSource); } @Override public int hashCode() { return Utils.enhancedHash( - toolId, displayName); + toolId, displayName, type, + authType, writeActionType, isSetupFinished, + dataSource); } @Override public String toString() { return Utils.toString(ActionSummary.class, "toolId", toolId, - "displayName", displayName); + "displayName", displayName, + "type", type, + "authType", authType, + "writeActionType", writeActionType, + "isSetupFinished", isSetupFinished, + "dataSource", dataSource); } @SuppressWarnings("UnusedReturnValue") @@ -111,6 +360,16 @@ public final static class Builder { private String displayName; + private Optional type = Optional.empty(); + + private Optional authType = Optional.empty(); + + private Optional writeActionType = Optional.empty(); + + private Optional isSetupFinished = Optional.empty(); + + private Optional dataSource = Optional.empty(); + private Builder() { // force use of static builder() method } @@ -135,10 +394,127 @@ public Builder displayName(String displayName) { return this; } + + /** + * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + */ + public Builder type(String type) { + Utils.checkNotNull(type, "type"); + this.type = Optional.ofNullable(type); + return this; + } + + /** + * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + */ + public Builder type(Optional type) { + Utils.checkNotNull(type, "type"); + this.type = type; + return this; + } + + + /** + * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide + * delegation), or NONE. + */ + public Builder authType(String authType) { + Utils.checkNotNull(authType, "authType"); + this.authType = Optional.ofNullable(authType); + return this; + } + + /** + * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide + * delegation), or NONE. + */ + public Builder authType(Optional authType) { + Utils.checkNotNull(authType, "authType"); + this.authType = authType; + return this; + } + + + /** + * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + */ + public Builder writeActionType(String writeActionType) { + Utils.checkNotNull(writeActionType, "writeActionType"); + this.writeActionType = Optional.ofNullable(writeActionType); + return this; + } + + /** + * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + */ + public Builder writeActionType(Optional writeActionType) { + Utils.checkNotNull(writeActionType, "writeActionType"); + this.writeActionType = writeActionType; + return this; + } + + + /** + * Whether this action has been fully configured and validated. + */ + public Builder isSetupFinished(boolean isSetupFinished) { + Utils.checkNotNull(isSetupFinished, "isSetupFinished"); + this.isSetupFinished = Optional.ofNullable(isSetupFinished); + return this; + } + + /** + * Whether this action has been fully configured and validated. + */ + public Builder isSetupFinished(Optional isSetupFinished) { + Utils.checkNotNull(isSetupFinished, "isSetupFinished"); + this.isSetupFinished = isSetupFinished; + return this; + } + + + /** + * Indicates the kind of knowledge a tool would access or modify. + * Company knowledge: + * - Glean search, and any native tools that derive from it (e.g., expert search, code search) + * - Native federated tools to company data sources (e.g., outlook search) + * World knowledge: + * - Native tools that bring in public content (e.g., web browser) + * - Platform action like bingwebsearch, geminiwebsearch, etc + * Neutral knowledge: + * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + * - Platform read or write tools (creator has to determine their knowledge implications) + */ + public Builder dataSource(String dataSource) { + Utils.checkNotNull(dataSource, "dataSource"); + this.dataSource = Optional.ofNullable(dataSource); + return this; + } + + /** + * Indicates the kind of knowledge a tool would access or modify. + * Company knowledge: + * - Glean search, and any native tools that derive from it (e.g., expert search, code search) + * - Native federated tools to company data sources (e.g., outlook search) + * World knowledge: + * - Native tools that bring in public content (e.g., web browser) + * - Platform action like bingwebsearch, geminiwebsearch, etc + * Neutral knowledge: + * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) + * - Platform read or write tools (creator has to determine their knowledge implications) + */ + public Builder dataSource(Optional dataSource) { + Utils.checkNotNull(dataSource, "dataSource"); + this.dataSource = dataSource; + return this; + } + public ActionSummary build() { return new ActionSummary( - toolId, displayName); + toolId, displayName, type, + authType, writeActionType, isSetupFinished, + dataSource); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ActivityEnum.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ActivityEnum.java index e69ed28b..b6704b5d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ActivityEnum.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ActivityEnum.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ActivityEnum * *

Activity e.g. search, home page visit or all. */ -public enum ActivityEnum { - ALL("ALL"), - SEARCH("SEARCH"); +public class ActivityEnum { + + public static final ActivityEnum ALL = new ActivityEnum("ALL"); + public static final ActivityEnum SEARCH = new ActivityEnum("SEARCH"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ActivityEnum(String value) { + private ActivityEnum(String value) { this.value = value; } - + + /** + * Returns a ActivityEnum with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ActivityEnum + */ + @JsonCreator + public static ActivityEnum of(String value) { + synchronized (ActivityEnum.class) { + return values.computeIfAbsent(value, v -> new ActivityEnum(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ActivityEnum other = (ActivityEnum) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ActivityEnum [value=" + value + "]"; + } + + // return an array just like an enum + public static ActivityEnum[] values() { + synchronized (ActivityEnum.class) { + return values.values().toArray(new ActivityEnum[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ALL", ALL); + map.put("SEARCH", SEARCH); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ALL", ActivityEnumEnum.ALL); + map.put("SEARCH", ActivityEnumEnum.SEARCH); + return map; + } - public static Optional fromValue(String value) { - for (ActivityEnum o: ActivityEnum.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ActivityEnumEnum { + + ALL("ALL"), + SEARCH("SEARCH"),; + + private final String value; + + private ActivityEnumEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AddCollectionItemsErrorErrorType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AddCollectionItemsErrorErrorType.java index e3275f81..a8b60efe 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AddCollectionItemsErrorErrorType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AddCollectionItemsErrorErrorType.java @@ -3,32 +3,121 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum AddCollectionItemsErrorErrorType { - EXISTING_ITEM("EXISTING_ITEM"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class AddCollectionItemsErrorErrorType { + + public static final AddCollectionItemsErrorErrorType EXISTING_ITEM = new AddCollectionItemsErrorErrorType("EXISTING_ITEM"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AddCollectionItemsErrorErrorType(String value) { + private AddCollectionItemsErrorErrorType(String value) { this.value = value; } - + + /** + * Returns a AddCollectionItemsErrorErrorType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AddCollectionItemsErrorErrorType + */ + @JsonCreator + public static AddCollectionItemsErrorErrorType of(String value) { + synchronized (AddCollectionItemsErrorErrorType.class) { + return values.computeIfAbsent(value, v -> new AddCollectionItemsErrorErrorType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AddCollectionItemsErrorErrorType other = (AddCollectionItemsErrorErrorType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AddCollectionItemsErrorErrorType [value=" + value + "]"; + } + + // return an array just like an enum + public static AddCollectionItemsErrorErrorType[] values() { + synchronized (AddCollectionItemsErrorErrorType.class) { + return values.values().toArray(new AddCollectionItemsErrorErrorType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("EXISTING_ITEM", EXISTING_ITEM); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("EXISTING_ITEM", AddCollectionItemsErrorErrorTypeEnum.EXISTING_ITEM); + return map; + } - public static Optional fromValue(String value) { - for (AddCollectionItemsErrorErrorType o: AddCollectionItemsErrorErrorType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AddCollectionItemsErrorErrorTypeEnum { + + EXISTING_ITEM("EXISTING_ITEM"),; + + private final String value; + + private AddCollectionItemsErrorErrorTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentEnum.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentEnum.java index 76eb8811..c85cf2a1 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentEnum.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentEnum.java @@ -3,60 +3,146 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AgentEnum * *

Name of the agent. */ -public enum AgentEnum { - /** - * Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - */ - DEFAULT("DEFAULT"), - /** - * Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - */ - GPT("GPT"), - /** - * Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - */ - UNIVERSAL("UNIVERSAL"), - /** - * Uses an agent powered by the agentic engine that responds faster but may have lower quality results. Requires the agentic engine to be enabled in the deployment. - */ - FAST("FAST"), - /** - * Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. - */ - ADVANCED("ADVANCED"), - /** - * Uses an agent powered by the agentic engine that routes between reasoning efforts based on the question and context. - */ - AUTO("AUTO"); +public class AgentEnum { + + public static final AgentEnum DEFAULT = new AgentEnum("DEFAULT"); + public static final AgentEnum GPT = new AgentEnum("GPT"); + public static final AgentEnum UNIVERSAL = new AgentEnum("UNIVERSAL"); + public static final AgentEnum FAST = new AgentEnum("FAST"); + public static final AgentEnum ADVANCED = new AgentEnum("ADVANCED"); + public static final AgentEnum AUTO = new AgentEnum("AUTO"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AgentEnum(String value) { + private AgentEnum(String value) { this.value = value; } - + + /** + * Returns a AgentEnum with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AgentEnum + */ + @JsonCreator + public static AgentEnum of(String value) { + synchronized (AgentEnum.class) { + return values.computeIfAbsent(value, v -> new AgentEnum(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AgentEnum other = (AgentEnum) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AgentEnum [value=" + value + "]"; + } + + // return an array just like an enum + public static AgentEnum[] values() { + synchronized (AgentEnum.class) { + return values.values().toArray(new AgentEnum[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DEFAULT", DEFAULT); + map.put("GPT", GPT); + map.put("UNIVERSAL", UNIVERSAL); + map.put("FAST", FAST); + map.put("ADVANCED", ADVANCED); + map.put("AUTO", AUTO); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DEFAULT", AgentEnumEnum.DEFAULT); + map.put("GPT", AgentEnumEnum.GPT); + map.put("UNIVERSAL", AgentEnumEnum.UNIVERSAL); + map.put("FAST", AgentEnumEnum.FAST); + map.put("ADVANCED", AgentEnumEnum.ADVANCED); + map.put("AUTO", AgentEnumEnum.AUTO); + return map; + } + - public static Optional fromValue(String value) { - for (AgentEnum o: AgentEnum.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + public enum AgentEnumEnum { + + DEFAULT("DEFAULT"), + GPT("GPT"), + UNIVERSAL("UNIVERSAL"), + FAST("FAST"), + ADVANCED("ADVANCED"), + AUTO("AUTO"),; + + private final String value; + + private AgentEnumEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentExecutionStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentExecutionStatus.java index ff8e1a50..a767ffb9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentExecutionStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AgentExecutionStatus.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AgentExecutionStatus * *

The status of the run. One of 'error', 'success'. */ -public enum AgentExecutionStatus { - ERROR("error"), - SUCCESS("success"); +public class AgentExecutionStatus { + + public static final AgentExecutionStatus ERROR = new AgentExecutionStatus("error"); + public static final AgentExecutionStatus SUCCESS = new AgentExecutionStatus("success"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AgentExecutionStatus(String value) { + private AgentExecutionStatus(String value) { this.value = value; } - + + /** + * Returns a AgentExecutionStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AgentExecutionStatus + */ + @JsonCreator + public static AgentExecutionStatus of(String value) { + synchronized (AgentExecutionStatus.class) { + return values.computeIfAbsent(value, v -> new AgentExecutionStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AgentExecutionStatus other = (AgentExecutionStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AgentExecutionStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static AgentExecutionStatus[] values() { + synchronized (AgentExecutionStatus.class) { + return values.values().toArray(new AgentExecutionStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("error", ERROR); + map.put("success", SUCCESS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("error", AgentExecutionStatusEnum.ERROR); + map.put("success", AgentExecutionStatusEnum.SUCCESS); + return map; + } - public static Optional fromValue(String value) { - for (AgentExecutionStatus o: AgentExecutionStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AgentExecutionStatusEnum { + + ERROR("error"), + SUCCESS("success"),; + + private final String value; + + private AgentExecutionStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementChannel.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementChannel.java index 97c540de..ad41cd82 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementChannel.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementChannel.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AnnouncementChannel * *

This determines whether this is a Social Feed post or a regular announcement. */ -public enum AnnouncementChannel { - MAIN("MAIN"), - SOCIAL_FEED("SOCIAL_FEED"); +public class AnnouncementChannel { + + public static final AnnouncementChannel MAIN = new AnnouncementChannel("MAIN"); + public static final AnnouncementChannel SOCIAL_FEED = new AnnouncementChannel("SOCIAL_FEED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AnnouncementChannel(String value) { + private AnnouncementChannel(String value) { this.value = value; } - + + /** + * Returns a AnnouncementChannel with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AnnouncementChannel + */ + @JsonCreator + public static AnnouncementChannel of(String value) { + synchronized (AnnouncementChannel.class) { + return values.computeIfAbsent(value, v -> new AnnouncementChannel(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AnnouncementChannel other = (AnnouncementChannel) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AnnouncementChannel [value=" + value + "]"; + } + + // return an array just like an enum + public static AnnouncementChannel[] values() { + synchronized (AnnouncementChannel.class) { + return values.values().toArray(new AnnouncementChannel[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("MAIN", MAIN); + map.put("SOCIAL_FEED", SOCIAL_FEED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("MAIN", AnnouncementChannelEnum.MAIN); + map.put("SOCIAL_FEED", AnnouncementChannelEnum.SOCIAL_FEED); + return map; + } - public static Optional fromValue(String value) { - for (AnnouncementChannel o: AnnouncementChannel.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AnnouncementChannelEnum { + + MAIN("MAIN"), + SOCIAL_FEED("SOCIAL_FEED"),; + + private final String value; + + private AnnouncementChannelEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementPostType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementPostType.java index 23ac4815..2e3c23a9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementPostType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnnouncementPostType.java @@ -3,39 +3,131 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AnnouncementPostType * *

This determines whether this is an external-link post or a regular announcement post. TEXT - Regular * announcement that can contain rich text. LINK - Announcement that is linked to an external site. */ -public enum AnnouncementPostType { - TEXT("TEXT"), - LINK("LINK"); +public class AnnouncementPostType { + + public static final AnnouncementPostType TEXT = new AnnouncementPostType("TEXT"); + public static final AnnouncementPostType LINK = new AnnouncementPostType("LINK"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AnnouncementPostType(String value) { + private AnnouncementPostType(String value) { this.value = value; } - + + /** + * Returns a AnnouncementPostType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AnnouncementPostType + */ + @JsonCreator + public static AnnouncementPostType of(String value) { + synchronized (AnnouncementPostType.class) { + return values.computeIfAbsent(value, v -> new AnnouncementPostType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AnnouncementPostType other = (AnnouncementPostType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AnnouncementPostType [value=" + value + "]"; + } + + // return an array just like an enum + public static AnnouncementPostType[] values() { + synchronized (AnnouncementPostType.class) { + return values.values().toArray(new AnnouncementPostType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("TEXT", TEXT); + map.put("LINK", LINK); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("TEXT", AnnouncementPostTypeEnum.TEXT); + map.put("LINK", AnnouncementPostTypeEnum.LINK); + return map; + } - public static Optional fromValue(String value) { - for (AnnouncementPostType o: AnnouncementPostType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AnnouncementPostTypeEnum { + + TEXT("TEXT"), + LINK("LINK"),; + + private final String value; + + private AnnouncementPostTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnonymousEventEventType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnonymousEventEventType.java index 9cd42efe..a66a8e10 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnonymousEventEventType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnonymousEventEventType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AnonymousEventEventType * *

The nature of the event, for example "out of office". */ -public enum AnonymousEventEventType { - DEFAULT("DEFAULT"), - OUT_OF_OFFICE("OUT_OF_OFFICE"); +public class AnonymousEventEventType { + + public static final AnonymousEventEventType DEFAULT = new AnonymousEventEventType("DEFAULT"); + public static final AnonymousEventEventType OUT_OF_OFFICE = new AnonymousEventEventType("OUT_OF_OFFICE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AnonymousEventEventType(String value) { + private AnonymousEventEventType(String value) { this.value = value; } - + + /** + * Returns a AnonymousEventEventType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AnonymousEventEventType + */ + @JsonCreator + public static AnonymousEventEventType of(String value) { + synchronized (AnonymousEventEventType.class) { + return values.computeIfAbsent(value, v -> new AnonymousEventEventType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AnonymousEventEventType other = (AnonymousEventEventType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AnonymousEventEventType [value=" + value + "]"; + } + + // return an array just like an enum + public static AnonymousEventEventType[] values() { + synchronized (AnonymousEventEventType.class) { + return values.values().toArray(new AnonymousEventEventType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DEFAULT", DEFAULT); + map.put("OUT_OF_OFFICE", OUT_OF_OFFICE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DEFAULT", AnonymousEventEventTypeEnum.DEFAULT); + map.put("OUT_OF_OFFICE", AnonymousEventEventTypeEnum.OUT_OF_OFFICE); + return map; + } - public static Optional fromValue(String value) { - for (AnonymousEventEventType o: AnonymousEventEventType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AnonymousEventEventTypeEnum { + + DEFAULT("DEFAULT"), + OUT_OF_OFFICE("OUT_OF_OFFICE"),; + + private final String value; + + private AnonymousEventEventTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnswerSourceType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnswerSourceType.java index 55cb612c..3858b219 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AnswerSourceType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AnswerSourceType.java @@ -3,33 +3,125 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum AnswerSourceType { - DOCUMENT("DOCUMENT"), - ASSISTANT("ASSISTANT"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class AnswerSourceType { + + public static final AnswerSourceType DOCUMENT = new AnswerSourceType("DOCUMENT"); + public static final AnswerSourceType ASSISTANT = new AnswerSourceType("ASSISTANT"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AnswerSourceType(String value) { + private AnswerSourceType(String value) { this.value = value; } - + + /** + * Returns a AnswerSourceType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AnswerSourceType + */ + @JsonCreator + public static AnswerSourceType of(String value) { + synchronized (AnswerSourceType.class) { + return values.computeIfAbsent(value, v -> new AnswerSourceType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AnswerSourceType other = (AnswerSourceType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AnswerSourceType [value=" + value + "]"; + } + + // return an array just like an enum + public static AnswerSourceType[] values() { + synchronized (AnswerSourceType.class) { + return values.values().toArray(new AnswerSourceType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DOCUMENT", DOCUMENT); + map.put("ASSISTANT", ASSISTANT); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DOCUMENT", AnswerSourceTypeEnum.DOCUMENT); + map.put("ASSISTANT", AnswerSourceTypeEnum.ASSISTANT); + return map; + } - public static Optional fromValue(String value) { - for (AnswerSourceType o: AnswerSourceType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AnswerSourceTypeEnum { + + DOCUMENT("DOCUMENT"), + ASSISTANT("ASSISTANT"),; + + private final String value; + + private AnswerSourceTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigStatus.java index 68149c23..bd809485 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigStatus.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AuthConfigStatus * *

Auth status of the tool. */ -public enum AuthConfigStatus { - AWAITING_AUTH("AWAITING_AUTH"), - AUTHORIZED("AUTHORIZED"), - AUTH_DISABLED("AUTH_DISABLED"); +public class AuthConfigStatus { + + public static final AuthConfigStatus AWAITING_AUTH = new AuthConfigStatus("AWAITING_AUTH"); + public static final AuthConfigStatus AUTHORIZED = new AuthConfigStatus("AUTHORIZED"); + public static final AuthConfigStatus AUTH_DISABLED = new AuthConfigStatus("AUTH_DISABLED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AuthConfigStatus(String value) { + private AuthConfigStatus(String value) { this.value = value; } - + + /** + * Returns a AuthConfigStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AuthConfigStatus + */ + @JsonCreator + public static AuthConfigStatus of(String value) { + synchronized (AuthConfigStatus.class) { + return values.computeIfAbsent(value, v -> new AuthConfigStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AuthConfigStatus other = (AuthConfigStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AuthConfigStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static AuthConfigStatus[] values() { + synchronized (AuthConfigStatus.class) { + return values.values().toArray(new AuthConfigStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("AWAITING_AUTH", AWAITING_AUTH); + map.put("AUTHORIZED", AUTHORIZED); + map.put("AUTH_DISABLED", AUTH_DISABLED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("AWAITING_AUTH", AuthConfigStatusEnum.AWAITING_AUTH); + map.put("AUTHORIZED", AuthConfigStatusEnum.AUTHORIZED); + map.put("AUTH_DISABLED", AuthConfigStatusEnum.AUTH_DISABLED); + return map; + } - public static Optional fromValue(String value) { - for (AuthConfigStatus o: AuthConfigStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AuthConfigStatusEnum { + + AWAITING_AUTH("AWAITING_AUTH"), + AUTHORIZED("AUTHORIZED"), + AUTH_DISABLED("AUTH_DISABLED"),; + + private final String value; + + private AuthConfigStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigType.java index 9f02eb0a..ff9bf61c 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthConfigType.java @@ -3,11 +3,21 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AuthConfigType * @@ -18,32 +28,126 @@ * 'OAUTH_USER' uses individual user tokens for external API calls. * 'DWD' refers to domain wide delegation. */ -public enum AuthConfigType { - NONE("NONE"), - OAUTH_USER("OAUTH_USER"), - OAUTH_ADMIN("OAUTH_ADMIN"), - API_KEY("API_KEY"), - BASIC_AUTH("BASIC_AUTH"), - DWD("DWD"); +public class AuthConfigType { + + public static final AuthConfigType NONE = new AuthConfigType("NONE"); + public static final AuthConfigType OAUTH_USER = new AuthConfigType("OAUTH_USER"); + public static final AuthConfigType OAUTH_ADMIN = new AuthConfigType("OAUTH_ADMIN"); + public static final AuthConfigType API_KEY = new AuthConfigType("API_KEY"); + public static final AuthConfigType BASIC_AUTH = new AuthConfigType("BASIC_AUTH"); + public static final AuthConfigType DWD = new AuthConfigType("DWD"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AuthConfigType(String value) { + private AuthConfigType(String value) { this.value = value; } - + + /** + * Returns a AuthConfigType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AuthConfigType + */ + @JsonCreator + public static AuthConfigType of(String value) { + synchronized (AuthConfigType.class) { + return values.computeIfAbsent(value, v -> new AuthConfigType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AuthConfigType other = (AuthConfigType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AuthConfigType [value=" + value + "]"; + } + + // return an array just like an enum + public static AuthConfigType[] values() { + synchronized (AuthConfigType.class) { + return values.values().toArray(new AuthConfigType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NONE", NONE); + map.put("OAUTH_USER", OAUTH_USER); + map.put("OAUTH_ADMIN", OAUTH_ADMIN); + map.put("API_KEY", API_KEY); + map.put("BASIC_AUTH", BASIC_AUTH); + map.put("DWD", DWD); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NONE", AuthConfigTypeEnum.NONE); + map.put("OAUTH_USER", AuthConfigTypeEnum.OAUTH_USER); + map.put("OAUTH_ADMIN", AuthConfigTypeEnum.OAUTH_ADMIN); + map.put("API_KEY", AuthConfigTypeEnum.API_KEY); + map.put("BASIC_AUTH", AuthConfigTypeEnum.BASIC_AUTH); + map.put("DWD", AuthConfigTypeEnum.DWD); + return map; + } - public static Optional fromValue(String value) { - for (AuthConfigType o: AuthConfigType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AuthConfigTypeEnum { + + NONE("NONE"), + OAUTH_USER("OAUTH_USER"), + OAUTH_ADMIN("OAUTH_ADMIN"), + API_KEY("API_KEY"), + BASIC_AUTH("BASIC_AUTH"), + DWD("DWD"),; + + private final String value; + + private AuthConfigTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthStatus.java index 4580f6de..7a7bc87b 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthStatus.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AuthStatus * *

The per-user authorization status for a datasource. */ -public enum AuthStatus { - DISABLED("DISABLED"), - AWAITING_AUTH("AWAITING_AUTH"), - AUTHORIZED("AUTHORIZED"), - STALE_OAUTH("STALE_OAUTH"), - SEG_MIGRATION("SEG_MIGRATION"); +public class AuthStatus { + + public static final AuthStatus DISABLED = new AuthStatus("DISABLED"); + public static final AuthStatus AWAITING_AUTH = new AuthStatus("AWAITING_AUTH"); + public static final AuthStatus AUTHORIZED = new AuthStatus("AUTHORIZED"); + public static final AuthStatus STALE_OAUTH = new AuthStatus("STALE_OAUTH"); + public static final AuthStatus SEG_MIGRATION = new AuthStatus("SEG_MIGRATION"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AuthStatus(String value) { + private AuthStatus(String value) { this.value = value; } - + + /** + * Returns a AuthStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AuthStatus + */ + @JsonCreator + public static AuthStatus of(String value) { + synchronized (AuthStatus.class) { + return values.computeIfAbsent(value, v -> new AuthStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AuthStatus other = (AuthStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AuthStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static AuthStatus[] values() { + synchronized (AuthStatus.class) { + return values.values().toArray(new AuthStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DISABLED", DISABLED); + map.put("AWAITING_AUTH", AWAITING_AUTH); + map.put("AUTHORIZED", AUTHORIZED); + map.put("STALE_OAUTH", STALE_OAUTH); + map.put("SEG_MIGRATION", SEG_MIGRATION); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DISABLED", AuthStatusEnum.DISABLED); + map.put("AWAITING_AUTH", AuthStatusEnum.AWAITING_AUTH); + map.put("AUTHORIZED", AuthStatusEnum.AUTHORIZED); + map.put("STALE_OAUTH", AuthStatusEnum.STALE_OAUTH); + map.put("SEG_MIGRATION", AuthStatusEnum.SEG_MIGRATION); + return map; + } - public static Optional fromValue(String value) { - for (AuthStatus o: AuthStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AuthStatusEnum { + + DISABLED("DISABLED"), + AWAITING_AUTH("AWAITING_AUTH"), + AUTHORIZED("AUTHORIZED"), + STALE_OAUTH("STALE_OAUTH"), + SEG_MIGRATION("SEG_MIGRATION"),; + + private final String value; + + private AuthStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthType.java index a7efa6dc..9f82c103 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AuthType.java @@ -3,11 +3,21 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * AuthType * @@ -18,32 +28,126 @@ * 'OAUTH_USER' uses individual user tokens for external API calls. * 'DWD' refers to domain wide delegation. */ -public enum AuthType { - NONE("NONE"), - OAUTH_USER("OAUTH_USER"), - OAUTH_ADMIN("OAUTH_ADMIN"), - API_KEY("API_KEY"), - BASIC_AUTH("BASIC_AUTH"), - DWD("DWD"); +public class AuthType { + + public static final AuthType NONE = new AuthType("NONE"); + public static final AuthType OAUTH_USER = new AuthType("OAUTH_USER"); + public static final AuthType OAUTH_ADMIN = new AuthType("OAUTH_ADMIN"); + public static final AuthType API_KEY = new AuthType("API_KEY"); + public static final AuthType BASIC_AUTH = new AuthType("BASIC_AUTH"); + public static final AuthType DWD = new AuthType("DWD"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AuthType(String value) { + private AuthType(String value) { this.value = value; } - + + /** + * Returns a AuthType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AuthType + */ + @JsonCreator + public static AuthType of(String value) { + synchronized (AuthType.class) { + return values.computeIfAbsent(value, v -> new AuthType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AuthType other = (AuthType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AuthType [value=" + value + "]"; + } + + // return an array just like an enum + public static AuthType[] values() { + synchronized (AuthType.class) { + return values.values().toArray(new AuthType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NONE", NONE); + map.put("OAUTH_USER", OAUTH_USER); + map.put("OAUTH_ADMIN", OAUTH_ADMIN); + map.put("API_KEY", API_KEY); + map.put("BASIC_AUTH", BASIC_AUTH); + map.put("DWD", DWD); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NONE", AuthTypeEnum.NONE); + map.put("OAUTH_USER", AuthTypeEnum.OAUTH_USER); + map.put("OAUTH_ADMIN", AuthTypeEnum.OAUTH_ADMIN); + map.put("API_KEY", AuthTypeEnum.API_KEY); + map.put("BASIC_AUTH", AuthTypeEnum.BASIC_AUTH); + map.put("DWD", AuthTypeEnum.DWD); + return map; + } - public static Optional fromValue(String value) { - for (AuthType o: AuthType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AuthTypeEnum { + + NONE("NONE"), + OAUTH_USER("OAUTH_USER"), + OAUTH_ADMIN("OAUTH_ADMIN"), + API_KEY("API_KEY"), + BASIC_AUTH("BASIC_AUTH"), + DWD("DWD"),; + + private final String value; + + private AuthTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Author.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Author.java index 12127484..c5258761 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Author.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Author.java @@ -3,33 +3,125 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum Author { - USER("USER"), - GLEAN_AI("GLEAN_AI"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class Author { + + public static final Author USER = new Author("USER"); + public static final Author GLEAN_AI = new Author("GLEAN_AI"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Author(String value) { + private Author(String value) { this.value = value; } - + + /** + * Returns a Author with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Author + */ + @JsonCreator + public static Author of(String value) { + synchronized (Author.class) { + return values.computeIfAbsent(value, v -> new Author(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Author other = (Author) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Author [value=" + value + "]"; + } + + // return an array just like an enum + public static Author[] values() { + synchronized (Author.class) { + return values.values().toArray(new Author[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("USER", USER); + map.put("GLEAN_AI", GLEAN_AI); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("USER", AuthorEnum.USER); + map.put("GLEAN_AI", AuthorEnum.GLEAN_AI); + return map; + } - public static Optional fromValue(String value) { - for (Author o: Author.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AuthorEnum { + + USER("USER"), + GLEAN_AI("GLEAN_AI"),; + + private final String value; + + private AuthorEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/AutocompleteResultResultType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/AutocompleteResultResultType.java index f3e5aeb3..72daa0c6 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/AutocompleteResultResultType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/AutocompleteResultResultType.java @@ -3,45 +3,173 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum AutocompleteResultResultType { - ADDITIONAL_DOCUMENT("ADDITIONAL_DOCUMENT"), - APP("APP"), - BROWSER_HISTORY("BROWSER_HISTORY"), - DATASOURCE("DATASOURCE"), - DOCUMENT("DOCUMENT"), - ENTITY("ENTITY"), - GOLINK("GOLINK"), - HISTORY("HISTORY"), - CHAT_HISTORY("CHAT_HISTORY"), - NEW_CHAT("NEW_CHAT"), - OPERATOR("OPERATOR"), - OPERATOR_VALUE("OPERATOR_VALUE"), - QUICKLINK("QUICKLINK"), - SUGGESTION("SUGGESTION"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class AutocompleteResultResultType { + + public static final AutocompleteResultResultType ADDITIONAL_DOCUMENT = new AutocompleteResultResultType("ADDITIONAL_DOCUMENT"); + public static final AutocompleteResultResultType APP = new AutocompleteResultResultType("APP"); + public static final AutocompleteResultResultType BROWSER_HISTORY = new AutocompleteResultResultType("BROWSER_HISTORY"); + public static final AutocompleteResultResultType DATASOURCE = new AutocompleteResultResultType("DATASOURCE"); + public static final AutocompleteResultResultType DOCUMENT = new AutocompleteResultResultType("DOCUMENT"); + public static final AutocompleteResultResultType ENTITY = new AutocompleteResultResultType("ENTITY"); + public static final AutocompleteResultResultType GOLINK = new AutocompleteResultResultType("GOLINK"); + public static final AutocompleteResultResultType HISTORY = new AutocompleteResultResultType("HISTORY"); + public static final AutocompleteResultResultType CHAT_HISTORY = new AutocompleteResultResultType("CHAT_HISTORY"); + public static final AutocompleteResultResultType NEW_CHAT = new AutocompleteResultResultType("NEW_CHAT"); + public static final AutocompleteResultResultType OPERATOR = new AutocompleteResultResultType("OPERATOR"); + public static final AutocompleteResultResultType OPERATOR_VALUE = new AutocompleteResultResultType("OPERATOR_VALUE"); + public static final AutocompleteResultResultType QUICKLINK = new AutocompleteResultResultType("QUICKLINK"); + public static final AutocompleteResultResultType SUGGESTION = new AutocompleteResultResultType("SUGGESTION"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - AutocompleteResultResultType(String value) { + private AutocompleteResultResultType(String value) { this.value = value; } - + + /** + * Returns a AutocompleteResultResultType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as AutocompleteResultResultType + */ + @JsonCreator + public static AutocompleteResultResultType of(String value) { + synchronized (AutocompleteResultResultType.class) { + return values.computeIfAbsent(value, v -> new AutocompleteResultResultType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + AutocompleteResultResultType other = (AutocompleteResultResultType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "AutocompleteResultResultType [value=" + value + "]"; + } + + // return an array just like an enum + public static AutocompleteResultResultType[] values() { + synchronized (AutocompleteResultResultType.class) { + return values.values().toArray(new AutocompleteResultResultType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ADDITIONAL_DOCUMENT", ADDITIONAL_DOCUMENT); + map.put("APP", APP); + map.put("BROWSER_HISTORY", BROWSER_HISTORY); + map.put("DATASOURCE", DATASOURCE); + map.put("DOCUMENT", DOCUMENT); + map.put("ENTITY", ENTITY); + map.put("GOLINK", GOLINK); + map.put("HISTORY", HISTORY); + map.put("CHAT_HISTORY", CHAT_HISTORY); + map.put("NEW_CHAT", NEW_CHAT); + map.put("OPERATOR", OPERATOR); + map.put("OPERATOR_VALUE", OPERATOR_VALUE); + map.put("QUICKLINK", QUICKLINK); + map.put("SUGGESTION", SUGGESTION); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ADDITIONAL_DOCUMENT", AutocompleteResultResultTypeEnum.ADDITIONAL_DOCUMENT); + map.put("APP", AutocompleteResultResultTypeEnum.APP); + map.put("BROWSER_HISTORY", AutocompleteResultResultTypeEnum.BROWSER_HISTORY); + map.put("DATASOURCE", AutocompleteResultResultTypeEnum.DATASOURCE); + map.put("DOCUMENT", AutocompleteResultResultTypeEnum.DOCUMENT); + map.put("ENTITY", AutocompleteResultResultTypeEnum.ENTITY); + map.put("GOLINK", AutocompleteResultResultTypeEnum.GOLINK); + map.put("HISTORY", AutocompleteResultResultTypeEnum.HISTORY); + map.put("CHAT_HISTORY", AutocompleteResultResultTypeEnum.CHAT_HISTORY); + map.put("NEW_CHAT", AutocompleteResultResultTypeEnum.NEW_CHAT); + map.put("OPERATOR", AutocompleteResultResultTypeEnum.OPERATOR); + map.put("OPERATOR_VALUE", AutocompleteResultResultTypeEnum.OPERATOR_VALUE); + map.put("QUICKLINK", AutocompleteResultResultTypeEnum.QUICKLINK); + map.put("SUGGESTION", AutocompleteResultResultTypeEnum.SUGGESTION); + return map; + } - public static Optional fromValue(String value) { - for (AutocompleteResultResultType o: AutocompleteResultResultType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum AutocompleteResultResultTypeEnum { + + ADDITIONAL_DOCUMENT("ADDITIONAL_DOCUMENT"), + APP("APP"), + BROWSER_HISTORY("BROWSER_HISTORY"), + DATASOURCE("DATASOURCE"), + DOCUMENT("DOCUMENT"), + ENTITY("ENTITY"), + GOLINK("GOLINK"), + HISTORY("HISTORY"), + CHAT_HISTORY("CHAT_HISTORY"), + NEW_CHAT("NEW_CHAT"), + OPERATOR("OPERATOR"), + OPERATOR_VALUE("OPERATOR_VALUE"), + QUICKLINK("QUICKLINK"), + SUGGESTION("SUGGESTION"),; + + private final String value; + + private AutocompleteResultResultTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/BulkUploadHistoryEventStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/BulkUploadHistoryEventStatus.java index 3108eff5..b73525d4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/BulkUploadHistoryEventStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/BulkUploadHistoryEventStatus.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * BulkUploadHistoryEventStatus * *

The status of the upload, an enum of ACTIVE, SUCCESSFUL */ -public enum BulkUploadHistoryEventStatus { - ACTIVE("ACTIVE"), - SUCCESSFUL("SUCCESSFUL"); +public class BulkUploadHistoryEventStatus { + + public static final BulkUploadHistoryEventStatus ACTIVE = new BulkUploadHistoryEventStatus("ACTIVE"); + public static final BulkUploadHistoryEventStatus SUCCESSFUL = new BulkUploadHistoryEventStatus("SUCCESSFUL"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - BulkUploadHistoryEventStatus(String value) { + private BulkUploadHistoryEventStatus(String value) { this.value = value; } - + + /** + * Returns a BulkUploadHistoryEventStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as BulkUploadHistoryEventStatus + */ + @JsonCreator + public static BulkUploadHistoryEventStatus of(String value) { + synchronized (BulkUploadHistoryEventStatus.class) { + return values.computeIfAbsent(value, v -> new BulkUploadHistoryEventStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + BulkUploadHistoryEventStatus other = (BulkUploadHistoryEventStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "BulkUploadHistoryEventStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static BulkUploadHistoryEventStatus[] values() { + synchronized (BulkUploadHistoryEventStatus.class) { + return values.values().toArray(new BulkUploadHistoryEventStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ACTIVE", ACTIVE); + map.put("SUCCESSFUL", SUCCESSFUL); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ACTIVE", BulkUploadHistoryEventStatusEnum.ACTIVE); + map.put("SUCCESSFUL", BulkUploadHistoryEventStatusEnum.SUCCESSFUL); + return map; + } - public static Optional fromValue(String value) { - for (BulkUploadHistoryEventStatus o: BulkUploadHistoryEventStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum BulkUploadHistoryEventStatusEnum { + + ACTIVE("ACTIVE"), + SUCCESSFUL("SUCCESSFUL"),; + + private final String value; + + private BulkUploadHistoryEventStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CalendarEventEventType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CalendarEventEventType.java index 099f2b5f..68a67bdc 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CalendarEventEventType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CalendarEventEventType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * CalendarEventEventType * *

The nature of the event, for example "out of office". */ -public enum CalendarEventEventType { - DEFAULT("DEFAULT"), - OUT_OF_OFFICE("OUT_OF_OFFICE"); +public class CalendarEventEventType { + + public static final CalendarEventEventType DEFAULT = new CalendarEventEventType("DEFAULT"); + public static final CalendarEventEventType OUT_OF_OFFICE = new CalendarEventEventType("OUT_OF_OFFICE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CalendarEventEventType(String value) { + private CalendarEventEventType(String value) { this.value = value; } - + + /** + * Returns a CalendarEventEventType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CalendarEventEventType + */ + @JsonCreator + public static CalendarEventEventType of(String value) { + synchronized (CalendarEventEventType.class) { + return values.computeIfAbsent(value, v -> new CalendarEventEventType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CalendarEventEventType other = (CalendarEventEventType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CalendarEventEventType [value=" + value + "]"; + } + + // return an array just like an enum + public static CalendarEventEventType[] values() { + synchronized (CalendarEventEventType.class) { + return values.values().toArray(new CalendarEventEventType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DEFAULT", DEFAULT); + map.put("OUT_OF_OFFICE", OUT_OF_OFFICE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DEFAULT", CalendarEventEventTypeEnum.DEFAULT); + map.put("OUT_OF_OFFICE", CalendarEventEventTypeEnum.OUT_OF_OFFICE); + return map; + } - public static Optional fromValue(String value) { - for (CalendarEventEventType o: CalendarEventEventType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CalendarEventEventTypeEnum { + + DEFAULT("DEFAULT"), + OUT_OF_OFFICE("OUT_OF_OFFICE"),; + + private final String value; + + private CalendarEventEventTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java index 17ec2761..31ca279d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java @@ -3,47 +3,166 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ChatFileFailureReason * *

Reason for failed status. */ -public enum ChatFileFailureReason { - PARSE_FAILED("PARSE_FAILED"), - AV_SCAN_FAILED("AV_SCAN_FAILED"), - FILE_TOO_SMALL("FILE_TOO_SMALL"), - FILE_TOO_LARGE("FILE_TOO_LARGE"), - FILE_EXTENSION_UNSUPPORTED("FILE_EXTENSION_UNSUPPORTED"), - FILE_METADATA_VALIDATION_FAIL("FILE_METADATA_VALIDATION_FAIL"), - FILE_PROCESSING_TIMED_OUT("FILE_PROCESSING_TIMED_OUT"), - OAUTH_NEEDED("OAUTH_NEEDED"), - URL_FETCH_FAILED("URL_FETCH_FAILED"), - EMPTY_CONTENT("EMPTY_CONTENT"), - AUTH_REQUIRED("AUTH_REQUIRED"); +public class ChatFileFailureReason { + + public static final ChatFileFailureReason PARSE_FAILED = new ChatFileFailureReason("PARSE_FAILED"); + public static final ChatFileFailureReason AV_SCAN_FAILED = new ChatFileFailureReason("AV_SCAN_FAILED"); + public static final ChatFileFailureReason FILE_TOO_SMALL = new ChatFileFailureReason("FILE_TOO_SMALL"); + public static final ChatFileFailureReason FILE_TOO_LARGE = new ChatFileFailureReason("FILE_TOO_LARGE"); + public static final ChatFileFailureReason FILE_EXTENSION_UNSUPPORTED = new ChatFileFailureReason("FILE_EXTENSION_UNSUPPORTED"); + public static final ChatFileFailureReason FILE_METADATA_VALIDATION_FAIL = new ChatFileFailureReason("FILE_METADATA_VALIDATION_FAIL"); + public static final ChatFileFailureReason FILE_PROCESSING_TIMED_OUT = new ChatFileFailureReason("FILE_PROCESSING_TIMED_OUT"); + public static final ChatFileFailureReason OAUTH_NEEDED = new ChatFileFailureReason("OAUTH_NEEDED"); + public static final ChatFileFailureReason URL_FETCH_FAILED = new ChatFileFailureReason("URL_FETCH_FAILED"); + public static final ChatFileFailureReason EMPTY_CONTENT = new ChatFileFailureReason("EMPTY_CONTENT"); + public static final ChatFileFailureReason AUTH_REQUIRED = new ChatFileFailureReason("AUTH_REQUIRED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ChatFileFailureReason(String value) { + private ChatFileFailureReason(String value) { this.value = value; } - + + /** + * Returns a ChatFileFailureReason with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ChatFileFailureReason + */ + @JsonCreator + public static ChatFileFailureReason of(String value) { + synchronized (ChatFileFailureReason.class) { + return values.computeIfAbsent(value, v -> new ChatFileFailureReason(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ChatFileFailureReason other = (ChatFileFailureReason) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ChatFileFailureReason [value=" + value + "]"; + } + + // return an array just like an enum + public static ChatFileFailureReason[] values() { + synchronized (ChatFileFailureReason.class) { + return values.values().toArray(new ChatFileFailureReason[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PARSE_FAILED", PARSE_FAILED); + map.put("AV_SCAN_FAILED", AV_SCAN_FAILED); + map.put("FILE_TOO_SMALL", FILE_TOO_SMALL); + map.put("FILE_TOO_LARGE", FILE_TOO_LARGE); + map.put("FILE_EXTENSION_UNSUPPORTED", FILE_EXTENSION_UNSUPPORTED); + map.put("FILE_METADATA_VALIDATION_FAIL", FILE_METADATA_VALIDATION_FAIL); + map.put("FILE_PROCESSING_TIMED_OUT", FILE_PROCESSING_TIMED_OUT); + map.put("OAUTH_NEEDED", OAUTH_NEEDED); + map.put("URL_FETCH_FAILED", URL_FETCH_FAILED); + map.put("EMPTY_CONTENT", EMPTY_CONTENT); + map.put("AUTH_REQUIRED", AUTH_REQUIRED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PARSE_FAILED", ChatFileFailureReasonEnum.PARSE_FAILED); + map.put("AV_SCAN_FAILED", ChatFileFailureReasonEnum.AV_SCAN_FAILED); + map.put("FILE_TOO_SMALL", ChatFileFailureReasonEnum.FILE_TOO_SMALL); + map.put("FILE_TOO_LARGE", ChatFileFailureReasonEnum.FILE_TOO_LARGE); + map.put("FILE_EXTENSION_UNSUPPORTED", ChatFileFailureReasonEnum.FILE_EXTENSION_UNSUPPORTED); + map.put("FILE_METADATA_VALIDATION_FAIL", ChatFileFailureReasonEnum.FILE_METADATA_VALIDATION_FAIL); + map.put("FILE_PROCESSING_TIMED_OUT", ChatFileFailureReasonEnum.FILE_PROCESSING_TIMED_OUT); + map.put("OAUTH_NEEDED", ChatFileFailureReasonEnum.OAUTH_NEEDED); + map.put("URL_FETCH_FAILED", ChatFileFailureReasonEnum.URL_FETCH_FAILED); + map.put("EMPTY_CONTENT", ChatFileFailureReasonEnum.EMPTY_CONTENT); + map.put("AUTH_REQUIRED", ChatFileFailureReasonEnum.AUTH_REQUIRED); + return map; + } - public static Optional fromValue(String value) { - for (ChatFileFailureReason o: ChatFileFailureReason.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ChatFileFailureReasonEnum { + + PARSE_FAILED("PARSE_FAILED"), + AV_SCAN_FAILED("AV_SCAN_FAILED"), + FILE_TOO_SMALL("FILE_TOO_SMALL"), + FILE_TOO_LARGE("FILE_TOO_LARGE"), + FILE_EXTENSION_UNSUPPORTED("FILE_EXTENSION_UNSUPPORTED"), + FILE_METADATA_VALIDATION_FAIL("FILE_METADATA_VALIDATION_FAIL"), + FILE_PROCESSING_TIMED_OUT("FILE_PROCESSING_TIMED_OUT"), + OAUTH_NEEDED("OAUTH_NEEDED"), + URL_FETCH_FAILED("URL_FETCH_FAILED"), + EMPTY_CONTENT("EMPTY_CONTENT"), + AUTH_REQUIRED("AUTH_REQUIRED"),; + + private final String value; + + private ChatFileFailureReasonEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileStatus.java index edad678b..9700b0f9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileStatus.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ChatFileStatus * *

Current status of the file. */ -public enum ChatFileStatus { - PROCESSING("PROCESSING"), - PROCESSED("PROCESSED"), - FAILED("FAILED"), - DELETED("DELETED"); +public class ChatFileStatus { + + public static final ChatFileStatus PROCESSING = new ChatFileStatus("PROCESSING"); + public static final ChatFileStatus PROCESSED = new ChatFileStatus("PROCESSED"); + public static final ChatFileStatus FAILED = new ChatFileStatus("FAILED"); + public static final ChatFileStatus DELETED = new ChatFileStatus("DELETED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ChatFileStatus(String value) { + private ChatFileStatus(String value) { this.value = value; } - + + /** + * Returns a ChatFileStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ChatFileStatus + */ + @JsonCreator + public static ChatFileStatus of(String value) { + synchronized (ChatFileStatus.class) { + return values.computeIfAbsent(value, v -> new ChatFileStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ChatFileStatus other = (ChatFileStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ChatFileStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static ChatFileStatus[] values() { + synchronized (ChatFileStatus.class) { + return values.values().toArray(new ChatFileStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PROCESSING", PROCESSING); + map.put("PROCESSED", PROCESSED); + map.put("FAILED", FAILED); + map.put("DELETED", DELETED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PROCESSING", ChatFileStatusEnum.PROCESSING); + map.put("PROCESSED", ChatFileStatusEnum.PROCESSED); + map.put("FAILED", ChatFileStatusEnum.FAILED); + map.put("DELETED", ChatFileStatusEnum.DELETED); + return map; + } - public static Optional fromValue(String value) { - for (ChatFileStatus o: ChatFileStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ChatFileStatusEnum { + + PROCESSING("PROCESSING"), + PROCESSED("PROCESSED"), + FAILED("FAILED"), + DELETED("DELETED"),; + + private final String value; + + private ChatFileStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatResponse.java index f203bbb6..7e8259c4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatResponse.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatResponse.java @@ -55,39 +55,28 @@ public class ChatResponse { @JsonProperty("chatSessionTrackingToken") private Optional chatSessionTrackingToken; - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth, aggregated across all tools invoked in this turn. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unauthorizedDatasourceInstances") - private Optional> unauthorizedDatasourceInstances; - @JsonCreator public ChatResponse( @JsonProperty("messages") Optional> messages, @JsonProperty("chatId") Optional chatId, @JsonProperty("followUpPrompts") Optional> followUpPrompts, @JsonProperty("backendTimeMillis") Optional backendTimeMillis, - @JsonProperty("chatSessionTrackingToken") Optional chatSessionTrackingToken, - @JsonProperty("unauthorizedDatasourceInstances") Optional> unauthorizedDatasourceInstances) { + @JsonProperty("chatSessionTrackingToken") Optional chatSessionTrackingToken) { Utils.checkNotNull(messages, "messages"); Utils.checkNotNull(chatId, "chatId"); Utils.checkNotNull(followUpPrompts, "followUpPrompts"); Utils.checkNotNull(backendTimeMillis, "backendTimeMillis"); Utils.checkNotNull(chatSessionTrackingToken, "chatSessionTrackingToken"); - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); this.messages = messages; this.chatId = chatId; this.followUpPrompts = followUpPrompts; this.backendTimeMillis = backendTimeMillis; this.chatSessionTrackingToken = chatSessionTrackingToken; - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; } public ChatResponse() { this(Optional.empty(), Optional.empty(), Optional.empty(), - Optional.empty(), Optional.empty(), Optional.empty()); + Optional.empty(), Optional.empty()); } @SuppressWarnings("unchecked") @@ -129,16 +118,6 @@ public Optional chatSessionTrackingToken() { return chatSessionTrackingToken; } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth, aggregated across all tools invoked in this turn. - */ - @SuppressWarnings("unchecked") - @JsonIgnore - public Optional> unauthorizedDatasourceInstances() { - return (Optional>) unauthorizedDatasourceInstances; - } - public static Builder builder() { return new Builder(); } @@ -233,27 +212,6 @@ public ChatResponse withChatSessionTrackingToken(Optional chatSessionTra return this; } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth, aggregated across all tools invoked in this turn. - */ - public ChatResponse withUnauthorizedDatasourceInstances(List unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = Optional.ofNullable(unauthorizedDatasourceInstances); - return this; - } - - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth, aggregated across all tools invoked in this turn. - */ - public ChatResponse withUnauthorizedDatasourceInstances(Optional> unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -268,15 +226,14 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.chatId, other.chatId) && Utils.enhancedDeepEquals(this.followUpPrompts, other.followUpPrompts) && Utils.enhancedDeepEquals(this.backendTimeMillis, other.backendTimeMillis) && - Utils.enhancedDeepEquals(this.chatSessionTrackingToken, other.chatSessionTrackingToken) && - Utils.enhancedDeepEquals(this.unauthorizedDatasourceInstances, other.unauthorizedDatasourceInstances); + Utils.enhancedDeepEquals(this.chatSessionTrackingToken, other.chatSessionTrackingToken); } @Override public int hashCode() { return Utils.enhancedHash( messages, chatId, followUpPrompts, - backendTimeMillis, chatSessionTrackingToken, unauthorizedDatasourceInstances); + backendTimeMillis, chatSessionTrackingToken); } @Override @@ -286,8 +243,7 @@ public String toString() { "chatId", chatId, "followUpPrompts", followUpPrompts, "backendTimeMillis", backendTimeMillis, - "chatSessionTrackingToken", chatSessionTrackingToken, - "unauthorizedDatasourceInstances", unauthorizedDatasourceInstances); + "chatSessionTrackingToken", chatSessionTrackingToken); } @SuppressWarnings("UnusedReturnValue") @@ -303,8 +259,6 @@ public final static class Builder { private Optional chatSessionTrackingToken = Optional.empty(); - private Optional> unauthorizedDatasourceInstances = Optional.empty(); - private Builder() { // force use of static builder() method } @@ -398,32 +352,11 @@ public Builder chatSessionTrackingToken(Optional chatSessionTrackingToke return this; } - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth, aggregated across all tools invoked in this turn. - */ - public Builder unauthorizedDatasourceInstances(List unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = Optional.ofNullable(unauthorizedDatasourceInstances); - return this; - } - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth, aggregated across all tools invoked in this turn. - */ - public Builder unauthorizedDatasourceInstances(Optional> unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; - return this; - } - public ChatResponse build() { return new ChatResponse( messages, chatId, followUpPrompts, - backendTimeMillis, chatSessionTrackingToken, unauthorizedDatasourceInstances); + backendTimeMillis, chatSessionTrackingToken); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ClusterTypeEnum.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ClusterTypeEnum.java index 41296b05..4922c493 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ClusterTypeEnum.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ClusterTypeEnum.java @@ -3,47 +3,166 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ClusterTypeEnum * *

The reason for inclusion of clusteredResults. */ -public enum ClusterTypeEnum { - SIMILAR("SIMILAR"), - FRESHNESS("FRESHNESS"), - TITLE("TITLE"), - CONTENT("CONTENT"), - NONE("NONE"), - THREAD_REPLY("THREAD_REPLY"), - THREAD_ROOT("THREAD_ROOT"), - PREFIX("PREFIX"), - SUFFIX("SUFFIX"), - AUTHOR_PREFIX("AUTHOR_PREFIX"), - AUTHOR_SUFFIX("AUTHOR_SUFFIX"); +public class ClusterTypeEnum { + + public static final ClusterTypeEnum SIMILAR = new ClusterTypeEnum("SIMILAR"); + public static final ClusterTypeEnum FRESHNESS = new ClusterTypeEnum("FRESHNESS"); + public static final ClusterTypeEnum TITLE = new ClusterTypeEnum("TITLE"); + public static final ClusterTypeEnum CONTENT = new ClusterTypeEnum("CONTENT"); + public static final ClusterTypeEnum NONE = new ClusterTypeEnum("NONE"); + public static final ClusterTypeEnum THREAD_REPLY = new ClusterTypeEnum("THREAD_REPLY"); + public static final ClusterTypeEnum THREAD_ROOT = new ClusterTypeEnum("THREAD_ROOT"); + public static final ClusterTypeEnum PREFIX = new ClusterTypeEnum("PREFIX"); + public static final ClusterTypeEnum SUFFIX = new ClusterTypeEnum("SUFFIX"); + public static final ClusterTypeEnum AUTHOR_PREFIX = new ClusterTypeEnum("AUTHOR_PREFIX"); + public static final ClusterTypeEnum AUTHOR_SUFFIX = new ClusterTypeEnum("AUTHOR_SUFFIX"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ClusterTypeEnum(String value) { + private ClusterTypeEnum(String value) { this.value = value; } - + + /** + * Returns a ClusterTypeEnum with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ClusterTypeEnum + */ + @JsonCreator + public static ClusterTypeEnum of(String value) { + synchronized (ClusterTypeEnum.class) { + return values.computeIfAbsent(value, v -> new ClusterTypeEnum(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ClusterTypeEnum other = (ClusterTypeEnum) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ClusterTypeEnum [value=" + value + "]"; + } + + // return an array just like an enum + public static ClusterTypeEnum[] values() { + synchronized (ClusterTypeEnum.class) { + return values.values().toArray(new ClusterTypeEnum[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("SIMILAR", SIMILAR); + map.put("FRESHNESS", FRESHNESS); + map.put("TITLE", TITLE); + map.put("CONTENT", CONTENT); + map.put("NONE", NONE); + map.put("THREAD_REPLY", THREAD_REPLY); + map.put("THREAD_ROOT", THREAD_ROOT); + map.put("PREFIX", PREFIX); + map.put("SUFFIX", SUFFIX); + map.put("AUTHOR_PREFIX", AUTHOR_PREFIX); + map.put("AUTHOR_SUFFIX", AUTHOR_SUFFIX); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("SIMILAR", ClusterTypeEnumEnum.SIMILAR); + map.put("FRESHNESS", ClusterTypeEnumEnum.FRESHNESS); + map.put("TITLE", ClusterTypeEnumEnum.TITLE); + map.put("CONTENT", ClusterTypeEnumEnum.CONTENT); + map.put("NONE", ClusterTypeEnumEnum.NONE); + map.put("THREAD_REPLY", ClusterTypeEnumEnum.THREAD_REPLY); + map.put("THREAD_ROOT", ClusterTypeEnumEnum.THREAD_ROOT); + map.put("PREFIX", ClusterTypeEnumEnum.PREFIX); + map.put("SUFFIX", ClusterTypeEnumEnum.SUFFIX); + map.put("AUTHOR_PREFIX", ClusterTypeEnumEnum.AUTHOR_PREFIX); + map.put("AUTHOR_SUFFIX", ClusterTypeEnumEnum.AUTHOR_SUFFIX); + return map; + } - public static Optional fromValue(String value) { - for (ClusterTypeEnum o: ClusterTypeEnum.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ClusterTypeEnumEnum { + + SIMILAR("SIMILAR"), + FRESHNESS("FRESHNESS"), + TITLE("TITLE"), + CONTENT("CONTENT"), + NONE("NONE"), + THREAD_REPLY("THREAD_REPLY"), + THREAD_ROOT("THREAD_ROOT"), + PREFIX("PREFIX"), + SUFFIX("SUFFIX"), + AUTHOR_PREFIX("AUTHOR_PREFIX"), + AUTHOR_SUFFIX("AUTHOR_SUFFIX"),; + + private final String value; + + private ClusterTypeEnumEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionErrorErrorCode.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionErrorErrorCode.java index dc5681a4..da0a0b9d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionErrorErrorCode.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionErrorErrorCode.java @@ -3,38 +3,145 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum CollectionErrorErrorCode { - NAME_EXISTS("NAME_EXISTS"), - NOT_FOUND("NOT_FOUND"), - COLLECTION_PINNED("COLLECTION_PINNED"), - CONCURRENT_HIERARCHY_EDIT("CONCURRENT_HIERARCHY_EDIT"), - HEIGHT_VIOLATION("HEIGHT_VIOLATION"), - WIDTH_VIOLATION("WIDTH_VIOLATION"), - NO_PERMISSIONS("NO_PERMISSIONS"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class CollectionErrorErrorCode { + + public static final CollectionErrorErrorCode NAME_EXISTS = new CollectionErrorErrorCode("NAME_EXISTS"); + public static final CollectionErrorErrorCode NOT_FOUND = new CollectionErrorErrorCode("NOT_FOUND"); + public static final CollectionErrorErrorCode COLLECTION_PINNED = new CollectionErrorErrorCode("COLLECTION_PINNED"); + public static final CollectionErrorErrorCode CONCURRENT_HIERARCHY_EDIT = new CollectionErrorErrorCode("CONCURRENT_HIERARCHY_EDIT"); + public static final CollectionErrorErrorCode HEIGHT_VIOLATION = new CollectionErrorErrorCode("HEIGHT_VIOLATION"); + public static final CollectionErrorErrorCode WIDTH_VIOLATION = new CollectionErrorErrorCode("WIDTH_VIOLATION"); + public static final CollectionErrorErrorCode NO_PERMISSIONS = new CollectionErrorErrorCode("NO_PERMISSIONS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CollectionErrorErrorCode(String value) { + private CollectionErrorErrorCode(String value) { this.value = value; } - + + /** + * Returns a CollectionErrorErrorCode with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CollectionErrorErrorCode + */ + @JsonCreator + public static CollectionErrorErrorCode of(String value) { + synchronized (CollectionErrorErrorCode.class) { + return values.computeIfAbsent(value, v -> new CollectionErrorErrorCode(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CollectionErrorErrorCode other = (CollectionErrorErrorCode) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CollectionErrorErrorCode [value=" + value + "]"; + } + + // return an array just like an enum + public static CollectionErrorErrorCode[] values() { + synchronized (CollectionErrorErrorCode.class) { + return values.values().toArray(new CollectionErrorErrorCode[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NAME_EXISTS", NAME_EXISTS); + map.put("NOT_FOUND", NOT_FOUND); + map.put("COLLECTION_PINNED", COLLECTION_PINNED); + map.put("CONCURRENT_HIERARCHY_EDIT", CONCURRENT_HIERARCHY_EDIT); + map.put("HEIGHT_VIOLATION", HEIGHT_VIOLATION); + map.put("WIDTH_VIOLATION", WIDTH_VIOLATION); + map.put("NO_PERMISSIONS", NO_PERMISSIONS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NAME_EXISTS", CollectionErrorErrorCodeEnum.NAME_EXISTS); + map.put("NOT_FOUND", CollectionErrorErrorCodeEnum.NOT_FOUND); + map.put("COLLECTION_PINNED", CollectionErrorErrorCodeEnum.COLLECTION_PINNED); + map.put("CONCURRENT_HIERARCHY_EDIT", CollectionErrorErrorCodeEnum.CONCURRENT_HIERARCHY_EDIT); + map.put("HEIGHT_VIOLATION", CollectionErrorErrorCodeEnum.HEIGHT_VIOLATION); + map.put("WIDTH_VIOLATION", CollectionErrorErrorCodeEnum.WIDTH_VIOLATION); + map.put("NO_PERMISSIONS", CollectionErrorErrorCodeEnum.NO_PERMISSIONS); + return map; + } - public static Optional fromValue(String value) { - for (CollectionErrorErrorCode o: CollectionErrorErrorCode.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CollectionErrorErrorCodeEnum { + + NAME_EXISTS("NAME_EXISTS"), + NOT_FOUND("NOT_FOUND"), + COLLECTION_PINNED("COLLECTION_PINNED"), + CONCURRENT_HIERARCHY_EDIT("CONCURRENT_HIERARCHY_EDIT"), + HEIGHT_VIOLATION("HEIGHT_VIOLATION"), + WIDTH_VIOLATION("WIDTH_VIOLATION"), + NO_PERMISSIONS("NO_PERMISSIONS"),; + + private final String value; + + private CollectionErrorErrorCodeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionItemItemType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionItemItemType.java index 9e3869b6..5fdd243e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionItemItemType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionItemItemType.java @@ -3,35 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum CollectionItemItemType { - DOCUMENT("DOCUMENT"), - TEXT("TEXT"), - URL("URL"), - COLLECTION("COLLECTION"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class CollectionItemItemType { + + public static final CollectionItemItemType DOCUMENT = new CollectionItemItemType("DOCUMENT"); + public static final CollectionItemItemType TEXT = new CollectionItemItemType("TEXT"); + public static final CollectionItemItemType URL = new CollectionItemItemType("URL"); + public static final CollectionItemItemType COLLECTION = new CollectionItemItemType("COLLECTION"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CollectionItemItemType(String value) { + private CollectionItemItemType(String value) { this.value = value; } - + + /** + * Returns a CollectionItemItemType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CollectionItemItemType + */ + @JsonCreator + public static CollectionItemItemType of(String value) { + synchronized (CollectionItemItemType.class) { + return values.computeIfAbsent(value, v -> new CollectionItemItemType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CollectionItemItemType other = (CollectionItemItemType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CollectionItemItemType [value=" + value + "]"; + } + + // return an array just like an enum + public static CollectionItemItemType[] values() { + synchronized (CollectionItemItemType.class) { + return values.values().toArray(new CollectionItemItemType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DOCUMENT", DOCUMENT); + map.put("TEXT", TEXT); + map.put("URL", URL); + map.put("COLLECTION", COLLECTION); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DOCUMENT", CollectionItemItemTypeEnum.DOCUMENT); + map.put("TEXT", CollectionItemItemTypeEnum.TEXT); + map.put("URL", CollectionItemItemTypeEnum.URL); + map.put("COLLECTION", CollectionItemItemTypeEnum.COLLECTION); + return map; + } - public static Optional fromValue(String value) { - for (CollectionItemItemType o: CollectionItemItemType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CollectionItemItemTypeEnum { + + DOCUMENT("DOCUMENT"), + TEXT("TEXT"), + URL("URL"), + COLLECTION("COLLECTION"),; + + private final String value; + + private CollectionItemItemTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableCategories.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableCategories.java index 6dd2c481..afb0788d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableCategories.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableCategories.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * CollectionPinnableCategories * *

Categories a Collection can be pinned to. */ -public enum CollectionPinnableCategories { - COMPANY_RESOURCE("COMPANY_RESOURCE"), - DEPARTMENT_RESOURCE("DEPARTMENT_RESOURCE"), - TEAM_RESOURCE("TEAM_RESOURCE"); +public class CollectionPinnableCategories { + + public static final CollectionPinnableCategories COMPANY_RESOURCE = new CollectionPinnableCategories("COMPANY_RESOURCE"); + public static final CollectionPinnableCategories DEPARTMENT_RESOURCE = new CollectionPinnableCategories("DEPARTMENT_RESOURCE"); + public static final CollectionPinnableCategories TEAM_RESOURCE = new CollectionPinnableCategories("TEAM_RESOURCE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CollectionPinnableCategories(String value) { + private CollectionPinnableCategories(String value) { this.value = value; } - + + /** + * Returns a CollectionPinnableCategories with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CollectionPinnableCategories + */ + @JsonCreator + public static CollectionPinnableCategories of(String value) { + synchronized (CollectionPinnableCategories.class) { + return values.computeIfAbsent(value, v -> new CollectionPinnableCategories(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CollectionPinnableCategories other = (CollectionPinnableCategories) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CollectionPinnableCategories [value=" + value + "]"; + } + + // return an array just like an enum + public static CollectionPinnableCategories[] values() { + synchronized (CollectionPinnableCategories.class) { + return values.values().toArray(new CollectionPinnableCategories[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("COMPANY_RESOURCE", COMPANY_RESOURCE); + map.put("DEPARTMENT_RESOURCE", DEPARTMENT_RESOURCE); + map.put("TEAM_RESOURCE", TEAM_RESOURCE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("COMPANY_RESOURCE", CollectionPinnableCategoriesEnum.COMPANY_RESOURCE); + map.put("DEPARTMENT_RESOURCE", CollectionPinnableCategoriesEnum.DEPARTMENT_RESOURCE); + map.put("TEAM_RESOURCE", CollectionPinnableCategoriesEnum.TEAM_RESOURCE); + return map; + } - public static Optional fromValue(String value) { - for (CollectionPinnableCategories o: CollectionPinnableCategories.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CollectionPinnableCategoriesEnum { + + COMPANY_RESOURCE("COMPANY_RESOURCE"), + DEPARTMENT_RESOURCE("DEPARTMENT_RESOURCE"), + TEAM_RESOURCE("TEAM_RESOURCE"),; + + private final String value; + + private CollectionPinnableCategoriesEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableTargets.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableTargets.java index cd8b1427..665bab2d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableTargets.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CollectionPinnableTargets.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * CollectionPinnableTargets * *

What targets can a Collection be pinned to. */ -public enum CollectionPinnableTargets { - RESOURCE_CARD("RESOURCE_CARD"), - TEAM_PROFILE_PAGE("TEAM_PROFILE_PAGE"); +public class CollectionPinnableTargets { + + public static final CollectionPinnableTargets RESOURCE_CARD = new CollectionPinnableTargets("RESOURCE_CARD"); + public static final CollectionPinnableTargets TEAM_PROFILE_PAGE = new CollectionPinnableTargets("TEAM_PROFILE_PAGE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CollectionPinnableTargets(String value) { + private CollectionPinnableTargets(String value) { this.value = value; } - + + /** + * Returns a CollectionPinnableTargets with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CollectionPinnableTargets + */ + @JsonCreator + public static CollectionPinnableTargets of(String value) { + synchronized (CollectionPinnableTargets.class) { + return values.computeIfAbsent(value, v -> new CollectionPinnableTargets(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CollectionPinnableTargets other = (CollectionPinnableTargets) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CollectionPinnableTargets [value=" + value + "]"; + } + + // return an array just like an enum + public static CollectionPinnableTargets[] values() { + synchronized (CollectionPinnableTargets.class) { + return values.values().toArray(new CollectionPinnableTargets[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("RESOURCE_CARD", RESOURCE_CARD); + map.put("TEAM_PROFILE_PAGE", TEAM_PROFILE_PAGE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("RESOURCE_CARD", CollectionPinnableTargetsEnum.RESOURCE_CARD); + map.put("TEAM_PROFILE_PAGE", CollectionPinnableTargetsEnum.TEAM_PROFILE_PAGE); + return map; + } - public static Optional fromValue(String value) { - for (CollectionPinnableTargets o: CollectionPinnableTargets.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CollectionPinnableTargetsEnum { + + RESOURCE_CARD("RESOURCE_CARD"), + TEAM_PROFILE_PAGE("TEAM_PROFILE_PAGE"),; + + private final String value; + + private CollectionPinnableTargetsEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CommunicationChannel.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CommunicationChannel.java index ec2f00e5..40769703 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CommunicationChannel.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CommunicationChannel.java @@ -3,33 +3,125 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum CommunicationChannel { - COMMUNICATION_CHANNEL_EMAIL("COMMUNICATION_CHANNEL_EMAIL"), - COMMUNICATION_CHANNEL_SLACK("COMMUNICATION_CHANNEL_SLACK"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class CommunicationChannel { + + public static final CommunicationChannel COMMUNICATION_CHANNEL_EMAIL = new CommunicationChannel("COMMUNICATION_CHANNEL_EMAIL"); + public static final CommunicationChannel COMMUNICATION_CHANNEL_SLACK = new CommunicationChannel("COMMUNICATION_CHANNEL_SLACK"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CommunicationChannel(String value) { + private CommunicationChannel(String value) { this.value = value; } - + + /** + * Returns a CommunicationChannel with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CommunicationChannel + */ + @JsonCreator + public static CommunicationChannel of(String value) { + synchronized (CommunicationChannel.class) { + return values.computeIfAbsent(value, v -> new CommunicationChannel(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CommunicationChannel other = (CommunicationChannel) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CommunicationChannel [value=" + value + "]"; + } + + // return an array just like an enum + public static CommunicationChannel[] values() { + synchronized (CommunicationChannel.class) { + return values.values().toArray(new CommunicationChannel[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("COMMUNICATION_CHANNEL_EMAIL", COMMUNICATION_CHANNEL_EMAIL); + map.put("COMMUNICATION_CHANNEL_SLACK", COMMUNICATION_CHANNEL_SLACK); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("COMMUNICATION_CHANNEL_EMAIL", CommunicationChannelEnum.COMMUNICATION_CHANNEL_EMAIL); + map.put("COMMUNICATION_CHANNEL_SLACK", CommunicationChannelEnum.COMMUNICATION_CHANNEL_SLACK); + return map; + } - public static Optional fromValue(String value) { - for (CommunicationChannel o: CommunicationChannel.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CommunicationChannelEnum { + + COMMUNICATION_CHANNEL_EMAIL("COMMUNICATION_CHANNEL_EMAIL"), + COMMUNICATION_CHANNEL_SLACK("COMMUNICATION_CHANNEL_SLACK"),; + + private final String value; + + private CommunicationChannelEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ConferenceDataSource.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ConferenceDataSource.java index d626edbc..792e344a 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ConferenceDataSource.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ConferenceDataSource.java @@ -3,34 +3,129 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum ConferenceDataSource { - NATIVE_CONFERENCE("NATIVE_CONFERENCE"), - LOCATION("LOCATION"), - DESCRIPTION("DESCRIPTION"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class ConferenceDataSource { + + public static final ConferenceDataSource NATIVE_CONFERENCE = new ConferenceDataSource("NATIVE_CONFERENCE"); + public static final ConferenceDataSource LOCATION = new ConferenceDataSource("LOCATION"); + public static final ConferenceDataSource DESCRIPTION = new ConferenceDataSource("DESCRIPTION"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ConferenceDataSource(String value) { + private ConferenceDataSource(String value) { this.value = value; } - + + /** + * Returns a ConferenceDataSource with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ConferenceDataSource + */ + @JsonCreator + public static ConferenceDataSource of(String value) { + synchronized (ConferenceDataSource.class) { + return values.computeIfAbsent(value, v -> new ConferenceDataSource(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ConferenceDataSource other = (ConferenceDataSource) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ConferenceDataSource [value=" + value + "]"; + } + + // return an array just like an enum + public static ConferenceDataSource[] values() { + synchronized (ConferenceDataSource.class) { + return values.values().toArray(new ConferenceDataSource[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NATIVE_CONFERENCE", NATIVE_CONFERENCE); + map.put("LOCATION", LOCATION); + map.put("DESCRIPTION", DESCRIPTION); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NATIVE_CONFERENCE", ConferenceDataSourceEnum.NATIVE_CONFERENCE); + map.put("LOCATION", ConferenceDataSourceEnum.LOCATION); + map.put("DESCRIPTION", ConferenceDataSourceEnum.DESCRIPTION); + return map; + } - public static Optional fromValue(String value) { - for (ConferenceDataSource o: ConferenceDataSource.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ConferenceDataSourceEnum { + + NATIVE_CONFERENCE("NATIVE_CONFERENCE"), + LOCATION("LOCATION"), + DESCRIPTION("DESCRIPTION"),; + + private final String value; + + private ConferenceDataSourceEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ConfigurationValue.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ConfigurationValue.java new file mode 100644 index 00000000..82ce8819 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ConfigurationValue.java @@ -0,0 +1,195 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.components; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Optional; + +/** + * ConfigurationValue + * + *

A single configuration value, either a scalar or a list + */ +public class ConfigurationValue { + /** + * The configuration value as a string. Only one of value or valueList should be populated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("value") + private Optional value; + + /** + * The configuration value as a list of strings. Only one of value or valueList should be populated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("valueList") + private Optional> valueList; + + @JsonCreator + public ConfigurationValue( + @JsonProperty("value") Optional value, + @JsonProperty("valueList") Optional> valueList) { + Utils.checkNotNull(value, "value"); + Utils.checkNotNull(valueList, "valueList"); + this.value = value; + this.valueList = valueList; + } + + public ConfigurationValue() { + this(Optional.empty(), Optional.empty()); + } + + /** + * The configuration value as a string. Only one of value or valueList should be populated. + */ + @JsonIgnore + public Optional value() { + return value; + } + + /** + * The configuration value as a list of strings. Only one of value or valueList should be populated. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> valueList() { + return (Optional>) valueList; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * The configuration value as a string. Only one of value or valueList should be populated. + */ + public ConfigurationValue withValue(String value) { + Utils.checkNotNull(value, "value"); + this.value = Optional.ofNullable(value); + return this; + } + + + /** + * The configuration value as a string. Only one of value or valueList should be populated. + */ + public ConfigurationValue withValue(Optional value) { + Utils.checkNotNull(value, "value"); + this.value = value; + return this; + } + + /** + * The configuration value as a list of strings. Only one of value or valueList should be populated. + */ + public ConfigurationValue withValueList(List valueList) { + Utils.checkNotNull(valueList, "valueList"); + this.valueList = Optional.ofNullable(valueList); + return this; + } + + + /** + * The configuration value as a list of strings. Only one of value or valueList should be populated. + */ + public ConfigurationValue withValueList(Optional> valueList) { + Utils.checkNotNull(valueList, "valueList"); + this.valueList = valueList; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConfigurationValue other = (ConfigurationValue) o; + return + Utils.enhancedDeepEquals(this.value, other.value) && + Utils.enhancedDeepEquals(this.valueList, other.valueList); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + value, valueList); + } + + @Override + public String toString() { + return Utils.toString(ConfigurationValue.class, + "value", value, + "valueList", valueList); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private Optional value = Optional.empty(); + + private Optional> valueList = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + + /** + * The configuration value as a string. Only one of value or valueList should be populated. + */ + public Builder value(String value) { + Utils.checkNotNull(value, "value"); + this.value = Optional.ofNullable(value); + return this; + } + + /** + * The configuration value as a string. Only one of value or valueList should be populated. + */ + public Builder value(Optional value) { + Utils.checkNotNull(value, "value"); + this.value = value; + return this; + } + + + /** + * The configuration value as a list of strings. Only one of value or valueList should be populated. + */ + public Builder valueList(List valueList) { + Utils.checkNotNull(valueList, "valueList"); + this.valueList = Optional.ofNullable(valueList); + return this; + } + + /** + * The configuration value as a list of strings. Only one of value or valueList should be populated. + */ + public Builder valueList(Optional> valueList) { + Utils.checkNotNull(valueList, "valueList"); + this.valueList = valueList; + return this; + } + + public ConfigurationValue build() { + + return new ConfigurationValue( + value, valueList); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ConnectorType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ConnectorType.java index 87b7dca2..1ca4f373 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ConnectorType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ConnectorType.java @@ -3,44 +3,154 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ConnectorType * *

The source from which document content was pulled, e.g. an API crawl or browser history */ -public enum ConnectorType { - API_CRAWL("API_CRAWL"), - BROWSER_CRAWL("BROWSER_CRAWL"), - BROWSER_HISTORY("BROWSER_HISTORY"), - BUILTIN("BUILTIN"), - FEDERATED_SEARCH("FEDERATED_SEARCH"), - PUSH_API("PUSH_API"), - WEB_CRAWL("WEB_CRAWL"), - NATIVE_HISTORY("NATIVE_HISTORY"); +public class ConnectorType { + + public static final ConnectorType API_CRAWL = new ConnectorType("API_CRAWL"); + public static final ConnectorType BROWSER_CRAWL = new ConnectorType("BROWSER_CRAWL"); + public static final ConnectorType BROWSER_HISTORY = new ConnectorType("BROWSER_HISTORY"); + public static final ConnectorType BUILTIN = new ConnectorType("BUILTIN"); + public static final ConnectorType FEDERATED_SEARCH = new ConnectorType("FEDERATED_SEARCH"); + public static final ConnectorType PUSH_API = new ConnectorType("PUSH_API"); + public static final ConnectorType WEB_CRAWL = new ConnectorType("WEB_CRAWL"); + public static final ConnectorType NATIVE_HISTORY = new ConnectorType("NATIVE_HISTORY"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ConnectorType(String value) { + private ConnectorType(String value) { this.value = value; } - + + /** + * Returns a ConnectorType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ConnectorType + */ + @JsonCreator + public static ConnectorType of(String value) { + synchronized (ConnectorType.class) { + return values.computeIfAbsent(value, v -> new ConnectorType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ConnectorType other = (ConnectorType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ConnectorType [value=" + value + "]"; + } + + // return an array just like an enum + public static ConnectorType[] values() { + synchronized (ConnectorType.class) { + return values.values().toArray(new ConnectorType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("API_CRAWL", API_CRAWL); + map.put("BROWSER_CRAWL", BROWSER_CRAWL); + map.put("BROWSER_HISTORY", BROWSER_HISTORY); + map.put("BUILTIN", BUILTIN); + map.put("FEDERATED_SEARCH", FEDERATED_SEARCH); + map.put("PUSH_API", PUSH_API); + map.put("WEB_CRAWL", WEB_CRAWL); + map.put("NATIVE_HISTORY", NATIVE_HISTORY); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("API_CRAWL", ConnectorTypeEnum.API_CRAWL); + map.put("BROWSER_CRAWL", ConnectorTypeEnum.BROWSER_CRAWL); + map.put("BROWSER_HISTORY", ConnectorTypeEnum.BROWSER_HISTORY); + map.put("BUILTIN", ConnectorTypeEnum.BUILTIN); + map.put("FEDERATED_SEARCH", ConnectorTypeEnum.FEDERATED_SEARCH); + map.put("PUSH_API", ConnectorTypeEnum.PUSH_API); + map.put("WEB_CRAWL", ConnectorTypeEnum.WEB_CRAWL); + map.put("NATIVE_HISTORY", ConnectorTypeEnum.NATIVE_HISTORY); + return map; + } - public static Optional fromValue(String value) { - for (ConnectorType o: ConnectorType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ConnectorTypeEnum { + + API_CRAWL("API_CRAWL"), + BROWSER_CRAWL("BROWSER_CRAWL"), + BROWSER_HISTORY("BROWSER_HISTORY"), + BUILTIN("BUILTIN"), + FEDERATED_SEARCH("FEDERATED_SEARCH"), + PUSH_API("PUSH_API"), + WEB_CRAWL("WEB_CRAWL"), + NATIVE_HISTORY("NATIVE_HISTORY"),; + + private final String value; + + private ConnectorTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ContentType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ContentType.java index 4688581f..6d116c56 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ContentType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ContentType.java @@ -3,32 +3,121 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum ContentType { - TEXT("text"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class ContentType { + + public static final ContentType TEXT = new ContentType("text"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ContentType(String value) { + private ContentType(String value) { this.value = value; } - + + /** + * Returns a ContentType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ContentType + */ + @JsonCreator + public static ContentType of(String value) { + synchronized (ContentType.class) { + return values.computeIfAbsent(value, v -> new ContentType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ContentType other = (ContentType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ContentType [value=" + value + "]"; + } + + // return an array just like an enum + public static ContentType[] values() { + synchronized (ContentType.class) { + return values.values().toArray(new ContentType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("text", TEXT); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("text", ContentTypeEnum.TEXT); + return map; + } - public static Optional fromValue(String value) { - for (ContentType o: ContentType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ContentTypeEnum { + + TEXT("text"),; + + private final String value; + + private ContentTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomDatasourceConfigConnectorType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomDatasourceConfigConnectorType.java index 193a02ba..ebf8942e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomDatasourceConfigConnectorType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomDatasourceConfigConnectorType.java @@ -3,44 +3,154 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * CustomDatasourceConfigConnectorType * *

The source from which document content was pulled, e.g. an API crawl or browser history */ -public enum CustomDatasourceConfigConnectorType { - API_CRAWL("API_CRAWL"), - BROWSER_CRAWL("BROWSER_CRAWL"), - BROWSER_HISTORY("BROWSER_HISTORY"), - BUILTIN("BUILTIN"), - FEDERATED_SEARCH("FEDERATED_SEARCH"), - PUSH_API("PUSH_API"), - WEB_CRAWL("WEB_CRAWL"), - NATIVE_HISTORY("NATIVE_HISTORY"); +public class CustomDatasourceConfigConnectorType { + + public static final CustomDatasourceConfigConnectorType API_CRAWL = new CustomDatasourceConfigConnectorType("API_CRAWL"); + public static final CustomDatasourceConfigConnectorType BROWSER_CRAWL = new CustomDatasourceConfigConnectorType("BROWSER_CRAWL"); + public static final CustomDatasourceConfigConnectorType BROWSER_HISTORY = new CustomDatasourceConfigConnectorType("BROWSER_HISTORY"); + public static final CustomDatasourceConfigConnectorType BUILTIN = new CustomDatasourceConfigConnectorType("BUILTIN"); + public static final CustomDatasourceConfigConnectorType FEDERATED_SEARCH = new CustomDatasourceConfigConnectorType("FEDERATED_SEARCH"); + public static final CustomDatasourceConfigConnectorType PUSH_API = new CustomDatasourceConfigConnectorType("PUSH_API"); + public static final CustomDatasourceConfigConnectorType WEB_CRAWL = new CustomDatasourceConfigConnectorType("WEB_CRAWL"); + public static final CustomDatasourceConfigConnectorType NATIVE_HISTORY = new CustomDatasourceConfigConnectorType("NATIVE_HISTORY"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CustomDatasourceConfigConnectorType(String value) { + private CustomDatasourceConfigConnectorType(String value) { this.value = value; } - + + /** + * Returns a CustomDatasourceConfigConnectorType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CustomDatasourceConfigConnectorType + */ + @JsonCreator + public static CustomDatasourceConfigConnectorType of(String value) { + synchronized (CustomDatasourceConfigConnectorType.class) { + return values.computeIfAbsent(value, v -> new CustomDatasourceConfigConnectorType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CustomDatasourceConfigConnectorType other = (CustomDatasourceConfigConnectorType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CustomDatasourceConfigConnectorType [value=" + value + "]"; + } + + // return an array just like an enum + public static CustomDatasourceConfigConnectorType[] values() { + synchronized (CustomDatasourceConfigConnectorType.class) { + return values.values().toArray(new CustomDatasourceConfigConnectorType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("API_CRAWL", API_CRAWL); + map.put("BROWSER_CRAWL", BROWSER_CRAWL); + map.put("BROWSER_HISTORY", BROWSER_HISTORY); + map.put("BUILTIN", BUILTIN); + map.put("FEDERATED_SEARCH", FEDERATED_SEARCH); + map.put("PUSH_API", PUSH_API); + map.put("WEB_CRAWL", WEB_CRAWL); + map.put("NATIVE_HISTORY", NATIVE_HISTORY); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("API_CRAWL", CustomDatasourceConfigConnectorTypeEnum.API_CRAWL); + map.put("BROWSER_CRAWL", CustomDatasourceConfigConnectorTypeEnum.BROWSER_CRAWL); + map.put("BROWSER_HISTORY", CustomDatasourceConfigConnectorTypeEnum.BROWSER_HISTORY); + map.put("BUILTIN", CustomDatasourceConfigConnectorTypeEnum.BUILTIN); + map.put("FEDERATED_SEARCH", CustomDatasourceConfigConnectorTypeEnum.FEDERATED_SEARCH); + map.put("PUSH_API", CustomDatasourceConfigConnectorTypeEnum.PUSH_API); + map.put("WEB_CRAWL", CustomDatasourceConfigConnectorTypeEnum.WEB_CRAWL); + map.put("NATIVE_HISTORY", CustomDatasourceConfigConnectorTypeEnum.NATIVE_HISTORY); + return map; + } - public static Optional fromValue(String value) { - for (CustomDatasourceConfigConnectorType o: CustomDatasourceConfigConnectorType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CustomDatasourceConfigConnectorTypeEnum { + + API_CRAWL("API_CRAWL"), + BROWSER_CRAWL("BROWSER_CRAWL"), + BROWSER_HISTORY("BROWSER_HISTORY"), + BUILTIN("BUILTIN"), + FEDERATED_SEARCH("FEDERATED_SEARCH"), + PUSH_API("PUSH_API"), + WEB_CRAWL("WEB_CRAWL"), + NATIVE_HISTORY("NATIVE_HISTORY"),; + + private final String value; + + private CustomDatasourceConfigConnectorTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleLikelihoodThreshold.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleLikelihoodThreshold.java index 118b6875..1c9f57bb 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleLikelihoodThreshold.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleLikelihoodThreshold.java @@ -3,42 +3,143 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * CustomSensitiveRuleLikelihoodThreshold * *

Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for * BUILT_IN type. */ -public enum CustomSensitiveRuleLikelihoodThreshold { - LIKELY("LIKELY"), - VERY_LIKELY("VERY_LIKELY"), - POSSIBLE("POSSIBLE"), - UNLIKELY("UNLIKELY"), - VERY_UNLIKELY("VERY_UNLIKELY"); +public class CustomSensitiveRuleLikelihoodThreshold { + + public static final CustomSensitiveRuleLikelihoodThreshold LIKELY = new CustomSensitiveRuleLikelihoodThreshold("LIKELY"); + public static final CustomSensitiveRuleLikelihoodThreshold VERY_LIKELY = new CustomSensitiveRuleLikelihoodThreshold("VERY_LIKELY"); + public static final CustomSensitiveRuleLikelihoodThreshold POSSIBLE = new CustomSensitiveRuleLikelihoodThreshold("POSSIBLE"); + public static final CustomSensitiveRuleLikelihoodThreshold UNLIKELY = new CustomSensitiveRuleLikelihoodThreshold("UNLIKELY"); + public static final CustomSensitiveRuleLikelihoodThreshold VERY_UNLIKELY = new CustomSensitiveRuleLikelihoodThreshold("VERY_UNLIKELY"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CustomSensitiveRuleLikelihoodThreshold(String value) { + private CustomSensitiveRuleLikelihoodThreshold(String value) { this.value = value; } - + + /** + * Returns a CustomSensitiveRuleLikelihoodThreshold with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CustomSensitiveRuleLikelihoodThreshold + */ + @JsonCreator + public static CustomSensitiveRuleLikelihoodThreshold of(String value) { + synchronized (CustomSensitiveRuleLikelihoodThreshold.class) { + return values.computeIfAbsent(value, v -> new CustomSensitiveRuleLikelihoodThreshold(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CustomSensitiveRuleLikelihoodThreshold other = (CustomSensitiveRuleLikelihoodThreshold) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CustomSensitiveRuleLikelihoodThreshold [value=" + value + "]"; + } + + // return an array just like an enum + public static CustomSensitiveRuleLikelihoodThreshold[] values() { + synchronized (CustomSensitiveRuleLikelihoodThreshold.class) { + return values.values().toArray(new CustomSensitiveRuleLikelihoodThreshold[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("LIKELY", LIKELY); + map.put("VERY_LIKELY", VERY_LIKELY); + map.put("POSSIBLE", POSSIBLE); + map.put("UNLIKELY", UNLIKELY); + map.put("VERY_UNLIKELY", VERY_UNLIKELY); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("LIKELY", CustomSensitiveRuleLikelihoodThresholdEnum.LIKELY); + map.put("VERY_LIKELY", CustomSensitiveRuleLikelihoodThresholdEnum.VERY_LIKELY); + map.put("POSSIBLE", CustomSensitiveRuleLikelihoodThresholdEnum.POSSIBLE); + map.put("UNLIKELY", CustomSensitiveRuleLikelihoodThresholdEnum.UNLIKELY); + map.put("VERY_UNLIKELY", CustomSensitiveRuleLikelihoodThresholdEnum.VERY_UNLIKELY); + return map; + } - public static Optional fromValue(String value) { - for (CustomSensitiveRuleLikelihoodThreshold o: CustomSensitiveRuleLikelihoodThreshold.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CustomSensitiveRuleLikelihoodThresholdEnum { + + LIKELY("LIKELY"), + VERY_LIKELY("VERY_LIKELY"), + POSSIBLE("POSSIBLE"), + UNLIKELY("UNLIKELY"), + VERY_UNLIKELY("VERY_UNLIKELY"),; + + private final String value; + + private CustomSensitiveRuleLikelihoodThresholdEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleType.java index b8b1480e..7f0588a8 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/CustomSensitiveRuleType.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * CustomSensitiveRuleType * *

Type of the custom sensitive rule. */ -public enum CustomSensitiveRuleType { - REGEX("REGEX"), - TERM("TERM"), - INFO_TYPE("INFO_TYPE"); +public class CustomSensitiveRuleType { + + public static final CustomSensitiveRuleType REGEX = new CustomSensitiveRuleType("REGEX"); + public static final CustomSensitiveRuleType TERM = new CustomSensitiveRuleType("TERM"); + public static final CustomSensitiveRuleType INFO_TYPE = new CustomSensitiveRuleType("INFO_TYPE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - CustomSensitiveRuleType(String value) { + private CustomSensitiveRuleType(String value) { this.value = value; } - + + /** + * Returns a CustomSensitiveRuleType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as CustomSensitiveRuleType + */ + @JsonCreator + public static CustomSensitiveRuleType of(String value) { + synchronized (CustomSensitiveRuleType.class) { + return values.computeIfAbsent(value, v -> new CustomSensitiveRuleType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + CustomSensitiveRuleType other = (CustomSensitiveRuleType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "CustomSensitiveRuleType [value=" + value + "]"; + } + + // return an array just like an enum + public static CustomSensitiveRuleType[] values() { + synchronized (CustomSensitiveRuleType.class) { + return values.values().toArray(new CustomSensitiveRuleType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("REGEX", REGEX); + map.put("TERM", TERM); + map.put("INFO_TYPE", INFO_TYPE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("REGEX", CustomSensitiveRuleTypeEnum.REGEX); + map.put("TERM", CustomSensitiveRuleTypeEnum.TERM); + map.put("INFO_TYPE", CustomSensitiveRuleTypeEnum.INFO_TYPE); + return map; + } - public static Optional fromValue(String value) { - for (CustomSensitiveRuleType o: CustomSensitiveRuleType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum CustomSensitiveRuleTypeEnum { + + REGEX("REGEX"), + TERM("TERM"), + INFO_TYPE("INFO_TYPE"),; + + private final String value; + + private CustomSensitiveRuleTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceCategory.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceCategory.java index fa0a40ad..97a10a21 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceCategory.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceCategory.java @@ -3,11 +3,21 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DatasourceCategory * @@ -15,44 +25,174 @@ * cannot be UNCATEGORIZED. Please refer to * [this](https://developers.glean.com/docs/indexing_api_datasource_category/) for more details. */ -public enum DatasourceCategory { - UNCATEGORIZED("UNCATEGORIZED"), - TICKETS("TICKETS"), - CRM("CRM"), - PUBLISHED_CONTENT("PUBLISHED_CONTENT"), - COLLABORATIVE_CONTENT("COLLABORATIVE_CONTENT"), - QUESTION_ANSWER("QUESTION_ANSWER"), - MESSAGING("MESSAGING"), - CODE_REPOSITORY("CODE_REPOSITORY"), - CHANGE_MANAGEMENT("CHANGE_MANAGEMENT"), - PEOPLE("PEOPLE"), - EMAIL("EMAIL"), - SSO("SSO"), - ATS("ATS"), - KNOWLEDGE_HUB("KNOWLEDGE_HUB"), - EXTERNAL_SHORTCUT("EXTERNAL_SHORTCUT"), - ENTITY("ENTITY"), - CALENDAR("CALENDAR"), - AGENTS("AGENTS"); +public class DatasourceCategory { + + public static final DatasourceCategory UNCATEGORIZED = new DatasourceCategory("UNCATEGORIZED"); + public static final DatasourceCategory TICKETS = new DatasourceCategory("TICKETS"); + public static final DatasourceCategory CRM = new DatasourceCategory("CRM"); + public static final DatasourceCategory PUBLISHED_CONTENT = new DatasourceCategory("PUBLISHED_CONTENT"); + public static final DatasourceCategory COLLABORATIVE_CONTENT = new DatasourceCategory("COLLABORATIVE_CONTENT"); + public static final DatasourceCategory QUESTION_ANSWER = new DatasourceCategory("QUESTION_ANSWER"); + public static final DatasourceCategory MESSAGING = new DatasourceCategory("MESSAGING"); + public static final DatasourceCategory CODE_REPOSITORY = new DatasourceCategory("CODE_REPOSITORY"); + public static final DatasourceCategory CHANGE_MANAGEMENT = new DatasourceCategory("CHANGE_MANAGEMENT"); + public static final DatasourceCategory PEOPLE = new DatasourceCategory("PEOPLE"); + public static final DatasourceCategory EMAIL = new DatasourceCategory("EMAIL"); + public static final DatasourceCategory SSO = new DatasourceCategory("SSO"); + public static final DatasourceCategory ATS = new DatasourceCategory("ATS"); + public static final DatasourceCategory KNOWLEDGE_HUB = new DatasourceCategory("KNOWLEDGE_HUB"); + public static final DatasourceCategory EXTERNAL_SHORTCUT = new DatasourceCategory("EXTERNAL_SHORTCUT"); + public static final DatasourceCategory ENTITY = new DatasourceCategory("ENTITY"); + public static final DatasourceCategory CALENDAR = new DatasourceCategory("CALENDAR"); + public static final DatasourceCategory AGENTS = new DatasourceCategory("AGENTS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DatasourceCategory(String value) { + private DatasourceCategory(String value) { this.value = value; } - + + /** + * Returns a DatasourceCategory with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DatasourceCategory + */ + @JsonCreator + public static DatasourceCategory of(String value) { + synchronized (DatasourceCategory.class) { + return values.computeIfAbsent(value, v -> new DatasourceCategory(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DatasourceCategory other = (DatasourceCategory) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DatasourceCategory [value=" + value + "]"; + } + + // return an array just like an enum + public static DatasourceCategory[] values() { + synchronized (DatasourceCategory.class) { + return values.values().toArray(new DatasourceCategory[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UNCATEGORIZED", UNCATEGORIZED); + map.put("TICKETS", TICKETS); + map.put("CRM", CRM); + map.put("PUBLISHED_CONTENT", PUBLISHED_CONTENT); + map.put("COLLABORATIVE_CONTENT", COLLABORATIVE_CONTENT); + map.put("QUESTION_ANSWER", QUESTION_ANSWER); + map.put("MESSAGING", MESSAGING); + map.put("CODE_REPOSITORY", CODE_REPOSITORY); + map.put("CHANGE_MANAGEMENT", CHANGE_MANAGEMENT); + map.put("PEOPLE", PEOPLE); + map.put("EMAIL", EMAIL); + map.put("SSO", SSO); + map.put("ATS", ATS); + map.put("KNOWLEDGE_HUB", KNOWLEDGE_HUB); + map.put("EXTERNAL_SHORTCUT", EXTERNAL_SHORTCUT); + map.put("ENTITY", ENTITY); + map.put("CALENDAR", CALENDAR); + map.put("AGENTS", AGENTS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UNCATEGORIZED", DatasourceCategoryEnum.UNCATEGORIZED); + map.put("TICKETS", DatasourceCategoryEnum.TICKETS); + map.put("CRM", DatasourceCategoryEnum.CRM); + map.put("PUBLISHED_CONTENT", DatasourceCategoryEnum.PUBLISHED_CONTENT); + map.put("COLLABORATIVE_CONTENT", DatasourceCategoryEnum.COLLABORATIVE_CONTENT); + map.put("QUESTION_ANSWER", DatasourceCategoryEnum.QUESTION_ANSWER); + map.put("MESSAGING", DatasourceCategoryEnum.MESSAGING); + map.put("CODE_REPOSITORY", DatasourceCategoryEnum.CODE_REPOSITORY); + map.put("CHANGE_MANAGEMENT", DatasourceCategoryEnum.CHANGE_MANAGEMENT); + map.put("PEOPLE", DatasourceCategoryEnum.PEOPLE); + map.put("EMAIL", DatasourceCategoryEnum.EMAIL); + map.put("SSO", DatasourceCategoryEnum.SSO); + map.put("ATS", DatasourceCategoryEnum.ATS); + map.put("KNOWLEDGE_HUB", DatasourceCategoryEnum.KNOWLEDGE_HUB); + map.put("EXTERNAL_SHORTCUT", DatasourceCategoryEnum.EXTERNAL_SHORTCUT); + map.put("ENTITY", DatasourceCategoryEnum.ENTITY); + map.put("CALENDAR", DatasourceCategoryEnum.CALENDAR); + map.put("AGENTS", DatasourceCategoryEnum.AGENTS); + return map; + } - public static Optional fromValue(String value) { - for (DatasourceCategory o: DatasourceCategory.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DatasourceCategoryEnum { + + UNCATEGORIZED("UNCATEGORIZED"), + TICKETS("TICKETS"), + CRM("CRM"), + PUBLISHED_CONTENT("PUBLISHED_CONTENT"), + COLLABORATIVE_CONTENT("COLLABORATIVE_CONTENT"), + QUESTION_ANSWER("QUESTION_ANSWER"), + MESSAGING("MESSAGING"), + CODE_REPOSITORY("CODE_REPOSITORY"), + CHANGE_MANAGEMENT("CHANGE_MANAGEMENT"), + PEOPLE("PEOPLE"), + EMAIL("EMAIL"), + SSO("SSO"), + ATS("ATS"), + KNOWLEDGE_HUB("KNOWLEDGE_HUB"), + EXTERNAL_SHORTCUT("EXTERNAL_SHORTCUT"), + ENTITY("ENTITY"), + CALENDAR("CALENDAR"), + AGENTS("AGENTS"),; + + private final String value; + + private DatasourceCategoryEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceConfigurationResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceConfigurationResponse.java new file mode 100644 index 00000000..77f12d20 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceConfigurationResponse.java @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.components; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Override; +import java.lang.String; + +/** + * DatasourceConfigurationResponse + * + *

The greenlisted configuration values for a datasource instance. Only keys that are exposed via the + * public API greenlist are included. + */ +public class DatasourceConfigurationResponse { + /** + * Configuration for a datasource instance + */ + @JsonProperty("configuration") + private DatasourceInstanceConfiguration configuration; + + @JsonCreator + public DatasourceConfigurationResponse( + @JsonProperty("configuration") DatasourceInstanceConfiguration configuration) { + Utils.checkNotNull(configuration, "configuration"); + this.configuration = configuration; + } + + /** + * Configuration for a datasource instance + */ + @JsonIgnore + public DatasourceInstanceConfiguration configuration() { + return configuration; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * Configuration for a datasource instance + */ + public DatasourceConfigurationResponse withConfiguration(DatasourceInstanceConfiguration configuration) { + Utils.checkNotNull(configuration, "configuration"); + this.configuration = configuration; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatasourceConfigurationResponse other = (DatasourceConfigurationResponse) o; + return + Utils.enhancedDeepEquals(this.configuration, other.configuration); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + configuration); + } + + @Override + public String toString() { + return Utils.toString(DatasourceConfigurationResponse.class, + "configuration", configuration); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private DatasourceInstanceConfiguration configuration; + + private Builder() { + // force use of static builder() method + } + + + /** + * Configuration for a datasource instance + */ + public Builder configuration(DatasourceInstanceConfiguration configuration) { + Utils.checkNotNull(configuration, "configuration"); + this.configuration = configuration; + return this; + } + + public DatasourceConfigurationResponse build() { + + return new DatasourceConfigurationResponse( + configuration); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceInstanceConfiguration.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceInstanceConfiguration.java new file mode 100644 index 00000000..173cf0d8 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceInstanceConfiguration.java @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.components; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Override; +import java.lang.String; +import java.util.Map; + +/** + * DatasourceInstanceConfiguration + * + *

Configuration for a datasource instance + */ +public class DatasourceInstanceConfiguration { + /** + * A map from configuration key names to their values + */ + @JsonProperty("values") + private Map values; + + @JsonCreator + public DatasourceInstanceConfiguration( + @JsonProperty("values") Map values) { + values = Utils.emptyMapIfNull(values); + Utils.checkNotNull(values, "values"); + this.values = values; + } + + /** + * A map from configuration key names to their values + */ + @JsonIgnore + public Map values() { + return values; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * A map from configuration key names to their values + */ + public DatasourceInstanceConfiguration withValues(Map values) { + Utils.checkNotNull(values, "values"); + this.values = values; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatasourceInstanceConfiguration other = (DatasourceInstanceConfiguration) o; + return + Utils.enhancedDeepEquals(this.values, other.values); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + values); + } + + @Override + public String toString() { + return Utils.toString(DatasourceInstanceConfiguration.class, + "values", values); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private Map values; + + private Builder() { + // force use of static builder() method + } + + + /** + * A map from configuration key names to their values + */ + public Builder values(Map values) { + Utils.checkNotNull(values, "values"); + this.values = values; + return this; + } + + public DatasourceInstanceConfiguration build() { + + return new DatasourceInstanceConfiguration( + values); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceVisibility.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceVisibility.java index 284463ec..95ac833a 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceVisibility.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourceVisibility.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DatasourceVisibility * *

The visibility of the datasource, an enum of VISIBLE_TO_ALL, VISIBLE_TO_TEST_GROUP, NOT_VISIBLE */ -public enum DatasourceVisibility { - ENABLED_FOR_ALL("ENABLED_FOR_ALL"), - ENABLED_FOR_TEST_GROUP("ENABLED_FOR_TEST_GROUP"), - NOT_ENABLED("NOT_ENABLED"); +public class DatasourceVisibility { + + public static final DatasourceVisibility ENABLED_FOR_ALL = new DatasourceVisibility("ENABLED_FOR_ALL"); + public static final DatasourceVisibility ENABLED_FOR_TEST_GROUP = new DatasourceVisibility("ENABLED_FOR_TEST_GROUP"); + public static final DatasourceVisibility NOT_ENABLED = new DatasourceVisibility("NOT_ENABLED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DatasourceVisibility(String value) { + private DatasourceVisibility(String value) { this.value = value; } - + + /** + * Returns a DatasourceVisibility with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DatasourceVisibility + */ + @JsonCreator + public static DatasourceVisibility of(String value) { + synchronized (DatasourceVisibility.class) { + return values.computeIfAbsent(value, v -> new DatasourceVisibility(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DatasourceVisibility other = (DatasourceVisibility) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DatasourceVisibility [value=" + value + "]"; + } + + // return an array just like an enum + public static DatasourceVisibility[] values() { + synchronized (DatasourceVisibility.class) { + return values.values().toArray(new DatasourceVisibility[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ENABLED_FOR_ALL", ENABLED_FOR_ALL); + map.put("ENABLED_FOR_TEST_GROUP", ENABLED_FOR_TEST_GROUP); + map.put("NOT_ENABLED", NOT_ENABLED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ENABLED_FOR_ALL", DatasourceVisibilityEnum.ENABLED_FOR_ALL); + map.put("ENABLED_FOR_TEST_GROUP", DatasourceVisibilityEnum.ENABLED_FOR_TEST_GROUP); + map.put("NOT_ENABLED", DatasourceVisibilityEnum.NOT_ENABLED); + return map; + } - public static Optional fromValue(String value) { - for (DatasourceVisibility o: DatasourceVisibility.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DatasourceVisibilityEnum { + + ENABLED_FOR_ALL("ENABLED_FOR_ALL"), + ENABLED_FOR_TEST_GROUP("ENABLED_FOR_TEST_GROUP"), + NOT_ENABLED("NOT_ENABLED"),; + + private final String value; + + private DatasourceVisibilityEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourcesType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourcesType.java index fb6dadf6..2c0d894b 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourcesType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DatasourcesType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DatasourcesType * *

The types of datasource for which to run the report/policy. */ -public enum DatasourcesType { - ALL("ALL"), - CUSTOM("CUSTOM"); +public class DatasourcesType { + + public static final DatasourcesType ALL = new DatasourcesType("ALL"); + public static final DatasourcesType CUSTOM = new DatasourcesType("CUSTOM"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DatasourcesType(String value) { + private DatasourcesType(String value) { this.value = value; } - + + /** + * Returns a DatasourcesType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DatasourcesType + */ + @JsonCreator + public static DatasourcesType of(String value) { + synchronized (DatasourcesType.class) { + return values.computeIfAbsent(value, v -> new DatasourcesType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DatasourcesType other = (DatasourcesType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DatasourcesType [value=" + value + "]"; + } + + // return an array just like an enum + public static DatasourcesType[] values() { + synchronized (DatasourcesType.class) { + return values.values().toArray(new DatasourcesType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ALL", ALL); + map.put("CUSTOM", CUSTOM); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ALL", DatasourcesTypeEnum.ALL); + map.put("CUSTOM", DatasourcesTypeEnum.CUSTOM); + return map; + } - public static Optional fromValue(String value) { - for (DatasourcesType o: DatasourcesType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DatasourcesTypeEnum { + + ALL("ALL"), + CUSTOM("CUSTOM"),; + + private final String value; + + private DatasourcesTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpFrequency.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpFrequency.java index 2d7976c3..11a1cf0e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpFrequency.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpFrequency.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DlpFrequency * *

Interval between scans. DAILY is deprecated. */ -public enum DlpFrequency { - ONCE("ONCE"), - DAILY("DAILY"), - WEEKLY("WEEKLY"), - CONTINUOUS("CONTINUOUS"), - NONE("NONE"); +public class DlpFrequency { + + public static final DlpFrequency ONCE = new DlpFrequency("ONCE"); + public static final DlpFrequency DAILY = new DlpFrequency("DAILY"); + public static final DlpFrequency WEEKLY = new DlpFrequency("WEEKLY"); + public static final DlpFrequency CONTINUOUS = new DlpFrequency("CONTINUOUS"); + public static final DlpFrequency NONE = new DlpFrequency("NONE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DlpFrequency(String value) { + private DlpFrequency(String value) { this.value = value; } - + + /** + * Returns a DlpFrequency with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DlpFrequency + */ + @JsonCreator + public static DlpFrequency of(String value) { + synchronized (DlpFrequency.class) { + return values.computeIfAbsent(value, v -> new DlpFrequency(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DlpFrequency other = (DlpFrequency) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DlpFrequency [value=" + value + "]"; + } + + // return an array just like an enum + public static DlpFrequency[] values() { + synchronized (DlpFrequency.class) { + return values.values().toArray(new DlpFrequency[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ONCE", ONCE); + map.put("DAILY", DAILY); + map.put("WEEKLY", WEEKLY); + map.put("CONTINUOUS", CONTINUOUS); + map.put("NONE", NONE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ONCE", DlpFrequencyEnum.ONCE); + map.put("DAILY", DlpFrequencyEnum.DAILY); + map.put("WEEKLY", DlpFrequencyEnum.WEEKLY); + map.put("CONTINUOUS", DlpFrequencyEnum.CONTINUOUS); + map.put("NONE", DlpFrequencyEnum.NONE); + return map; + } - public static Optional fromValue(String value) { - for (DlpFrequency o: DlpFrequency.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DlpFrequencyEnum { + + ONCE("ONCE"), + DAILY("DAILY"), + WEEKLY("WEEKLY"), + CONTINUOUS("CONTINUOUS"), + NONE("NONE"),; + + private final String value; + + private DlpFrequencyEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpReportStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpReportStatus.java index cd1333f8..f6be5616 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpReportStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpReportStatus.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DlpReportStatus * *

The status of the policy/report. Only ACTIVE status will be picked for scans. */ -public enum DlpReportStatus { - ACTIVE("ACTIVE"), - INACTIVE("INACTIVE"), - CANCELLED("CANCELLED"), - NONE("NONE"); +public class DlpReportStatus { + + public static final DlpReportStatus ACTIVE = new DlpReportStatus("ACTIVE"); + public static final DlpReportStatus INACTIVE = new DlpReportStatus("INACTIVE"); + public static final DlpReportStatus CANCELLED = new DlpReportStatus("CANCELLED"); + public static final DlpReportStatus NONE = new DlpReportStatus("NONE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DlpReportStatus(String value) { + private DlpReportStatus(String value) { this.value = value; } - + + /** + * Returns a DlpReportStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DlpReportStatus + */ + @JsonCreator + public static DlpReportStatus of(String value) { + synchronized (DlpReportStatus.class) { + return values.computeIfAbsent(value, v -> new DlpReportStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DlpReportStatus other = (DlpReportStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DlpReportStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static DlpReportStatus[] values() { + synchronized (DlpReportStatus.class) { + return values.values().toArray(new DlpReportStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ACTIVE", ACTIVE); + map.put("INACTIVE", INACTIVE); + map.put("CANCELLED", CANCELLED); + map.put("NONE", NONE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ACTIVE", DlpReportStatusEnum.ACTIVE); + map.put("INACTIVE", DlpReportStatusEnum.INACTIVE); + map.put("CANCELLED", DlpReportStatusEnum.CANCELLED); + map.put("NONE", DlpReportStatusEnum.NONE); + return map; + } - public static Optional fromValue(String value) { - for (DlpReportStatus o: DlpReportStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DlpReportStatusEnum { + + ACTIVE("ACTIVE"), + INACTIVE("INACTIVE"), + CANCELLED("CANCELLED"), + NONE("NONE"),; + + private final String value; + + private DlpReportStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSeverity.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSeverity.java index f49ada0c..50f4dc3b 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSeverity.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSeverity.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DlpSeverity * *

Severity levels for DLP findings and analyses. */ -public enum DlpSeverity { - UNSPECIFIED("UNSPECIFIED"), - LOW("LOW"), - MEDIUM("MEDIUM"), - HIGH("HIGH"); +public class DlpSeverity { + + public static final DlpSeverity UNSPECIFIED = new DlpSeverity("UNSPECIFIED"); + public static final DlpSeverity LOW = new DlpSeverity("LOW"); + public static final DlpSeverity MEDIUM = new DlpSeverity("MEDIUM"); + public static final DlpSeverity HIGH = new DlpSeverity("HIGH"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DlpSeverity(String value) { + private DlpSeverity(String value) { this.value = value; } - + + /** + * Returns a DlpSeverity with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DlpSeverity + */ + @JsonCreator + public static DlpSeverity of(String value) { + synchronized (DlpSeverity.class) { + return values.computeIfAbsent(value, v -> new DlpSeverity(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DlpSeverity other = (DlpSeverity) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DlpSeverity [value=" + value + "]"; + } + + // return an array just like an enum + public static DlpSeverity[] values() { + synchronized (DlpSeverity.class) { + return values.values().toArray(new DlpSeverity[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UNSPECIFIED", UNSPECIFIED); + map.put("LOW", LOW); + map.put("MEDIUM", MEDIUM); + map.put("HIGH", HIGH); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UNSPECIFIED", DlpSeverityEnum.UNSPECIFIED); + map.put("LOW", DlpSeverityEnum.LOW); + map.put("MEDIUM", DlpSeverityEnum.MEDIUM); + map.put("HIGH", DlpSeverityEnum.HIGH); + return map; + } - public static Optional fromValue(String value) { - for (DlpSeverity o: DlpSeverity.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DlpSeverityEnum { + + UNSPECIFIED("UNSPECIFIED"), + LOW("LOW"), + MEDIUM("MEDIUM"), + HIGH("HIGH"),; + + private final String value; + + private DlpSeverityEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSimpleResult.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSimpleResult.java index be2855b1..4e55fd2e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSimpleResult.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DlpSimpleResult.java @@ -3,33 +3,125 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum DlpSimpleResult { - SUCCESS("SUCCESS"), - FAILURE("FAILURE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class DlpSimpleResult { + + public static final DlpSimpleResult SUCCESS = new DlpSimpleResult("SUCCESS"); + public static final DlpSimpleResult FAILURE = new DlpSimpleResult("FAILURE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DlpSimpleResult(String value) { + private DlpSimpleResult(String value) { this.value = value; } - + + /** + * Returns a DlpSimpleResult with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DlpSimpleResult + */ + @JsonCreator + public static DlpSimpleResult of(String value) { + synchronized (DlpSimpleResult.class) { + return values.computeIfAbsent(value, v -> new DlpSimpleResult(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DlpSimpleResult other = (DlpSimpleResult) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DlpSimpleResult [value=" + value + "]"; + } + + // return an array just like an enum + public static DlpSimpleResult[] values() { + synchronized (DlpSimpleResult.class) { + return values.values().toArray(new DlpSimpleResult[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("SUCCESS", SUCCESS); + map.put("FAILURE", FAILURE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("SUCCESS", DlpSimpleResultEnum.SUCCESS); + map.put("FAILURE", DlpSimpleResultEnum.FAILURE); + return map; + } - public static Optional fromValue(String value) { - for (DlpSimpleResult o: DlpSimpleResult.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DlpSimpleResultEnum { + + SUCCESS("SUCCESS"), + FAILURE("FAILURE"),; + + private final String value; + + private DlpSimpleResultEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocCategory.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocCategory.java index 5f1c2c64..01946200 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocCategory.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocCategory.java @@ -3,54 +3,194 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DocCategory * *

The document category of this object type. */ -public enum DocCategory { - UNCATEGORIZED("UNCATEGORIZED"), - TICKETS("TICKETS"), - CRM("CRM"), - PUBLISHED_CONTENT("PUBLISHED_CONTENT"), - COLLABORATIVE_CONTENT("COLLABORATIVE_CONTENT"), - QUESTION_ANSWER("QUESTION_ANSWER"), - MESSAGING("MESSAGING"), - CODE_REPOSITORY("CODE_REPOSITORY"), - CHANGE_MANAGEMENT("CHANGE_MANAGEMENT"), - PEOPLE("PEOPLE"), - EMAIL("EMAIL"), - SSO("SSO"), - ATS("ATS"), - KNOWLEDGE_HUB("KNOWLEDGE_HUB"), - EXTERNAL_SHORTCUT("EXTERNAL_SHORTCUT"), - ENTITY("ENTITY"), - CALENDAR("CALENDAR"), - AGENTS("AGENTS"); +public class DocCategory { + + public static final DocCategory UNCATEGORIZED = new DocCategory("UNCATEGORIZED"); + public static final DocCategory TICKETS = new DocCategory("TICKETS"); + public static final DocCategory CRM = new DocCategory("CRM"); + public static final DocCategory PUBLISHED_CONTENT = new DocCategory("PUBLISHED_CONTENT"); + public static final DocCategory COLLABORATIVE_CONTENT = new DocCategory("COLLABORATIVE_CONTENT"); + public static final DocCategory QUESTION_ANSWER = new DocCategory("QUESTION_ANSWER"); + public static final DocCategory MESSAGING = new DocCategory("MESSAGING"); + public static final DocCategory CODE_REPOSITORY = new DocCategory("CODE_REPOSITORY"); + public static final DocCategory CHANGE_MANAGEMENT = new DocCategory("CHANGE_MANAGEMENT"); + public static final DocCategory PEOPLE = new DocCategory("PEOPLE"); + public static final DocCategory EMAIL = new DocCategory("EMAIL"); + public static final DocCategory SSO = new DocCategory("SSO"); + public static final DocCategory ATS = new DocCategory("ATS"); + public static final DocCategory KNOWLEDGE_HUB = new DocCategory("KNOWLEDGE_HUB"); + public static final DocCategory EXTERNAL_SHORTCUT = new DocCategory("EXTERNAL_SHORTCUT"); + public static final DocCategory ENTITY = new DocCategory("ENTITY"); + public static final DocCategory CALENDAR = new DocCategory("CALENDAR"); + public static final DocCategory AGENTS = new DocCategory("AGENTS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DocCategory(String value) { + private DocCategory(String value) { this.value = value; } - + + /** + * Returns a DocCategory with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DocCategory + */ + @JsonCreator + public static DocCategory of(String value) { + synchronized (DocCategory.class) { + return values.computeIfAbsent(value, v -> new DocCategory(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DocCategory other = (DocCategory) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DocCategory [value=" + value + "]"; + } + + // return an array just like an enum + public static DocCategory[] values() { + synchronized (DocCategory.class) { + return values.values().toArray(new DocCategory[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UNCATEGORIZED", UNCATEGORIZED); + map.put("TICKETS", TICKETS); + map.put("CRM", CRM); + map.put("PUBLISHED_CONTENT", PUBLISHED_CONTENT); + map.put("COLLABORATIVE_CONTENT", COLLABORATIVE_CONTENT); + map.put("QUESTION_ANSWER", QUESTION_ANSWER); + map.put("MESSAGING", MESSAGING); + map.put("CODE_REPOSITORY", CODE_REPOSITORY); + map.put("CHANGE_MANAGEMENT", CHANGE_MANAGEMENT); + map.put("PEOPLE", PEOPLE); + map.put("EMAIL", EMAIL); + map.put("SSO", SSO); + map.put("ATS", ATS); + map.put("KNOWLEDGE_HUB", KNOWLEDGE_HUB); + map.put("EXTERNAL_SHORTCUT", EXTERNAL_SHORTCUT); + map.put("ENTITY", ENTITY); + map.put("CALENDAR", CALENDAR); + map.put("AGENTS", AGENTS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UNCATEGORIZED", DocCategoryEnum.UNCATEGORIZED); + map.put("TICKETS", DocCategoryEnum.TICKETS); + map.put("CRM", DocCategoryEnum.CRM); + map.put("PUBLISHED_CONTENT", DocCategoryEnum.PUBLISHED_CONTENT); + map.put("COLLABORATIVE_CONTENT", DocCategoryEnum.COLLABORATIVE_CONTENT); + map.put("QUESTION_ANSWER", DocCategoryEnum.QUESTION_ANSWER); + map.put("MESSAGING", DocCategoryEnum.MESSAGING); + map.put("CODE_REPOSITORY", DocCategoryEnum.CODE_REPOSITORY); + map.put("CHANGE_MANAGEMENT", DocCategoryEnum.CHANGE_MANAGEMENT); + map.put("PEOPLE", DocCategoryEnum.PEOPLE); + map.put("EMAIL", DocCategoryEnum.EMAIL); + map.put("SSO", DocCategoryEnum.SSO); + map.put("ATS", DocCategoryEnum.ATS); + map.put("KNOWLEDGE_HUB", DocCategoryEnum.KNOWLEDGE_HUB); + map.put("EXTERNAL_SHORTCUT", DocCategoryEnum.EXTERNAL_SHORTCUT); + map.put("ENTITY", DocCategoryEnum.ENTITY); + map.put("CALENDAR", DocCategoryEnum.CALENDAR); + map.put("AGENTS", DocCategoryEnum.AGENTS); + return map; + } - public static Optional fromValue(String value) { - for (DocCategory o: DocCategory.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DocCategoryEnum { + + UNCATEGORIZED("UNCATEGORIZED"), + TICKETS("TICKETS"), + CRM("CRM"), + PUBLISHED_CONTENT("PUBLISHED_CONTENT"), + COLLABORATIVE_CONTENT("COLLABORATIVE_CONTENT"), + QUESTION_ANSWER("QUESTION_ANSWER"), + MESSAGING("MESSAGING"), + CODE_REPOSITORY("CODE_REPOSITORY"), + CHANGE_MANAGEMENT("CHANGE_MANAGEMENT"), + PEOPLE("PEOPLE"), + EMAIL("EMAIL"), + SSO("SSO"), + ATS("ATS"), + KNOWLEDGE_HUB("KNOWLEDGE_HUB"), + EXTERNAL_SHORTCUT("EXTERNAL_SHORTCUT"), + ENTITY("ENTITY"), + CALENDAR("CALENDAR"), + AGENTS("AGENTS"),; + + private final String value; + + private DocCategoryEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType1.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType1.java index d312ea7f..9e072553 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType1.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType1.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DocumentSpecUgcType1 * *

The type of the user generated content (UGC datasource). */ -public enum DocumentSpecUgcType1 { - ANNOUNCEMENTS("ANNOUNCEMENTS"), - ANSWERS("ANSWERS"), - COLLECTIONS("COLLECTIONS"), - SHORTCUTS("SHORTCUTS"), - CHATS("CHATS"); +public class DocumentSpecUgcType1 { + + public static final DocumentSpecUgcType1 ANNOUNCEMENTS = new DocumentSpecUgcType1("ANNOUNCEMENTS"); + public static final DocumentSpecUgcType1 ANSWERS = new DocumentSpecUgcType1("ANSWERS"); + public static final DocumentSpecUgcType1 COLLECTIONS = new DocumentSpecUgcType1("COLLECTIONS"); + public static final DocumentSpecUgcType1 SHORTCUTS = new DocumentSpecUgcType1("SHORTCUTS"); + public static final DocumentSpecUgcType1 CHATS = new DocumentSpecUgcType1("CHATS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DocumentSpecUgcType1(String value) { + private DocumentSpecUgcType1(String value) { this.value = value; } - + + /** + * Returns a DocumentSpecUgcType1 with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DocumentSpecUgcType1 + */ + @JsonCreator + public static DocumentSpecUgcType1 of(String value) { + synchronized (DocumentSpecUgcType1.class) { + return values.computeIfAbsent(value, v -> new DocumentSpecUgcType1(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DocumentSpecUgcType1 other = (DocumentSpecUgcType1) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DocumentSpecUgcType1 [value=" + value + "]"; + } + + // return an array just like an enum + public static DocumentSpecUgcType1[] values() { + synchronized (DocumentSpecUgcType1.class) { + return values.values().toArray(new DocumentSpecUgcType1[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ANNOUNCEMENTS", ANNOUNCEMENTS); + map.put("ANSWERS", ANSWERS); + map.put("COLLECTIONS", COLLECTIONS); + map.put("SHORTCUTS", SHORTCUTS); + map.put("CHATS", CHATS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ANNOUNCEMENTS", DocumentSpecUgcType1Enum.ANNOUNCEMENTS); + map.put("ANSWERS", DocumentSpecUgcType1Enum.ANSWERS); + map.put("COLLECTIONS", DocumentSpecUgcType1Enum.COLLECTIONS); + map.put("SHORTCUTS", DocumentSpecUgcType1Enum.SHORTCUTS); + map.put("CHATS", DocumentSpecUgcType1Enum.CHATS); + return map; + } - public static Optional fromValue(String value) { - for (DocumentSpecUgcType1 o: DocumentSpecUgcType1.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DocumentSpecUgcType1Enum { + + ANNOUNCEMENTS("ANNOUNCEMENTS"), + ANSWERS("ANSWERS"), + COLLECTIONS("COLLECTIONS"), + SHORTCUTS("SHORTCUTS"), + CHATS("CHATS"),; + + private final String value; + + private DocumentSpecUgcType1Enum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType2.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType2.java index 0c027771..b9830316 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType2.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentSpecUgcType2.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DocumentSpecUgcType2 * *

The type of the user generated content (UGC datasource). */ -public enum DocumentSpecUgcType2 { - ANNOUNCEMENTS("ANNOUNCEMENTS"), - ANSWERS("ANSWERS"), - COLLECTIONS("COLLECTIONS"), - SHORTCUTS("SHORTCUTS"), - CHATS("CHATS"); +public class DocumentSpecUgcType2 { + + public static final DocumentSpecUgcType2 ANNOUNCEMENTS = new DocumentSpecUgcType2("ANNOUNCEMENTS"); + public static final DocumentSpecUgcType2 ANSWERS = new DocumentSpecUgcType2("ANSWERS"); + public static final DocumentSpecUgcType2 COLLECTIONS = new DocumentSpecUgcType2("COLLECTIONS"); + public static final DocumentSpecUgcType2 SHORTCUTS = new DocumentSpecUgcType2("SHORTCUTS"); + public static final DocumentSpecUgcType2 CHATS = new DocumentSpecUgcType2("CHATS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DocumentSpecUgcType2(String value) { + private DocumentSpecUgcType2(String value) { this.value = value; } - + + /** + * Returns a DocumentSpecUgcType2 with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DocumentSpecUgcType2 + */ + @JsonCreator + public static DocumentSpecUgcType2 of(String value) { + synchronized (DocumentSpecUgcType2.class) { + return values.computeIfAbsent(value, v -> new DocumentSpecUgcType2(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DocumentSpecUgcType2 other = (DocumentSpecUgcType2) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DocumentSpecUgcType2 [value=" + value + "]"; + } + + // return an array just like an enum + public static DocumentSpecUgcType2[] values() { + synchronized (DocumentSpecUgcType2.class) { + return values.values().toArray(new DocumentSpecUgcType2[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ANNOUNCEMENTS", ANNOUNCEMENTS); + map.put("ANSWERS", ANSWERS); + map.put("COLLECTIONS", COLLECTIONS); + map.put("SHORTCUTS", SHORTCUTS); + map.put("CHATS", CHATS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ANNOUNCEMENTS", DocumentSpecUgcType2Enum.ANNOUNCEMENTS); + map.put("ANSWERS", DocumentSpecUgcType2Enum.ANSWERS); + map.put("COLLECTIONS", DocumentSpecUgcType2Enum.COLLECTIONS); + map.put("SHORTCUTS", DocumentSpecUgcType2Enum.SHORTCUTS); + map.put("CHATS", DocumentSpecUgcType2Enum.CHATS); + return map; + } - public static Optional fromValue(String value) { - for (DocumentSpecUgcType2 o: DocumentSpecUgcType2.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DocumentSpecUgcType2Enum { + + ANNOUNCEMENTS("ANNOUNCEMENTS"), + ANSWERS("ANSWERS"), + COLLECTIONS("COLLECTIONS"), + SHORTCUTS("SHORTCUTS"), + CHATS("CHATS"),; + + private final String value; + + private DocumentSpecUgcType2Enum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibility.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibility.java index c2b7b837..84a9d25e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibility.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibility.java @@ -3,60 +3,146 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DocumentVisibility * *

The level of visibility of the document as understood by our system. */ -public enum DocumentVisibility { - /** - * Only one person is able to see the document. - */ - PRIVATE("PRIVATE"), - /** - * Only specific people and/or groups can see the document. - */ - SPECIFIC_PEOPLE_AND_GROUPS("SPECIFIC_PEOPLE_AND_GROUPS"), - /** - * Anyone in the domain with the link can see the document. - */ - DOMAIN_LINK("DOMAIN_LINK"), - /** - * Anyone in the domain can search for the document. - */ - DOMAIN_VISIBLE("DOMAIN_VISIBLE"), - /** - * Anyone with the link can see the document. - */ - PUBLIC_LINK("PUBLIC_LINK"), - /** - * Anyone on the internet can search for the document. - */ - PUBLIC_VISIBLE("PUBLIC_VISIBLE"); +public class DocumentVisibility { + + public static final DocumentVisibility PRIVATE = new DocumentVisibility("PRIVATE"); + public static final DocumentVisibility SPECIFIC_PEOPLE_AND_GROUPS = new DocumentVisibility("SPECIFIC_PEOPLE_AND_GROUPS"); + public static final DocumentVisibility DOMAIN_LINK = new DocumentVisibility("DOMAIN_LINK"); + public static final DocumentVisibility DOMAIN_VISIBLE = new DocumentVisibility("DOMAIN_VISIBLE"); + public static final DocumentVisibility PUBLIC_LINK = new DocumentVisibility("PUBLIC_LINK"); + public static final DocumentVisibility PUBLIC_VISIBLE = new DocumentVisibility("PUBLIC_VISIBLE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DocumentVisibility(String value) { + private DocumentVisibility(String value) { this.value = value; } - + + /** + * Returns a DocumentVisibility with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DocumentVisibility + */ + @JsonCreator + public static DocumentVisibility of(String value) { + synchronized (DocumentVisibility.class) { + return values.computeIfAbsent(value, v -> new DocumentVisibility(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DocumentVisibility other = (DocumentVisibility) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DocumentVisibility [value=" + value + "]"; + } + + // return an array just like an enum + public static DocumentVisibility[] values() { + synchronized (DocumentVisibility.class) { + return values.values().toArray(new DocumentVisibility[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PRIVATE", PRIVATE); + map.put("SPECIFIC_PEOPLE_AND_GROUPS", SPECIFIC_PEOPLE_AND_GROUPS); + map.put("DOMAIN_LINK", DOMAIN_LINK); + map.put("DOMAIN_VISIBLE", DOMAIN_VISIBLE); + map.put("PUBLIC_LINK", PUBLIC_LINK); + map.put("PUBLIC_VISIBLE", PUBLIC_VISIBLE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PRIVATE", DocumentVisibilityEnum.PRIVATE); + map.put("SPECIFIC_PEOPLE_AND_GROUPS", DocumentVisibilityEnum.SPECIFIC_PEOPLE_AND_GROUPS); + map.put("DOMAIN_LINK", DocumentVisibilityEnum.DOMAIN_LINK); + map.put("DOMAIN_VISIBLE", DocumentVisibilityEnum.DOMAIN_VISIBLE); + map.put("PUBLIC_LINK", DocumentVisibilityEnum.PUBLIC_LINK); + map.put("PUBLIC_VISIBLE", DocumentVisibilityEnum.PUBLIC_VISIBLE); + return map; + } + - public static Optional fromValue(String value) { - for (DocumentVisibility o: DocumentVisibility.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + public enum DocumentVisibilityEnum { + + PRIVATE("PRIVATE"), + SPECIFIC_PEOPLE_AND_GROUPS("SPECIFIC_PEOPLE_AND_GROUPS"), + DOMAIN_LINK("DOMAIN_LINK"), + DOMAIN_VISIBLE("DOMAIN_VISIBLE"), + PUBLIC_LINK("PUBLIC_LINK"), + PUBLIC_VISIBLE("PUBLIC_VISIBLE"),; + + private final String value; + + private DocumentVisibilityEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityOverrideOverride.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityOverrideOverride.java index 991243c3..e1ebfcac 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityOverrideOverride.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityOverrideOverride.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DocumentVisibilityOverrideOverride * *

The visibility-override state of the document. */ -public enum DocumentVisibilityOverrideOverride { - NONE("NONE"), - HIDE_FROM_ALL("HIDE_FROM_ALL"), - HIDE_FROM_GROUPS("HIDE_FROM_GROUPS"), - HIDE_FROM_ALL_EXCEPT_OWNER("HIDE_FROM_ALL_EXCEPT_OWNER"); +public class DocumentVisibilityOverrideOverride { + + public static final DocumentVisibilityOverrideOverride NONE = new DocumentVisibilityOverrideOverride("NONE"); + public static final DocumentVisibilityOverrideOverride HIDE_FROM_ALL = new DocumentVisibilityOverrideOverride("HIDE_FROM_ALL"); + public static final DocumentVisibilityOverrideOverride HIDE_FROM_GROUPS = new DocumentVisibilityOverrideOverride("HIDE_FROM_GROUPS"); + public static final DocumentVisibilityOverrideOverride HIDE_FROM_ALL_EXCEPT_OWNER = new DocumentVisibilityOverrideOverride("HIDE_FROM_ALL_EXCEPT_OWNER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DocumentVisibilityOverrideOverride(String value) { + private DocumentVisibilityOverrideOverride(String value) { this.value = value; } - + + /** + * Returns a DocumentVisibilityOverrideOverride with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DocumentVisibilityOverrideOverride + */ + @JsonCreator + public static DocumentVisibilityOverrideOverride of(String value) { + synchronized (DocumentVisibilityOverrideOverride.class) { + return values.computeIfAbsent(value, v -> new DocumentVisibilityOverrideOverride(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DocumentVisibilityOverrideOverride other = (DocumentVisibilityOverrideOverride) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DocumentVisibilityOverrideOverride [value=" + value + "]"; + } + + // return an array just like an enum + public static DocumentVisibilityOverrideOverride[] values() { + synchronized (DocumentVisibilityOverrideOverride.class) { + return values.values().toArray(new DocumentVisibilityOverrideOverride[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NONE", NONE); + map.put("HIDE_FROM_ALL", HIDE_FROM_ALL); + map.put("HIDE_FROM_GROUPS", HIDE_FROM_GROUPS); + map.put("HIDE_FROM_ALL_EXCEPT_OWNER", HIDE_FROM_ALL_EXCEPT_OWNER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NONE", DocumentVisibilityOverrideOverrideEnum.NONE); + map.put("HIDE_FROM_ALL", DocumentVisibilityOverrideOverrideEnum.HIDE_FROM_ALL); + map.put("HIDE_FROM_GROUPS", DocumentVisibilityOverrideOverrideEnum.HIDE_FROM_GROUPS); + map.put("HIDE_FROM_ALL_EXCEPT_OWNER", DocumentVisibilityOverrideOverrideEnum.HIDE_FROM_ALL_EXCEPT_OWNER); + return map; + } - public static Optional fromValue(String value) { - for (DocumentVisibilityOverrideOverride o: DocumentVisibilityOverrideOverride.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DocumentVisibilityOverrideOverrideEnum { + + NONE("NONE"), + HIDE_FROM_ALL("HIDE_FROM_ALL"), + HIDE_FROM_GROUPS("HIDE_FROM_GROUPS"), + HIDE_FROM_ALL_EXCEPT_OWNER("HIDE_FROM_ALL_EXCEPT_OWNER"),; + + private final String value; + + private DocumentVisibilityOverrideOverrideEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityUpdateResultOverride.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityUpdateResultOverride.java index 6fc38ec4..dd4da3a9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityUpdateResultOverride.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentVisibilityUpdateResultOverride.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * DocumentVisibilityUpdateResultOverride * *

The visibility-override state of the document. */ -public enum DocumentVisibilityUpdateResultOverride { - NONE("NONE"), - HIDE_FROM_ALL("HIDE_FROM_ALL"), - HIDE_FROM_GROUPS("HIDE_FROM_GROUPS"), - HIDE_FROM_ALL_EXCEPT_OWNER("HIDE_FROM_ALL_EXCEPT_OWNER"); +public class DocumentVisibilityUpdateResultOverride { + + public static final DocumentVisibilityUpdateResultOverride NONE = new DocumentVisibilityUpdateResultOverride("NONE"); + public static final DocumentVisibilityUpdateResultOverride HIDE_FROM_ALL = new DocumentVisibilityUpdateResultOverride("HIDE_FROM_ALL"); + public static final DocumentVisibilityUpdateResultOverride HIDE_FROM_GROUPS = new DocumentVisibilityUpdateResultOverride("HIDE_FROM_GROUPS"); + public static final DocumentVisibilityUpdateResultOverride HIDE_FROM_ALL_EXCEPT_OWNER = new DocumentVisibilityUpdateResultOverride("HIDE_FROM_ALL_EXCEPT_OWNER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - DocumentVisibilityUpdateResultOverride(String value) { + private DocumentVisibilityUpdateResultOverride(String value) { this.value = value; } - + + /** + * Returns a DocumentVisibilityUpdateResultOverride with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as DocumentVisibilityUpdateResultOverride + */ + @JsonCreator + public static DocumentVisibilityUpdateResultOverride of(String value) { + synchronized (DocumentVisibilityUpdateResultOverride.class) { + return values.computeIfAbsent(value, v -> new DocumentVisibilityUpdateResultOverride(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DocumentVisibilityUpdateResultOverride other = (DocumentVisibilityUpdateResultOverride) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "DocumentVisibilityUpdateResultOverride [value=" + value + "]"; + } + + // return an array just like an enum + public static DocumentVisibilityUpdateResultOverride[] values() { + synchronized (DocumentVisibilityUpdateResultOverride.class) { + return values.values().toArray(new DocumentVisibilityUpdateResultOverride[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NONE", NONE); + map.put("HIDE_FROM_ALL", HIDE_FROM_ALL); + map.put("HIDE_FROM_GROUPS", HIDE_FROM_GROUPS); + map.put("HIDE_FROM_ALL_EXCEPT_OWNER", HIDE_FROM_ALL_EXCEPT_OWNER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NONE", DocumentVisibilityUpdateResultOverrideEnum.NONE); + map.put("HIDE_FROM_ALL", DocumentVisibilityUpdateResultOverrideEnum.HIDE_FROM_ALL); + map.put("HIDE_FROM_GROUPS", DocumentVisibilityUpdateResultOverrideEnum.HIDE_FROM_GROUPS); + map.put("HIDE_FROM_ALL_EXCEPT_OWNER", DocumentVisibilityUpdateResultOverrideEnum.HIDE_FROM_ALL_EXCEPT_OWNER); + return map; + } - public static Optional fromValue(String value) { - for (DocumentVisibilityUpdateResultOverride o: DocumentVisibilityUpdateResultOverride.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum DocumentVisibilityUpdateResultOverrideEnum { + + NONE("NONE"), + HIDE_FROM_ALL("HIDE_FROM_ALL"), + HIDE_FROM_GROUPS("HIDE_FROM_GROUPS"), + HIDE_FROM_ALL_EXCEPT_OWNER("HIDE_FROM_ALL_EXCEPT_OWNER"),; + + private final String value; + + private DocumentVisibilityUpdateResultOverrideEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/EditCollectionResponseErrorCode.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/EditCollectionResponseErrorCode.java index 1bbbda90..ec358b48 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/EditCollectionResponseErrorCode.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/EditCollectionResponseErrorCode.java @@ -3,38 +3,145 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum EditCollectionResponseErrorCode { - NAME_EXISTS("NAME_EXISTS"), - NOT_FOUND("NOT_FOUND"), - COLLECTION_PINNED("COLLECTION_PINNED"), - CONCURRENT_HIERARCHY_EDIT("CONCURRENT_HIERARCHY_EDIT"), - HEIGHT_VIOLATION("HEIGHT_VIOLATION"), - WIDTH_VIOLATION("WIDTH_VIOLATION"), - NO_PERMISSIONS("NO_PERMISSIONS"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class EditCollectionResponseErrorCode { + + public static final EditCollectionResponseErrorCode NAME_EXISTS = new EditCollectionResponseErrorCode("NAME_EXISTS"); + public static final EditCollectionResponseErrorCode NOT_FOUND = new EditCollectionResponseErrorCode("NOT_FOUND"); + public static final EditCollectionResponseErrorCode COLLECTION_PINNED = new EditCollectionResponseErrorCode("COLLECTION_PINNED"); + public static final EditCollectionResponseErrorCode CONCURRENT_HIERARCHY_EDIT = new EditCollectionResponseErrorCode("CONCURRENT_HIERARCHY_EDIT"); + public static final EditCollectionResponseErrorCode HEIGHT_VIOLATION = new EditCollectionResponseErrorCode("HEIGHT_VIOLATION"); + public static final EditCollectionResponseErrorCode WIDTH_VIOLATION = new EditCollectionResponseErrorCode("WIDTH_VIOLATION"); + public static final EditCollectionResponseErrorCode NO_PERMISSIONS = new EditCollectionResponseErrorCode("NO_PERMISSIONS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - EditCollectionResponseErrorCode(String value) { + private EditCollectionResponseErrorCode(String value) { this.value = value; } - + + /** + * Returns a EditCollectionResponseErrorCode with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as EditCollectionResponseErrorCode + */ + @JsonCreator + public static EditCollectionResponseErrorCode of(String value) { + synchronized (EditCollectionResponseErrorCode.class) { + return values.computeIfAbsent(value, v -> new EditCollectionResponseErrorCode(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EditCollectionResponseErrorCode other = (EditCollectionResponseErrorCode) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "EditCollectionResponseErrorCode [value=" + value + "]"; + } + + // return an array just like an enum + public static EditCollectionResponseErrorCode[] values() { + synchronized (EditCollectionResponseErrorCode.class) { + return values.values().toArray(new EditCollectionResponseErrorCode[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NAME_EXISTS", NAME_EXISTS); + map.put("NOT_FOUND", NOT_FOUND); + map.put("COLLECTION_PINNED", COLLECTION_PINNED); + map.put("CONCURRENT_HIERARCHY_EDIT", CONCURRENT_HIERARCHY_EDIT); + map.put("HEIGHT_VIOLATION", HEIGHT_VIOLATION); + map.put("WIDTH_VIOLATION", WIDTH_VIOLATION); + map.put("NO_PERMISSIONS", NO_PERMISSIONS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NAME_EXISTS", EditCollectionResponseErrorCodeEnum.NAME_EXISTS); + map.put("NOT_FOUND", EditCollectionResponseErrorCodeEnum.NOT_FOUND); + map.put("COLLECTION_PINNED", EditCollectionResponseErrorCodeEnum.COLLECTION_PINNED); + map.put("CONCURRENT_HIERARCHY_EDIT", EditCollectionResponseErrorCodeEnum.CONCURRENT_HIERARCHY_EDIT); + map.put("HEIGHT_VIOLATION", EditCollectionResponseErrorCodeEnum.HEIGHT_VIOLATION); + map.put("WIDTH_VIOLATION", EditCollectionResponseErrorCodeEnum.WIDTH_VIOLATION); + map.put("NO_PERMISSIONS", EditCollectionResponseErrorCodeEnum.NO_PERMISSIONS); + return map; + } - public static Optional fromValue(String value) { - for (EditCollectionResponseErrorCode o: EditCollectionResponseErrorCode.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum EditCollectionResponseErrorCodeEnum { + + NAME_EXISTS("NAME_EXISTS"), + NOT_FOUND("NOT_FOUND"), + COLLECTION_PINNED("COLLECTION_PINNED"), + CONCURRENT_HIERARCHY_EDIT("CONCURRENT_HIERARCHY_EDIT"), + HEIGHT_VIOLATION("HEIGHT_VIOLATION"), + WIDTH_VIOLATION("WIDTH_VIOLATION"), + NO_PERMISSIONS("NO_PERMISSIONS"),; + + private final String value; + + private EditCollectionResponseErrorCodeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/EntitiesSortOrder.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/EntitiesSortOrder.java index eb235c46..31f6ddf4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/EntitiesSortOrder.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/EntitiesSortOrder.java @@ -3,43 +3,150 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * EntitiesSortOrder * *

Different ways of sorting entities */ -public enum EntitiesSortOrder { - ENTITY_NAME("ENTITY_NAME"), - FIRST_NAME("FIRST_NAME"), - LAST_NAME("LAST_NAME"), - ORG_SIZE_COUNT("ORG_SIZE_COUNT"), - START_DATE("START_DATE"), - TEAM_SIZE("TEAM_SIZE"), - RELEVANCE("RELEVANCE"); +public class EntitiesSortOrder { + + public static final EntitiesSortOrder ENTITY_NAME = new EntitiesSortOrder("ENTITY_NAME"); + public static final EntitiesSortOrder FIRST_NAME = new EntitiesSortOrder("FIRST_NAME"); + public static final EntitiesSortOrder LAST_NAME = new EntitiesSortOrder("LAST_NAME"); + public static final EntitiesSortOrder ORG_SIZE_COUNT = new EntitiesSortOrder("ORG_SIZE_COUNT"); + public static final EntitiesSortOrder START_DATE = new EntitiesSortOrder("START_DATE"); + public static final EntitiesSortOrder TEAM_SIZE = new EntitiesSortOrder("TEAM_SIZE"); + public static final EntitiesSortOrder RELEVANCE = new EntitiesSortOrder("RELEVANCE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - EntitiesSortOrder(String value) { + private EntitiesSortOrder(String value) { this.value = value; } - + + /** + * Returns a EntitiesSortOrder with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as EntitiesSortOrder + */ + @JsonCreator + public static EntitiesSortOrder of(String value) { + synchronized (EntitiesSortOrder.class) { + return values.computeIfAbsent(value, v -> new EntitiesSortOrder(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EntitiesSortOrder other = (EntitiesSortOrder) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "EntitiesSortOrder [value=" + value + "]"; + } + + // return an array just like an enum + public static EntitiesSortOrder[] values() { + synchronized (EntitiesSortOrder.class) { + return values.values().toArray(new EntitiesSortOrder[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ENTITY_NAME", ENTITY_NAME); + map.put("FIRST_NAME", FIRST_NAME); + map.put("LAST_NAME", LAST_NAME); + map.put("ORG_SIZE_COUNT", ORG_SIZE_COUNT); + map.put("START_DATE", START_DATE); + map.put("TEAM_SIZE", TEAM_SIZE); + map.put("RELEVANCE", RELEVANCE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ENTITY_NAME", EntitiesSortOrderEnum.ENTITY_NAME); + map.put("FIRST_NAME", EntitiesSortOrderEnum.FIRST_NAME); + map.put("LAST_NAME", EntitiesSortOrderEnum.LAST_NAME); + map.put("ORG_SIZE_COUNT", EntitiesSortOrderEnum.ORG_SIZE_COUNT); + map.put("START_DATE", EntitiesSortOrderEnum.START_DATE); + map.put("TEAM_SIZE", EntitiesSortOrderEnum.TEAM_SIZE); + map.put("RELEVANCE", EntitiesSortOrderEnum.RELEVANCE); + return map; + } - public static Optional fromValue(String value) { - for (EntitiesSortOrder o: EntitiesSortOrder.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum EntitiesSortOrderEnum { + + ENTITY_NAME("ENTITY_NAME"), + FIRST_NAME("FIRST_NAME"), + LAST_NAME("LAST_NAME"), + ORG_SIZE_COUNT("ORG_SIZE_COUNT"), + START_DATE("START_DATE"), + TEAM_SIZE("TEAM_SIZE"), + RELEVANCE("RELEVANCE"),; + + private final String value; + + private EntitiesSortOrderEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/EntityType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/EntityType.java index de2f862f..efa3d154 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/EntityType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/EntityType.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * EntityType * *

The type of entity. */ -public enum EntityType { - PERSON("PERSON"), - PROJECT("PROJECT"), - CUSTOMER("CUSTOMER"); +public class EntityType { + + public static final EntityType PERSON = new EntityType("PERSON"); + public static final EntityType PROJECT = new EntityType("PROJECT"); + public static final EntityType CUSTOMER = new EntityType("CUSTOMER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - EntityType(String value) { + private EntityType(String value) { this.value = value; } - + + /** + * Returns a EntityType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as EntityType + */ + @JsonCreator + public static EntityType of(String value) { + synchronized (EntityType.class) { + return values.computeIfAbsent(value, v -> new EntityType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EntityType other = (EntityType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "EntityType [value=" + value + "]"; + } + + // return an array just like an enum + public static EntityType[] values() { + synchronized (EntityType.class) { + return values.values().toArray(new EntityType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PERSON", PERSON); + map.put("PROJECT", PROJECT); + map.put("CUSTOMER", CUSTOMER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PERSON", EntityTypeEnum.PERSON); + map.put("PROJECT", EntityTypeEnum.PROJECT); + map.put("CUSTOMER", EntityTypeEnum.CUSTOMER); + return map; + } - public static Optional fromValue(String value) { - for (EntityType o: EntityType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum EntityTypeEnum { + + PERSON("PERSON"), + PROJECT("PROJECT"), + CUSTOMER("CUSTOMER"),; + + private final String value; + + private EntityTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/EventClassificationName.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/EventClassificationName.java index 39d74576..277ba1d4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/EventClassificationName.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/EventClassificationName.java @@ -3,37 +3,126 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * EventClassificationName * *

The name for a generated classification of an event. */ -public enum EventClassificationName { - EXTERNAL_EVENT("External Event"); +public class EventClassificationName { + + public static final EventClassificationName EXTERNAL_EVENT = new EventClassificationName("External Event"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - EventClassificationName(String value) { + private EventClassificationName(String value) { this.value = value; } - + + /** + * Returns a EventClassificationName with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as EventClassificationName + */ + @JsonCreator + public static EventClassificationName of(String value) { + synchronized (EventClassificationName.class) { + return values.computeIfAbsent(value, v -> new EventClassificationName(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EventClassificationName other = (EventClassificationName) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "EventClassificationName [value=" + value + "]"; + } + + // return an array just like an enum + public static EventClassificationName[] values() { + synchronized (EventClassificationName.class) { + return values.values().toArray(new EventClassificationName[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("External Event", EXTERNAL_EVENT); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("External Event", EventClassificationNameEnum.EXTERNAL_EVENT); + return map; + } - public static Optional fromValue(String value) { - for (EventClassificationName o: EventClassificationName.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum EventClassificationNameEnum { + + EXTERNAL_EVENT("External Event"),; + + private final String value; + + private EventClassificationNameEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/EventStrategyName.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/EventStrategyName.java index 43cd580d..9a41df52 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/EventStrategyName.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/EventStrategyName.java @@ -3,45 +3,158 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * EventStrategyName * *

The name of method used to surface relevant data for a given calendar event. */ -public enum EventStrategyName { - CUSTOMER_CARD("customerCard"), - NEWS("news"), - CALL("call"), - EMAIL("email"), - MEETING_NOTES("meetingNotes"), - LINKED_IN("linkedIn"), - RELEVANT_DOCUMENTS("relevantDocuments"), - CHAT_FOLLOW_UPS("chatFollowUps"), - CONVERSATIONS("conversations"); +public class EventStrategyName { + + public static final EventStrategyName CUSTOMER_CARD = new EventStrategyName("customerCard"); + public static final EventStrategyName NEWS = new EventStrategyName("news"); + public static final EventStrategyName CALL = new EventStrategyName("call"); + public static final EventStrategyName EMAIL = new EventStrategyName("email"); + public static final EventStrategyName MEETING_NOTES = new EventStrategyName("meetingNotes"); + public static final EventStrategyName LINKED_IN = new EventStrategyName("linkedIn"); + public static final EventStrategyName RELEVANT_DOCUMENTS = new EventStrategyName("relevantDocuments"); + public static final EventStrategyName CHAT_FOLLOW_UPS = new EventStrategyName("chatFollowUps"); + public static final EventStrategyName CONVERSATIONS = new EventStrategyName("conversations"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - EventStrategyName(String value) { + private EventStrategyName(String value) { this.value = value; } - + + /** + * Returns a EventStrategyName with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as EventStrategyName + */ + @JsonCreator + public static EventStrategyName of(String value) { + synchronized (EventStrategyName.class) { + return values.computeIfAbsent(value, v -> new EventStrategyName(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EventStrategyName other = (EventStrategyName) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "EventStrategyName [value=" + value + "]"; + } + + // return an array just like an enum + public static EventStrategyName[] values() { + synchronized (EventStrategyName.class) { + return values.values().toArray(new EventStrategyName[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("customerCard", CUSTOMER_CARD); + map.put("news", NEWS); + map.put("call", CALL); + map.put("email", EMAIL); + map.put("meetingNotes", MEETING_NOTES); + map.put("linkedIn", LINKED_IN); + map.put("relevantDocuments", RELEVANT_DOCUMENTS); + map.put("chatFollowUps", CHAT_FOLLOW_UPS); + map.put("conversations", CONVERSATIONS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("customerCard", EventStrategyNameEnum.CUSTOMER_CARD); + map.put("news", EventStrategyNameEnum.NEWS); + map.put("call", EventStrategyNameEnum.CALL); + map.put("email", EventStrategyNameEnum.EMAIL); + map.put("meetingNotes", EventStrategyNameEnum.MEETING_NOTES); + map.put("linkedIn", EventStrategyNameEnum.LINKED_IN); + map.put("relevantDocuments", EventStrategyNameEnum.RELEVANT_DOCUMENTS); + map.put("chatFollowUps", EventStrategyNameEnum.CHAT_FOLLOW_UPS); + map.put("conversations", EventStrategyNameEnum.CONVERSATIONS); + return map; + } - public static Optional fromValue(String value) { - for (EventStrategyName o: EventStrategyName.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum EventStrategyNameEnum { + + CUSTOMER_CARD("customerCard"), + NEWS("news"), + CALL("call"), + EMAIL("email"), + MEETING_NOTES("meetingNotes"), + LINKED_IN("linkedIn"), + RELEVANT_DOCUMENTS("relevantDocuments"), + CHAT_FOLLOW_UPS("chatFollowUps"), + CONVERSATIONS("conversations"),; + + private final String value; + + private EventStrategyNameEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfoStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfoStatus.java index be1969fd..06d993d4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfoStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ExportInfoStatus.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ExportInfoStatus * *

The status of the export */ -public enum ExportInfoStatus { - PENDING("PENDING"), - COMPLETED("COMPLETED"), - FAILED("FAILED"); +public class ExportInfoStatus { + + public static final ExportInfoStatus PENDING = new ExportInfoStatus("PENDING"); + public static final ExportInfoStatus COMPLETED = new ExportInfoStatus("COMPLETED"); + public static final ExportInfoStatus FAILED = new ExportInfoStatus("FAILED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ExportInfoStatus(String value) { + private ExportInfoStatus(String value) { this.value = value; } - + + /** + * Returns a ExportInfoStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ExportInfoStatus + */ + @JsonCreator + public static ExportInfoStatus of(String value) { + synchronized (ExportInfoStatus.class) { + return values.computeIfAbsent(value, v -> new ExportInfoStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ExportInfoStatus other = (ExportInfoStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ExportInfoStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static ExportInfoStatus[] values() { + synchronized (ExportInfoStatus.class) { + return values.values().toArray(new ExportInfoStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PENDING", PENDING); + map.put("COMPLETED", COMPLETED); + map.put("FAILED", FAILED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PENDING", ExportInfoStatusEnum.PENDING); + map.put("COMPLETED", ExportInfoStatusEnum.COMPLETED); + map.put("FAILED", ExportInfoStatusEnum.FAILED); + return map; + } - public static Optional fromValue(String value) { - for (ExportInfoStatus o: ExportInfoStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ExportInfoStatusEnum { + + PENDING("PENDING"), + COMPLETED("COMPLETED"), + FAILED("FAILED"),; + + private final String value; + + private ExportInfoStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/FeedResultCategory.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/FeedResultCategory.java index 4a1912e2..a8695467 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/FeedResultCategory.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/FeedResultCategory.java @@ -3,61 +3,222 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * FeedResultCategory * *

Category of the result, one of the requested categories in incoming request. */ -public enum FeedResultCategory { - DOCUMENT_SUGGESTION("DOCUMENT_SUGGESTION"), - DOCUMENT_SUGGESTION_SCENARIO("DOCUMENT_SUGGESTION_SCENARIO"), - TRENDING_DOCUMENT("TRENDING_DOCUMENT"), - USE_CASE("USE_CASE"), - VERIFICATION_REMINDER("VERIFICATION_REMINDER"), - EVENT("EVENT"), - ANNOUNCEMENT("ANNOUNCEMENT"), - MENTION("MENTION"), - DATASOURCE_AFFINITY("DATASOURCE_AFFINITY"), - RECENT("RECENT"), - COMPANY_RESOURCE("COMPANY_RESOURCE"), - EXPERIMENTAL("EXPERIMENTAL"), - PEOPLE_CELEBRATIONS("PEOPLE_CELEBRATIONS"), - SOCIAL_LINK("SOCIAL_LINK"), - EXTERNAL_TASKS("EXTERNAL_TASKS"), - DISPLAYABLE_LIST("DISPLAYABLE_LIST"), - ZERO_STATE_CHAT_SUGGESTION("ZERO_STATE_CHAT_SUGGESTION"), - ZERO_STATE_CHAT_TOOL_SUGGESTION("ZERO_STATE_CHAT_TOOL_SUGGESTION"), - ZERO_STATE_WORKFLOW_CREATED_BY_ME("ZERO_STATE_WORKFLOW_CREATED_BY_ME"), - ZERO_STATE_WORKFLOW_FAVORITES("ZERO_STATE_WORKFLOW_FAVORITES"), - ZERO_STATE_WORKFLOW_POPULAR("ZERO_STATE_WORKFLOW_POPULAR"), - ZERO_STATE_WORKFLOW_RECENT("ZERO_STATE_WORKFLOW_RECENT"), - ZERO_STATE_WORKFLOW_SUGGESTION("ZERO_STATE_WORKFLOW_SUGGESTION"), - PERSONALIZED_CHAT_SUGGESTION("PERSONALIZED_CHAT_SUGGESTION"), - DAILY_DIGEST("DAILY_DIGEST"); +public class FeedResultCategory { + + public static final FeedResultCategory DOCUMENT_SUGGESTION = new FeedResultCategory("DOCUMENT_SUGGESTION"); + public static final FeedResultCategory DOCUMENT_SUGGESTION_SCENARIO = new FeedResultCategory("DOCUMENT_SUGGESTION_SCENARIO"); + public static final FeedResultCategory TRENDING_DOCUMENT = new FeedResultCategory("TRENDING_DOCUMENT"); + public static final FeedResultCategory USE_CASE = new FeedResultCategory("USE_CASE"); + public static final FeedResultCategory VERIFICATION_REMINDER = new FeedResultCategory("VERIFICATION_REMINDER"); + public static final FeedResultCategory EVENT = new FeedResultCategory("EVENT"); + public static final FeedResultCategory ANNOUNCEMENT = new FeedResultCategory("ANNOUNCEMENT"); + public static final FeedResultCategory MENTION = new FeedResultCategory("MENTION"); + public static final FeedResultCategory DATASOURCE_AFFINITY = new FeedResultCategory("DATASOURCE_AFFINITY"); + public static final FeedResultCategory RECENT = new FeedResultCategory("RECENT"); + public static final FeedResultCategory COMPANY_RESOURCE = new FeedResultCategory("COMPANY_RESOURCE"); + public static final FeedResultCategory EXPERIMENTAL = new FeedResultCategory("EXPERIMENTAL"); + public static final FeedResultCategory PEOPLE_CELEBRATIONS = new FeedResultCategory("PEOPLE_CELEBRATIONS"); + public static final FeedResultCategory SOCIAL_LINK = new FeedResultCategory("SOCIAL_LINK"); + public static final FeedResultCategory EXTERNAL_TASKS = new FeedResultCategory("EXTERNAL_TASKS"); + public static final FeedResultCategory DISPLAYABLE_LIST = new FeedResultCategory("DISPLAYABLE_LIST"); + public static final FeedResultCategory ZERO_STATE_CHAT_SUGGESTION = new FeedResultCategory("ZERO_STATE_CHAT_SUGGESTION"); + public static final FeedResultCategory ZERO_STATE_CHAT_TOOL_SUGGESTION = new FeedResultCategory("ZERO_STATE_CHAT_TOOL_SUGGESTION"); + public static final FeedResultCategory ZERO_STATE_WORKFLOW_CREATED_BY_ME = new FeedResultCategory("ZERO_STATE_WORKFLOW_CREATED_BY_ME"); + public static final FeedResultCategory ZERO_STATE_WORKFLOW_FAVORITES = new FeedResultCategory("ZERO_STATE_WORKFLOW_FAVORITES"); + public static final FeedResultCategory ZERO_STATE_WORKFLOW_POPULAR = new FeedResultCategory("ZERO_STATE_WORKFLOW_POPULAR"); + public static final FeedResultCategory ZERO_STATE_WORKFLOW_RECENT = new FeedResultCategory("ZERO_STATE_WORKFLOW_RECENT"); + public static final FeedResultCategory ZERO_STATE_WORKFLOW_SUGGESTION = new FeedResultCategory("ZERO_STATE_WORKFLOW_SUGGESTION"); + public static final FeedResultCategory PERSONALIZED_CHAT_SUGGESTION = new FeedResultCategory("PERSONALIZED_CHAT_SUGGESTION"); + public static final FeedResultCategory DAILY_DIGEST = new FeedResultCategory("DAILY_DIGEST"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - FeedResultCategory(String value) { + private FeedResultCategory(String value) { this.value = value; } - + + /** + * Returns a FeedResultCategory with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as FeedResultCategory + */ + @JsonCreator + public static FeedResultCategory of(String value) { + synchronized (FeedResultCategory.class) { + return values.computeIfAbsent(value, v -> new FeedResultCategory(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + FeedResultCategory other = (FeedResultCategory) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "FeedResultCategory [value=" + value + "]"; + } + + // return an array just like an enum + public static FeedResultCategory[] values() { + synchronized (FeedResultCategory.class) { + return values.values().toArray(new FeedResultCategory[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DOCUMENT_SUGGESTION", DOCUMENT_SUGGESTION); + map.put("DOCUMENT_SUGGESTION_SCENARIO", DOCUMENT_SUGGESTION_SCENARIO); + map.put("TRENDING_DOCUMENT", TRENDING_DOCUMENT); + map.put("USE_CASE", USE_CASE); + map.put("VERIFICATION_REMINDER", VERIFICATION_REMINDER); + map.put("EVENT", EVENT); + map.put("ANNOUNCEMENT", ANNOUNCEMENT); + map.put("MENTION", MENTION); + map.put("DATASOURCE_AFFINITY", DATASOURCE_AFFINITY); + map.put("RECENT", RECENT); + map.put("COMPANY_RESOURCE", COMPANY_RESOURCE); + map.put("EXPERIMENTAL", EXPERIMENTAL); + map.put("PEOPLE_CELEBRATIONS", PEOPLE_CELEBRATIONS); + map.put("SOCIAL_LINK", SOCIAL_LINK); + map.put("EXTERNAL_TASKS", EXTERNAL_TASKS); + map.put("DISPLAYABLE_LIST", DISPLAYABLE_LIST); + map.put("ZERO_STATE_CHAT_SUGGESTION", ZERO_STATE_CHAT_SUGGESTION); + map.put("ZERO_STATE_CHAT_TOOL_SUGGESTION", ZERO_STATE_CHAT_TOOL_SUGGESTION); + map.put("ZERO_STATE_WORKFLOW_CREATED_BY_ME", ZERO_STATE_WORKFLOW_CREATED_BY_ME); + map.put("ZERO_STATE_WORKFLOW_FAVORITES", ZERO_STATE_WORKFLOW_FAVORITES); + map.put("ZERO_STATE_WORKFLOW_POPULAR", ZERO_STATE_WORKFLOW_POPULAR); + map.put("ZERO_STATE_WORKFLOW_RECENT", ZERO_STATE_WORKFLOW_RECENT); + map.put("ZERO_STATE_WORKFLOW_SUGGESTION", ZERO_STATE_WORKFLOW_SUGGESTION); + map.put("PERSONALIZED_CHAT_SUGGESTION", PERSONALIZED_CHAT_SUGGESTION); + map.put("DAILY_DIGEST", DAILY_DIGEST); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DOCUMENT_SUGGESTION", FeedResultCategoryEnum.DOCUMENT_SUGGESTION); + map.put("DOCUMENT_SUGGESTION_SCENARIO", FeedResultCategoryEnum.DOCUMENT_SUGGESTION_SCENARIO); + map.put("TRENDING_DOCUMENT", FeedResultCategoryEnum.TRENDING_DOCUMENT); + map.put("USE_CASE", FeedResultCategoryEnum.USE_CASE); + map.put("VERIFICATION_REMINDER", FeedResultCategoryEnum.VERIFICATION_REMINDER); + map.put("EVENT", FeedResultCategoryEnum.EVENT); + map.put("ANNOUNCEMENT", FeedResultCategoryEnum.ANNOUNCEMENT); + map.put("MENTION", FeedResultCategoryEnum.MENTION); + map.put("DATASOURCE_AFFINITY", FeedResultCategoryEnum.DATASOURCE_AFFINITY); + map.put("RECENT", FeedResultCategoryEnum.RECENT); + map.put("COMPANY_RESOURCE", FeedResultCategoryEnum.COMPANY_RESOURCE); + map.put("EXPERIMENTAL", FeedResultCategoryEnum.EXPERIMENTAL); + map.put("PEOPLE_CELEBRATIONS", FeedResultCategoryEnum.PEOPLE_CELEBRATIONS); + map.put("SOCIAL_LINK", FeedResultCategoryEnum.SOCIAL_LINK); + map.put("EXTERNAL_TASKS", FeedResultCategoryEnum.EXTERNAL_TASKS); + map.put("DISPLAYABLE_LIST", FeedResultCategoryEnum.DISPLAYABLE_LIST); + map.put("ZERO_STATE_CHAT_SUGGESTION", FeedResultCategoryEnum.ZERO_STATE_CHAT_SUGGESTION); + map.put("ZERO_STATE_CHAT_TOOL_SUGGESTION", FeedResultCategoryEnum.ZERO_STATE_CHAT_TOOL_SUGGESTION); + map.put("ZERO_STATE_WORKFLOW_CREATED_BY_ME", FeedResultCategoryEnum.ZERO_STATE_WORKFLOW_CREATED_BY_ME); + map.put("ZERO_STATE_WORKFLOW_FAVORITES", FeedResultCategoryEnum.ZERO_STATE_WORKFLOW_FAVORITES); + map.put("ZERO_STATE_WORKFLOW_POPULAR", FeedResultCategoryEnum.ZERO_STATE_WORKFLOW_POPULAR); + map.put("ZERO_STATE_WORKFLOW_RECENT", FeedResultCategoryEnum.ZERO_STATE_WORKFLOW_RECENT); + map.put("ZERO_STATE_WORKFLOW_SUGGESTION", FeedResultCategoryEnum.ZERO_STATE_WORKFLOW_SUGGESTION); + map.put("PERSONALIZED_CHAT_SUGGESTION", FeedResultCategoryEnum.PERSONALIZED_CHAT_SUGGESTION); + map.put("DAILY_DIGEST", FeedResultCategoryEnum.DAILY_DIGEST); + return map; + } - public static Optional fromValue(String value) { - for (FeedResultCategory o: FeedResultCategory.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum FeedResultCategoryEnum { + + DOCUMENT_SUGGESTION("DOCUMENT_SUGGESTION"), + DOCUMENT_SUGGESTION_SCENARIO("DOCUMENT_SUGGESTION_SCENARIO"), + TRENDING_DOCUMENT("TRENDING_DOCUMENT"), + USE_CASE("USE_CASE"), + VERIFICATION_REMINDER("VERIFICATION_REMINDER"), + EVENT("EVENT"), + ANNOUNCEMENT("ANNOUNCEMENT"), + MENTION("MENTION"), + DATASOURCE_AFFINITY("DATASOURCE_AFFINITY"), + RECENT("RECENT"), + COMPANY_RESOURCE("COMPANY_RESOURCE"), + EXPERIMENTAL("EXPERIMENTAL"), + PEOPLE_CELEBRATIONS("PEOPLE_CELEBRATIONS"), + SOCIAL_LINK("SOCIAL_LINK"), + EXTERNAL_TASKS("EXTERNAL_TASKS"), + DISPLAYABLE_LIST("DISPLAYABLE_LIST"), + ZERO_STATE_CHAT_SUGGESTION("ZERO_STATE_CHAT_SUGGESTION"), + ZERO_STATE_CHAT_TOOL_SUGGESTION("ZERO_STATE_CHAT_TOOL_SUGGESTION"), + ZERO_STATE_WORKFLOW_CREATED_BY_ME("ZERO_STATE_WORKFLOW_CREATED_BY_ME"), + ZERO_STATE_WORKFLOW_FAVORITES("ZERO_STATE_WORKFLOW_FAVORITES"), + ZERO_STATE_WORKFLOW_POPULAR("ZERO_STATE_WORKFLOW_POPULAR"), + ZERO_STATE_WORKFLOW_RECENT("ZERO_STATE_WORKFLOW_RECENT"), + ZERO_STATE_WORKFLOW_SUGGESTION("ZERO_STATE_WORKFLOW_SUGGESTION"), + PERSONALIZED_CHAT_SUGGESTION("PERSONALIZED_CHAT_SUGGESTION"), + DAILY_DIGEST("DAILY_DIGEST"),; + + private final String value; + + private FeedResultCategoryEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Format.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Format.java index f753a7f9..16ee3b73 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Format.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Format.java @@ -3,37 +3,126 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * Format * *

defines how to render this particular displayable list card */ -public enum Format { - LIST("LIST"); +public class Format { + + public static final Format LIST = new Format("LIST"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Format(String value) { + private Format(String value) { this.value = value; } - + + /** + * Returns a Format with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Format + */ + @JsonCreator + public static Format of(String value) { + synchronized (Format.class) { + return values.computeIfAbsent(value, v -> new Format(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Format other = (Format) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Format [value=" + value + "]"; + } + + // return an array just like an enum + public static Format[] values() { + synchronized (Format.class) { + return values.values().toArray(new Format[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("LIST", LIST); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("LIST", FormatEnum.LIST); + return map; + } - public static Optional fromValue(String value) { - for (Format o: Format.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum FormatEnum { + + LIST("LIST"),; + + private final String value; + + private FormatEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/GeneratedQnaStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/GeneratedQnaStatus.java index 4d5e0c6a..316bc87e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/GeneratedQnaStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/GeneratedQnaStatus.java @@ -3,44 +3,154 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * GeneratedQnaStatus * *

Status of backend generating the answer */ -public enum GeneratedQnaStatus { - COMPUTING("COMPUTING"), - DISABLED("DISABLED"), - FAILED("FAILED"), - NO_ANSWER("NO_ANSWER"), - SKIPPED("SKIPPED"), - STREAMING("STREAMING"), - SUCCEEDED("SUCCEEDED"), - TIMEOUT("TIMEOUT"); +public class GeneratedQnaStatus { + + public static final GeneratedQnaStatus COMPUTING = new GeneratedQnaStatus("COMPUTING"); + public static final GeneratedQnaStatus DISABLED = new GeneratedQnaStatus("DISABLED"); + public static final GeneratedQnaStatus FAILED = new GeneratedQnaStatus("FAILED"); + public static final GeneratedQnaStatus NO_ANSWER = new GeneratedQnaStatus("NO_ANSWER"); + public static final GeneratedQnaStatus SKIPPED = new GeneratedQnaStatus("SKIPPED"); + public static final GeneratedQnaStatus STREAMING = new GeneratedQnaStatus("STREAMING"); + public static final GeneratedQnaStatus SUCCEEDED = new GeneratedQnaStatus("SUCCEEDED"); + public static final GeneratedQnaStatus TIMEOUT = new GeneratedQnaStatus("TIMEOUT"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - GeneratedQnaStatus(String value) { + private GeneratedQnaStatus(String value) { this.value = value; } - + + /** + * Returns a GeneratedQnaStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as GeneratedQnaStatus + */ + @JsonCreator + public static GeneratedQnaStatus of(String value) { + synchronized (GeneratedQnaStatus.class) { + return values.computeIfAbsent(value, v -> new GeneratedQnaStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + GeneratedQnaStatus other = (GeneratedQnaStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "GeneratedQnaStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static GeneratedQnaStatus[] values() { + synchronized (GeneratedQnaStatus.class) { + return values.values().toArray(new GeneratedQnaStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("COMPUTING", COMPUTING); + map.put("DISABLED", DISABLED); + map.put("FAILED", FAILED); + map.put("NO_ANSWER", NO_ANSWER); + map.put("SKIPPED", SKIPPED); + map.put("STREAMING", STREAMING); + map.put("SUCCEEDED", SUCCEEDED); + map.put("TIMEOUT", TIMEOUT); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("COMPUTING", GeneratedQnaStatusEnum.COMPUTING); + map.put("DISABLED", GeneratedQnaStatusEnum.DISABLED); + map.put("FAILED", GeneratedQnaStatusEnum.FAILED); + map.put("NO_ANSWER", GeneratedQnaStatusEnum.NO_ANSWER); + map.put("SKIPPED", GeneratedQnaStatusEnum.SKIPPED); + map.put("STREAMING", GeneratedQnaStatusEnum.STREAMING); + map.put("SUCCEEDED", GeneratedQnaStatusEnum.SUCCEEDED); + map.put("TIMEOUT", GeneratedQnaStatusEnum.TIMEOUT); + return map; + } - public static Optional fromValue(String value) { - for (GeneratedQnaStatus o: GeneratedQnaStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum GeneratedQnaStatusEnum { + + COMPUTING("COMPUTING"), + DISABLED("DISABLED"), + FAILED("FAILED"), + NO_ANSWER("NO_ANSWER"), + SKIPPED("SKIPPED"), + STREAMING("STREAMING"), + SUCCEEDED("SUCCEEDED"), + TIMEOUT("TIMEOUT"),; + + private final String value; + + private GeneratedQnaStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerErrorErrorType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerErrorErrorType.java index ba300415..e3a7a92c 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerErrorErrorType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/GetAnswerErrorErrorType.java @@ -3,33 +3,125 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum GetAnswerErrorErrorType { - NO_PERMISSION("NO_PERMISSION"), - INVALID_ID("INVALID_ID"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class GetAnswerErrorErrorType { + + public static final GetAnswerErrorErrorType NO_PERMISSION = new GetAnswerErrorErrorType("NO_PERMISSION"); + public static final GetAnswerErrorErrorType INVALID_ID = new GetAnswerErrorErrorType("INVALID_ID"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - GetAnswerErrorErrorType(String value) { + private GetAnswerErrorErrorType(String value) { this.value = value; } - + + /** + * Returns a GetAnswerErrorErrorType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as GetAnswerErrorErrorType + */ + @JsonCreator + public static GetAnswerErrorErrorType of(String value) { + synchronized (GetAnswerErrorErrorType.class) { + return values.computeIfAbsent(value, v -> new GetAnswerErrorErrorType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + GetAnswerErrorErrorType other = (GetAnswerErrorErrorType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "GetAnswerErrorErrorType [value=" + value + "]"; + } + + // return an array just like an enum + public static GetAnswerErrorErrorType[] values() { + synchronized (GetAnswerErrorErrorType.class) { + return values.values().toArray(new GetAnswerErrorErrorType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NO_PERMISSION", NO_PERMISSION); + map.put("INVALID_ID", INVALID_ID); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NO_PERMISSION", GetAnswerErrorErrorTypeEnum.NO_PERMISSION); + map.put("INVALID_ID", GetAnswerErrorErrorTypeEnum.INVALID_ID); + return map; + } - public static Optional fromValue(String value) { - for (GetAnswerErrorErrorType o: GetAnswerErrorErrorType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum GetAnswerErrorErrorTypeEnum { + + NO_PERMISSION("NO_PERMISSION"), + INVALID_ID("INVALID_ID"),; + + private final String value; + + private GetAnswerErrorErrorTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/GleanDataError.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/GleanDataError.java index ab42994a..34d47385 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/GleanDataError.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/GleanDataError.java @@ -51,39 +51,28 @@ public class GleanDataError { @JsonProperty("federatedSearchRateLimitError") private Optional federatedSearchRateLimitError; - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unauthorizedDatasourceInstances") - private Optional> unauthorizedDatasourceInstances; - @JsonCreator public GleanDataError( @JsonProperty("badGmailToken") Optional badGmailToken, @JsonProperty("badOutlookToken") Optional badOutlookToken, @JsonProperty("invalidOperators") Optional> invalidOperators, @JsonProperty("errorMessages") Optional> errorMessages, - @JsonProperty("federatedSearchRateLimitError") Optional federatedSearchRateLimitError, - @JsonProperty("unauthorizedDatasourceInstances") Optional> unauthorizedDatasourceInstances) { + @JsonProperty("federatedSearchRateLimitError") Optional federatedSearchRateLimitError) { Utils.checkNotNull(badGmailToken, "badGmailToken"); Utils.checkNotNull(badOutlookToken, "badOutlookToken"); Utils.checkNotNull(invalidOperators, "invalidOperators"); Utils.checkNotNull(errorMessages, "errorMessages"); Utils.checkNotNull(federatedSearchRateLimitError, "federatedSearchRateLimitError"); - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); this.badGmailToken = badGmailToken; this.badOutlookToken = badOutlookToken; this.invalidOperators = invalidOperators; this.errorMessages = errorMessages; this.federatedSearchRateLimitError = federatedSearchRateLimitError; - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; } public GleanDataError() { this(Optional.empty(), Optional.empty(), Optional.empty(), - Optional.empty(), Optional.empty(), Optional.empty()); + Optional.empty(), Optional.empty()); } /** @@ -125,16 +114,6 @@ public Optional federatedSearchRateLimitError() { return federatedSearchRateLimitError; } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - @SuppressWarnings("unchecked") - @JsonIgnore - public Optional> unauthorizedDatasourceInstances() { - return (Optional>) unauthorizedDatasourceInstances; - } - public static Builder builder() { return new Builder(); } @@ -229,27 +208,6 @@ public GleanDataError withFederatedSearchRateLimitError(Optional federa return this; } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public GleanDataError withUnauthorizedDatasourceInstances(List unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = Optional.ofNullable(unauthorizedDatasourceInstances); - return this; - } - - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public GleanDataError withUnauthorizedDatasourceInstances(Optional> unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -264,15 +222,14 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.badOutlookToken, other.badOutlookToken) && Utils.enhancedDeepEquals(this.invalidOperators, other.invalidOperators) && Utils.enhancedDeepEquals(this.errorMessages, other.errorMessages) && - Utils.enhancedDeepEquals(this.federatedSearchRateLimitError, other.federatedSearchRateLimitError) && - Utils.enhancedDeepEquals(this.unauthorizedDatasourceInstances, other.unauthorizedDatasourceInstances); + Utils.enhancedDeepEquals(this.federatedSearchRateLimitError, other.federatedSearchRateLimitError); } @Override public int hashCode() { return Utils.enhancedHash( badGmailToken, badOutlookToken, invalidOperators, - errorMessages, federatedSearchRateLimitError, unauthorizedDatasourceInstances); + errorMessages, federatedSearchRateLimitError); } @Override @@ -282,8 +239,7 @@ public String toString() { "badOutlookToken", badOutlookToken, "invalidOperators", invalidOperators, "errorMessages", errorMessages, - "federatedSearchRateLimitError", federatedSearchRateLimitError, - "unauthorizedDatasourceInstances", unauthorizedDatasourceInstances); + "federatedSearchRateLimitError", federatedSearchRateLimitError); } @SuppressWarnings("UnusedReturnValue") @@ -299,8 +255,6 @@ public final static class Builder { private Optional federatedSearchRateLimitError = Optional.empty(); - private Optional> unauthorizedDatasourceInstances = Optional.empty(); - private Builder() { // force use of static builder() method } @@ -394,32 +348,11 @@ public Builder federatedSearchRateLimitError(Optional federatedSearchRa return this; } - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public Builder unauthorizedDatasourceInstances(List unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = Optional.ofNullable(unauthorizedDatasourceInstances); - return this; - } - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public Builder unauthorizedDatasourceInstances(Optional> unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; - return this; - } - public GleanDataError build() { return new GleanDataError( badGmailToken, badOutlookToken, invalidOperators, - errorMessages, federatedSearchRateLimitError, unauthorizedDatasourceInstances); + errorMessages, federatedSearchRateLimitError); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/GrantType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/GrantType.java index 909ef647..5b099f5f 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/GrantType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/GrantType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * GrantType * *

The type of grant type being used. */ -public enum GrantType { - AUTH_CODE("AUTH_CODE"), - CLIENT_CREDENTIALS("CLIENT_CREDENTIALS"); +public class GrantType { + + public static final GrantType AUTH_CODE = new GrantType("AUTH_CODE"); + public static final GrantType CLIENT_CREDENTIALS = new GrantType("CLIENT_CREDENTIALS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - GrantType(String value) { + private GrantType(String value) { this.value = value; } - + + /** + * Returns a GrantType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as GrantType + */ + @JsonCreator + public static GrantType of(String value) { + synchronized (GrantType.class) { + return values.computeIfAbsent(value, v -> new GrantType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + GrantType other = (GrantType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "GrantType [value=" + value + "]"; + } + + // return an array just like an enum + public static GrantType[] values() { + synchronized (GrantType.class) { + return values.values().toArray(new GrantType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("AUTH_CODE", AUTH_CODE); + map.put("CLIENT_CREDENTIALS", CLIENT_CREDENTIALS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("AUTH_CODE", GrantTypeEnum.AUTH_CODE); + map.put("CLIENT_CREDENTIALS", GrantTypeEnum.CLIENT_CREDENTIALS); + return map; + } - public static Optional fromValue(String value) { - for (GrantType o: GrantType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum GrantTypeEnum { + + AUTH_CODE("AUTH_CODE"), + CLIENT_CREDENTIALS("CLIENT_CREDENTIALS"),; + + private final String value; + + private GrantTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/GroupType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/GroupType.java index 7418cffc..1fe95815 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/GroupType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/GroupType.java @@ -3,44 +3,154 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * GroupType * *

The type of user group */ -public enum GroupType { - DEPARTMENT("DEPARTMENT"), - ALL("ALL"), - TEAM("TEAM"), - JOB_TITLE("JOB_TITLE"), - ROLE_TYPE("ROLE_TYPE"), - LOCATION("LOCATION"), - REGION("REGION"), - EXTERNAL_GROUP("EXTERNAL_GROUP"); +public class GroupType { + + public static final GroupType DEPARTMENT = new GroupType("DEPARTMENT"); + public static final GroupType ALL = new GroupType("ALL"); + public static final GroupType TEAM = new GroupType("TEAM"); + public static final GroupType JOB_TITLE = new GroupType("JOB_TITLE"); + public static final GroupType ROLE_TYPE = new GroupType("ROLE_TYPE"); + public static final GroupType LOCATION = new GroupType("LOCATION"); + public static final GroupType REGION = new GroupType("REGION"); + public static final GroupType EXTERNAL_GROUP = new GroupType("EXTERNAL_GROUP"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - GroupType(String value) { + private GroupType(String value) { this.value = value; } - + + /** + * Returns a GroupType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as GroupType + */ + @JsonCreator + public static GroupType of(String value) { + synchronized (GroupType.class) { + return values.computeIfAbsent(value, v -> new GroupType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + GroupType other = (GroupType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "GroupType [value=" + value + "]"; + } + + // return an array just like an enum + public static GroupType[] values() { + synchronized (GroupType.class) { + return values.values().toArray(new GroupType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DEPARTMENT", DEPARTMENT); + map.put("ALL", ALL); + map.put("TEAM", TEAM); + map.put("JOB_TITLE", JOB_TITLE); + map.put("ROLE_TYPE", ROLE_TYPE); + map.put("LOCATION", LOCATION); + map.put("REGION", REGION); + map.put("EXTERNAL_GROUP", EXTERNAL_GROUP); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DEPARTMENT", GroupTypeEnum.DEPARTMENT); + map.put("ALL", GroupTypeEnum.ALL); + map.put("TEAM", GroupTypeEnum.TEAM); + map.put("JOB_TITLE", GroupTypeEnum.JOB_TITLE); + map.put("ROLE_TYPE", GroupTypeEnum.ROLE_TYPE); + map.put("LOCATION", GroupTypeEnum.LOCATION); + map.put("REGION", GroupTypeEnum.REGION); + map.put("EXTERNAL_GROUP", GroupTypeEnum.EXTERNAL_GROUP); + return map; + } - public static Optional fromValue(String value) { - for (GroupType o: GroupType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum GroupTypeEnum { + + DEPARTMENT("DEPARTMENT"), + ALL("ALL"), + TEAM("TEAM"), + JOB_TITLE("JOB_TITLE"), + ROLE_TYPE("ROLE_TYPE"), + LOCATION("LOCATION"), + REGION("REGION"), + EXTERNAL_GROUP("EXTERNAL_GROUP"),; + + private final String value; + + private GroupTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/HideBuiltInFacet.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/HideBuiltInFacet.java index 0db873d9..833f15cf 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/HideBuiltInFacet.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/HideBuiltInFacet.java @@ -3,35 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum HideBuiltInFacet { - TYPE("TYPE"), - TAG("TAG"), - AUTHOR("AUTHOR"), - OWNER("OWNER"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class HideBuiltInFacet { + + public static final HideBuiltInFacet TYPE = new HideBuiltInFacet("TYPE"); + public static final HideBuiltInFacet TAG = new HideBuiltInFacet("TAG"); + public static final HideBuiltInFacet AUTHOR = new HideBuiltInFacet("AUTHOR"); + public static final HideBuiltInFacet OWNER = new HideBuiltInFacet("OWNER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - HideBuiltInFacet(String value) { + private HideBuiltInFacet(String value) { this.value = value; } - + + /** + * Returns a HideBuiltInFacet with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as HideBuiltInFacet + */ + @JsonCreator + public static HideBuiltInFacet of(String value) { + synchronized (HideBuiltInFacet.class) { + return values.computeIfAbsent(value, v -> new HideBuiltInFacet(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + HideBuiltInFacet other = (HideBuiltInFacet) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "HideBuiltInFacet [value=" + value + "]"; + } + + // return an array just like an enum + public static HideBuiltInFacet[] values() { + synchronized (HideBuiltInFacet.class) { + return values.values().toArray(new HideBuiltInFacet[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("TYPE", TYPE); + map.put("TAG", TAG); + map.put("AUTHOR", AUTHOR); + map.put("OWNER", OWNER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("TYPE", HideBuiltInFacetEnum.TYPE); + map.put("TAG", HideBuiltInFacetEnum.TAG); + map.put("AUTHOR", HideBuiltInFacetEnum.AUTHOR); + map.put("OWNER", HideBuiltInFacetEnum.OWNER); + return map; + } - public static Optional fromValue(String value) { - for (HideBuiltInFacet o: HideBuiltInFacet.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum HideBuiltInFacetEnum { + + TYPE("TYPE"), + TAG("TAG"), + AUTHOR("AUTHOR"), + OWNER("OWNER"),; + + private final String value; + + private HideBuiltInFacetEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/IconType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/IconType.java index 965456d3..7a8b6625 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/IconType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/IconType.java @@ -3,44 +3,169 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum IconType { - COLLECTION("COLLECTION"), - CUSTOM("CUSTOM"), - DATASOURCE("DATASOURCE"), - DATASOURCE_INSTANCE("DATASOURCE_INSTANCE"), - FAVICON("FAVICON"), - FILE_TYPE("FILE_TYPE"), - GENERATED_BACKGROUND("GENERATED_BACKGROUND"), - GLYPH("GLYPH"), - MIME_TYPE("MIME_TYPE"), - NO_ICON("NO_ICON"), - PERSON("PERSON"), - REACTIONS("REACTIONS"), - URL("URL"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class IconType { + + public static final IconType COLLECTION = new IconType("COLLECTION"); + public static final IconType CUSTOM = new IconType("CUSTOM"); + public static final IconType DATASOURCE = new IconType("DATASOURCE"); + public static final IconType DATASOURCE_INSTANCE = new IconType("DATASOURCE_INSTANCE"); + public static final IconType FAVICON = new IconType("FAVICON"); + public static final IconType FILE_TYPE = new IconType("FILE_TYPE"); + public static final IconType GENERATED_BACKGROUND = new IconType("GENERATED_BACKGROUND"); + public static final IconType GLYPH = new IconType("GLYPH"); + public static final IconType MIME_TYPE = new IconType("MIME_TYPE"); + public static final IconType NO_ICON = new IconType("NO_ICON"); + public static final IconType PERSON = new IconType("PERSON"); + public static final IconType REACTIONS = new IconType("REACTIONS"); + public static final IconType URL = new IconType("URL"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - IconType(String value) { + private IconType(String value) { this.value = value; } - + + /** + * Returns a IconType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as IconType + */ + @JsonCreator + public static IconType of(String value) { + synchronized (IconType.class) { + return values.computeIfAbsent(value, v -> new IconType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + IconType other = (IconType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "IconType [value=" + value + "]"; + } + + // return an array just like an enum + public static IconType[] values() { + synchronized (IconType.class) { + return values.values().toArray(new IconType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("COLLECTION", COLLECTION); + map.put("CUSTOM", CUSTOM); + map.put("DATASOURCE", DATASOURCE); + map.put("DATASOURCE_INSTANCE", DATASOURCE_INSTANCE); + map.put("FAVICON", FAVICON); + map.put("FILE_TYPE", FILE_TYPE); + map.put("GENERATED_BACKGROUND", GENERATED_BACKGROUND); + map.put("GLYPH", GLYPH); + map.put("MIME_TYPE", MIME_TYPE); + map.put("NO_ICON", NO_ICON); + map.put("PERSON", PERSON); + map.put("REACTIONS", REACTIONS); + map.put("URL", URL); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("COLLECTION", IconTypeEnum.COLLECTION); + map.put("CUSTOM", IconTypeEnum.CUSTOM); + map.put("DATASOURCE", IconTypeEnum.DATASOURCE); + map.put("DATASOURCE_INSTANCE", IconTypeEnum.DATASOURCE_INSTANCE); + map.put("FAVICON", IconTypeEnum.FAVICON); + map.put("FILE_TYPE", IconTypeEnum.FILE_TYPE); + map.put("GENERATED_BACKGROUND", IconTypeEnum.GENERATED_BACKGROUND); + map.put("GLYPH", IconTypeEnum.GLYPH); + map.put("MIME_TYPE", IconTypeEnum.MIME_TYPE); + map.put("NO_ICON", IconTypeEnum.NO_ICON); + map.put("PERSON", IconTypeEnum.PERSON); + map.put("REACTIONS", IconTypeEnum.REACTIONS); + map.put("URL", IconTypeEnum.URL); + return map; + } - public static Optional fromValue(String value) { - for (IconType o: IconType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum IconTypeEnum { + + COLLECTION("COLLECTION"), + CUSTOM("CUSTOM"), + DATASOURCE("DATASOURCE"), + DATASOURCE_INSTANCE("DATASOURCE_INSTANCE"), + FAVICON("FAVICON"), + FILE_TYPE("FILE_TYPE"), + GENERATED_BACKGROUND("GENERATED_BACKGROUND"), + GLYPH("GLYPH"), + MIME_TYPE("MIME_TYPE"), + NO_ICON("NO_ICON"), + PERSON("PERSON"), + REACTIONS("REACTIONS"), + URL("URL"),; + + private final String value; + + private IconTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/InputOptionsTimePeriodType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/InputOptionsTimePeriodType.java index cbf147af..64171094 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/InputOptionsTimePeriodType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/InputOptionsTimePeriodType.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * InputOptionsTimePeriodType * *

Type of time period for which to run the report/policy. PAST_DAY is deprecated. */ -public enum InputOptionsTimePeriodType { - ALL_TIME("ALL_TIME"), - PAST_YEAR("PAST_YEAR"), - PAST_DAY("PAST_DAY"), - CUSTOM("CUSTOM"), - LAST_N_DAYS("LAST_N_DAYS"); +public class InputOptionsTimePeriodType { + + public static final InputOptionsTimePeriodType ALL_TIME = new InputOptionsTimePeriodType("ALL_TIME"); + public static final InputOptionsTimePeriodType PAST_YEAR = new InputOptionsTimePeriodType("PAST_YEAR"); + public static final InputOptionsTimePeriodType PAST_DAY = new InputOptionsTimePeriodType("PAST_DAY"); + public static final InputOptionsTimePeriodType CUSTOM = new InputOptionsTimePeriodType("CUSTOM"); + public static final InputOptionsTimePeriodType LAST_N_DAYS = new InputOptionsTimePeriodType("LAST_N_DAYS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - InputOptionsTimePeriodType(String value) { + private InputOptionsTimePeriodType(String value) { this.value = value; } - + + /** + * Returns a InputOptionsTimePeriodType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as InputOptionsTimePeriodType + */ + @JsonCreator + public static InputOptionsTimePeriodType of(String value) { + synchronized (InputOptionsTimePeriodType.class) { + return values.computeIfAbsent(value, v -> new InputOptionsTimePeriodType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + InputOptionsTimePeriodType other = (InputOptionsTimePeriodType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "InputOptionsTimePeriodType [value=" + value + "]"; + } + + // return an array just like an enum + public static InputOptionsTimePeriodType[] values() { + synchronized (InputOptionsTimePeriodType.class) { + return values.values().toArray(new InputOptionsTimePeriodType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ALL_TIME", ALL_TIME); + map.put("PAST_YEAR", PAST_YEAR); + map.put("PAST_DAY", PAST_DAY); + map.put("CUSTOM", CUSTOM); + map.put("LAST_N_DAYS", LAST_N_DAYS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ALL_TIME", InputOptionsTimePeriodTypeEnum.ALL_TIME); + map.put("PAST_YEAR", InputOptionsTimePeriodTypeEnum.PAST_YEAR); + map.put("PAST_DAY", InputOptionsTimePeriodTypeEnum.PAST_DAY); + map.put("CUSTOM", InputOptionsTimePeriodTypeEnum.CUSTOM); + map.put("LAST_N_DAYS", InputOptionsTimePeriodTypeEnum.LAST_N_DAYS); + return map; + } - public static Optional fromValue(String value) { - for (InputOptionsTimePeriodType o: InputOptionsTimePeriodType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum InputOptionsTimePeriodTypeEnum { + + ALL_TIME("ALL_TIME"), + PAST_YEAR("PAST_YEAR"), + PAST_DAY("PAST_DAY"), + CUSTOM("CUSTOM"), + LAST_N_DAYS("LAST_N_DAYS"),; + + private final String value; + + private InputOptionsTimePeriodTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/InviteInfo.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/InviteInfo.java index 8cbcda1f..5398b56a 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/InviteInfo.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/InviteInfo.java @@ -45,7 +45,7 @@ public class InviteInfo { /** * The time this person was invited in ISO format (ISO 8601). * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("inviteTime") @@ -55,7 +55,7 @@ public class InviteInfo { /** * The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("reminderTime") @@ -112,7 +112,7 @@ public Optional inviter() { /** * The time this person was invited in ISO format (ISO 8601). * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated @JsonIgnore @@ -123,7 +123,7 @@ public Optional inviteTime() { /** * The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated @JsonIgnore @@ -190,7 +190,7 @@ public InviteInfo withInviter(Optional inviter) { /** * The time this person was invited in ISO format (ISO 8601). * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public InviteInfo withInviteTime(OffsetDateTime inviteTime) { @@ -203,7 +203,7 @@ public InviteInfo withInviteTime(OffsetDateTime inviteTime) { /** * The time this person was invited in ISO format (ISO 8601). * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public InviteInfo withInviteTime(Optional inviteTime) { @@ -215,7 +215,7 @@ public InviteInfo withInviteTime(Optional inviteTime) { /** * The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public InviteInfo withReminderTime(OffsetDateTime reminderTime) { @@ -228,7 +228,7 @@ public InviteInfo withReminderTime(OffsetDateTime reminderTime) { /** * The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public InviteInfo withReminderTime(Optional reminderTime) { @@ -345,7 +345,7 @@ public Builder inviter(Optional inviter) { /** * The time this person was invited in ISO format (ISO 8601). * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public Builder inviteTime(OffsetDateTime inviteTime) { @@ -357,7 +357,7 @@ public Builder inviteTime(OffsetDateTime inviteTime) { /** * The time this person was invited in ISO format (ISO 8601). * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public Builder inviteTime(Optional inviteTime) { @@ -370,7 +370,7 @@ public Builder inviteTime(Optional inviteTime) { /** * The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public Builder reminderTime(OffsetDateTime reminderTime) { @@ -382,7 +382,7 @@ public Builder reminderTime(OffsetDateTime reminderTime) { /** * The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. * - * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead. */ @Deprecated public Builder reminderTime(Optional reminderTime) { diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/JustificationType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/JustificationType.java index 2905e430..ad9f3930 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/JustificationType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/JustificationType.java @@ -3,70 +3,258 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * JustificationType * *

Type of the justification. */ -public enum JustificationType { - FREQUENTLY_ACCESSED("FREQUENTLY_ACCESSED"), - RECENTLY_ACCESSED("RECENTLY_ACCESSED"), - TRENDING_DOCUMENT("TRENDING_DOCUMENT"), - VERIFICATION_REMINDER("VERIFICATION_REMINDER"), - SUGGESTED_DOCUMENT("SUGGESTED_DOCUMENT"), - EMPTY_STATE_SUGGESTION("EMPTY_STATE_SUGGESTION"), - FRECENCY_SCORED("FRECENCY_SCORED"), - SERVER_GENERATED("SERVER_GENERATED"), - USE_CASE("USE_CASE"), - UPDATE_SINCE_LAST_VIEW("UPDATE_SINCE_LAST_VIEW"), - RECENTLY_STARTED("RECENTLY_STARTED"), - EVENT("EVENT"), - USER_MENTION("USER_MENTION"), - ANNOUNCEMENT("ANNOUNCEMENT"), - EXTERNAL_ANNOUNCEMENT("EXTERNAL_ANNOUNCEMENT"), - POPULARITY_BASED_TRENDING("POPULARITY_BASED_TRENDING"), - COMPANY_RESOURCE("COMPANY_RESOURCE"), - EVENT_DOCUMENT_FROM_CONTENT("EVENT_DOCUMENT_FROM_CONTENT"), - EVENT_DOCUMENT_FROM_SEARCH("EVENT_DOCUMENT_FROM_SEARCH"), - VISIT_AFFINITY_SCORED("VISIT_AFFINITY_SCORED"), - SUGGESTED_APP("SUGGESTED_APP"), - SUGGESTED_PERSON("SUGGESTED_PERSON"), - ACTIVITY_HIGHLIGHT("ACTIVITY_HIGHLIGHT"), - SAVED_SEARCH("SAVED_SEARCH"), - SUGGESTED_CHANNEL("SUGGESTED_CHANNEL"), - PEOPLE_CELEBRATIONS("PEOPLE_CELEBRATIONS"), - SOCIAL_LINK("SOCIAL_LINK"), - ZERO_STATE_CHAT_SUGGESTION("ZERO_STATE_CHAT_SUGGESTION"), - ZERO_STATE_CHAT_TOOL_SUGGESTION("ZERO_STATE_CHAT_TOOL_SUGGESTION"), - ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION("ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION"), - ZERO_STATE_STATIC_WORKFLOW_SUGGESTION("ZERO_STATE_STATIC_WORKFLOW_SUGGESTION"), - ZERO_STATE_AGENT_SUGGESTION("ZERO_STATE_AGENT_SUGGESTION"), - PERSONALIZED_CHAT_SUGGESTION("PERSONALIZED_CHAT_SUGGESTION"), - DAILY_DIGEST("DAILY_DIGEST"); +public class JustificationType { + + public static final JustificationType FREQUENTLY_ACCESSED = new JustificationType("FREQUENTLY_ACCESSED"); + public static final JustificationType RECENTLY_ACCESSED = new JustificationType("RECENTLY_ACCESSED"); + public static final JustificationType TRENDING_DOCUMENT = new JustificationType("TRENDING_DOCUMENT"); + public static final JustificationType VERIFICATION_REMINDER = new JustificationType("VERIFICATION_REMINDER"); + public static final JustificationType SUGGESTED_DOCUMENT = new JustificationType("SUGGESTED_DOCUMENT"); + public static final JustificationType EMPTY_STATE_SUGGESTION = new JustificationType("EMPTY_STATE_SUGGESTION"); + public static final JustificationType FRECENCY_SCORED = new JustificationType("FRECENCY_SCORED"); + public static final JustificationType SERVER_GENERATED = new JustificationType("SERVER_GENERATED"); + public static final JustificationType USE_CASE = new JustificationType("USE_CASE"); + public static final JustificationType UPDATE_SINCE_LAST_VIEW = new JustificationType("UPDATE_SINCE_LAST_VIEW"); + public static final JustificationType RECENTLY_STARTED = new JustificationType("RECENTLY_STARTED"); + public static final JustificationType EVENT = new JustificationType("EVENT"); + public static final JustificationType USER_MENTION = new JustificationType("USER_MENTION"); + public static final JustificationType ANNOUNCEMENT = new JustificationType("ANNOUNCEMENT"); + public static final JustificationType EXTERNAL_ANNOUNCEMENT = new JustificationType("EXTERNAL_ANNOUNCEMENT"); + public static final JustificationType POPULARITY_BASED_TRENDING = new JustificationType("POPULARITY_BASED_TRENDING"); + public static final JustificationType COMPANY_RESOURCE = new JustificationType("COMPANY_RESOURCE"); + public static final JustificationType EVENT_DOCUMENT_FROM_CONTENT = new JustificationType("EVENT_DOCUMENT_FROM_CONTENT"); + public static final JustificationType EVENT_DOCUMENT_FROM_SEARCH = new JustificationType("EVENT_DOCUMENT_FROM_SEARCH"); + public static final JustificationType VISIT_AFFINITY_SCORED = new JustificationType("VISIT_AFFINITY_SCORED"); + public static final JustificationType SUGGESTED_APP = new JustificationType("SUGGESTED_APP"); + public static final JustificationType SUGGESTED_PERSON = new JustificationType("SUGGESTED_PERSON"); + public static final JustificationType ACTIVITY_HIGHLIGHT = new JustificationType("ACTIVITY_HIGHLIGHT"); + public static final JustificationType SAVED_SEARCH = new JustificationType("SAVED_SEARCH"); + public static final JustificationType SUGGESTED_CHANNEL = new JustificationType("SUGGESTED_CHANNEL"); + public static final JustificationType PEOPLE_CELEBRATIONS = new JustificationType("PEOPLE_CELEBRATIONS"); + public static final JustificationType SOCIAL_LINK = new JustificationType("SOCIAL_LINK"); + public static final JustificationType ZERO_STATE_CHAT_SUGGESTION = new JustificationType("ZERO_STATE_CHAT_SUGGESTION"); + public static final JustificationType ZERO_STATE_CHAT_TOOL_SUGGESTION = new JustificationType("ZERO_STATE_CHAT_TOOL_SUGGESTION"); + public static final JustificationType ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION = new JustificationType("ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION"); + public static final JustificationType ZERO_STATE_STATIC_WORKFLOW_SUGGESTION = new JustificationType("ZERO_STATE_STATIC_WORKFLOW_SUGGESTION"); + public static final JustificationType ZERO_STATE_AGENT_SUGGESTION = new JustificationType("ZERO_STATE_AGENT_SUGGESTION"); + public static final JustificationType PERSONALIZED_CHAT_SUGGESTION = new JustificationType("PERSONALIZED_CHAT_SUGGESTION"); + public static final JustificationType DAILY_DIGEST = new JustificationType("DAILY_DIGEST"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - JustificationType(String value) { + private JustificationType(String value) { this.value = value; } - + + /** + * Returns a JustificationType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as JustificationType + */ + @JsonCreator + public static JustificationType of(String value) { + synchronized (JustificationType.class) { + return values.computeIfAbsent(value, v -> new JustificationType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + JustificationType other = (JustificationType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "JustificationType [value=" + value + "]"; + } + + // return an array just like an enum + public static JustificationType[] values() { + synchronized (JustificationType.class) { + return values.values().toArray(new JustificationType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("FREQUENTLY_ACCESSED", FREQUENTLY_ACCESSED); + map.put("RECENTLY_ACCESSED", RECENTLY_ACCESSED); + map.put("TRENDING_DOCUMENT", TRENDING_DOCUMENT); + map.put("VERIFICATION_REMINDER", VERIFICATION_REMINDER); + map.put("SUGGESTED_DOCUMENT", SUGGESTED_DOCUMENT); + map.put("EMPTY_STATE_SUGGESTION", EMPTY_STATE_SUGGESTION); + map.put("FRECENCY_SCORED", FRECENCY_SCORED); + map.put("SERVER_GENERATED", SERVER_GENERATED); + map.put("USE_CASE", USE_CASE); + map.put("UPDATE_SINCE_LAST_VIEW", UPDATE_SINCE_LAST_VIEW); + map.put("RECENTLY_STARTED", RECENTLY_STARTED); + map.put("EVENT", EVENT); + map.put("USER_MENTION", USER_MENTION); + map.put("ANNOUNCEMENT", ANNOUNCEMENT); + map.put("EXTERNAL_ANNOUNCEMENT", EXTERNAL_ANNOUNCEMENT); + map.put("POPULARITY_BASED_TRENDING", POPULARITY_BASED_TRENDING); + map.put("COMPANY_RESOURCE", COMPANY_RESOURCE); + map.put("EVENT_DOCUMENT_FROM_CONTENT", EVENT_DOCUMENT_FROM_CONTENT); + map.put("EVENT_DOCUMENT_FROM_SEARCH", EVENT_DOCUMENT_FROM_SEARCH); + map.put("VISIT_AFFINITY_SCORED", VISIT_AFFINITY_SCORED); + map.put("SUGGESTED_APP", SUGGESTED_APP); + map.put("SUGGESTED_PERSON", SUGGESTED_PERSON); + map.put("ACTIVITY_HIGHLIGHT", ACTIVITY_HIGHLIGHT); + map.put("SAVED_SEARCH", SAVED_SEARCH); + map.put("SUGGESTED_CHANNEL", SUGGESTED_CHANNEL); + map.put("PEOPLE_CELEBRATIONS", PEOPLE_CELEBRATIONS); + map.put("SOCIAL_LINK", SOCIAL_LINK); + map.put("ZERO_STATE_CHAT_SUGGESTION", ZERO_STATE_CHAT_SUGGESTION); + map.put("ZERO_STATE_CHAT_TOOL_SUGGESTION", ZERO_STATE_CHAT_TOOL_SUGGESTION); + map.put("ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION", ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION); + map.put("ZERO_STATE_STATIC_WORKFLOW_SUGGESTION", ZERO_STATE_STATIC_WORKFLOW_SUGGESTION); + map.put("ZERO_STATE_AGENT_SUGGESTION", ZERO_STATE_AGENT_SUGGESTION); + map.put("PERSONALIZED_CHAT_SUGGESTION", PERSONALIZED_CHAT_SUGGESTION); + map.put("DAILY_DIGEST", DAILY_DIGEST); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("FREQUENTLY_ACCESSED", JustificationTypeEnum.FREQUENTLY_ACCESSED); + map.put("RECENTLY_ACCESSED", JustificationTypeEnum.RECENTLY_ACCESSED); + map.put("TRENDING_DOCUMENT", JustificationTypeEnum.TRENDING_DOCUMENT); + map.put("VERIFICATION_REMINDER", JustificationTypeEnum.VERIFICATION_REMINDER); + map.put("SUGGESTED_DOCUMENT", JustificationTypeEnum.SUGGESTED_DOCUMENT); + map.put("EMPTY_STATE_SUGGESTION", JustificationTypeEnum.EMPTY_STATE_SUGGESTION); + map.put("FRECENCY_SCORED", JustificationTypeEnum.FRECENCY_SCORED); + map.put("SERVER_GENERATED", JustificationTypeEnum.SERVER_GENERATED); + map.put("USE_CASE", JustificationTypeEnum.USE_CASE); + map.put("UPDATE_SINCE_LAST_VIEW", JustificationTypeEnum.UPDATE_SINCE_LAST_VIEW); + map.put("RECENTLY_STARTED", JustificationTypeEnum.RECENTLY_STARTED); + map.put("EVENT", JustificationTypeEnum.EVENT); + map.put("USER_MENTION", JustificationTypeEnum.USER_MENTION); + map.put("ANNOUNCEMENT", JustificationTypeEnum.ANNOUNCEMENT); + map.put("EXTERNAL_ANNOUNCEMENT", JustificationTypeEnum.EXTERNAL_ANNOUNCEMENT); + map.put("POPULARITY_BASED_TRENDING", JustificationTypeEnum.POPULARITY_BASED_TRENDING); + map.put("COMPANY_RESOURCE", JustificationTypeEnum.COMPANY_RESOURCE); + map.put("EVENT_DOCUMENT_FROM_CONTENT", JustificationTypeEnum.EVENT_DOCUMENT_FROM_CONTENT); + map.put("EVENT_DOCUMENT_FROM_SEARCH", JustificationTypeEnum.EVENT_DOCUMENT_FROM_SEARCH); + map.put("VISIT_AFFINITY_SCORED", JustificationTypeEnum.VISIT_AFFINITY_SCORED); + map.put("SUGGESTED_APP", JustificationTypeEnum.SUGGESTED_APP); + map.put("SUGGESTED_PERSON", JustificationTypeEnum.SUGGESTED_PERSON); + map.put("ACTIVITY_HIGHLIGHT", JustificationTypeEnum.ACTIVITY_HIGHLIGHT); + map.put("SAVED_SEARCH", JustificationTypeEnum.SAVED_SEARCH); + map.put("SUGGESTED_CHANNEL", JustificationTypeEnum.SUGGESTED_CHANNEL); + map.put("PEOPLE_CELEBRATIONS", JustificationTypeEnum.PEOPLE_CELEBRATIONS); + map.put("SOCIAL_LINK", JustificationTypeEnum.SOCIAL_LINK); + map.put("ZERO_STATE_CHAT_SUGGESTION", JustificationTypeEnum.ZERO_STATE_CHAT_SUGGESTION); + map.put("ZERO_STATE_CHAT_TOOL_SUGGESTION", JustificationTypeEnum.ZERO_STATE_CHAT_TOOL_SUGGESTION); + map.put("ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION", JustificationTypeEnum.ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION); + map.put("ZERO_STATE_STATIC_WORKFLOW_SUGGESTION", JustificationTypeEnum.ZERO_STATE_STATIC_WORKFLOW_SUGGESTION); + map.put("ZERO_STATE_AGENT_SUGGESTION", JustificationTypeEnum.ZERO_STATE_AGENT_SUGGESTION); + map.put("PERSONALIZED_CHAT_SUGGESTION", JustificationTypeEnum.PERSONALIZED_CHAT_SUGGESTION); + map.put("DAILY_DIGEST", JustificationTypeEnum.DAILY_DIGEST); + return map; + } - public static Optional fromValue(String value) { - for (JustificationType o: JustificationType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum JustificationTypeEnum { + + FREQUENTLY_ACCESSED("FREQUENTLY_ACCESSED"), + RECENTLY_ACCESSED("RECENTLY_ACCESSED"), + TRENDING_DOCUMENT("TRENDING_DOCUMENT"), + VERIFICATION_REMINDER("VERIFICATION_REMINDER"), + SUGGESTED_DOCUMENT("SUGGESTED_DOCUMENT"), + EMPTY_STATE_SUGGESTION("EMPTY_STATE_SUGGESTION"), + FRECENCY_SCORED("FRECENCY_SCORED"), + SERVER_GENERATED("SERVER_GENERATED"), + USE_CASE("USE_CASE"), + UPDATE_SINCE_LAST_VIEW("UPDATE_SINCE_LAST_VIEW"), + RECENTLY_STARTED("RECENTLY_STARTED"), + EVENT("EVENT"), + USER_MENTION("USER_MENTION"), + ANNOUNCEMENT("ANNOUNCEMENT"), + EXTERNAL_ANNOUNCEMENT("EXTERNAL_ANNOUNCEMENT"), + POPULARITY_BASED_TRENDING("POPULARITY_BASED_TRENDING"), + COMPANY_RESOURCE("COMPANY_RESOURCE"), + EVENT_DOCUMENT_FROM_CONTENT("EVENT_DOCUMENT_FROM_CONTENT"), + EVENT_DOCUMENT_FROM_SEARCH("EVENT_DOCUMENT_FROM_SEARCH"), + VISIT_AFFINITY_SCORED("VISIT_AFFINITY_SCORED"), + SUGGESTED_APP("SUGGESTED_APP"), + SUGGESTED_PERSON("SUGGESTED_PERSON"), + ACTIVITY_HIGHLIGHT("ACTIVITY_HIGHLIGHT"), + SAVED_SEARCH("SAVED_SEARCH"), + SUGGESTED_CHANNEL("SUGGESTED_CHANNEL"), + PEOPLE_CELEBRATIONS("PEOPLE_CELEBRATIONS"), + SOCIAL_LINK("SOCIAL_LINK"), + ZERO_STATE_CHAT_SUGGESTION("ZERO_STATE_CHAT_SUGGESTION"), + ZERO_STATE_CHAT_TOOL_SUGGESTION("ZERO_STATE_CHAT_TOOL_SUGGESTION"), + ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION("ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION"), + ZERO_STATE_STATIC_WORKFLOW_SUGGESTION("ZERO_STATE_STATIC_WORKFLOW_SUGGESTION"), + ZERO_STATE_AGENT_SUGGESTION("ZERO_STATE_AGENT_SUGGESTION"), + PERSONALIZED_CHAT_SUGGESTION("PERSONALIZED_CHAT_SUGGESTION"), + DAILY_DIGEST("DAILY_DIGEST"),; + + private final String value; + + private JustificationTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/KnowledgeType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/KnowledgeType.java index 7d5d53ec..a502e8da 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/KnowledgeType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/KnowledgeType.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * KnowledgeType * *

Indicates the kind of knowledge a tool would access or modify. */ -public enum KnowledgeType { - NEUTRAL_KNOWLEDGE("NEUTRAL_KNOWLEDGE"), - COMPANY_KNOWLEDGE("COMPANY_KNOWLEDGE"), - WORLD_KNOWLEDGE("WORLD_KNOWLEDGE"); +public class KnowledgeType { + + public static final KnowledgeType NEUTRAL_KNOWLEDGE = new KnowledgeType("NEUTRAL_KNOWLEDGE"); + public static final KnowledgeType COMPANY_KNOWLEDGE = new KnowledgeType("COMPANY_KNOWLEDGE"); + public static final KnowledgeType WORLD_KNOWLEDGE = new KnowledgeType("WORLD_KNOWLEDGE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - KnowledgeType(String value) { + private KnowledgeType(String value) { this.value = value; } - + + /** + * Returns a KnowledgeType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as KnowledgeType + */ + @JsonCreator + public static KnowledgeType of(String value) { + synchronized (KnowledgeType.class) { + return values.computeIfAbsent(value, v -> new KnowledgeType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + KnowledgeType other = (KnowledgeType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "KnowledgeType [value=" + value + "]"; + } + + // return an array just like an enum + public static KnowledgeType[] values() { + synchronized (KnowledgeType.class) { + return values.values().toArray(new KnowledgeType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NEUTRAL_KNOWLEDGE", NEUTRAL_KNOWLEDGE); + map.put("COMPANY_KNOWLEDGE", COMPANY_KNOWLEDGE); + map.put("WORLD_KNOWLEDGE", WORLD_KNOWLEDGE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NEUTRAL_KNOWLEDGE", KnowledgeTypeEnum.NEUTRAL_KNOWLEDGE); + map.put("COMPANY_KNOWLEDGE", KnowledgeTypeEnum.COMPANY_KNOWLEDGE); + map.put("WORLD_KNOWLEDGE", KnowledgeTypeEnum.WORLD_KNOWLEDGE); + return map; + } - public static Optional fromValue(String value) { - for (KnowledgeType o: KnowledgeType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum KnowledgeTypeEnum { + + NEUTRAL_KNOWLEDGE("NEUTRAL_KNOWLEDGE"), + COMPANY_KNOWLEDGE("COMPANY_KNOWLEDGE"), + WORLD_KNOWLEDGE("WORLD_KNOWLEDGE"),; + + private final String value; + + private KnowledgeTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/LastScanStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/LastScanStatus.java index 12e2539b..5bfd60a4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/LastScanStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/LastScanStatus.java @@ -3,37 +3,141 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum LastScanStatus { - PENDING("PENDING"), - SUCCESS("SUCCESS"), - FAILURE("FAILURE"), - CANCELLED("CANCELLED"), - CANCELLING("CANCELLING"), - ACTIVE("ACTIVE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class LastScanStatus { + + public static final LastScanStatus PENDING = new LastScanStatus("PENDING"); + public static final LastScanStatus SUCCESS = new LastScanStatus("SUCCESS"); + public static final LastScanStatus FAILURE = new LastScanStatus("FAILURE"); + public static final LastScanStatus CANCELLED = new LastScanStatus("CANCELLED"); + public static final LastScanStatus CANCELLING = new LastScanStatus("CANCELLING"); + public static final LastScanStatus ACTIVE = new LastScanStatus("ACTIVE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - LastScanStatus(String value) { + private LastScanStatus(String value) { this.value = value; } - + + /** + * Returns a LastScanStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as LastScanStatus + */ + @JsonCreator + public static LastScanStatus of(String value) { + synchronized (LastScanStatus.class) { + return values.computeIfAbsent(value, v -> new LastScanStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + LastScanStatus other = (LastScanStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "LastScanStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static LastScanStatus[] values() { + synchronized (LastScanStatus.class) { + return values.values().toArray(new LastScanStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PENDING", PENDING); + map.put("SUCCESS", SUCCESS); + map.put("FAILURE", FAILURE); + map.put("CANCELLED", CANCELLED); + map.put("CANCELLING", CANCELLING); + map.put("ACTIVE", ACTIVE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PENDING", LastScanStatusEnum.PENDING); + map.put("SUCCESS", LastScanStatusEnum.SUCCESS); + map.put("FAILURE", LastScanStatusEnum.FAILURE); + map.put("CANCELLED", LastScanStatusEnum.CANCELLED); + map.put("CANCELLING", LastScanStatusEnum.CANCELLING); + map.put("ACTIVE", LastScanStatusEnum.ACTIVE); + return map; + } - public static Optional fromValue(String value) { - for (LastScanStatus o: LastScanStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum LastScanStatusEnum { + + PENDING("PENDING"), + SUCCESS("SUCCESS"), + FAILURE("FAILURE"), + CANCELLED("CANCELLED"), + CANCELLING("CANCELLING"), + ACTIVE("ACTIVE"),; + + private final String value; + + private LastScanStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/MessageType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/MessageType.java index feeb93df..d7c1d873 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/MessageType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/MessageType.java @@ -3,97 +3,183 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * MessageType * *

Semantically groups content of a certain type. It can be used for purposes such as differential UI * treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. */ -public enum MessageType { - /** - * An intermediate state message for progress updates. - */ - UPDATE("UPDATE"), - /** - * A user query or response message. - */ - CONTENT("CONTENT"), - /** - * A message providing context in addition to the user query. - */ - CONTEXT("CONTEXT"), - /** - * Control signal for message streaming. - */ - CONTROL("CONTROL"), - /** - * Control signal indicating the start of a message stream. - */ - CONTROL_START("CONTROL_START"), - /** - * Control signal indicating the end of a message stream. - */ - CONTROL_FINISH("CONTROL_FINISH"), - /** - * Control signal indicating the message stream was cancelled. - */ - CONTROL_CANCEL("CONTROL_CANCEL"), - /** - * Indicates the message streaming needed to be retried. - */ - CONTROL_RETRY("CONTROL_RETRY"), - /** - * Fallback control signal for unrecognized control types. - */ - CONTROL_UNKNOWN("CONTROL_UNKNOWN"), - /** - * A debug message. Strictly used internally. - */ - DEBUG("DEBUG"), - /** - * A debug message to be used while debugging Action creation. - */ - DEBUG_EXTERNAL("DEBUG_EXTERNAL"), - /** - * A message that describes an error while processing the request. - */ - ERROR("ERROR"), - /** - * A heading message used to distinguish different sections of the holistic response. - */ - HEADING("HEADING"), - /** - * A warning message to be shown to the user. - */ - WARNING("WARNING"), - /** - * A message used to for server-side tool auth/use, for request and response. - */ - SERVER_TOOL("SERVER_TOOL"); +public class MessageType { + + public static final MessageType UPDATE = new MessageType("UPDATE"); + public static final MessageType CONTENT = new MessageType("CONTENT"); + public static final MessageType CONTEXT = new MessageType("CONTEXT"); + public static final MessageType CONTROL = new MessageType("CONTROL"); + public static final MessageType CONTROL_START = new MessageType("CONTROL_START"); + public static final MessageType CONTROL_FINISH = new MessageType("CONTROL_FINISH"); + public static final MessageType CONTROL_CANCEL = new MessageType("CONTROL_CANCEL"); + public static final MessageType CONTROL_RETRY = new MessageType("CONTROL_RETRY"); + public static final MessageType CONTROL_UNKNOWN = new MessageType("CONTROL_UNKNOWN"); + public static final MessageType DEBUG = new MessageType("DEBUG"); + public static final MessageType DEBUG_EXTERNAL = new MessageType("DEBUG_EXTERNAL"); + public static final MessageType ERROR = new MessageType("ERROR"); + public static final MessageType HEADING = new MessageType("HEADING"); + public static final MessageType WARNING = new MessageType("WARNING"); + public static final MessageType SERVER_TOOL = new MessageType("SERVER_TOOL"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - MessageType(String value) { + private MessageType(String value) { this.value = value; } - + + /** + * Returns a MessageType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as MessageType + */ + @JsonCreator + public static MessageType of(String value) { + synchronized (MessageType.class) { + return values.computeIfAbsent(value, v -> new MessageType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + MessageType other = (MessageType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "MessageType [value=" + value + "]"; + } + + // return an array just like an enum + public static MessageType[] values() { + synchronized (MessageType.class) { + return values.values().toArray(new MessageType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UPDATE", UPDATE); + map.put("CONTENT", CONTENT); + map.put("CONTEXT", CONTEXT); + map.put("CONTROL", CONTROL); + map.put("CONTROL_START", CONTROL_START); + map.put("CONTROL_FINISH", CONTROL_FINISH); + map.put("CONTROL_CANCEL", CONTROL_CANCEL); + map.put("CONTROL_RETRY", CONTROL_RETRY); + map.put("CONTROL_UNKNOWN", CONTROL_UNKNOWN); + map.put("DEBUG", DEBUG); + map.put("DEBUG_EXTERNAL", DEBUG_EXTERNAL); + map.put("ERROR", ERROR); + map.put("HEADING", HEADING); + map.put("WARNING", WARNING); + map.put("SERVER_TOOL", SERVER_TOOL); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UPDATE", MessageTypeEnum.UPDATE); + map.put("CONTENT", MessageTypeEnum.CONTENT); + map.put("CONTEXT", MessageTypeEnum.CONTEXT); + map.put("CONTROL", MessageTypeEnum.CONTROL); + map.put("CONTROL_START", MessageTypeEnum.CONTROL_START); + map.put("CONTROL_FINISH", MessageTypeEnum.CONTROL_FINISH); + map.put("CONTROL_CANCEL", MessageTypeEnum.CONTROL_CANCEL); + map.put("CONTROL_RETRY", MessageTypeEnum.CONTROL_RETRY); + map.put("CONTROL_UNKNOWN", MessageTypeEnum.CONTROL_UNKNOWN); + map.put("DEBUG", MessageTypeEnum.DEBUG); + map.put("DEBUG_EXTERNAL", MessageTypeEnum.DEBUG_EXTERNAL); + map.put("ERROR", MessageTypeEnum.ERROR); + map.put("HEADING", MessageTypeEnum.HEADING); + map.put("WARNING", MessageTypeEnum.WARNING); + map.put("SERVER_TOOL", MessageTypeEnum.SERVER_TOOL); + return map; + } - public static Optional fromValue(String value) { - for (MessageType o: MessageType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum MessageTypeEnum { + + UPDATE("UPDATE"), + CONTENT("CONTENT"), + CONTEXT("CONTEXT"), + CONTROL("CONTROL"), + CONTROL_START("CONTROL_START"), + CONTROL_FINISH("CONTROL_FINISH"), + CONTROL_CANCEL("CONTROL_CANCEL"), + CONTROL_RETRY("CONTROL_RETRY"), + CONTROL_UNKNOWN("CONTROL_UNKNOWN"), + DEBUG("DEBUG"), + DEBUG_EXTERNAL("DEBUG_EXTERNAL"), + ERROR("ERROR"), + HEADING("HEADING"), + WARNING("WARNING"), + SERVER_TOOL("SERVER_TOOL"),; + + private final String value; + + private MessageTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Mode.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Mode.java index fbdb27f7..f1b095a8 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Mode.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Mode.java @@ -3,44 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * Mode * *

Top level modes to run GleanChat in. */ -public enum Mode { - /** - * Used if no mode supplied. - */ - DEFAULT("DEFAULT"), - /** - * Deprecated. - */ - QUICK("QUICK"); +public class Mode { + + public static final Mode DEFAULT = new Mode("DEFAULT"); + public static final Mode QUICK = new Mode("QUICK"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Mode(String value) { + private Mode(String value) { this.value = value; } - + + /** + * Returns a Mode with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Mode + */ + @JsonCreator + public static Mode of(String value) { + synchronized (Mode.class) { + return values.computeIfAbsent(value, v -> new Mode(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Mode other = (Mode) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Mode [value=" + value + "]"; + } + + // return an array just like an enum + public static Mode[] values() { + synchronized (Mode.class) { + return values.values().toArray(new Mode[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("DEFAULT", DEFAULT); + map.put("QUICK", QUICK); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("DEFAULT", ModeEnum.DEFAULT); + map.put("QUICK", ModeEnum.QUICK); + return map; + } - public static Optional fromValue(String value) { - for (Mode o: Mode.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ModeEnum { + + DEFAULT("DEFAULT"), + QUICK("QUICK"),; + + private final String value; + + private ModeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/OperatorType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/OperatorType.java index d9a4e650..d34a7573 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/OperatorType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/OperatorType.java @@ -3,35 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum OperatorType { - TEXT("TEXT"), - DOUBLE("DOUBLE"), - DATE("DATE"), - USER("USER"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class OperatorType { + + public static final OperatorType TEXT = new OperatorType("TEXT"); + public static final OperatorType DOUBLE = new OperatorType("DOUBLE"); + public static final OperatorType DATE = new OperatorType("DATE"); + public static final OperatorType USER = new OperatorType("USER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - OperatorType(String value) { + private OperatorType(String value) { this.value = value; } - + + /** + * Returns a OperatorType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as OperatorType + */ + @JsonCreator + public static OperatorType of(String value) { + synchronized (OperatorType.class) { + return values.computeIfAbsent(value, v -> new OperatorType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + OperatorType other = (OperatorType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "OperatorType [value=" + value + "]"; + } + + // return an array just like an enum + public static OperatorType[] values() { + synchronized (OperatorType.class) { + return values.values().toArray(new OperatorType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("TEXT", TEXT); + map.put("DOUBLE", DOUBLE); + map.put("DATE", DATE); + map.put("USER", USER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("TEXT", OperatorTypeEnum.TEXT); + map.put("DOUBLE", OperatorTypeEnum.DOUBLE); + map.put("DATE", OperatorTypeEnum.DATE); + map.put("USER", OperatorTypeEnum.USER); + return map; + } - public static Optional fromValue(String value) { - for (OperatorType o: OperatorType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum OperatorTypeEnum { + + TEXT("TEXT"), + DOUBLE("DOUBLE"), + DATE("DATE"), + USER("USER"),; + + private final String value; + + private OperatorTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonMetadataType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonMetadataType.java index 065cca70..4b70a851 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonMetadataType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonMetadataType.java @@ -3,47 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum PersonMetadataType { - /** - * The person is a current full-time employee of the company. - */ - FULL_TIME("FULL_TIME"), - /** - * The person is a current contractor of the company. - */ - CONTRACTOR("CONTRACTOR"), - /** - * The person object represents a non-human actor such as a service or admin account. - */ - NON_EMPLOYEE("NON_EMPLOYEE"), - /** - * The person is a previous employee of the company. - */ - FORMER_EMPLOYEE("FORMER_EMPLOYEE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class PersonMetadataType { + + public static final PersonMetadataType FULL_TIME = new PersonMetadataType("FULL_TIME"); + public static final PersonMetadataType CONTRACTOR = new PersonMetadataType("CONTRACTOR"); + public static final PersonMetadataType NON_EMPLOYEE = new PersonMetadataType("NON_EMPLOYEE"); + public static final PersonMetadataType FORMER_EMPLOYEE = new PersonMetadataType("FORMER_EMPLOYEE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - PersonMetadataType(String value) { + private PersonMetadataType(String value) { this.value = value; } - + + /** + * Returns a PersonMetadataType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as PersonMetadataType + */ + @JsonCreator + public static PersonMetadataType of(String value) { + synchronized (PersonMetadataType.class) { + return values.computeIfAbsent(value, v -> new PersonMetadataType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PersonMetadataType other = (PersonMetadataType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "PersonMetadataType [value=" + value + "]"; + } + + // return an array just like an enum + public static PersonMetadataType[] values() { + synchronized (PersonMetadataType.class) { + return values.values().toArray(new PersonMetadataType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("FULL_TIME", FULL_TIME); + map.put("CONTRACTOR", CONTRACTOR); + map.put("NON_EMPLOYEE", NON_EMPLOYEE); + map.put("FORMER_EMPLOYEE", FORMER_EMPLOYEE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("FULL_TIME", PersonMetadataTypeEnum.FULL_TIME); + map.put("CONTRACTOR", PersonMetadataTypeEnum.CONTRACTOR); + map.put("NON_EMPLOYEE", PersonMetadataTypeEnum.NON_EMPLOYEE); + map.put("FORMER_EMPLOYEE", PersonMetadataTypeEnum.FORMER_EMPLOYEE); + return map; + } - public static Optional fromValue(String value) { - for (PersonMetadataType o: PersonMetadataType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum PersonMetadataTypeEnum { + + FULL_TIME("FULL_TIME"), + CONTRACTOR("CONTRACTOR"), + NON_EMPLOYEE("NON_EMPLOYEE"), + FORMER_EMPLOYEE("FORMER_EMPLOYEE"),; + + private final String value; + + private PersonMetadataTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonTeamRelationship.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonTeamRelationship.java index 35dccb51..09a839c9 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonTeamRelationship.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonTeamRelationship.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * PersonTeamRelationship * *

The team member's relationship to the team. This defaults to MEMBER if not set. */ -public enum PersonTeamRelationship { - MEMBER("MEMBER"), - MANAGER("MANAGER"), - LEAD("LEAD"), - POINT_OF_CONTACT("POINT_OF_CONTACT"), - OTHER("OTHER"); +public class PersonTeamRelationship { + + public static final PersonTeamRelationship MEMBER = new PersonTeamRelationship("MEMBER"); + public static final PersonTeamRelationship MANAGER = new PersonTeamRelationship("MANAGER"); + public static final PersonTeamRelationship LEAD = new PersonTeamRelationship("LEAD"); + public static final PersonTeamRelationship POINT_OF_CONTACT = new PersonTeamRelationship("POINT_OF_CONTACT"); + public static final PersonTeamRelationship OTHER = new PersonTeamRelationship("OTHER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - PersonTeamRelationship(String value) { + private PersonTeamRelationship(String value) { this.value = value; } - + + /** + * Returns a PersonTeamRelationship with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as PersonTeamRelationship + */ + @JsonCreator + public static PersonTeamRelationship of(String value) { + synchronized (PersonTeamRelationship.class) { + return values.computeIfAbsent(value, v -> new PersonTeamRelationship(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PersonTeamRelationship other = (PersonTeamRelationship) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "PersonTeamRelationship [value=" + value + "]"; + } + + // return an array just like an enum + public static PersonTeamRelationship[] values() { + synchronized (PersonTeamRelationship.class) { + return values.values().toArray(new PersonTeamRelationship[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("MEMBER", MEMBER); + map.put("MANAGER", MANAGER); + map.put("LEAD", LEAD); + map.put("POINT_OF_CONTACT", POINT_OF_CONTACT); + map.put("OTHER", OTHER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("MEMBER", PersonTeamRelationshipEnum.MEMBER); + map.put("MANAGER", PersonTeamRelationshipEnum.MANAGER); + map.put("LEAD", PersonTeamRelationshipEnum.LEAD); + map.put("POINT_OF_CONTACT", PersonTeamRelationshipEnum.POINT_OF_CONTACT); + map.put("OTHER", PersonTeamRelationshipEnum.OTHER); + return map; + } - public static Optional fromValue(String value) { - for (PersonTeamRelationship o: PersonTeamRelationship.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum PersonTeamRelationshipEnum { + + MEMBER("MEMBER"), + MANAGER("MANAGER"), + LEAD("LEAD"), + POINT_OF_CONTACT("POINT_OF_CONTACT"), + OTHER("OTHER"),; + + private final String value; + + private PersonTeamRelationshipEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonToTeamRelationshipRelationship.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonToTeamRelationshipRelationship.java index 695355e1..f827f423 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonToTeamRelationshipRelationship.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/PersonToTeamRelationshipRelationship.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * PersonToTeamRelationshipRelationship * *

The team member's relationship to the team. This defaults to MEMBER if not set. */ -public enum PersonToTeamRelationshipRelationship { - MEMBER("MEMBER"), - MANAGER("MANAGER"), - LEAD("LEAD"), - POINT_OF_CONTACT("POINT_OF_CONTACT"), - OTHER("OTHER"); +public class PersonToTeamRelationshipRelationship { + + public static final PersonToTeamRelationshipRelationship MEMBER = new PersonToTeamRelationshipRelationship("MEMBER"); + public static final PersonToTeamRelationshipRelationship MANAGER = new PersonToTeamRelationshipRelationship("MANAGER"); + public static final PersonToTeamRelationshipRelationship LEAD = new PersonToTeamRelationshipRelationship("LEAD"); + public static final PersonToTeamRelationshipRelationship POINT_OF_CONTACT = new PersonToTeamRelationshipRelationship("POINT_OF_CONTACT"); + public static final PersonToTeamRelationshipRelationship OTHER = new PersonToTeamRelationshipRelationship("OTHER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - PersonToTeamRelationshipRelationship(String value) { + private PersonToTeamRelationshipRelationship(String value) { this.value = value; } - + + /** + * Returns a PersonToTeamRelationshipRelationship with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as PersonToTeamRelationshipRelationship + */ + @JsonCreator + public static PersonToTeamRelationshipRelationship of(String value) { + synchronized (PersonToTeamRelationshipRelationship.class) { + return values.computeIfAbsent(value, v -> new PersonToTeamRelationshipRelationship(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PersonToTeamRelationshipRelationship other = (PersonToTeamRelationshipRelationship) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "PersonToTeamRelationshipRelationship [value=" + value + "]"; + } + + // return an array just like an enum + public static PersonToTeamRelationshipRelationship[] values() { + synchronized (PersonToTeamRelationshipRelationship.class) { + return values.values().toArray(new PersonToTeamRelationshipRelationship[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("MEMBER", MEMBER); + map.put("MANAGER", MANAGER); + map.put("LEAD", LEAD); + map.put("POINT_OF_CONTACT", POINT_OF_CONTACT); + map.put("OTHER", OTHER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("MEMBER", PersonToTeamRelationshipRelationshipEnum.MEMBER); + map.put("MANAGER", PersonToTeamRelationshipRelationshipEnum.MANAGER); + map.put("LEAD", PersonToTeamRelationshipRelationshipEnum.LEAD); + map.put("POINT_OF_CONTACT", PersonToTeamRelationshipRelationshipEnum.POINT_OF_CONTACT); + map.put("OTHER", PersonToTeamRelationshipRelationshipEnum.OTHER); + return map; + } - public static Optional fromValue(String value) { - for (PersonToTeamRelationshipRelationship o: PersonToTeamRelationshipRelationship.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum PersonToTeamRelationshipRelationshipEnum { + + MEMBER("MEMBER"), + MANAGER("MANAGER"), + LEAD("LEAD"), + POINT_OF_CONTACT("POINT_OF_CONTACT"), + OTHER("OTHER"),; + + private final String value; + + private PersonToTeamRelationshipRelationshipEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ProcessingState.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ProcessingState.java index 038eb263..d42980d6 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ProcessingState.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ProcessingState.java @@ -3,43 +3,147 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ProcessingState * *

The current state of the upload, an enum of UNAVAILABLE, UPLOAD STARTED, UPLOAD IN PROGRESS, UPLOAD * COMPLETED, DELETION PAUSED, INDEXING COMPLETED */ -public enum ProcessingState { - UNAVAILABLE("UNAVAILABLE"), - UPLOAD_STARTED("UPLOAD STARTED"), - UPLOAD_IN_PROGRESS("UPLOAD IN PROGRESS"), - UPLOAD_COMPLETED("UPLOAD COMPLETED"), - DELETION_PAUSED("DELETION PAUSED"), - INDEXING_COMPLETED("INDEXING COMPLETED"); +public class ProcessingState { + + public static final ProcessingState UNAVAILABLE = new ProcessingState("UNAVAILABLE"); + public static final ProcessingState UPLOAD_STARTED = new ProcessingState("UPLOAD STARTED"); + public static final ProcessingState UPLOAD_IN_PROGRESS = new ProcessingState("UPLOAD IN PROGRESS"); + public static final ProcessingState UPLOAD_COMPLETED = new ProcessingState("UPLOAD COMPLETED"); + public static final ProcessingState DELETION_PAUSED = new ProcessingState("DELETION PAUSED"); + public static final ProcessingState INDEXING_COMPLETED = new ProcessingState("INDEXING COMPLETED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ProcessingState(String value) { + private ProcessingState(String value) { this.value = value; } - + + /** + * Returns a ProcessingState with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ProcessingState + */ + @JsonCreator + public static ProcessingState of(String value) { + synchronized (ProcessingState.class) { + return values.computeIfAbsent(value, v -> new ProcessingState(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ProcessingState other = (ProcessingState) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ProcessingState [value=" + value + "]"; + } + + // return an array just like an enum + public static ProcessingState[] values() { + synchronized (ProcessingState.class) { + return values.values().toArray(new ProcessingState[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UNAVAILABLE", UNAVAILABLE); + map.put("UPLOAD STARTED", UPLOAD_STARTED); + map.put("UPLOAD IN PROGRESS", UPLOAD_IN_PROGRESS); + map.put("UPLOAD COMPLETED", UPLOAD_COMPLETED); + map.put("DELETION PAUSED", DELETION_PAUSED); + map.put("INDEXING COMPLETED", INDEXING_COMPLETED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UNAVAILABLE", ProcessingStateEnum.UNAVAILABLE); + map.put("UPLOAD STARTED", ProcessingStateEnum.UPLOAD_STARTED); + map.put("UPLOAD IN PROGRESS", ProcessingStateEnum.UPLOAD_IN_PROGRESS); + map.put("UPLOAD COMPLETED", ProcessingStateEnum.UPLOAD_COMPLETED); + map.put("DELETION PAUSED", ProcessingStateEnum.DELETION_PAUSED); + map.put("INDEXING COMPLETED", ProcessingStateEnum.INDEXING_COMPLETED); + return map; + } - public static Optional fromValue(String value) { - for (ProcessingState o: ProcessingState.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ProcessingStateEnum { + + UNAVAILABLE("UNAVAILABLE"), + UPLOAD_STARTED("UPLOAD STARTED"), + UPLOAD_IN_PROGRESS("UPLOAD IN PROGRESS"), + UPLOAD_COMPLETED("UPLOAD COMPLETED"), + DELETION_PAUSED("DELETION PAUSED"), + INDEXING_COMPLETED("INDEXING COMPLETED"),; + + private final String value; + + private ProcessingStateEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Prominence.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Prominence.java index 47e33e0f..aa025805 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Prominence.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Prominence.java @@ -3,48 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * Prominence * *

The level of visual distinction that should be given to a result. */ -public enum Prominence { - /** - * A high-confidence result that should feature prominently on the page. - */ - HERO("HERO"), - /** - * May not be the best result but should be given additional visual distinction. - */ - PROMOTED("PROMOTED"), - /** - * Should not be distinct from any other results. - */ - STANDARD("STANDARD"); +public class Prominence { + + public static final Prominence HERO = new Prominence("HERO"); + public static final Prominence PROMOTED = new Prominence("PROMOTED"); + public static final Prominence STANDARD = new Prominence("STANDARD"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Prominence(String value) { + private Prominence(String value) { this.value = value; } - + + /** + * Returns a Prominence with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Prominence + */ + @JsonCreator + public static Prominence of(String value) { + synchronized (Prominence.class) { + return values.computeIfAbsent(value, v -> new Prominence(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Prominence other = (Prominence) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Prominence [value=" + value + "]"; + } + + // return an array just like an enum + public static Prominence[] values() { + synchronized (Prominence.class) { + return values.values().toArray(new Prominence[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("HERO", HERO); + map.put("PROMOTED", PROMOTED); + map.put("STANDARD", STANDARD); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("HERO", ProminenceEnum.HERO); + map.put("PROMOTED", ProminenceEnum.PROMOTED); + map.put("STANDARD", ProminenceEnum.STANDARD); + return map; + } - public static Optional fromValue(String value) { - for (Prominence o: Prominence.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ProminenceEnum { + + HERO("HERO"), + PROMOTED("PROMOTED"), + STANDARD("STANDARD"),; + + private final String value; + + private ProminenceEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/PropertyType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/PropertyType.java index 3bef58ad..1c8bb975 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/PropertyType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/PropertyType.java @@ -3,44 +3,151 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * PropertyType * *

The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST * is not yet supported. */ -public enum PropertyType { - TEXT("TEXT"), - DATE("DATE"), - INT("INT"), - USERID("USERID"), - PICKLIST("PICKLIST"), - TEXTLIST("TEXTLIST"), - MULTIPICKLIST("MULTIPICKLIST"); +public class PropertyType { + + public static final PropertyType TEXT = new PropertyType("TEXT"); + public static final PropertyType DATE = new PropertyType("DATE"); + public static final PropertyType INT = new PropertyType("INT"); + public static final PropertyType USERID = new PropertyType("USERID"); + public static final PropertyType PICKLIST = new PropertyType("PICKLIST"); + public static final PropertyType TEXTLIST = new PropertyType("TEXTLIST"); + public static final PropertyType MULTIPICKLIST = new PropertyType("MULTIPICKLIST"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - PropertyType(String value) { + private PropertyType(String value) { this.value = value; } - + + /** + * Returns a PropertyType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as PropertyType + */ + @JsonCreator + public static PropertyType of(String value) { + synchronized (PropertyType.class) { + return values.computeIfAbsent(value, v -> new PropertyType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PropertyType other = (PropertyType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "PropertyType [value=" + value + "]"; + } + + // return an array just like an enum + public static PropertyType[] values() { + synchronized (PropertyType.class) { + return values.values().toArray(new PropertyType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("TEXT", TEXT); + map.put("DATE", DATE); + map.put("INT", INT); + map.put("USERID", USERID); + map.put("PICKLIST", PICKLIST); + map.put("TEXTLIST", TEXTLIST); + map.put("MULTIPICKLIST", MULTIPICKLIST); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("TEXT", PropertyTypeEnum.TEXT); + map.put("DATE", PropertyTypeEnum.DATE); + map.put("INT", PropertyTypeEnum.INT); + map.put("USERID", PropertyTypeEnum.USERID); + map.put("PICKLIST", PropertyTypeEnum.PICKLIST); + map.put("TEXTLIST", PropertyTypeEnum.TEXTLIST); + map.put("MULTIPICKLIST", PropertyTypeEnum.MULTIPICKLIST); + return map; + } - public static Optional fromValue(String value) { - for (PropertyType o: PropertyType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum PropertyTypeEnum { + + TEXT("TEXT"), + DATE("DATE"), + INT("INT"), + USERID("USERID"), + PICKLIST("PICKLIST"), + TEXTLIST("TEXTLIST"), + MULTIPICKLIST("MULTIPICKLIST"),; + + private final String value; + + private PropertyTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Provider.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Provider.java index 7a2ea27d..4e3616c6 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Provider.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Provider.java @@ -3,33 +3,125 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum Provider { - ZOOM("ZOOM"), - HANGOUTS("HANGOUTS"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class Provider { + + public static final Provider ZOOM = new Provider("ZOOM"); + public static final Provider HANGOUTS = new Provider("HANGOUTS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Provider(String value) { + private Provider(String value) { this.value = value; } - + + /** + * Returns a Provider with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Provider + */ + @JsonCreator + public static Provider of(String value) { + synchronized (Provider.class) { + return values.computeIfAbsent(value, v -> new Provider(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Provider other = (Provider) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Provider [value=" + value + "]"; + } + + // return an array just like an enum + public static Provider[] values() { + synchronized (Provider.class) { + return values.values().toArray(new Provider[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ZOOM", ZOOM); + map.put("HANGOUTS", HANGOUTS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ZOOM", ProviderEnum.ZOOM); + map.put("HANGOUTS", ProviderEnum.HANGOUTS); + return map; + } - public static Optional fromValue(String value) { - for (Provider o: Provider.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ProviderEnum { + + ZOOM("ZOOM"), + HANGOUTS("HANGOUTS"),; + + private final String value; + + private ProviderEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Relation.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Relation.java index 08d4f97a..997f493f 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Relation.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Relation.java @@ -3,55 +3,186 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * Relation * *

How this document relates to the including entity. */ -public enum Relation { - ATTACHMENT("ATTACHMENT"), - /** - * Canonical documents for the entity, such as overview docs, architecture docs elastic. - */ - CANONICAL("CANONICAL"), - CASE("CASE"), - CONTACT_LOWER("contact"), - CONTACT_UPPER("CONTACT"), - CONVERSATION_MESSAGES("CONVERSATION_MESSAGES"), - EXPERT("EXPERT"), - FROM("FROM"), - HIGHLIGHT("HIGHLIGHT"), - OPPORTUNITY_LOWER("opportunity"), - OPPORTUNITY_UPPER("OPPORTUNITY"), - RECENT("RECENT"), - SOURCE("SOURCE"), - TICKET("TICKET"), - TRANSCRIPT("TRANSCRIPT"), - WITH("WITH"); +public class Relation { + + public static final Relation ATTACHMENT = new Relation("ATTACHMENT"); + public static final Relation CANONICAL = new Relation("CANONICAL"); + public static final Relation CASE = new Relation("CASE"); + public static final Relation CONTACT_LOWER = new Relation("contact"); + public static final Relation CONTACT_UPPER = new Relation("CONTACT"); + public static final Relation CONVERSATION_MESSAGES = new Relation("CONVERSATION_MESSAGES"); + public static final Relation EXPERT = new Relation("EXPERT"); + public static final Relation FROM = new Relation("FROM"); + public static final Relation HIGHLIGHT = new Relation("HIGHLIGHT"); + public static final Relation OPPORTUNITY_LOWER = new Relation("opportunity"); + public static final Relation OPPORTUNITY_UPPER = new Relation("OPPORTUNITY"); + public static final Relation RECENT = new Relation("RECENT"); + public static final Relation SOURCE = new Relation("SOURCE"); + public static final Relation TICKET = new Relation("TICKET"); + public static final Relation TRANSCRIPT = new Relation("TRANSCRIPT"); + public static final Relation WITH = new Relation("WITH"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Relation(String value) { + private Relation(String value) { this.value = value; } - + + /** + * Returns a Relation with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Relation + */ + @JsonCreator + public static Relation of(String value) { + synchronized (Relation.class) { + return values.computeIfAbsent(value, v -> new Relation(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Relation other = (Relation) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Relation [value=" + value + "]"; + } + + // return an array just like an enum + public static Relation[] values() { + synchronized (Relation.class) { + return values.values().toArray(new Relation[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ATTACHMENT", ATTACHMENT); + map.put("CANONICAL", CANONICAL); + map.put("CASE", CASE); + map.put("contact", CONTACT_LOWER); + map.put("CONTACT", CONTACT_UPPER); + map.put("CONVERSATION_MESSAGES", CONVERSATION_MESSAGES); + map.put("EXPERT", EXPERT); + map.put("FROM", FROM); + map.put("HIGHLIGHT", HIGHLIGHT); + map.put("opportunity", OPPORTUNITY_LOWER); + map.put("OPPORTUNITY", OPPORTUNITY_UPPER); + map.put("RECENT", RECENT); + map.put("SOURCE", SOURCE); + map.put("TICKET", TICKET); + map.put("TRANSCRIPT", TRANSCRIPT); + map.put("WITH", WITH); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ATTACHMENT", RelationEnum.ATTACHMENT); + map.put("CANONICAL", RelationEnum.CANONICAL); + map.put("CASE", RelationEnum.CASE); + map.put("contact", RelationEnum.CONTACT_LOWER); + map.put("CONTACT", RelationEnum.CONTACT_UPPER); + map.put("CONVERSATION_MESSAGES", RelationEnum.CONVERSATION_MESSAGES); + map.put("EXPERT", RelationEnum.EXPERT); + map.put("FROM", RelationEnum.FROM); + map.put("HIGHLIGHT", RelationEnum.HIGHLIGHT); + map.put("opportunity", RelationEnum.OPPORTUNITY_LOWER); + map.put("OPPORTUNITY", RelationEnum.OPPORTUNITY_UPPER); + map.put("RECENT", RelationEnum.RECENT); + map.put("SOURCE", RelationEnum.SOURCE); + map.put("TICKET", RelationEnum.TICKET); + map.put("TRANSCRIPT", RelationEnum.TRANSCRIPT); + map.put("WITH", RelationEnum.WITH); + return map; + } - public static Optional fromValue(String value) { - for (Relation o: Relation.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum RelationEnum { + + ATTACHMENT("ATTACHMENT"), + CANONICAL("CANONICAL"), + CASE("CASE"), + CONTACT_LOWER("contact"), + CONTACT_UPPER("CONTACT"), + CONVERSATION_MESSAGES("CONVERSATION_MESSAGES"), + EXPERT("EXPERT"), + FROM("FROM"), + HIGHLIGHT("HIGHLIGHT"), + OPPORTUNITY_LOWER("opportunity"), + OPPORTUNITY_UPPER("OPPORTUNITY"), + RECENT("RECENT"), + SOURCE("SOURCE"), + TICKET("TICKET"), + TRANSCRIPT("TRANSCRIPT"), + WITH("WITH"),; + + private final String value; + + private RelationEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/RelationType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/RelationType.java index 178ca86f..911ff2d4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/RelationType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/RelationType.java @@ -3,51 +3,137 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum RelationType { - /** - * The value is equal to the specified value. - */ - EQUALS("EQUALS"), - /** - * The value is equal to the specified ID. - */ - ID_EQUALS("ID_EQUALS"), - /** - * The value is less than the specified value. - */ - LT("LT"), - /** - * The value is greater than the specified value. - */ - GT("GT"), - /** - * The value is not equal to the specified value. - */ - NOT_EQUALS("NOT_EQUALS"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class RelationType { + + public static final RelationType EQUALS = new RelationType("EQUALS"); + public static final RelationType ID_EQUALS = new RelationType("ID_EQUALS"); + public static final RelationType LT = new RelationType("LT"); + public static final RelationType GT = new RelationType("GT"); + public static final RelationType NOT_EQUALS = new RelationType("NOT_EQUALS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - RelationType(String value) { + private RelationType(String value) { this.value = value; } - + + /** + * Returns a RelationType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as RelationType + */ + @JsonCreator + public static RelationType of(String value) { + synchronized (RelationType.class) { + return values.computeIfAbsent(value, v -> new RelationType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + RelationType other = (RelationType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "RelationType [value=" + value + "]"; + } + + // return an array just like an enum + public static RelationType[] values() { + synchronized (RelationType.class) { + return values.values().toArray(new RelationType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("EQUALS", EQUALS); + map.put("ID_EQUALS", ID_EQUALS); + map.put("LT", LT); + map.put("GT", GT); + map.put("NOT_EQUALS", NOT_EQUALS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("EQUALS", RelationTypeEnum.EQUALS); + map.put("ID_EQUALS", RelationTypeEnum.ID_EQUALS); + map.put("LT", RelationTypeEnum.LT); + map.put("GT", RelationTypeEnum.GT); + map.put("NOT_EQUALS", RelationTypeEnum.NOT_EQUALS); + return map; + } - public static Optional fromValue(String value) { - for (RelationType o: RelationType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum RelationTypeEnum { + + EQUALS("EQUALS"), + ID_EQUALS("ID_EQUALS"), + LT("LT"), + GT("GT"), + NOT_EQUALS("NOT_EQUALS"),; + + private final String value; + + private RelationTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ReportStatusResponseStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ReportStatusResponseStatus.java index 30fa02da..216b506d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ReportStatusResponseStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ReportStatusResponseStatus.java @@ -3,37 +3,141 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum ReportStatusResponseStatus { - PENDING("PENDING"), - SUCCESS("SUCCESS"), - FAILURE("FAILURE"), - CANCELLED("CANCELLED"), - CANCELLING("CANCELLING"), - ACTIVE("ACTIVE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class ReportStatusResponseStatus { + + public static final ReportStatusResponseStatus PENDING = new ReportStatusResponseStatus("PENDING"); + public static final ReportStatusResponseStatus SUCCESS = new ReportStatusResponseStatus("SUCCESS"); + public static final ReportStatusResponseStatus FAILURE = new ReportStatusResponseStatus("FAILURE"); + public static final ReportStatusResponseStatus CANCELLED = new ReportStatusResponseStatus("CANCELLED"); + public static final ReportStatusResponseStatus CANCELLING = new ReportStatusResponseStatus("CANCELLING"); + public static final ReportStatusResponseStatus ACTIVE = new ReportStatusResponseStatus("ACTIVE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ReportStatusResponseStatus(String value) { + private ReportStatusResponseStatus(String value) { this.value = value; } - + + /** + * Returns a ReportStatusResponseStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ReportStatusResponseStatus + */ + @JsonCreator + public static ReportStatusResponseStatus of(String value) { + synchronized (ReportStatusResponseStatus.class) { + return values.computeIfAbsent(value, v -> new ReportStatusResponseStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ReportStatusResponseStatus other = (ReportStatusResponseStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ReportStatusResponseStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static ReportStatusResponseStatus[] values() { + synchronized (ReportStatusResponseStatus.class) { + return values.values().toArray(new ReportStatusResponseStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PENDING", PENDING); + map.put("SUCCESS", SUCCESS); + map.put("FAILURE", FAILURE); + map.put("CANCELLED", CANCELLED); + map.put("CANCELLING", CANCELLING); + map.put("ACTIVE", ACTIVE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PENDING", ReportStatusResponseStatusEnum.PENDING); + map.put("SUCCESS", ReportStatusResponseStatusEnum.SUCCESS); + map.put("FAILURE", ReportStatusResponseStatusEnum.FAILURE); + map.put("CANCELLED", ReportStatusResponseStatusEnum.CANCELLED); + map.put("CANCELLING", ReportStatusResponseStatusEnum.CANCELLING); + map.put("ACTIVE", ReportStatusResponseStatusEnum.ACTIVE); + return map; + } - public static Optional fromValue(String value) { - for (ReportStatusResponseStatus o: ReportStatusResponseStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ReportStatusResponseStatusEnum { + + PENDING("PENDING"), + SUCCESS("SUCCESS"), + FAILURE("FAILURE"), + CANCELLED("CANCELLED"), + CANCELLING("CANCELLING"), + ACTIVE("ACTIVE"),; + + private final String value; + + private ReportStatusResponseStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseHint.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseHint.java index 21893a58..add14a08 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseHint.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseHint.java @@ -3,56 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ResponseHint * *

Hints for the response content. */ -public enum ResponseHint { - /** - * Return result counts for each result set which has non-zero results, even when the request itself is limited to a subset. - */ - ALL_RESULT_COUNTS("ALL_RESULT_COUNTS"), - /** - * Return only facet results. - */ - FACET_RESULTS("FACET_RESULTS"), - /** - * Returns result counts for each result set which has non-zero results, as well as other information about the search such as suggested spelling corrections. - */ - QUERY_METADATA("QUERY_METADATA"), - /** - * Return search result documents. - */ - RESULTS("RESULTS"), - /** - * Return metadata pertaining to spellcheck results. - */ - SPELLCHECK_METADATA("SPELLCHECK_METADATA"); +public class ResponseHint { + + public static final ResponseHint ALL_RESULT_COUNTS = new ResponseHint("ALL_RESULT_COUNTS"); + public static final ResponseHint FACET_RESULTS = new ResponseHint("FACET_RESULTS"); + public static final ResponseHint QUERY_METADATA = new ResponseHint("QUERY_METADATA"); + public static final ResponseHint RESULTS = new ResponseHint("RESULTS"); + public static final ResponseHint SPELLCHECK_METADATA = new ResponseHint("SPELLCHECK_METADATA"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ResponseHint(String value) { + private ResponseHint(String value) { this.value = value; } - + + /** + * Returns a ResponseHint with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ResponseHint + */ + @JsonCreator + public static ResponseHint of(String value) { + synchronized (ResponseHint.class) { + return values.computeIfAbsent(value, v -> new ResponseHint(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ResponseHint other = (ResponseHint) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ResponseHint [value=" + value + "]"; + } + + // return an array just like an enum + public static ResponseHint[] values() { + synchronized (ResponseHint.class) { + return values.values().toArray(new ResponseHint[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ALL_RESULT_COUNTS", ALL_RESULT_COUNTS); + map.put("FACET_RESULTS", FACET_RESULTS); + map.put("QUERY_METADATA", QUERY_METADATA); + map.put("RESULTS", RESULTS); + map.put("SPELLCHECK_METADATA", SPELLCHECK_METADATA); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ALL_RESULT_COUNTS", ResponseHintEnum.ALL_RESULT_COUNTS); + map.put("FACET_RESULTS", ResponseHintEnum.FACET_RESULTS); + map.put("QUERY_METADATA", ResponseHintEnum.QUERY_METADATA); + map.put("RESULTS", ResponseHintEnum.RESULTS); + map.put("SPELLCHECK_METADATA", ResponseHintEnum.SPELLCHECK_METADATA); + return map; + } + - public static Optional fromValue(String value) { - for (ResponseHint o: ResponseHint.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + public enum ResponseHintEnum { + + ALL_RESULT_COUNTS("ALL_RESULT_COUNTS"), + FACET_RESULTS("FACET_RESULTS"), + QUERY_METADATA("QUERY_METADATA"), + RESULTS("RESULTS"), + SPELLCHECK_METADATA("SPELLCHECK_METADATA"),; + + private final String value; + + private ResponseHintEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseStatus.java index 410a6b11..682fb927 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ResponseStatus.java @@ -3,35 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum ResponseStatus { - ACCEPTED("ACCEPTED"), - DECLINED("DECLINED"), - NO_RESPONSE("NO_RESPONSE"), - TENTATIVE("TENTATIVE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class ResponseStatus { + + public static final ResponseStatus ACCEPTED = new ResponseStatus("ACCEPTED"); + public static final ResponseStatus DECLINED = new ResponseStatus("DECLINED"); + public static final ResponseStatus NO_RESPONSE = new ResponseStatus("NO_RESPONSE"); + public static final ResponseStatus TENTATIVE = new ResponseStatus("TENTATIVE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ResponseStatus(String value) { + private ResponseStatus(String value) { this.value = value; } - + + /** + * Returns a ResponseStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ResponseStatus + */ + @JsonCreator + public static ResponseStatus of(String value) { + synchronized (ResponseStatus.class) { + return values.computeIfAbsent(value, v -> new ResponseStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ResponseStatus other = (ResponseStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ResponseStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static ResponseStatus[] values() { + synchronized (ResponseStatus.class) { + return values.values().toArray(new ResponseStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ACCEPTED", ACCEPTED); + map.put("DECLINED", DECLINED); + map.put("NO_RESPONSE", NO_RESPONSE); + map.put("TENTATIVE", TENTATIVE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ACCEPTED", ResponseStatusEnum.ACCEPTED); + map.put("DECLINED", ResponseStatusEnum.DECLINED); + map.put("NO_RESPONSE", ResponseStatusEnum.NO_RESPONSE); + map.put("TENTATIVE", ResponseStatusEnum.TENTATIVE); + return map; + } - public static Optional fromValue(String value) { - for (ResponseStatus o: ResponseStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ResponseStatusEnum { + + ACCEPTED("ACCEPTED"), + DECLINED("DECLINED"), + NO_RESPONSE("NO_RESPONSE"), + TENTATIVE("TENTATIVE"),; + + private final String value; + + private ResponseStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Role.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Role.java index b4b27559..9a82b558 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Role.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Role.java @@ -3,12 +3,22 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.lang.Deprecated; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * Role * @@ -17,29 +27,114 @@ * @deprecated enum: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use permissions instead. */ @Deprecated -public enum Role { - ANSWER_MODERATOR("ANSWER_MODERATOR"), - OWNER("OWNER"), - VIEWER("VIEWER"); +public class Role { + + public static final Role ANSWER_MODERATOR = new Role("ANSWER_MODERATOR"); + public static final Role OWNER = new Role("OWNER"); + public static final Role VIEWER = new Role("VIEWER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Role(String value) { + private Role(String value) { this.value = value; } - + + /** + * Returns a Role with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Role + */ + @JsonCreator + public static Role of(String value) { + synchronized (Role.class) { + return values.computeIfAbsent(value, v -> new Role(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Role other = (Role) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Role [value=" + value + "]"; + } + + // return an array just like an enum + public static Role[] values() { + synchronized (Role.class) { + return values.values().toArray(new Role[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ANSWER_MODERATOR", ANSWER_MODERATOR); + map.put("OWNER", OWNER); + map.put("VIEWER", VIEWER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ANSWER_MODERATOR", RoleEnum.ANSWER_MODERATOR); + map.put("OWNER", RoleEnum.OWNER); + map.put("VIEWER", RoleEnum.VIEWER); + return map; + } - public static Optional fromValue(String value) { - for (Role o: Role.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum RoleEnum { + + ANSWER_MODERATOR("ANSWER_MODERATOR"), + OWNER("OWNER"), + VIEWER("VIEWER"),; + + private final String value; + + private RoleEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/Scope.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/Scope.java index c918116d..48775f3f 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/Scope.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/Scope.java @@ -3,36 +3,137 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum Scope { - APP_CARD("APP_CARD"), - AUTOCOMPLETE_EXACT_MATCH("AUTOCOMPLETE_EXACT_MATCH"), - AUTOCOMPLETE_FUZZY_MATCH("AUTOCOMPLETE_FUZZY_MATCH"), - AUTOCOMPLETE_ZERO_QUERY("AUTOCOMPLETE_ZERO_QUERY"), - NEW_TAB_PAGE("NEW_TAB_PAGE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class Scope { + + public static final Scope APP_CARD = new Scope("APP_CARD"); + public static final Scope AUTOCOMPLETE_EXACT_MATCH = new Scope("AUTOCOMPLETE_EXACT_MATCH"); + public static final Scope AUTOCOMPLETE_FUZZY_MATCH = new Scope("AUTOCOMPLETE_FUZZY_MATCH"); + public static final Scope AUTOCOMPLETE_ZERO_QUERY = new Scope("AUTOCOMPLETE_ZERO_QUERY"); + public static final Scope NEW_TAB_PAGE = new Scope("NEW_TAB_PAGE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - Scope(String value) { + private Scope(String value) { this.value = value; } - + + /** + * Returns a Scope with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as Scope + */ + @JsonCreator + public static Scope of(String value) { + synchronized (Scope.class) { + return values.computeIfAbsent(value, v -> new Scope(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Scope other = (Scope) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "Scope [value=" + value + "]"; + } + + // return an array just like an enum + public static Scope[] values() { + synchronized (Scope.class) { + return values.values().toArray(new Scope[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("APP_CARD", APP_CARD); + map.put("AUTOCOMPLETE_EXACT_MATCH", AUTOCOMPLETE_EXACT_MATCH); + map.put("AUTOCOMPLETE_FUZZY_MATCH", AUTOCOMPLETE_FUZZY_MATCH); + map.put("AUTOCOMPLETE_ZERO_QUERY", AUTOCOMPLETE_ZERO_QUERY); + map.put("NEW_TAB_PAGE", NEW_TAB_PAGE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("APP_CARD", ScopeEnum.APP_CARD); + map.put("AUTOCOMPLETE_EXACT_MATCH", ScopeEnum.AUTOCOMPLETE_EXACT_MATCH); + map.put("AUTOCOMPLETE_FUZZY_MATCH", ScopeEnum.AUTOCOMPLETE_FUZZY_MATCH); + map.put("AUTOCOMPLETE_ZERO_QUERY", ScopeEnum.AUTOCOMPLETE_ZERO_QUERY); + map.put("NEW_TAB_PAGE", ScopeEnum.NEW_TAB_PAGE); + return map; + } - public static Optional fromValue(String value) { - for (Scope o: Scope.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ScopeEnum { + + APP_CARD("APP_CARD"), + AUTOCOMPLETE_EXACT_MATCH("AUTOCOMPLETE_EXACT_MATCH"), + AUTOCOMPLETE_FUZZY_MATCH("AUTOCOMPLETE_FUZZY_MATCH"), + AUTOCOMPLETE_ZERO_QUERY("AUTOCOMPLETE_ZERO_QUERY"), + NEW_TAB_PAGE("NEW_TAB_PAGE"),; + + private final String value; + + private ScopeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ScopeType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ScopeType.java index 30ab7566..d16e3962 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ScopeType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ScopeType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ScopeType * *

Describes the scope for a ReadPermission, WritePermission, or GrantPermission object */ -public enum ScopeType { - GLOBAL("GLOBAL"), - OWN("OWN"); +public class ScopeType { + + public static final ScopeType GLOBAL = new ScopeType("GLOBAL"); + public static final ScopeType OWN = new ScopeType("OWN"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ScopeType(String value) { + private ScopeType(String value) { this.value = value; } - + + /** + * Returns a ScopeType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ScopeType + */ + @JsonCreator + public static ScopeType of(String value) { + synchronized (ScopeType.class) { + return values.computeIfAbsent(value, v -> new ScopeType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ScopeType other = (ScopeType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ScopeType [value=" + value + "]"; + } + + // return an array just like an enum + public static ScopeType[] values() { + synchronized (ScopeType.class) { + return values.values().toArray(new ScopeType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("GLOBAL", GLOBAL); + map.put("OWN", OWN); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("GLOBAL", ScopeTypeEnum.GLOBAL); + map.put("OWN", ScopeTypeEnum.OWN); + return map; + } - public static Optional fromValue(String value) { - for (ScopeType o: ScopeType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ScopeTypeEnum { + + GLOBAL("GLOBAL"), + OWN("OWN"),; + + private final String value; + + private ScopeTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/SearchResultProminenceEnum.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/SearchResultProminenceEnum.java index 64c7fe37..566f94d0 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/SearchResultProminenceEnum.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/SearchResultProminenceEnum.java @@ -3,48 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * SearchResultProminenceEnum * *

The level of visual distinction that should be given to a result. */ -public enum SearchResultProminenceEnum { - /** - * A high-confidence result that should feature prominently on the page. - */ - HERO("HERO"), - /** - * May not be the best result but should be given additional visual distinction. - */ - PROMOTED("PROMOTED"), - /** - * Should not be distinct from any other results. - */ - STANDARD("STANDARD"); +public class SearchResultProminenceEnum { + + public static final SearchResultProminenceEnum HERO = new SearchResultProminenceEnum("HERO"); + public static final SearchResultProminenceEnum PROMOTED = new SearchResultProminenceEnum("PROMOTED"); + public static final SearchResultProminenceEnum STANDARD = new SearchResultProminenceEnum("STANDARD"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - SearchResultProminenceEnum(String value) { + private SearchResultProminenceEnum(String value) { this.value = value; } - + + /** + * Returns a SearchResultProminenceEnum with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as SearchResultProminenceEnum + */ + @JsonCreator + public static SearchResultProminenceEnum of(String value) { + synchronized (SearchResultProminenceEnum.class) { + return values.computeIfAbsent(value, v -> new SearchResultProminenceEnum(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + SearchResultProminenceEnum other = (SearchResultProminenceEnum) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "SearchResultProminenceEnum [value=" + value + "]"; + } + + // return an array just like an enum + public static SearchResultProminenceEnum[] values() { + synchronized (SearchResultProminenceEnum.class) { + return values.values().toArray(new SearchResultProminenceEnum[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("HERO", HERO); + map.put("PROMOTED", PROMOTED); + map.put("STANDARD", STANDARD); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("HERO", SearchResultProminenceEnumEnum.HERO); + map.put("PROMOTED", SearchResultProminenceEnumEnum.PROMOTED); + map.put("STANDARD", SearchResultProminenceEnumEnum.STANDARD); + return map; + } - public static Optional fromValue(String value) { - for (SearchResultProminenceEnum o: SearchResultProminenceEnum.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum SearchResultProminenceEnumEnum { + + HERO("HERO"), + PROMOTED("PROMOTED"), + STANDARD("STANDARD"),; + + private final String value; + + private SearchResultProminenceEnumEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/SectionType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/SectionType.java index c0a4991f..3f5ba656 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/SectionType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/SectionType.java @@ -3,48 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * SectionType * *

Type of the section. This defines how the section should be interpreted and rendered in the digest. */ -public enum SectionType { - /** - * A standard section for channel-based digests (e.g. from Slack, Teams). - */ - CHANNEL("CHANNEL"), - /** - * A dedicated section that surfaces user mentions (actionable, informative, or all). - */ - MENTIONS("MENTIONS"), - /** - * A section driven by a generic topic, not tied to any specific channel or instance. - */ - TOPIC("TOPIC"); +public class SectionType { + + public static final SectionType CHANNEL = new SectionType("CHANNEL"); + public static final SectionType MENTIONS = new SectionType("MENTIONS"); + public static final SectionType TOPIC = new SectionType("TOPIC"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - SectionType(String value) { + private SectionType(String value) { this.value = value; } - + + /** + * Returns a SectionType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as SectionType + */ + @JsonCreator + public static SectionType of(String value) { + synchronized (SectionType.class) { + return values.computeIfAbsent(value, v -> new SectionType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + SectionType other = (SectionType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "SectionType [value=" + value + "]"; + } + + // return an array just like an enum + public static SectionType[] values() { + synchronized (SectionType.class) { + return values.values().toArray(new SectionType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("CHANNEL", CHANNEL); + map.put("MENTIONS", MENTIONS); + map.put("TOPIC", TOPIC); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("CHANNEL", SectionTypeEnum.CHANNEL); + map.put("MENTIONS", SectionTypeEnum.MENTIONS); + map.put("TOPIC", SectionTypeEnum.TOPIC); + return map; + } - public static Optional fromValue(String value) { - for (SectionType o: SectionType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum SectionTypeEnum { + + CHANNEL("CHANNEL"), + MENTIONS("MENTIONS"), + TOPIC("TOPIC"),; + + private final String value; + + private SectionTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/SensitiveInfoTypeLikelihoodThreshold.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/SensitiveInfoTypeLikelihoodThreshold.java index 92eade70..fb4ff15d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/SensitiveInfoTypeLikelihoodThreshold.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/SensitiveInfoTypeLikelihoodThreshold.java @@ -3,43 +3,144 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.lang.Deprecated; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * SensitiveInfoTypeLikelihoodThreshold * * @deprecated enum: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated. */ @Deprecated -public enum SensitiveInfoTypeLikelihoodThreshold { - LIKELY("LIKELY"), - VERY_LIKELY("VERY_LIKELY"), - POSSIBLE("POSSIBLE"), - UNLIKELY("UNLIKELY"), - VERY_UNLIKELY("VERY_UNLIKELY"); +public class SensitiveInfoTypeLikelihoodThreshold { + + public static final SensitiveInfoTypeLikelihoodThreshold LIKELY = new SensitiveInfoTypeLikelihoodThreshold("LIKELY"); + public static final SensitiveInfoTypeLikelihoodThreshold VERY_LIKELY = new SensitiveInfoTypeLikelihoodThreshold("VERY_LIKELY"); + public static final SensitiveInfoTypeLikelihoodThreshold POSSIBLE = new SensitiveInfoTypeLikelihoodThreshold("POSSIBLE"); + public static final SensitiveInfoTypeLikelihoodThreshold UNLIKELY = new SensitiveInfoTypeLikelihoodThreshold("UNLIKELY"); + public static final SensitiveInfoTypeLikelihoodThreshold VERY_UNLIKELY = new SensitiveInfoTypeLikelihoodThreshold("VERY_UNLIKELY"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - SensitiveInfoTypeLikelihoodThreshold(String value) { + private SensitiveInfoTypeLikelihoodThreshold(String value) { this.value = value; } - + + /** + * Returns a SensitiveInfoTypeLikelihoodThreshold with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as SensitiveInfoTypeLikelihoodThreshold + */ + @JsonCreator + public static SensitiveInfoTypeLikelihoodThreshold of(String value) { + synchronized (SensitiveInfoTypeLikelihoodThreshold.class) { + return values.computeIfAbsent(value, v -> new SensitiveInfoTypeLikelihoodThreshold(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + SensitiveInfoTypeLikelihoodThreshold other = (SensitiveInfoTypeLikelihoodThreshold) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "SensitiveInfoTypeLikelihoodThreshold [value=" + value + "]"; + } + + // return an array just like an enum + public static SensitiveInfoTypeLikelihoodThreshold[] values() { + synchronized (SensitiveInfoTypeLikelihoodThreshold.class) { + return values.values().toArray(new SensitiveInfoTypeLikelihoodThreshold[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("LIKELY", LIKELY); + map.put("VERY_LIKELY", VERY_LIKELY); + map.put("POSSIBLE", POSSIBLE); + map.put("UNLIKELY", UNLIKELY); + map.put("VERY_UNLIKELY", VERY_UNLIKELY); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("LIKELY", SensitiveInfoTypeLikelihoodThresholdEnum.LIKELY); + map.put("VERY_LIKELY", SensitiveInfoTypeLikelihoodThresholdEnum.VERY_LIKELY); + map.put("POSSIBLE", SensitiveInfoTypeLikelihoodThresholdEnum.POSSIBLE); + map.put("UNLIKELY", SensitiveInfoTypeLikelihoodThresholdEnum.UNLIKELY); + map.put("VERY_UNLIKELY", SensitiveInfoTypeLikelihoodThresholdEnum.VERY_UNLIKELY); + return map; + } - public static Optional fromValue(String value) { - for (SensitiveInfoTypeLikelihoodThreshold o: SensitiveInfoTypeLikelihoodThreshold.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum SensitiveInfoTypeLikelihoodThresholdEnum { + + LIKELY("LIKELY"), + VERY_LIKELY("VERY_LIKELY"), + POSSIBLE("POSSIBLE"), + UNLIKELY("UNLIKELY"), + VERY_UNLIKELY("VERY_UNLIKELY"),; + + private final String value; + + private SensitiveInfoTypeLikelihoodThresholdEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ShortcutErrorErrorType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ShortcutErrorErrorType.java index 66ed90a1..575e3843 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ShortcutErrorErrorType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ShortcutErrorErrorType.java @@ -3,35 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum ShortcutErrorErrorType { - NO_PERMISSION("NO_PERMISSION"), - INVALID_ID("INVALID_ID"), - EXISTING_SHORTCUT("EXISTING_SHORTCUT"), - INVALID_CHARS("INVALID_CHARS"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class ShortcutErrorErrorType { + + public static final ShortcutErrorErrorType NO_PERMISSION = new ShortcutErrorErrorType("NO_PERMISSION"); + public static final ShortcutErrorErrorType INVALID_ID = new ShortcutErrorErrorType("INVALID_ID"); + public static final ShortcutErrorErrorType EXISTING_SHORTCUT = new ShortcutErrorErrorType("EXISTING_SHORTCUT"); + public static final ShortcutErrorErrorType INVALID_CHARS = new ShortcutErrorErrorType("INVALID_CHARS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ShortcutErrorErrorType(String value) { + private ShortcutErrorErrorType(String value) { this.value = value; } - + + /** + * Returns a ShortcutErrorErrorType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ShortcutErrorErrorType + */ + @JsonCreator + public static ShortcutErrorErrorType of(String value) { + synchronized (ShortcutErrorErrorType.class) { + return values.computeIfAbsent(value, v -> new ShortcutErrorErrorType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ShortcutErrorErrorType other = (ShortcutErrorErrorType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ShortcutErrorErrorType [value=" + value + "]"; + } + + // return an array just like an enum + public static ShortcutErrorErrorType[] values() { + synchronized (ShortcutErrorErrorType.class) { + return values.values().toArray(new ShortcutErrorErrorType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NO_PERMISSION", NO_PERMISSION); + map.put("INVALID_ID", INVALID_ID); + map.put("EXISTING_SHORTCUT", EXISTING_SHORTCUT); + map.put("INVALID_CHARS", INVALID_CHARS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NO_PERMISSION", ShortcutErrorErrorTypeEnum.NO_PERMISSION); + map.put("INVALID_ID", ShortcutErrorErrorTypeEnum.INVALID_ID); + map.put("EXISTING_SHORTCUT", ShortcutErrorErrorTypeEnum.EXISTING_SHORTCUT); + map.put("INVALID_CHARS", ShortcutErrorErrorTypeEnum.INVALID_CHARS); + return map; + } - public static Optional fromValue(String value) { - for (ShortcutErrorErrorType o: ShortcutErrorErrorType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ShortcutErrorErrorTypeEnum { + + NO_PERMISSION("NO_PERMISSION"), + INVALID_ID("INVALID_ID"), + EXISTING_SHORTCUT("EXISTING_SHORTCUT"), + INVALID_CHARS("INVALID_CHARS"),; + + private final String value; + + private ShortcutErrorErrorTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/State.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/State.java index f1ae2d74..45e70c2d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/State.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/State.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * State * *

The verification state for the document. */ -public enum State { - UNVERIFIED("UNVERIFIED"), - VERIFIED("VERIFIED"), - DEPRECATED("DEPRECATED"); +public class State { + + public static final State UNVERIFIED = new State("UNVERIFIED"); + public static final State VERIFIED = new State("VERIFIED"); + public static final State DEPRECATED = new State("DEPRECATED"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - State(String value) { + private State(String value) { this.value = value; } - + + /** + * Returns a State with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as State + */ + @JsonCreator + public static State of(String value) { + synchronized (State.class) { + return values.computeIfAbsent(value, v -> new State(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + State other = (State) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "State [value=" + value + "]"; + } + + // return an array just like an enum + public static State[] values() { + synchronized (State.class) { + return values.values().toArray(new State[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UNVERIFIED", UNVERIFIED); + map.put("VERIFIED", VERIFIED); + map.put("DEPRECATED", DEPRECATED); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UNVERIFIED", StateEnum.UNVERIFIED); + map.put("VERIFIED", StateEnum.VERIFIED); + map.put("DEPRECATED", StateEnum.DEPRECATED); + return map; + } - public static Optional fromValue(String value) { - for (State o: State.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum StateEnum { + + UNVERIFIED("UNVERIFIED"), + VERIFIED("VERIFIED"), + DEPRECATED("DEPRECATED"),; + + private final String value; + + private StateEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java index d5a2bc99..b7fe47ff 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * StructuredResultSource * *

Source context for this result. Possible values depend on the result type. */ -public enum StructuredResultSource { - EXPERT_DETECTION("EXPERT_DETECTION"), - ENTITY_NLQ("ENTITY_NLQ"), - CALENDAR_EVENT("CALENDAR_EVENT"), - AGENT("AGENT"); +public class StructuredResultSource { + + public static final StructuredResultSource EXPERT_DETECTION = new StructuredResultSource("EXPERT_DETECTION"); + public static final StructuredResultSource ENTITY_NLQ = new StructuredResultSource("ENTITY_NLQ"); + public static final StructuredResultSource CALENDAR_EVENT = new StructuredResultSource("CALENDAR_EVENT"); + public static final StructuredResultSource AGENT = new StructuredResultSource("AGENT"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - StructuredResultSource(String value) { + private StructuredResultSource(String value) { this.value = value; } - + + /** + * Returns a StructuredResultSource with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as StructuredResultSource + */ + @JsonCreator + public static StructuredResultSource of(String value) { + synchronized (StructuredResultSource.class) { + return values.computeIfAbsent(value, v -> new StructuredResultSource(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + StructuredResultSource other = (StructuredResultSource) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "StructuredResultSource [value=" + value + "]"; + } + + // return an array just like an enum + public static StructuredResultSource[] values() { + synchronized (StructuredResultSource.class) { + return values.values().toArray(new StructuredResultSource[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("EXPERT_DETECTION", EXPERT_DETECTION); + map.put("ENTITY_NLQ", ENTITY_NLQ); + map.put("CALENDAR_EVENT", CALENDAR_EVENT); + map.put("AGENT", AGENT); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("EXPERT_DETECTION", StructuredResultSourceEnum.EXPERT_DETECTION); + map.put("ENTITY_NLQ", StructuredResultSourceEnum.ENTITY_NLQ); + map.put("CALENDAR_EVENT", StructuredResultSourceEnum.CALENDAR_EVENT); + map.put("AGENT", StructuredResultSourceEnum.AGENT); + return map; + } - public static Optional fromValue(String value) { - for (StructuredResultSource o: StructuredResultSource.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum StructuredResultSourceEnum { + + EXPERT_DETECTION("EXPERT_DETECTION"), + ENTITY_NLQ("ENTITY_NLQ"), + CALENDAR_EVENT("CALENDAR_EVENT"), + AGENT("AGENT"),; + + private final String value; + + private StructuredResultSourceEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/TeamStatus.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/TeamStatus.java index 0f6202ad..370dce5d 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/TeamStatus.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/TeamStatus.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * TeamStatus * *

whether this team is fully processed or there are still unprocessed operations that'll affect it */ -public enum TeamStatus { - PROCESSED("PROCESSED"), - QUEUED_FOR_CREATION("QUEUED_FOR_CREATION"), - QUEUED_FOR_DELETION("QUEUED_FOR_DELETION"); +public class TeamStatus { + + public static final TeamStatus PROCESSED = new TeamStatus("PROCESSED"); + public static final TeamStatus QUEUED_FOR_CREATION = new TeamStatus("QUEUED_FOR_CREATION"); + public static final TeamStatus QUEUED_FOR_DELETION = new TeamStatus("QUEUED_FOR_DELETION"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - TeamStatus(String value) { + private TeamStatus(String value) { this.value = value; } - + + /** + * Returns a TeamStatus with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as TeamStatus + */ + @JsonCreator + public static TeamStatus of(String value) { + synchronized (TeamStatus.class) { + return values.computeIfAbsent(value, v -> new TeamStatus(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + TeamStatus other = (TeamStatus) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "TeamStatus [value=" + value + "]"; + } + + // return an array just like an enum + public static TeamStatus[] values() { + synchronized (TeamStatus.class) { + return values.values().toArray(new TeamStatus[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PROCESSED", PROCESSED); + map.put("QUEUED_FOR_CREATION", QUEUED_FOR_CREATION); + map.put("QUEUED_FOR_DELETION", QUEUED_FOR_DELETION); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PROCESSED", TeamStatusEnum.PROCESSED); + map.put("QUEUED_FOR_CREATION", TeamStatusEnum.QUEUED_FOR_CREATION); + map.put("QUEUED_FOR_DELETION", TeamStatusEnum.QUEUED_FOR_DELETION); + return map; + } - public static Optional fromValue(String value) { - for (TeamStatus o: TeamStatus.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum TeamStatusEnum { + + PROCESSED("PROCESSED"), + QUEUED_FOR_CREATION("QUEUED_FOR_CREATION"), + QUEUED_FOR_DELETION("QUEUED_FOR_DELETION"),; + + private final String value; + + private TeamStatusEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/TextRangeType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/TextRangeType.java index a13b16e3..0131665e 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/TextRangeType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/TextRangeType.java @@ -3,35 +3,133 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum TextRangeType { - BOLD("BOLD"), - CITATION("CITATION"), - HIGHLIGHT("HIGHLIGHT"), - LINK("LINK"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class TextRangeType { + + public static final TextRangeType BOLD = new TextRangeType("BOLD"); + public static final TextRangeType CITATION = new TextRangeType("CITATION"); + public static final TextRangeType HIGHLIGHT = new TextRangeType("HIGHLIGHT"); + public static final TextRangeType LINK = new TextRangeType("LINK"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - TextRangeType(String value) { + private TextRangeType(String value) { this.value = value; } - + + /** + * Returns a TextRangeType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as TextRangeType + */ + @JsonCreator + public static TextRangeType of(String value) { + synchronized (TextRangeType.class) { + return values.computeIfAbsent(value, v -> new TextRangeType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + TextRangeType other = (TextRangeType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "TextRangeType [value=" + value + "]"; + } + + // return an array just like an enum + public static TextRangeType[] values() { + synchronized (TextRangeType.class) { + return values.values().toArray(new TextRangeType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("BOLD", BOLD); + map.put("CITATION", CITATION); + map.put("HIGHLIGHT", HIGHLIGHT); + map.put("LINK", LINK); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("BOLD", TextRangeTypeEnum.BOLD); + map.put("CITATION", TextRangeTypeEnum.CITATION); + map.put("HIGHLIGHT", TextRangeTypeEnum.HIGHLIGHT); + map.put("LINK", TextRangeTypeEnum.LINK); + return map; + } - public static Optional fromValue(String value) { - for (TextRangeType o: TextRangeType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum TextRangeTypeEnum { + + BOLD("BOLD"), + CITATION("CITATION"), + HIGHLIGHT("HIGHLIGHT"), + LINK("LINK"),; + + private final String value; + + private TextRangeTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/TimeRangeFilterTimePeriodType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/TimeRangeFilterTimePeriodType.java index 4cb4767e..6b6e5ecb 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/TimeRangeFilterTimePeriodType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/TimeRangeFilterTimePeriodType.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * TimeRangeFilterTimePeriodType * *

The type of time period for which to filter findings. */ -public enum TimeRangeFilterTimePeriodType { - PAST_DAY("PAST_DAY"), - PAST_WEEK("PAST_WEEK"), - PAST_MONTH("PAST_MONTH"), - PAST_YEAR("PAST_YEAR"), - CUSTOM("CUSTOM"); +public class TimeRangeFilterTimePeriodType { + + public static final TimeRangeFilterTimePeriodType PAST_DAY = new TimeRangeFilterTimePeriodType("PAST_DAY"); + public static final TimeRangeFilterTimePeriodType PAST_WEEK = new TimeRangeFilterTimePeriodType("PAST_WEEK"); + public static final TimeRangeFilterTimePeriodType PAST_MONTH = new TimeRangeFilterTimePeriodType("PAST_MONTH"); + public static final TimeRangeFilterTimePeriodType PAST_YEAR = new TimeRangeFilterTimePeriodType("PAST_YEAR"); + public static final TimeRangeFilterTimePeriodType CUSTOM = new TimeRangeFilterTimePeriodType("CUSTOM"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - TimeRangeFilterTimePeriodType(String value) { + private TimeRangeFilterTimePeriodType(String value) { this.value = value; } - + + /** + * Returns a TimeRangeFilterTimePeriodType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as TimeRangeFilterTimePeriodType + */ + @JsonCreator + public static TimeRangeFilterTimePeriodType of(String value) { + synchronized (TimeRangeFilterTimePeriodType.class) { + return values.computeIfAbsent(value, v -> new TimeRangeFilterTimePeriodType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + TimeRangeFilterTimePeriodType other = (TimeRangeFilterTimePeriodType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "TimeRangeFilterTimePeriodType [value=" + value + "]"; + } + + // return an array just like an enum + public static TimeRangeFilterTimePeriodType[] values() { + synchronized (TimeRangeFilterTimePeriodType.class) { + return values.values().toArray(new TimeRangeFilterTimePeriodType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("PAST_DAY", PAST_DAY); + map.put("PAST_WEEK", PAST_WEEK); + map.put("PAST_MONTH", PAST_MONTH); + map.put("PAST_YEAR", PAST_YEAR); + map.put("CUSTOM", CUSTOM); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("PAST_DAY", TimeRangeFilterTimePeriodTypeEnum.PAST_DAY); + map.put("PAST_WEEK", TimeRangeFilterTimePeriodTypeEnum.PAST_WEEK); + map.put("PAST_MONTH", TimeRangeFilterTimePeriodTypeEnum.PAST_MONTH); + map.put("PAST_YEAR", TimeRangeFilterTimePeriodTypeEnum.PAST_YEAR); + map.put("CUSTOM", TimeRangeFilterTimePeriodTypeEnum.CUSTOM); + return map; + } - public static Optional fromValue(String value) { - for (TimeRangeFilterTimePeriodType o: TimeRangeFilterTimePeriodType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum TimeRangeFilterTimePeriodTypeEnum { + + PAST_DAY("PAST_DAY"), + PAST_WEEK("PAST_WEEK"), + PAST_MONTH("PAST_MONTH"), + PAST_YEAR("PAST_YEAR"), + CUSTOM("CUSTOM"),; + + private final String value; + + private TimeRangeFilterTimePeriodTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolMetadataType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolMetadataType.java index 2f4ad38c..59bc9dba 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolMetadataType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolMetadataType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ToolMetadataType * *

The type of tool. */ -public enum ToolMetadataType { - RETRIEVAL("RETRIEVAL"), - ACTION("ACTION"); +public class ToolMetadataType { + + public static final ToolMetadataType RETRIEVAL = new ToolMetadataType("RETRIEVAL"); + public static final ToolMetadataType ACTION = new ToolMetadataType("ACTION"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ToolMetadataType(String value) { + private ToolMetadataType(String value) { this.value = value; } - + + /** + * Returns a ToolMetadataType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ToolMetadataType + */ + @JsonCreator + public static ToolMetadataType of(String value) { + synchronized (ToolMetadataType.class) { + return values.computeIfAbsent(value, v -> new ToolMetadataType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ToolMetadataType other = (ToolMetadataType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ToolMetadataType [value=" + value + "]"; + } + + // return an array just like an enum + public static ToolMetadataType[] values() { + synchronized (ToolMetadataType.class) { + return values.values().toArray(new ToolMetadataType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("RETRIEVAL", RETRIEVAL); + map.put("ACTION", ACTION); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("RETRIEVAL", ToolMetadataTypeEnum.RETRIEVAL); + map.put("ACTION", ToolMetadataTypeEnum.ACTION); + return map; + } - public static Optional fromValue(String value) { - for (ToolMetadataType o: ToolMetadataType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ToolMetadataTypeEnum { + + RETRIEVAL("RETRIEVAL"), + ACTION("ACTION"),; + + private final String value; + + private ToolMetadataTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolParameterType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolParameterType.java index c5609c45..e9469061 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolParameterType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolParameterType.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ToolParameterType * *

Parameter type (string, number, boolean, object, array) */ -public enum ToolParameterType { - STRING("string"), - NUMBER("number"), - BOOLEAN("boolean"), - OBJECT("object"), - ARRAY("array"); +public class ToolParameterType { + + public static final ToolParameterType STRING = new ToolParameterType("string"); + public static final ToolParameterType NUMBER = new ToolParameterType("number"); + public static final ToolParameterType BOOLEAN = new ToolParameterType("boolean"); + public static final ToolParameterType OBJECT = new ToolParameterType("object"); + public static final ToolParameterType ARRAY = new ToolParameterType("array"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ToolParameterType(String value) { + private ToolParameterType(String value) { this.value = value; } - + + /** + * Returns a ToolParameterType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ToolParameterType + */ + @JsonCreator + public static ToolParameterType of(String value) { + synchronized (ToolParameterType.class) { + return values.computeIfAbsent(value, v -> new ToolParameterType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ToolParameterType other = (ToolParameterType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ToolParameterType [value=" + value + "]"; + } + + // return an array just like an enum + public static ToolParameterType[] values() { + synchronized (ToolParameterType.class) { + return values.values().toArray(new ToolParameterType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("string", STRING); + map.put("number", NUMBER); + map.put("boolean", BOOLEAN); + map.put("object", OBJECT); + map.put("array", ARRAY); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("string", ToolParameterTypeEnum.STRING); + map.put("number", ToolParameterTypeEnum.NUMBER); + map.put("boolean", ToolParameterTypeEnum.BOOLEAN); + map.put("object", ToolParameterTypeEnum.OBJECT); + map.put("array", ToolParameterTypeEnum.ARRAY); + return map; + } - public static Optional fromValue(String value) { - for (ToolParameterType o: ToolParameterType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ToolParameterTypeEnum { + + STRING("string"), + NUMBER("number"), + BOOLEAN("boolean"), + OBJECT("object"), + ARRAY("array"),; + + private final String value; + + private ToolParameterTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolType.java index 958c8644..c19eddf0 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ToolType.java @@ -3,38 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * ToolType * *

Type of tool (READ, WRITE) */ -public enum ToolType { - READ("READ"), - WRITE("WRITE"); +public class ToolType { + + public static final ToolType READ = new ToolType("READ"); + public static final ToolType WRITE = new ToolType("WRITE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ToolType(String value) { + private ToolType(String value) { this.value = value; } - + + /** + * Returns a ToolType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ToolType + */ + @JsonCreator + public static ToolType of(String value) { + synchronized (ToolType.class) { + return values.computeIfAbsent(value, v -> new ToolType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ToolType other = (ToolType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ToolType [value=" + value + "]"; + } + + // return an array just like an enum + public static ToolType[] values() { + synchronized (ToolType.class) { + return values.values().toArray(new ToolType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("READ", READ); + map.put("WRITE", WRITE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("READ", ToolTypeEnum.READ); + map.put("WRITE", ToolTypeEnum.WRITE); + return map; + } - public static Optional fromValue(String value) { - for (ToolType o: ToolType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ToolTypeEnum { + + READ("READ"), + WRITE("WRITE"),; + + private final String value; + + private ToolTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UgcType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UgcType.java index 0857214d..d7311150 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/UgcType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UgcType.java @@ -3,38 +3,145 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum UgcType { - ANNOUNCEMENTS_TYPE("ANNOUNCEMENTS_TYPE"), - ANSWERS_TYPE("ANSWERS_TYPE"), - COLLECTIONS_TYPE("COLLECTIONS_TYPE"), - SHORTCUTS_TYPE("SHORTCUTS_TYPE"), - WORKFLOWS_TYPE("WORKFLOWS_TYPE"), - PROMPT_TEMPLATES_TYPE("PROMPT_TEMPLATES_TYPE"), - PRISM_VIEWS_TYPE("PRISM_VIEWS_TYPE"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class UgcType { + + public static final UgcType ANNOUNCEMENTS_TYPE = new UgcType("ANNOUNCEMENTS_TYPE"); + public static final UgcType ANSWERS_TYPE = new UgcType("ANSWERS_TYPE"); + public static final UgcType COLLECTIONS_TYPE = new UgcType("COLLECTIONS_TYPE"); + public static final UgcType SHORTCUTS_TYPE = new UgcType("SHORTCUTS_TYPE"); + public static final UgcType WORKFLOWS_TYPE = new UgcType("WORKFLOWS_TYPE"); + public static final UgcType PROMPT_TEMPLATES_TYPE = new UgcType("PROMPT_TEMPLATES_TYPE"); + public static final UgcType PRISM_VIEWS_TYPE = new UgcType("PRISM_VIEWS_TYPE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - UgcType(String value) { + private UgcType(String value) { this.value = value; } - + + /** + * Returns a UgcType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as UgcType + */ + @JsonCreator + public static UgcType of(String value) { + synchronized (UgcType.class) { + return values.computeIfAbsent(value, v -> new UgcType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + UgcType other = (UgcType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "UgcType [value=" + value + "]"; + } + + // return an array just like an enum + public static UgcType[] values() { + synchronized (UgcType.class) { + return values.values().toArray(new UgcType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ANNOUNCEMENTS_TYPE", ANNOUNCEMENTS_TYPE); + map.put("ANSWERS_TYPE", ANSWERS_TYPE); + map.put("COLLECTIONS_TYPE", COLLECTIONS_TYPE); + map.put("SHORTCUTS_TYPE", SHORTCUTS_TYPE); + map.put("WORKFLOWS_TYPE", WORKFLOWS_TYPE); + map.put("PROMPT_TEMPLATES_TYPE", PROMPT_TEMPLATES_TYPE); + map.put("PRISM_VIEWS_TYPE", PRISM_VIEWS_TYPE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ANNOUNCEMENTS_TYPE", UgcTypeEnum.ANNOUNCEMENTS_TYPE); + map.put("ANSWERS_TYPE", UgcTypeEnum.ANSWERS_TYPE); + map.put("COLLECTIONS_TYPE", UgcTypeEnum.COLLECTIONS_TYPE); + map.put("SHORTCUTS_TYPE", UgcTypeEnum.SHORTCUTS_TYPE); + map.put("WORKFLOWS_TYPE", UgcTypeEnum.WORKFLOWS_TYPE); + map.put("PROMPT_TEMPLATES_TYPE", UgcTypeEnum.PROMPT_TEMPLATES_TYPE); + map.put("PRISM_VIEWS_TYPE", UgcTypeEnum.PRISM_VIEWS_TYPE); + return map; + } - public static Optional fromValue(String value) { - for (UgcType o: UgcType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum UgcTypeEnum { + + ANNOUNCEMENTS_TYPE("ANNOUNCEMENTS_TYPE"), + ANSWERS_TYPE("ANSWERS_TYPE"), + COLLECTIONS_TYPE("COLLECTIONS_TYPE"), + SHORTCUTS_TYPE("SHORTCUTS_TYPE"), + WORKFLOWS_TYPE("WORKFLOWS_TYPE"), + PROMPT_TEMPLATES_TYPE("PROMPT_TEMPLATES_TYPE"), + PRISM_VIEWS_TYPE("PRISM_VIEWS_TYPE"),; + + private final String value; + + private UgcTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UiOptions.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UiOptions.java index 3b680f97..cb60a038 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/UiOptions.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UiOptions.java @@ -3,34 +3,129 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum UiOptions { - NONE("NONE"), - SEARCH_RESULT("SEARCH_RESULT"), - DOC_HOVERCARD("DOC_HOVERCARD"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class UiOptions { + + public static final UiOptions NONE = new UiOptions("NONE"); + public static final UiOptions SEARCH_RESULT = new UiOptions("SEARCH_RESULT"); + public static final UiOptions DOC_HOVERCARD = new UiOptions("DOC_HOVERCARD"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - UiOptions(String value) { + private UiOptions(String value) { this.value = value; } - + + /** + * Returns a UiOptions with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as UiOptions + */ + @JsonCreator + public static UiOptions of(String value) { + synchronized (UiOptions.class) { + return values.computeIfAbsent(value, v -> new UiOptions(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + UiOptions other = (UiOptions) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "UiOptions [value=" + value + "]"; + } + + // return an array just like an enum + public static UiOptions[] values() { + synchronized (UiOptions.class) { + return values.values().toArray(new UiOptions[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NONE", NONE); + map.put("SEARCH_RESULT", SEARCH_RESULT); + map.put("DOC_HOVERCARD", DOC_HOVERCARD); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NONE", UiOptionsEnum.NONE); + map.put("SEARCH_RESULT", UiOptionsEnum.SEARCH_RESULT); + map.put("DOC_HOVERCARD", UiOptionsEnum.DOC_HOVERCARD); + return map; + } - public static Optional fromValue(String value) { - for (UiOptions o: UiOptions.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum UiOptionsEnum { + + NONE("NONE"), + SEARCH_RESULT("SEARCH_RESULT"), + DOC_HOVERCARD("DOC_HOVERCARD"),; + + private final String value; + + private UiOptionsEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateDatasourceConfigurationRequest.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateDatasourceConfigurationRequest.java new file mode 100644 index 00000000..dc5745b4 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateDatasourceConfigurationRequest.java @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.components; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Override; +import java.lang.String; + +/** + * UpdateDatasourceConfigurationRequest + * + *

Request to update greenlisted configuration values for a datasource instance. Only keys that are + * exposed via the public API greenlist may be set. + */ +public class UpdateDatasourceConfigurationRequest { + /** + * Configuration for a datasource instance + */ + @JsonProperty("configuration") + private DatasourceInstanceConfiguration configuration; + + @JsonCreator + public UpdateDatasourceConfigurationRequest( + @JsonProperty("configuration") DatasourceInstanceConfiguration configuration) { + Utils.checkNotNull(configuration, "configuration"); + this.configuration = configuration; + } + + /** + * Configuration for a datasource instance + */ + @JsonIgnore + public DatasourceInstanceConfiguration configuration() { + return configuration; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * Configuration for a datasource instance + */ + public UpdateDatasourceConfigurationRequest withConfiguration(DatasourceInstanceConfiguration configuration) { + Utils.checkNotNull(configuration, "configuration"); + this.configuration = configuration; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateDatasourceConfigurationRequest other = (UpdateDatasourceConfigurationRequest) o; + return + Utils.enhancedDeepEquals(this.configuration, other.configuration); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + configuration); + } + + @Override + public String toString() { + return Utils.toString(UpdateDatasourceConfigurationRequest.class, + "configuration", configuration); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private DatasourceInstanceConfiguration configuration; + + private Builder() { + // force use of static builder() method + } + + + /** + * Configuration for a datasource instance + */ + public Builder configuration(DatasourceInstanceConfiguration configuration) { + Utils.checkNotNull(configuration, "configuration"); + this.configuration = configuration; + return this; + } + + public UpdateDatasourceConfigurationRequest build() { + + return new UpdateDatasourceConfigurationRequest( + configuration); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateType.java index fdc4ec87..021cee9c 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UpdateType.java @@ -3,44 +3,130 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * UpdateType * *

Optional type classification for the update. */ -public enum UpdateType { - /** - * Updates that require user attention or action - */ - ACTIONABLE("ACTIONABLE"), - /** - * Updates that are purely informational - */ - INFORMATIVE("INFORMATIVE"); +public class UpdateType { + + public static final UpdateType ACTIONABLE = new UpdateType("ACTIONABLE"); + public static final UpdateType INFORMATIVE = new UpdateType("INFORMATIVE"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - UpdateType(String value) { + private UpdateType(String value) { this.value = value; } - + + /** + * Returns a UpdateType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as UpdateType + */ + @JsonCreator + public static UpdateType of(String value) { + synchronized (UpdateType.class) { + return values.computeIfAbsent(value, v -> new UpdateType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + UpdateType other = (UpdateType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "UpdateType [value=" + value + "]"; + } + + // return an array just like an enum + public static UpdateType[] values() { + synchronized (UpdateType.class) { + return values.values().toArray(new UpdateType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ACTIONABLE", ACTIONABLE); + map.put("INFORMATIVE", INFORMATIVE); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ACTIONABLE", UpdateTypeEnum.ACTIONABLE); + map.put("INFORMATIVE", UpdateTypeEnum.INFORMATIVE); + return map; + } - public static Optional fromValue(String value) { - for (UpdateType o: UpdateType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum UpdateTypeEnum { + + ACTIONABLE("ACTIONABLE"), + INFORMATIVE("INFORMATIVE"),; + + private final String value; + + private UpdateTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UploadStatusEnum.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UploadStatusEnum.java index 9fff5b88..7ce1277b 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/UploadStatusEnum.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UploadStatusEnum.java @@ -3,39 +3,134 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * UploadStatusEnum * *

Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN */ -public enum UploadStatusEnum { - UPLOADED("UPLOADED"), - NOT_UPLOADED("NOT_UPLOADED"), - STATUS_UNKNOWN("STATUS_UNKNOWN"); +public class UploadStatusEnum { + + public static final UploadStatusEnum UPLOADED = new UploadStatusEnum("UPLOADED"); + public static final UploadStatusEnum NOT_UPLOADED = new UploadStatusEnum("NOT_UPLOADED"); + public static final UploadStatusEnum STATUS_UNKNOWN = new UploadStatusEnum("STATUS_UNKNOWN"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - UploadStatusEnum(String value) { + private UploadStatusEnum(String value) { this.value = value; } - + + /** + * Returns a UploadStatusEnum with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as UploadStatusEnum + */ + @JsonCreator + public static UploadStatusEnum of(String value) { + synchronized (UploadStatusEnum.class) { + return values.computeIfAbsent(value, v -> new UploadStatusEnum(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + UploadStatusEnum other = (UploadStatusEnum) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "UploadStatusEnum [value=" + value + "]"; + } + + // return an array just like an enum + public static UploadStatusEnum[] values() { + synchronized (UploadStatusEnum.class) { + return values.values().toArray(new UploadStatusEnum[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UPLOADED", UPLOADED); + map.put("NOT_UPLOADED", NOT_UPLOADED); + map.put("STATUS_UNKNOWN", STATUS_UNKNOWN); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UPLOADED", UploadStatusEnumEnum.UPLOADED); + map.put("NOT_UPLOADED", UploadStatusEnumEnum.NOT_UPLOADED); + map.put("STATUS_UNKNOWN", UploadStatusEnumEnum.STATUS_UNKNOWN); + return map; + } - public static Optional fromValue(String value) { - for (UploadStatusEnum o: UploadStatusEnum.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum UploadStatusEnumEnum { + + UPLOADED("UPLOADED"), + NOT_UPLOADED("NOT_UPLOADED"), + STATUS_UNKNOWN("STATUS_UNKNOWN"),; + + private final String value; + + private UploadStatusEnumEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UserActivityAction.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UserActivityAction.java index f0340fd6..0d0bcf7f 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/UserActivityAction.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UserActivityAction.java @@ -3,50 +3,178 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * UserActivityAction * *

The action for the activity */ -public enum UserActivityAction { - ADD("ADD"), - ADD_REMINDER("ADD_REMINDER"), - CLICK("CLICK"), - COMMENT("COMMENT"), - DELETE("DELETE"), - DISMISS("DISMISS"), - EDIT("EDIT"), - MENTION("MENTION"), - MOVE("MOVE"), - OTHER("OTHER"), - RESTORE("RESTORE"), - UNKNOWN("UNKNOWN"), - VERIFY("VERIFY"), - VIEW("VIEW"); +public class UserActivityAction { + + public static final UserActivityAction ADD = new UserActivityAction("ADD"); + public static final UserActivityAction ADD_REMINDER = new UserActivityAction("ADD_REMINDER"); + public static final UserActivityAction CLICK = new UserActivityAction("CLICK"); + public static final UserActivityAction COMMENT = new UserActivityAction("COMMENT"); + public static final UserActivityAction DELETE = new UserActivityAction("DELETE"); + public static final UserActivityAction DISMISS = new UserActivityAction("DISMISS"); + public static final UserActivityAction EDIT = new UserActivityAction("EDIT"); + public static final UserActivityAction MENTION = new UserActivityAction("MENTION"); + public static final UserActivityAction MOVE = new UserActivityAction("MOVE"); + public static final UserActivityAction OTHER = new UserActivityAction("OTHER"); + public static final UserActivityAction RESTORE = new UserActivityAction("RESTORE"); + public static final UserActivityAction UNKNOWN = new UserActivityAction("UNKNOWN"); + public static final UserActivityAction VERIFY = new UserActivityAction("VERIFY"); + public static final UserActivityAction VIEW = new UserActivityAction("VIEW"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - UserActivityAction(String value) { + private UserActivityAction(String value) { this.value = value; } - + + /** + * Returns a UserActivityAction with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as UserActivityAction + */ + @JsonCreator + public static UserActivityAction of(String value) { + synchronized (UserActivityAction.class) { + return values.computeIfAbsent(value, v -> new UserActivityAction(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + UserActivityAction other = (UserActivityAction) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "UserActivityAction [value=" + value + "]"; + } + + // return an array just like an enum + public static UserActivityAction[] values() { + synchronized (UserActivityAction.class) { + return values.values().toArray(new UserActivityAction[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("ADD", ADD); + map.put("ADD_REMINDER", ADD_REMINDER); + map.put("CLICK", CLICK); + map.put("COMMENT", COMMENT); + map.put("DELETE", DELETE); + map.put("DISMISS", DISMISS); + map.put("EDIT", EDIT); + map.put("MENTION", MENTION); + map.put("MOVE", MOVE); + map.put("OTHER", OTHER); + map.put("RESTORE", RESTORE); + map.put("UNKNOWN", UNKNOWN); + map.put("VERIFY", VERIFY); + map.put("VIEW", VIEW); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("ADD", UserActivityActionEnum.ADD); + map.put("ADD_REMINDER", UserActivityActionEnum.ADD_REMINDER); + map.put("CLICK", UserActivityActionEnum.CLICK); + map.put("COMMENT", UserActivityActionEnum.COMMENT); + map.put("DELETE", UserActivityActionEnum.DELETE); + map.put("DISMISS", UserActivityActionEnum.DISMISS); + map.put("EDIT", UserActivityActionEnum.EDIT); + map.put("MENTION", UserActivityActionEnum.MENTION); + map.put("MOVE", UserActivityActionEnum.MOVE); + map.put("OTHER", UserActivityActionEnum.OTHER); + map.put("RESTORE", UserActivityActionEnum.RESTORE); + map.put("UNKNOWN", UserActivityActionEnum.UNKNOWN); + map.put("VERIFY", UserActivityActionEnum.VERIFY); + map.put("VIEW", UserActivityActionEnum.VIEW); + return map; + } - public static Optional fromValue(String value) { - for (UserActivityAction o: UserActivityAction.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum UserActivityActionEnum { + + ADD("ADD"), + ADD_REMINDER("ADD_REMINDER"), + CLICK("CLICK"), + COMMENT("COMMENT"), + DELETE("DELETE"), + DISMISS("DISMISS"), + EDIT("EDIT"), + MENTION("MENTION"), + MOVE("MOVE"), + OTHER("OTHER"), + RESTORE("RESTORE"), + UNKNOWN("UNKNOWN"), + VERIFY("VERIFY"), + VIEW("VIEW"),; + + private final String value; + + private UserActivityActionEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/UserRole.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/UserRole.java index 0f4c5ce3..25396a81 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/UserRole.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/UserRole.java @@ -3,41 +3,142 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * UserRole * *

A user's role with respect to a specific document. */ -public enum UserRole { - OWNER("OWNER"), - VIEWER("VIEWER"), - ANSWER_MODERATOR("ANSWER_MODERATOR"), - EDITOR("EDITOR"), - VERIFIER("VERIFIER"); +public class UserRole { + + public static final UserRole OWNER = new UserRole("OWNER"); + public static final UserRole VIEWER = new UserRole("VIEWER"); + public static final UserRole ANSWER_MODERATOR = new UserRole("ANSWER_MODERATOR"); + public static final UserRole EDITOR = new UserRole("EDITOR"); + public static final UserRole VERIFIER = new UserRole("VERIFIER"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - UserRole(String value) { + private UserRole(String value) { this.value = value; } - + + /** + * Returns a UserRole with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as UserRole + */ + @JsonCreator + public static UserRole of(String value) { + synchronized (UserRole.class) { + return values.computeIfAbsent(value, v -> new UserRole(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + UserRole other = (UserRole) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "UserRole [value=" + value + "]"; + } + + // return an array just like an enum + public static UserRole[] values() { + synchronized (UserRole.class) { + return values.values().toArray(new UserRole[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("OWNER", OWNER); + map.put("VIEWER", VIEWER); + map.put("ANSWER_MODERATOR", ANSWER_MODERATOR); + map.put("EDITOR", EDITOR); + map.put("VERIFIER", VERIFIER); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("OWNER", UserRoleEnum.OWNER); + map.put("VIEWER", UserRoleEnum.VIEWER); + map.put("ANSWER_MODERATOR", UserRoleEnum.ANSWER_MODERATOR); + map.put("EDITOR", UserRoleEnum.EDITOR); + map.put("VERIFIER", UserRoleEnum.VERIFIER); + return map; + } - public static Optional fromValue(String value) { - for (UserRole o: UserRole.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum UserRoleEnum { + + OWNER("OWNER"), + VIEWER("VIEWER"), + ANSWER_MODERATOR("ANSWER_MODERATOR"), + EDITOR("EDITOR"), + VERIFIER("VERIFIER"),; + + private final String value; + + private UserRoleEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/WarningType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/WarningType.java index 80c8970e..32659e01 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/WarningType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/WarningType.java @@ -3,43 +3,150 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * WarningType * *

The type of the warning. */ -public enum WarningType { - LONG_QUERY("LONG_QUERY"), - QUOTED_PUNCTUATION("QUOTED_PUNCTUATION"), - PUNCTUATION_ONLY("PUNCTUATION_ONLY"), - COPYPASTED_QUOTES("COPYPASTED_QUOTES"), - INVALID_OPERATOR("INVALID_OPERATOR"), - MAYBE_INVALID_FACET_QUERY("MAYBE_INVALID_FACET_QUERY"), - TOO_MANY_DATASOURCE_GROUPS("TOO_MANY_DATASOURCE_GROUPS"); +public class WarningType { + + public static final WarningType LONG_QUERY = new WarningType("LONG_QUERY"); + public static final WarningType QUOTED_PUNCTUATION = new WarningType("QUOTED_PUNCTUATION"); + public static final WarningType PUNCTUATION_ONLY = new WarningType("PUNCTUATION_ONLY"); + public static final WarningType COPYPASTED_QUOTES = new WarningType("COPYPASTED_QUOTES"); + public static final WarningType INVALID_OPERATOR = new WarningType("INVALID_OPERATOR"); + public static final WarningType MAYBE_INVALID_FACET_QUERY = new WarningType("MAYBE_INVALID_FACET_QUERY"); + public static final WarningType TOO_MANY_DATASOURCE_GROUPS = new WarningType("TOO_MANY_DATASOURCE_GROUPS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - WarningType(String value) { + private WarningType(String value) { this.value = value; } - + + /** + * Returns a WarningType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as WarningType + */ + @JsonCreator + public static WarningType of(String value) { + synchronized (WarningType.class) { + return values.computeIfAbsent(value, v -> new WarningType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + WarningType other = (WarningType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "WarningType [value=" + value + "]"; + } + + // return an array just like an enum + public static WarningType[] values() { + synchronized (WarningType.class) { + return values.values().toArray(new WarningType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("LONG_QUERY", LONG_QUERY); + map.put("QUOTED_PUNCTUATION", QUOTED_PUNCTUATION); + map.put("PUNCTUATION_ONLY", PUNCTUATION_ONLY); + map.put("COPYPASTED_QUOTES", COPYPASTED_QUOTES); + map.put("INVALID_OPERATOR", INVALID_OPERATOR); + map.put("MAYBE_INVALID_FACET_QUERY", MAYBE_INVALID_FACET_QUERY); + map.put("TOO_MANY_DATASOURCE_GROUPS", TOO_MANY_DATASOURCE_GROUPS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("LONG_QUERY", WarningTypeEnum.LONG_QUERY); + map.put("QUOTED_PUNCTUATION", WarningTypeEnum.QUOTED_PUNCTUATION); + map.put("PUNCTUATION_ONLY", WarningTypeEnum.PUNCTUATION_ONLY); + map.put("COPYPASTED_QUOTES", WarningTypeEnum.COPYPASTED_QUOTES); + map.put("INVALID_OPERATOR", WarningTypeEnum.INVALID_OPERATOR); + map.put("MAYBE_INVALID_FACET_QUERY", WarningTypeEnum.MAYBE_INVALID_FACET_QUERY); + map.put("TOO_MANY_DATASOURCE_GROUPS", WarningTypeEnum.TOO_MANY_DATASOURCE_GROUPS); + return map; + } - public static Optional fromValue(String value) { - for (WarningType o: WarningType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum WarningTypeEnum { + + LONG_QUERY("LONG_QUERY"), + QUOTED_PUNCTUATION("QUOTED_PUNCTUATION"), + PUNCTUATION_ONLY("PUNCTUATION_ONLY"), + COPYPASTED_QUOTES("COPYPASTED_QUOTES"), + INVALID_OPERATOR("INVALID_OPERATOR"), + MAYBE_INVALID_FACET_QUERY("MAYBE_INVALID_FACET_QUERY"), + TOO_MANY_DATASOURCE_GROUPS("TOO_MANY_DATASOURCE_GROUPS"),; + + private final String value; + + private WarningTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionParameterType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionParameterType.java index 3495caf6..b8d5afca 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionParameterType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionParameterType.java @@ -3,40 +3,138 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * WriteActionParameterType * *

The type of the value (e.g., integer, string, boolean, etc.) */ -public enum WriteActionParameterType { - UNKNOWN("UNKNOWN"), - INTEGER("INTEGER"), - STRING("STRING"), - BOOLEAN("BOOLEAN"); +public class WriteActionParameterType { + + public static final WriteActionParameterType UNKNOWN = new WriteActionParameterType("UNKNOWN"); + public static final WriteActionParameterType INTEGER = new WriteActionParameterType("INTEGER"); + public static final WriteActionParameterType STRING = new WriteActionParameterType("STRING"); + public static final WriteActionParameterType BOOLEAN = new WriteActionParameterType("BOOLEAN"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - WriteActionParameterType(String value) { + private WriteActionParameterType(String value) { this.value = value; } - + + /** + * Returns a WriteActionParameterType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as WriteActionParameterType + */ + @JsonCreator + public static WriteActionParameterType of(String value) { + synchronized (WriteActionParameterType.class) { + return values.computeIfAbsent(value, v -> new WriteActionParameterType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + WriteActionParameterType other = (WriteActionParameterType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "WriteActionParameterType [value=" + value + "]"; + } + + // return an array just like an enum + public static WriteActionParameterType[] values() { + synchronized (WriteActionParameterType.class) { + return values.values().toArray(new WriteActionParameterType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("UNKNOWN", UNKNOWN); + map.put("INTEGER", INTEGER); + map.put("STRING", STRING); + map.put("BOOLEAN", BOOLEAN); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("UNKNOWN", WriteActionParameterTypeEnum.UNKNOWN); + map.put("INTEGER", WriteActionParameterTypeEnum.INTEGER); + map.put("STRING", WriteActionParameterTypeEnum.STRING); + map.put("BOOLEAN", WriteActionParameterTypeEnum.BOOLEAN); + return map; + } - public static Optional fromValue(String value) { - for (WriteActionParameterType o: WriteActionParameterType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum WriteActionParameterTypeEnum { + + UNKNOWN("UNKNOWN"), + INTEGER("INTEGER"), + STRING("STRING"), + BOOLEAN("BOOLEAN"),; + + private final String value; + + private WriteActionParameterTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java index c7fd1a4f..13f14c27 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java @@ -3,11 +3,21 @@ */ package com.glean.api_client.glean_api_client.models.components; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ /** * WriteActionType * @@ -17,29 +27,114 @@ *

EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call * request to an MCP server to execute the action. */ -public enum WriteActionType { - REDIRECT("REDIRECT"), - EXECUTION("EXECUTION"), - MCP("MCP"); +public class WriteActionType { + + public static final WriteActionType REDIRECT = new WriteActionType("REDIRECT"); + public static final WriteActionType EXECUTION = new WriteActionType("EXECUTION"); + public static final WriteActionType MCP = new WriteActionType("MCP"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - WriteActionType(String value) { + private WriteActionType(String value) { this.value = value; } - + + /** + * Returns a WriteActionType with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as WriteActionType + */ + @JsonCreator + public static WriteActionType of(String value) { + synchronized (WriteActionType.class) { + return values.computeIfAbsent(value, v -> new WriteActionType(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + WriteActionType other = (WriteActionType) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "WriteActionType [value=" + value + "]"; + } + + // return an array just like an enum + public static WriteActionType[] values() { + synchronized (WriteActionType.class) { + return values.values().toArray(new WriteActionType[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("REDIRECT", REDIRECT); + map.put("EXECUTION", EXECUTION); + map.put("MCP", MCP); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("REDIRECT", WriteActionTypeEnum.REDIRECT); + map.put("EXECUTION", WriteActionTypeEnum.EXECUTION); + map.put("MCP", WriteActionTypeEnum.MCP); + return map; + } - public static Optional fromValue(String value) { - for (WriteActionType o: WriteActionType.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum WriteActionTypeEnum { + + REDIRECT("REDIRECT"), + EXECUTION("EXECUTION"), + MCP("MCP"),; + + private final String value; + + private WriteActionTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java b/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java index aa3d4a58..3a1f189c 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java @@ -3,38 +3,145 @@ */ package com.glean.api_client.glean_api_client.models.errors; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.Override; import java.lang.String; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; import java.util.Objects; import java.util.Optional; -public enum ErrorCode { - NAME_EXISTS("NAME_EXISTS"), - NOT_FOUND("NOT_FOUND"), - COLLECTION_PINNED("COLLECTION_PINNED"), - CONCURRENT_HIERARCHY_EDIT("CONCURRENT_HIERARCHY_EDIT"), - HEIGHT_VIOLATION("HEIGHT_VIOLATION"), - WIDTH_VIOLATION("WIDTH_VIOLATION"), - NO_PERMISSIONS("NO_PERMISSIONS"); +/** + * Wrapper for an "open" enum that can handle unknown values from API responses + * without runtime errors. Instances are immutable singletons with reference equality. + * Use {@code asEnum()} for switch expressions. + */ +public class ErrorCode { + + public static final ErrorCode NAME_EXISTS = new ErrorCode("NAME_EXISTS"); + public static final ErrorCode NOT_FOUND = new ErrorCode("NOT_FOUND"); + public static final ErrorCode COLLECTION_PINNED = new ErrorCode("COLLECTION_PINNED"); + public static final ErrorCode CONCURRENT_HIERARCHY_EDIT = new ErrorCode("CONCURRENT_HIERARCHY_EDIT"); + public static final ErrorCode HEIGHT_VIOLATION = new ErrorCode("HEIGHT_VIOLATION"); + public static final ErrorCode WIDTH_VIOLATION = new ErrorCode("WIDTH_VIOLATION"); + public static final ErrorCode NO_PERMISSIONS = new ErrorCode("NO_PERMISSIONS"); + + // This map will grow whenever a Color gets created with a new + // unrecognized value (a potential memory leak if the user is not + // careful). Keep this field lower case to avoid clashing with + // generated member names which will always be upper cased (Java + // convention) + private static final Map values = createValuesMap(); + private static final Map enums = createEnumsMap(); - @JsonValue private final String value; - ErrorCode(String value) { + private ErrorCode(String value) { this.value = value; } - + + /** + * Returns a ErrorCode with the given value. For a specific value the + * returned object will always be a singleton so reference equality + * is satisfied when the values are the same. + * + * @param value value to be wrapped as ErrorCode + */ + @JsonCreator + public static ErrorCode of(String value) { + synchronized (ErrorCode.class) { + return values.computeIfAbsent(value, v -> new ErrorCode(v)); + } + } + + @JsonValue public String value() { return value; } + + public Optional asEnum() { + return Optional.ofNullable(enums.getOrDefault(value, null)); + } + + public boolean isKnown() { + return asEnum().isPresent(); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public boolean equals(java.lang.Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ErrorCode other = (ErrorCode) obj; + return Objects.equals(value, other.value); + } + + @Override + public String toString() { + return "ErrorCode [value=" + value + "]"; + } + + // return an array just like an enum + public static ErrorCode[] values() { + synchronized (ErrorCode.class) { + return values.values().toArray(new ErrorCode[] {}); + } + } + + private static final Map createValuesMap() { + Map map = new LinkedHashMap<>(); + map.put("NAME_EXISTS", NAME_EXISTS); + map.put("NOT_FOUND", NOT_FOUND); + map.put("COLLECTION_PINNED", COLLECTION_PINNED); + map.put("CONCURRENT_HIERARCHY_EDIT", CONCURRENT_HIERARCHY_EDIT); + map.put("HEIGHT_VIOLATION", HEIGHT_VIOLATION); + map.put("WIDTH_VIOLATION", WIDTH_VIOLATION); + map.put("NO_PERMISSIONS", NO_PERMISSIONS); + return map; + } + + private static final Map createEnumsMap() { + Map map = new HashMap<>(); + map.put("NAME_EXISTS", ErrorCodeEnum.NAME_EXISTS); + map.put("NOT_FOUND", ErrorCodeEnum.NOT_FOUND); + map.put("COLLECTION_PINNED", ErrorCodeEnum.COLLECTION_PINNED); + map.put("CONCURRENT_HIERARCHY_EDIT", ErrorCodeEnum.CONCURRENT_HIERARCHY_EDIT); + map.put("HEIGHT_VIOLATION", ErrorCodeEnum.HEIGHT_VIOLATION); + map.put("WIDTH_VIOLATION", ErrorCodeEnum.WIDTH_VIOLATION); + map.put("NO_PERMISSIONS", ErrorCodeEnum.NO_PERMISSIONS); + return map; + } - public static Optional fromValue(String value) { - for (ErrorCode o: ErrorCode.values()) { - if (Objects.deepEquals(o.value, value)) { - return Optional.of(o); - } + + public enum ErrorCodeEnum { + + NAME_EXISTS("NAME_EXISTS"), + NOT_FOUND("NOT_FOUND"), + COLLECTION_PINNED("COLLECTION_PINNED"), + CONCURRENT_HIERARCHY_EDIT("CONCURRENT_HIERARCHY_EDIT"), + HEIGHT_VIOLATION("HEIGHT_VIOLATION"), + WIDTH_VIOLATION("WIDTH_VIOLATION"), + NO_PERMISSIONS("NO_PERMISSIONS"),; + + private final String value; + + private ErrorCodeEnum(String value) { + this.value = value; + } + + public String value() { + return value; } - return Optional.empty(); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorResponse.java new file mode 100644 index 00000000..7d122324 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorResponse.java @@ -0,0 +1,227 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.errors; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import com.glean.api_client.glean_api_client.utils.Blob; +import com.glean.api_client.glean_api_client.utils.Utils; +import jakarta.annotation.Nullable; +import java.io.InputStream; +import java.lang.Exception; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.lang.Throwable; +import java.net.http.HttpResponse; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; + +@SuppressWarnings("serial") +public class ErrorResponse extends GleanError { + + @Nullable + private final Data data; + + @Nullable + private final Throwable deserializationException; + + public ErrorResponse( + int code, + byte[] body, + HttpResponse rawResponse, + @Nullable Data data, + @Nullable Throwable deserializationException) { + super("API error occurred", code, body, rawResponse, null); + this.data = data; + this.deserializationException = deserializationException; + } + + /** + * Parse a response into an instance of ErrorResponse. If deserialization of the response body fails, + * the resulting ErrorResponse instance will have a null data() value and a non-null deserializationException(). + */ + public static ErrorResponse from(HttpResponse response) { + try { + byte[] bytes = Utils.extractByteArrayFromBody(response); + Data data = Utils.mapper().readValue(bytes, Data.class); + return new ErrorResponse(response.statusCode(), bytes, response, data, null); + } catch (Exception e) { + return new ErrorResponse(response.statusCode(), null, response, null, e); + } + } + + /** + * Parse a response into an instance of ErrorResponse asynchronously. If deserialization of the response body fails, + * the resulting ErrorResponse instance will have a null data() value and a non-null deserializationException(). + */ + public static CompletableFuture fromAsync(HttpResponse response) { + return response.body() + .toByteArray() + .handle((bytes, err) -> { + // if a body read error occurs, we want to transform the exception + if (err != null) { + throw new AsyncAPIException( + "Error reading response body: " + err.getMessage(), + response.statusCode(), + null, + response, + err); + } + + try { + return new ErrorResponse( + response.statusCode(), + bytes, + response, + Utils.mapper().readValue( + bytes, + new TypeReference() { + }), + null); + } catch (Exception e) { + return new ErrorResponse( + response.statusCode(), + bytes, + response, + null, + e); + } + }); + } + + public Optional data() { + return Optional.ofNullable(data); + } + + /** + * Returns the exception if an error occurs while deserializing the response body. + */ + public Optional deserializationException() { + return Optional.ofNullable(deserializationException); + } + /** + * Data + * + *

Error response returned for failed requests + */ + public static class Data { + /** + * Client-facing error message describing what went wrong + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("message") + private Optional message; + + @JsonCreator + public Data( + @JsonProperty("message") Optional message) { + Utils.checkNotNull(message, "message"); + this.message = message; + } + + public Data() { + this(Optional.empty()); + } + + /** + * Client-facing error message describing what went wrong + */ + @JsonIgnore + public Optional message() { + return message; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * Client-facing error message describing what went wrong + */ + public Data withMessage(String message) { + Utils.checkNotNull(message, "message"); + this.message = Optional.ofNullable(message); + return this; + } + + + /** + * Client-facing error message describing what went wrong + */ + public Data withMessage(Optional message) { + Utils.checkNotNull(message, "message"); + this.message = message; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Data other = (Data) o; + return + Utils.enhancedDeepEquals(this.message, other.message); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + message); + } + + @Override + public String toString() { + return Utils.toString(Data.class, + "message", message); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private Optional message = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + + /** + * Client-facing error message describing what went wrong + */ + public Builder message(String message) { + Utils.checkNotNull(message, "message"); + this.message = Optional.ofNullable(message); + return this; + } + + /** + * Client-facing error message describing what went wrong + */ + public Builder message(Optional message) { + Utils.checkNotNull(message, "message"); + this.message = message; + return this; + } + + public Data build() { + + return new Data( + message); + } + + } + } + +} + diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java b/src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java index d8540392..c60e3cc4 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java @@ -11,7 +11,6 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.glean.api_client.glean_api_client.models.components.ErrorMessage; import com.glean.api_client.glean_api_client.models.components.InvalidOperatorValueError; -import com.glean.api_client.glean_api_client.models.components.UnauthorizedDatasourceInstance; import com.glean.api_client.glean_api_client.utils.Blob; import com.glean.api_client.glean_api_client.utils.Utils; import jakarta.annotation.Nullable; @@ -138,15 +137,6 @@ public Optional federatedSearchRateLimitError() { return data().flatMap(Data::federatedSearchRateLimitError); } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - @Deprecated - public Optional> unauthorizedDatasourceInstances() { - return data().flatMap(Data::unauthorizedDatasourceInstances); - } - public Optional data() { return Optional.ofNullable(data); } @@ -192,39 +182,28 @@ public static class Data { @JsonProperty("federatedSearchRateLimitError") private Optional federatedSearchRateLimitError; - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unauthorizedDatasourceInstances") - private Optional> unauthorizedDatasourceInstances; - @JsonCreator public Data( @JsonProperty("badGmailToken") Optional badGmailToken, @JsonProperty("badOutlookToken") Optional badOutlookToken, @JsonProperty("invalidOperators") Optional> invalidOperators, @JsonProperty("errorMessages") Optional> errorMessages, - @JsonProperty("federatedSearchRateLimitError") Optional federatedSearchRateLimitError, - @JsonProperty("unauthorizedDatasourceInstances") Optional> unauthorizedDatasourceInstances) { + @JsonProperty("federatedSearchRateLimitError") Optional federatedSearchRateLimitError) { Utils.checkNotNull(badGmailToken, "badGmailToken"); Utils.checkNotNull(badOutlookToken, "badOutlookToken"); Utils.checkNotNull(invalidOperators, "invalidOperators"); Utils.checkNotNull(errorMessages, "errorMessages"); Utils.checkNotNull(federatedSearchRateLimitError, "federatedSearchRateLimitError"); - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); this.badGmailToken = badGmailToken; this.badOutlookToken = badOutlookToken; this.invalidOperators = invalidOperators; this.errorMessages = errorMessages; this.federatedSearchRateLimitError = federatedSearchRateLimitError; - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; } public Data() { this(Optional.empty(), Optional.empty(), Optional.empty(), - Optional.empty(), Optional.empty(), Optional.empty()); + Optional.empty(), Optional.empty()); } /** @@ -266,16 +245,6 @@ public Optional federatedSearchRateLimitError() { return federatedSearchRateLimitError; } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - @SuppressWarnings("unchecked") - @JsonIgnore - public Optional> unauthorizedDatasourceInstances() { - return (Optional>) unauthorizedDatasourceInstances; - } - public static Builder builder() { return new Builder(); } @@ -370,27 +339,6 @@ public Data withFederatedSearchRateLimitError(Optional federatedSearchR return this; } - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public Data withUnauthorizedDatasourceInstances(List unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = Optional.ofNullable(unauthorizedDatasourceInstances); - return this; - } - - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public Data withUnauthorizedDatasourceInstances(Optional> unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; - return this; - } - @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -405,15 +353,14 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.badOutlookToken, other.badOutlookToken) && Utils.enhancedDeepEquals(this.invalidOperators, other.invalidOperators) && Utils.enhancedDeepEquals(this.errorMessages, other.errorMessages) && - Utils.enhancedDeepEquals(this.federatedSearchRateLimitError, other.federatedSearchRateLimitError) && - Utils.enhancedDeepEquals(this.unauthorizedDatasourceInstances, other.unauthorizedDatasourceInstances); + Utils.enhancedDeepEquals(this.federatedSearchRateLimitError, other.federatedSearchRateLimitError); } @Override public int hashCode() { return Utils.enhancedHash( badGmailToken, badOutlookToken, invalidOperators, - errorMessages, federatedSearchRateLimitError, unauthorizedDatasourceInstances); + errorMessages, federatedSearchRateLimitError); } @Override @@ -423,8 +370,7 @@ public String toString() { "badOutlookToken", badOutlookToken, "invalidOperators", invalidOperators, "errorMessages", errorMessages, - "federatedSearchRateLimitError", federatedSearchRateLimitError, - "unauthorizedDatasourceInstances", unauthorizedDatasourceInstances); + "federatedSearchRateLimitError", federatedSearchRateLimitError); } @SuppressWarnings("UnusedReturnValue") @@ -440,8 +386,6 @@ public final static class Builder { private Optional federatedSearchRateLimitError = Optional.empty(); - private Optional> unauthorizedDatasourceInstances = Optional.empty(); - private Builder() { // force use of static builder() method } @@ -535,32 +479,11 @@ public Builder federatedSearchRateLimitError(Optional federatedSearchRa return this; } - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public Builder unauthorizedDatasourceInstances(List unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = Optional.ofNullable(unauthorizedDatasourceInstances); - return this; - } - - /** - * Datasource instances that could not be queried because the user has not completed or has expired - * per-user OAuth. - */ - public Builder unauthorizedDatasourceInstances(Optional> unauthorizedDatasourceInstances) { - Utils.checkNotNull(unauthorizedDatasourceInstances, "unauthorizedDatasourceInstances"); - this.unauthorizedDatasourceInstances = unauthorizedDatasourceInstances; - return this; - } - public Data build() { return new Data( badGmailToken, badOutlookToken, invalidOperators, - errorMessages, federatedSearchRateLimitError, unauthorizedDatasourceInstances); + errorMessages, federatedSearchRateLimitError); } } diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequest.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequest.java new file mode 100644 index 00000000..57b0c54f --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequest.java @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.glean.api_client.glean_api_client.utils.SpeakeasyMetadata; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Override; +import java.lang.String; + + +public class GetDatasourceInstanceConfigurationRequest { + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=datasourceId") + private String datasourceId; + + /** + * The datasource instance identifier + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=instanceId") + private String instanceId; + + @JsonCreator + public GetDatasourceInstanceConfigurationRequest( + String datasourceId, + String instanceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + Utils.checkNotNull(instanceId, "instanceId"); + this.datasourceId = datasourceId; + this.instanceId = instanceId; + } + + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + @JsonIgnore + public String datasourceId() { + return datasourceId; + } + + /** + * The datasource instance identifier + */ + @JsonIgnore + public String instanceId() { + return instanceId; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + public GetDatasourceInstanceConfigurationRequest withDatasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + /** + * The datasource instance identifier + */ + public GetDatasourceInstanceConfigurationRequest withInstanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetDatasourceInstanceConfigurationRequest other = (GetDatasourceInstanceConfigurationRequest) o; + return + Utils.enhancedDeepEquals(this.datasourceId, other.datasourceId) && + Utils.enhancedDeepEquals(this.instanceId, other.instanceId); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + datasourceId, instanceId); + } + + @Override + public String toString() { + return Utils.toString(GetDatasourceInstanceConfigurationRequest.class, + "datasourceId", datasourceId, + "instanceId", instanceId); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private String datasourceId; + + private String instanceId; + + private Builder() { + // force use of static builder() method + } + + + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + public Builder datasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + + /** + * The datasource instance identifier + */ + public Builder instanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + public GetDatasourceInstanceConfigurationRequest build() { + + return new GetDatasourceInstanceConfigurationRequest( + datasourceId, instanceId); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequestBuilder.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequestBuilder.java new file mode 100644 index 00000000..c7fa105e --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationRequestBuilder.java @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations; + +import static com.glean.api_client.glean_api_client.operations.Operations.RequestOperation; + +import com.glean.api_client.glean_api_client.SDKConfiguration; +import com.glean.api_client.glean_api_client.operations.GetDatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.utils.Headers; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.String; + +public class GetDatasourceInstanceConfigurationRequestBuilder { + + private String datasourceId; + private String instanceId; + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + + public GetDatasourceInstanceConfigurationRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + } + + public GetDatasourceInstanceConfigurationRequestBuilder datasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + public GetDatasourceInstanceConfigurationRequestBuilder instanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + + private GetDatasourceInstanceConfigurationRequest buildRequest() { + + GetDatasourceInstanceConfigurationRequest request = new GetDatasourceInstanceConfigurationRequest(datasourceId, + instanceId); + + return request; + } + + public GetDatasourceInstanceConfigurationResponse call() { + + RequestOperation operation + = new GetDatasourceInstanceConfiguration.Sync(sdkConfiguration, _headers); + GetDatasourceInstanceConfigurationRequest request = buildRequest(); + + return operation.handleResponse(operation.doRequest(request)); + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationResponse.java new file mode 100644 index 00000000..5cce12f6 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/GetDatasourceInstanceConfigurationResponse.java @@ -0,0 +1,253 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.glean.api_client.glean_api_client.models.components.DatasourceConfigurationResponse; +import com.glean.api_client.glean_api_client.utils.Response; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.io.InputStream; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.net.http.HttpResponse; +import java.util.Optional; + + +public class GetDatasourceInstanceConfigurationResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * OK + */ + private Optional datasourceConfigurationResponse; + + @JsonCreator + public GetDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse, + Optional datasourceConfigurationResponse) { + Utils.checkNotNull(contentType, "contentType"); + Utils.checkNotNull(statusCode, "statusCode"); + Utils.checkNotNull(rawResponse, "rawResponse"); + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.contentType = contentType; + this.statusCode = statusCode; + this.rawResponse = rawResponse; + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + } + + public GetDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, + Optional.empty()); + } + + /** + * HTTP response content type for this operation + */ + @JsonIgnore + public String contentType() { + return contentType; + } + + /** + * HTTP response status code for this operation + */ + @JsonIgnore + public int statusCode() { + return statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + @JsonIgnore + public HttpResponse rawResponse() { + return rawResponse; + } + + /** + * OK + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional datasourceConfigurationResponse() { + return (Optional) datasourceConfigurationResponse; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * HTTP response content type for this operation + */ + public GetDatasourceInstanceConfigurationResponse withContentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetDatasourceInstanceConfigurationResponse withStatusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetDatasourceInstanceConfigurationResponse withRawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + /** + * OK + */ + public GetDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + + /** + * OK + */ + public GetDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetDatasourceInstanceConfigurationResponse other = (GetDatasourceInstanceConfigurationResponse) o; + return + Utils.enhancedDeepEquals(this.contentType, other.contentType) && + Utils.enhancedDeepEquals(this.statusCode, other.statusCode) && + Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) && + Utils.enhancedDeepEquals(this.datasourceConfigurationResponse, other.datasourceConfigurationResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + @Override + public String toString() { + return Utils.toString(GetDatasourceInstanceConfigurationResponse.class, + "contentType", contentType, + "statusCode", statusCode, + "rawResponse", rawResponse, + "datasourceConfigurationResponse", datasourceConfigurationResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private String contentType; + + private Integer statusCode; + + private HttpResponse rawResponse; + + private Optional datasourceConfigurationResponse = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + + /** + * HTTP response content type for this operation + */ + public Builder contentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + + /** + * OK + */ + public Builder datasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + /** + * OK + */ + public Builder datasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + public GetDatasourceInstanceConfigurationResponse build() { + + return new GetDatasourceInstanceConfigurationResponse( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequest.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequest.java new file mode 100644 index 00000000..345d1772 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequest.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.glean.api_client.glean_api_client.models.components.UpdateDatasourceConfigurationRequest; +import com.glean.api_client.glean_api_client.utils.SpeakeasyMetadata; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Override; +import java.lang.String; + + +public class UpdateDatasourceInstanceConfigurationRequest { + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=datasourceId") + private String datasourceId; + + /** + * The datasource instance identifier + */ + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=instanceId") + private String instanceId; + + + @SpeakeasyMetadata("request:mediaType=application/json") + private UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest; + + @JsonCreator + public UpdateDatasourceInstanceConfigurationRequest( + String datasourceId, + String instanceId, + UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + Utils.checkNotNull(datasourceId, "datasourceId"); + Utils.checkNotNull(instanceId, "instanceId"); + Utils.checkNotNull(updateDatasourceConfigurationRequest, "updateDatasourceConfigurationRequest"); + this.datasourceId = datasourceId; + this.instanceId = instanceId; + this.updateDatasourceConfigurationRequest = updateDatasourceConfigurationRequest; + } + + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + @JsonIgnore + public String datasourceId() { + return datasourceId; + } + + /** + * The datasource instance identifier + */ + @JsonIgnore + public String instanceId() { + return instanceId; + } + + @JsonIgnore + public UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest() { + return updateDatasourceConfigurationRequest; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + public UpdateDatasourceInstanceConfigurationRequest withDatasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + /** + * The datasource instance identifier + */ + public UpdateDatasourceInstanceConfigurationRequest withInstanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + public UpdateDatasourceInstanceConfigurationRequest withUpdateDatasourceConfigurationRequest(UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + Utils.checkNotNull(updateDatasourceConfigurationRequest, "updateDatasourceConfigurationRequest"); + this.updateDatasourceConfigurationRequest = updateDatasourceConfigurationRequest; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateDatasourceInstanceConfigurationRequest other = (UpdateDatasourceInstanceConfigurationRequest) o; + return + Utils.enhancedDeepEquals(this.datasourceId, other.datasourceId) && + Utils.enhancedDeepEquals(this.instanceId, other.instanceId) && + Utils.enhancedDeepEquals(this.updateDatasourceConfigurationRequest, other.updateDatasourceConfigurationRequest); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + datasourceId, instanceId, updateDatasourceConfigurationRequest); + } + + @Override + public String toString() { + return Utils.toString(UpdateDatasourceInstanceConfigurationRequest.class, + "datasourceId", datasourceId, + "instanceId", instanceId, + "updateDatasourceConfigurationRequest", updateDatasourceConfigurationRequest); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private String datasourceId; + + private String instanceId; + + private UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest; + + private Builder() { + // force use of static builder() method + } + + + /** + * The datasource type identifier (e.g. o365sharepoint) + */ + public Builder datasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + + /** + * The datasource instance identifier + */ + public Builder instanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + + public Builder updateDatasourceConfigurationRequest(UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + Utils.checkNotNull(updateDatasourceConfigurationRequest, "updateDatasourceConfigurationRequest"); + this.updateDatasourceConfigurationRequest = updateDatasourceConfigurationRequest; + return this; + } + + public UpdateDatasourceInstanceConfigurationRequest build() { + + return new UpdateDatasourceInstanceConfigurationRequest( + datasourceId, instanceId, updateDatasourceConfigurationRequest); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequestBuilder.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequestBuilder.java new file mode 100644 index 00000000..112d938d --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationRequestBuilder.java @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations; + +import static com.glean.api_client.glean_api_client.operations.Operations.RequestOperation; + +import com.glean.api_client.glean_api_client.SDKConfiguration; +import com.glean.api_client.glean_api_client.models.components.UpdateDatasourceConfigurationRequest; +import com.glean.api_client.glean_api_client.operations.UpdateDatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.utils.Headers; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.String; + +public class UpdateDatasourceInstanceConfigurationRequestBuilder { + + private String datasourceId; + private String instanceId; + private UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest; + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + + public UpdateDatasourceInstanceConfigurationRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + } + + public UpdateDatasourceInstanceConfigurationRequestBuilder datasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + public UpdateDatasourceInstanceConfigurationRequestBuilder instanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + public UpdateDatasourceInstanceConfigurationRequestBuilder updateDatasourceConfigurationRequest(UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + Utils.checkNotNull(updateDatasourceConfigurationRequest, "updateDatasourceConfigurationRequest"); + this.updateDatasourceConfigurationRequest = updateDatasourceConfigurationRequest; + return this; + } + + + private UpdateDatasourceInstanceConfigurationRequest buildRequest() { + + UpdateDatasourceInstanceConfigurationRequest request = new UpdateDatasourceInstanceConfigurationRequest(datasourceId, + instanceId, + updateDatasourceConfigurationRequest); + + return request; + } + + public UpdateDatasourceInstanceConfigurationResponse call() { + + RequestOperation operation + = new UpdateDatasourceInstanceConfiguration.Sync(sdkConfiguration, _headers); + UpdateDatasourceInstanceConfigurationRequest request = buildRequest(); + + return operation.handleResponse(operation.doRequest(request)); + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationResponse.java new file mode 100644 index 00000000..fec4aa94 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/UpdateDatasourceInstanceConfigurationResponse.java @@ -0,0 +1,253 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.glean.api_client.glean_api_client.models.components.DatasourceConfigurationResponse; +import com.glean.api_client.glean_api_client.utils.Response; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.io.InputStream; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.net.http.HttpResponse; +import java.util.Optional; + + +public class UpdateDatasourceInstanceConfigurationResponse implements Response { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * OK + */ + private Optional datasourceConfigurationResponse; + + @JsonCreator + public UpdateDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse, + Optional datasourceConfigurationResponse) { + Utils.checkNotNull(contentType, "contentType"); + Utils.checkNotNull(statusCode, "statusCode"); + Utils.checkNotNull(rawResponse, "rawResponse"); + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.contentType = contentType; + this.statusCode = statusCode; + this.rawResponse = rawResponse; + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + } + + public UpdateDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, + Optional.empty()); + } + + /** + * HTTP response content type for this operation + */ + @JsonIgnore + public String contentType() { + return contentType; + } + + /** + * HTTP response status code for this operation + */ + @JsonIgnore + public int statusCode() { + return statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + @JsonIgnore + public HttpResponse rawResponse() { + return rawResponse; + } + + /** + * OK + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional datasourceConfigurationResponse() { + return (Optional) datasourceConfigurationResponse; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * HTTP response content type for this operation + */ + public UpdateDatasourceInstanceConfigurationResponse withContentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateDatasourceInstanceConfigurationResponse withStatusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateDatasourceInstanceConfigurationResponse withRawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + /** + * OK + */ + public UpdateDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + + /** + * OK + */ + public UpdateDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateDatasourceInstanceConfigurationResponse other = (UpdateDatasourceInstanceConfigurationResponse) o; + return + Utils.enhancedDeepEquals(this.contentType, other.contentType) && + Utils.enhancedDeepEquals(this.statusCode, other.statusCode) && + Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) && + Utils.enhancedDeepEquals(this.datasourceConfigurationResponse, other.datasourceConfigurationResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + @Override + public String toString() { + return Utils.toString(UpdateDatasourceInstanceConfigurationResponse.class, + "contentType", contentType, + "statusCode", statusCode, + "rawResponse", rawResponse, + "datasourceConfigurationResponse", datasourceConfigurationResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private String contentType; + + private Integer statusCode; + + private HttpResponse rawResponse; + + private Optional datasourceConfigurationResponse = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + + /** + * HTTP response content type for this operation + */ + public Builder contentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + + /** + * OK + */ + public Builder datasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + /** + * OK + */ + public Builder datasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + public UpdateDatasourceInstanceConfigurationResponse build() { + + return new UpdateDatasourceInstanceConfigurationResponse( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationRequestBuilder.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationRequestBuilder.java new file mode 100644 index 00000000..26f0c3fc --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationRequestBuilder.java @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations.async; + +import static com.glean.api_client.glean_api_client.operations.Operations.AsyncRequestOperation; + +import com.glean.api_client.glean_api_client.SDKConfiguration; +import com.glean.api_client.glean_api_client.models.operations.GetDatasourceInstanceConfigurationRequest; +import com.glean.api_client.glean_api_client.operations.GetDatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.utils.Headers; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.String; +import java.util.concurrent.CompletableFuture; + +public class GetDatasourceInstanceConfigurationRequestBuilder { + + private String datasourceId; + private String instanceId; + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + + public GetDatasourceInstanceConfigurationRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + } + + public GetDatasourceInstanceConfigurationRequestBuilder datasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + public GetDatasourceInstanceConfigurationRequestBuilder instanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + + private GetDatasourceInstanceConfigurationRequest buildRequest() { + + GetDatasourceInstanceConfigurationRequest request = new GetDatasourceInstanceConfigurationRequest(datasourceId, + instanceId); + + return request; + } + + public CompletableFuture call() { + + AsyncRequestOperation operation + = new GetDatasourceInstanceConfiguration.Async(sdkConfiguration, _headers); + GetDatasourceInstanceConfigurationRequest request = buildRequest(); + + return operation.doRequest(request) + .thenCompose(operation::handleResponse); + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationResponse.java new file mode 100644 index 00000000..cd76f542 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/GetDatasourceInstanceConfigurationResponse.java @@ -0,0 +1,253 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations.async; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.glean.api_client.glean_api_client.models.components.DatasourceConfigurationResponse; +import com.glean.api_client.glean_api_client.utils.AsyncResponse; +import com.glean.api_client.glean_api_client.utils.Blob; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.net.http.HttpResponse; +import java.util.Optional; + + +public class GetDatasourceInstanceConfigurationResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * OK + */ + private Optional datasourceConfigurationResponse; + + @JsonCreator + public GetDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse, + Optional datasourceConfigurationResponse) { + Utils.checkNotNull(contentType, "contentType"); + Utils.checkNotNull(statusCode, "statusCode"); + Utils.checkNotNull(rawResponse, "rawResponse"); + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.contentType = contentType; + this.statusCode = statusCode; + this.rawResponse = rawResponse; + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + } + + public GetDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, + Optional.empty()); + } + + /** + * HTTP response content type for this operation + */ + @JsonIgnore + public String contentType() { + return contentType; + } + + /** + * HTTP response status code for this operation + */ + @JsonIgnore + public int statusCode() { + return statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + @JsonIgnore + public HttpResponse rawResponse() { + return rawResponse; + } + + /** + * OK + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional datasourceConfigurationResponse() { + return (Optional) datasourceConfigurationResponse; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * HTTP response content type for this operation + */ + public GetDatasourceInstanceConfigurationResponse withContentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + /** + * HTTP response status code for this operation + */ + public GetDatasourceInstanceConfigurationResponse withStatusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public GetDatasourceInstanceConfigurationResponse withRawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + /** + * OK + */ + public GetDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + + /** + * OK + */ + public GetDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetDatasourceInstanceConfigurationResponse other = (GetDatasourceInstanceConfigurationResponse) o; + return + Utils.enhancedDeepEquals(this.contentType, other.contentType) && + Utils.enhancedDeepEquals(this.statusCode, other.statusCode) && + Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) && + Utils.enhancedDeepEquals(this.datasourceConfigurationResponse, other.datasourceConfigurationResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + @Override + public String toString() { + return Utils.toString(GetDatasourceInstanceConfigurationResponse.class, + "contentType", contentType, + "statusCode", statusCode, + "rawResponse", rawResponse, + "datasourceConfigurationResponse", datasourceConfigurationResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private String contentType; + + private Integer statusCode; + + private HttpResponse rawResponse; + + private Optional datasourceConfigurationResponse = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + + /** + * HTTP response content type for this operation + */ + public Builder contentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + + /** + * OK + */ + public Builder datasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + /** + * OK + */ + public Builder datasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + public GetDatasourceInstanceConfigurationResponse build() { + + return new GetDatasourceInstanceConfigurationResponse( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationRequestBuilder.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationRequestBuilder.java new file mode 100644 index 00000000..bbbbc01d --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationRequestBuilder.java @@ -0,0 +1,66 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations.async; + +import static com.glean.api_client.glean_api_client.operations.Operations.AsyncRequestOperation; + +import com.glean.api_client.glean_api_client.SDKConfiguration; +import com.glean.api_client.glean_api_client.models.components.UpdateDatasourceConfigurationRequest; +import com.glean.api_client.glean_api_client.models.operations.UpdateDatasourceInstanceConfigurationRequest; +import com.glean.api_client.glean_api_client.operations.UpdateDatasourceInstanceConfiguration; +import com.glean.api_client.glean_api_client.utils.Headers; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.String; +import java.util.concurrent.CompletableFuture; + +public class UpdateDatasourceInstanceConfigurationRequestBuilder { + + private String datasourceId; + private String instanceId; + private UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest; + private final SDKConfiguration sdkConfiguration; + private final Headers _headers = new Headers(); + + public UpdateDatasourceInstanceConfigurationRequestBuilder(SDKConfiguration sdkConfiguration) { + this.sdkConfiguration = sdkConfiguration; + } + + public UpdateDatasourceInstanceConfigurationRequestBuilder datasourceId(String datasourceId) { + Utils.checkNotNull(datasourceId, "datasourceId"); + this.datasourceId = datasourceId; + return this; + } + + public UpdateDatasourceInstanceConfigurationRequestBuilder instanceId(String instanceId) { + Utils.checkNotNull(instanceId, "instanceId"); + this.instanceId = instanceId; + return this; + } + + public UpdateDatasourceInstanceConfigurationRequestBuilder updateDatasourceConfigurationRequest(UpdateDatasourceConfigurationRequest updateDatasourceConfigurationRequest) { + Utils.checkNotNull(updateDatasourceConfigurationRequest, "updateDatasourceConfigurationRequest"); + this.updateDatasourceConfigurationRequest = updateDatasourceConfigurationRequest; + return this; + } + + + private UpdateDatasourceInstanceConfigurationRequest buildRequest() { + + UpdateDatasourceInstanceConfigurationRequest request = new UpdateDatasourceInstanceConfigurationRequest(datasourceId, + instanceId, + updateDatasourceConfigurationRequest); + + return request; + } + + public CompletableFuture call() { + + AsyncRequestOperation operation + = new UpdateDatasourceInstanceConfiguration.Async(sdkConfiguration, _headers); + UpdateDatasourceInstanceConfigurationRequest request = buildRequest(); + + return operation.doRequest(request) + .thenCompose(operation::handleResponse); + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationResponse.java new file mode 100644 index 00000000..5748d8e4 --- /dev/null +++ b/src/main/java/com/glean/api_client/glean_api_client/models/operations/async/UpdateDatasourceInstanceConfigurationResponse.java @@ -0,0 +1,253 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.glean.api_client.glean_api_client.models.operations.async; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.glean.api_client.glean_api_client.models.components.DatasourceConfigurationResponse; +import com.glean.api_client.glean_api_client.utils.AsyncResponse; +import com.glean.api_client.glean_api_client.utils.Blob; +import com.glean.api_client.glean_api_client.utils.Utils; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.net.http.HttpResponse; +import java.util.Optional; + + +public class UpdateDatasourceInstanceConfigurationResponse implements AsyncResponse { + /** + * HTTP response content type for this operation + */ + private String contentType; + + /** + * HTTP response status code for this operation + */ + private int statusCode; + + /** + * Raw HTTP response; suitable for custom response parsing + */ + private HttpResponse rawResponse; + + /** + * OK + */ + private Optional datasourceConfigurationResponse; + + @JsonCreator + public UpdateDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse, + Optional datasourceConfigurationResponse) { + Utils.checkNotNull(contentType, "contentType"); + Utils.checkNotNull(statusCode, "statusCode"); + Utils.checkNotNull(rawResponse, "rawResponse"); + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.contentType = contentType; + this.statusCode = statusCode; + this.rawResponse = rawResponse; + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + } + + public UpdateDatasourceInstanceConfigurationResponse( + String contentType, + int statusCode, + HttpResponse rawResponse) { + this(contentType, statusCode, rawResponse, + Optional.empty()); + } + + /** + * HTTP response content type for this operation + */ + @JsonIgnore + public String contentType() { + return contentType; + } + + /** + * HTTP response status code for this operation + */ + @JsonIgnore + public int statusCode() { + return statusCode; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + @JsonIgnore + public HttpResponse rawResponse() { + return rawResponse; + } + + /** + * OK + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional datasourceConfigurationResponse() { + return (Optional) datasourceConfigurationResponse; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * HTTP response content type for this operation + */ + public UpdateDatasourceInstanceConfigurationResponse withContentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + /** + * HTTP response status code for this operation + */ + public UpdateDatasourceInstanceConfigurationResponse withStatusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public UpdateDatasourceInstanceConfigurationResponse withRawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + /** + * OK + */ + public UpdateDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + + /** + * OK + */ + public UpdateDatasourceInstanceConfigurationResponse withDatasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateDatasourceInstanceConfigurationResponse other = (UpdateDatasourceInstanceConfigurationResponse) o; + return + Utils.enhancedDeepEquals(this.contentType, other.contentType) && + Utils.enhancedDeepEquals(this.statusCode, other.statusCode) && + Utils.enhancedDeepEquals(this.rawResponse, other.rawResponse) && + Utils.enhancedDeepEquals(this.datasourceConfigurationResponse, other.datasourceConfigurationResponse); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + @Override + public String toString() { + return Utils.toString(UpdateDatasourceInstanceConfigurationResponse.class, + "contentType", contentType, + "statusCode", statusCode, + "rawResponse", rawResponse, + "datasourceConfigurationResponse", datasourceConfigurationResponse); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private String contentType; + + private Integer statusCode; + + private HttpResponse rawResponse; + + private Optional datasourceConfigurationResponse = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + + /** + * HTTP response content type for this operation + */ + public Builder contentType(String contentType) { + Utils.checkNotNull(contentType, "contentType"); + this.contentType = contentType; + return this; + } + + + /** + * HTTP response status code for this operation + */ + public Builder statusCode(int statusCode) { + Utils.checkNotNull(statusCode, "statusCode"); + this.statusCode = statusCode; + return this; + } + + + /** + * Raw HTTP response; suitable for custom response parsing + */ + public Builder rawResponse(HttpResponse rawResponse) { + Utils.checkNotNull(rawResponse, "rawResponse"); + this.rawResponse = rawResponse; + return this; + } + + + /** + * OK + */ + public Builder datasourceConfigurationResponse(DatasourceConfigurationResponse datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = Optional.ofNullable(datasourceConfigurationResponse); + return this; + } + + /** + * OK + */ + public Builder datasourceConfigurationResponse(Optional datasourceConfigurationResponse) { + Utils.checkNotNull(datasourceConfigurationResponse, "datasourceConfigurationResponse"); + this.datasourceConfigurationResponse = datasourceConfigurationResponse; + return this; + } + + public UpdateDatasourceInstanceConfigurationResponse build() { + + return new UpdateDatasourceInstanceConfigurationResponse( + contentType, statusCode, rawResponse, + datasourceConfigurationResponse); + } + + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/operations/CreateAndStreamRun.java b/src/main/java/com/glean/api_client/glean_api_client/operations/CreateAndStreamRun.java index 26ca93af..bf72c4ac 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/operations/CreateAndStreamRun.java +++ b/src/main/java/com/glean/api_client/glean_api_client/operations/CreateAndStreamRun.java @@ -12,6 +12,7 @@ import com.glean.api_client.glean_api_client.SecuritySource; import com.glean.api_client.glean_api_client.models.components.AgentRunCreate; import com.glean.api_client.glean_api_client.models.errors.APIException; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; import com.glean.api_client.glean_api_client.models.operations.CreateAndStreamRunResponse; import com.glean.api_client.glean_api_client.utils.Blob; import com.glean.api_client.glean_api_client.utils.Exceptions; @@ -178,7 +179,14 @@ public CreateAndStreamRunResponse handleResponse(HttpResponse respo throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404", "409", "422", "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "404", "409", "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "4XX")) { // no content throw APIException.from("API error occurred", response); } @@ -256,7 +264,15 @@ public CompletableFuture response) { throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404", "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "404")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "4XX")) { // no content throw APIException.from("API error occurred", response); } @@ -236,7 +244,15 @@ public CompletableFuture response throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404", "422", "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "404", "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "4XX")) { // no content throw APIException.from("API error occurred", response); } @@ -236,7 +244,15 @@ public CompletableFuture securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getDatasourceInstanceConfiguration", + java.util.Optional.empty(), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getDatasourceInstanceConfiguration", + java.util.Optional.empty(), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "getDatasourceInstanceConfiguration", + java.util.Optional.empty(), + securitySource()); + } + HttpRequest buildRequest(T request, Class klass) throws Exception { + String url = Utils.generateURL( + klass, + this.baseUrl, + "/rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}", + request, null); + HTTPRequest req = new HTTPRequest(url, "GET"); + req.addHeader("Accept", "application/json") + .addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(SDKConfiguration sdkConfiguration, Headers _headers) { + super(sdkConfiguration, _headers); + } + + private HttpRequest onBuildRequest(GetDatasourceInstanceConfigurationRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetDatasourceInstanceConfigurationRequest.class); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) throws Exception { + return sdkConfiguration.hooks().afterError( + createAfterErrorContext(), + Optional.ofNullable(response), + Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(GetDatasourceInstanceConfigurationRequest request) { + HttpRequest r = unchecked(() -> onBuildRequest(request)).get(); + HttpResponse httpRes; + try { + httpRes = client.send(r); + if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "401", "403", "404", "4XX", "5XX")) { + httpRes = onError(httpRes, null); + } else { + httpRes = onSuccess(httpRes); + } + } catch (Exception e) { + httpRes = unchecked(() -> onError(null, e)).get(); + } + + return httpRes; + } + + + @Override + public GetDatasourceInstanceConfigurationResponse handleResponse(HttpResponse response) { + String contentType = response + .headers() + .firstValue("Content-Type") + .orElse("application/octet-stream"); + GetDatasourceInstanceConfigurationResponse.Builder resBuilder = + GetDatasourceInstanceConfigurationResponse + .builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + GetDatasourceInstanceConfigurationResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withDatasourceConfigurationResponse(Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + public static class Async extends Base + implements AsyncRequestOperation { + + public Async(SDKConfiguration sdkConfiguration, Headers _headers) { + super(sdkConfiguration, _headers); + } + + private CompletableFuture onBuildRequest(GetDatasourceInstanceConfigurationRequest request) throws Exception { + HttpRequest req = buildRequest(request, GetDatasourceInstanceConfigurationRequest.class); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(GetDatasourceInstanceConfigurationRequest request) { + return unchecked(() -> onBuildRequest(request)).get().thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity()) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response + .headers() + .firstValue("Content-Type") + .orElse("application/octet-stream"); + com.glean.api_client.glean_api_client.models.operations.async.GetDatasourceInstanceConfigurationResponse.Builder resBuilder = + com.glean.api_client.glean_api_client.models.operations.async.GetDatasourceInstanceConfigurationResponse + .builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.glean.api_client.glean_api_client.models.operations.async.GetDatasourceInstanceConfigurationResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withDatasourceConfigurationResponse); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse.fromAsync(response) + .thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +} diff --git a/src/main/java/com/glean/api_client/glean_api_client/operations/SearchAgents.java b/src/main/java/com/glean/api_client/glean_api_client/operations/SearchAgents.java index 18af7546..e0c5030b 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/operations/SearchAgents.java +++ b/src/main/java/com/glean/api_client/glean_api_client/operations/SearchAgents.java @@ -12,6 +12,7 @@ import com.glean.api_client.glean_api_client.SecuritySource; import com.glean.api_client.glean_api_client.models.components.SearchAgentsRequest; import com.glean.api_client.glean_api_client.models.errors.APIException; +import com.glean.api_client.glean_api_client.models.errors.ErrorResponse; import com.glean.api_client.glean_api_client.models.operations.SearchAgentsResponse; import com.glean.api_client.glean_api_client.utils.Blob; import com.glean.api_client.glean_api_client.utils.HTTPClient; @@ -174,7 +175,14 @@ public SearchAgentsResponse handleResponse(HttpResponse response) { throw APIException.from("Unexpected content-type received: " + contentType, response); } } - if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404", "422", "4XX")) { + if (Utils.statusCodeMatches(response.statusCode(), "404", "422")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "4XX")) { // no content throw APIException.from("API error occurred", response); } @@ -245,7 +253,15 @@ public CompletableFuture securitySource() { + return Optional.ofNullable(this.securitySource); + } + + BeforeRequestContextImpl createBeforeRequestContext() { + return new BeforeRequestContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateDatasourceInstanceConfiguration", + java.util.Optional.empty(), + securitySource()); + } + + AfterSuccessContextImpl createAfterSuccessContext() { + return new AfterSuccessContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateDatasourceInstanceConfiguration", + java.util.Optional.empty(), + securitySource()); + } + + AfterErrorContextImpl createAfterErrorContext() { + return new AfterErrorContextImpl( + this.sdkConfiguration, + this.baseUrl, + "updateDatasourceInstanceConfiguration", + java.util.Optional.empty(), + securitySource()); + } + HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { + String url = Utils.generateURL( + klass, + this.baseUrl, + "/rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}", + request, null); + HTTPRequest req = new HTTPRequest(url, "PATCH"); + Object convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + typeReference); + SerializedBody serializedRequestBody = Utils.serializeRequestBody( + convertedRequest, + "updateDatasourceConfigurationRequest", + "json", + false); + if (serializedRequestBody == null) { + throw new IllegalArgumentException("Request body is required"); + } + req.setBody(Optional.ofNullable(serializedRequestBody)); + req.addHeader("Accept", "application/json") + .addHeader("user-agent", SDKConfiguration.USER_AGENT); + _headers.forEach((k, list) -> list.forEach(v -> req.addHeader(k, v))); + Utils.configureSecurity(req, this.sdkConfiguration.securitySource().getSecurity()); + + return req.build(); + } + } + + public static class Sync extends Base + implements RequestOperation { + public Sync(SDKConfiguration sdkConfiguration, Headers _headers) { + super(sdkConfiguration, _headers); + } + + private HttpRequest onBuildRequest(UpdateDatasourceInstanceConfigurationRequest request) throws Exception { + HttpRequest req = buildRequest(request, UpdateDatasourceInstanceConfigurationRequest.class, new TypeReference() {}); + return sdkConfiguration.hooks().beforeRequest(createBeforeRequestContext(), req); + } + + private HttpResponse onError(HttpResponse response, Exception error) throws Exception { + return sdkConfiguration.hooks().afterError( + createAfterErrorContext(), + Optional.ofNullable(response), + Optional.ofNullable(error)); + } + + private HttpResponse onSuccess(HttpResponse response) throws Exception { + return sdkConfiguration.hooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public HttpResponse doRequest(UpdateDatasourceInstanceConfigurationRequest request) { + HttpRequest r = unchecked(() -> onBuildRequest(request)).get(); + HttpResponse httpRes; + try { + httpRes = client.send(r); + if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "401", "403", "404", "4XX", "5XX")) { + httpRes = onError(httpRes, null); + } else { + httpRes = onSuccess(httpRes); + } + } catch (Exception e) { + httpRes = unchecked(() -> onError(null, e)).get(); + } + + return httpRes; + } + + + @Override + public UpdateDatasourceInstanceConfigurationResponse handleResponse(HttpResponse response) { + String contentType = response + .headers() + .firstValue("Content-Type") + .orElse("application/octet-stream"); + UpdateDatasourceInstanceConfigurationResponse.Builder resBuilder = + UpdateDatasourceInstanceConfigurationResponse + .builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + UpdateDatasourceInstanceConfigurationResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return res.withDatasourceConfigurationResponse(Utils.unmarshal(response, new TypeReference() {})); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + throw ErrorResponse.from(response); + } else { + throw APIException.from("Unexpected content-type received: " + contentType, response); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "4XX")) { + // no content + throw APIException.from("API error occurred", response); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + throw APIException.from("API error occurred", response); + } + throw APIException.from("Unexpected status code received: " + response.statusCode(), response); + } + } + public static class Async extends Base + implements AsyncRequestOperation { + + public Async(SDKConfiguration sdkConfiguration, Headers _headers) { + super(sdkConfiguration, _headers); + } + + private CompletableFuture onBuildRequest(UpdateDatasourceInstanceConfigurationRequest request) throws Exception { + HttpRequest req = buildRequest(request, UpdateDatasourceInstanceConfigurationRequest.class, new TypeReference() {}); + return this.sdkConfiguration.asyncHooks().beforeRequest(createBeforeRequestContext(), req); + } + + private CompletableFuture> onError(HttpResponse response, Throwable error) { + return this.sdkConfiguration.asyncHooks().afterError(createAfterErrorContext(), response, error); + } + + private CompletableFuture> onSuccess(HttpResponse response) { + return this.sdkConfiguration.asyncHooks().afterSuccess(createAfterSuccessContext(), response); + } + + @Override + public CompletableFuture> doRequest(UpdateDatasourceInstanceConfigurationRequest request) { + return unchecked(() -> onBuildRequest(request)).get().thenCompose(client::sendAsync) + .handle((resp, err) -> { + if (err != null) { + return onError(null, err); + } + if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "403", "404", "4XX", "5XX")) { + return onError(resp, null); + } + return CompletableFuture.completedFuture(resp); + }) + .thenCompose(Function.identity()) + .thenCompose(this::onSuccess); + } + + @Override + public CompletableFuture handleResponse( + HttpResponse response) { + String contentType = response + .headers() + .firstValue("Content-Type") + .orElse("application/octet-stream"); + com.glean.api_client.glean_api_client.models.operations.async.UpdateDatasourceInstanceConfigurationResponse.Builder resBuilder = + com.glean.api_client.glean_api_client.models.operations.async.UpdateDatasourceInstanceConfigurationResponse + .builder() + .contentType(contentType) + .statusCode(response.statusCode()) + .rawResponse(response); + + com.glean.api_client.glean_api_client.models.operations.async.UpdateDatasourceInstanceConfigurationResponse res = resBuilder.build(); + + if (Utils.statusCodeMatches(response.statusCode(), "200")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return Utils.unmarshalAsync(response, new TypeReference() {}) + .thenApply(res::withDatasourceConfigurationResponse); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "400", "403", "404")) { + if (Utils.contentTypeMatches(contentType, "application/json")) { + return ErrorResponse.fromAsync(response) + .thenCompose(CompletableFuture::failedFuture); + } else { + return Utils.createAsyncApiError(response, "Unexpected content-type received: " + contentType); + } + } + if (Utils.statusCodeMatches(response.statusCode(), "401", "4XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + if (Utils.statusCodeMatches(response.statusCode(), "5XX")) { + // no content + return Utils.createAsyncApiError(response, "API error occurred"); + } + return Utils.createAsyncApiError(response, "Unexpected status code received: " + response.statusCode()); + } + } +}