| 
									
										
										
										
											2021-08-01 14:27:44 -07:00
										 |  |  | # generated by datamodel-codegen: | 
					
						
							|  |  |  | #   filename:  schema/api/feed/createThread.json | 
					
						
							| 
									
										
										
										
											2021-08-17 08:45:46 -07:00
										 |  |  | #   timestamp: 2021-08-17T03:53:57+00:00 | 
					
						
							| 
									
										
										
										
											2021-08-01 14:27:44 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | from __future__ import annotations | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | from pydantic import BaseModel, Field | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-17 08:45:46 -07:00
										 |  |  | from ...type import basic | 
					
						
							| 
									
										
										
										
											2021-08-01 14:27:44 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class CreateThreadRequest(BaseModel): | 
					
						
							|  |  |  |     message: str = Field(..., description='Message') | 
					
						
							|  |  |  |     from_: basic.Uuid = Field( | 
					
						
							|  |  |  |         ..., | 
					
						
							|  |  |  |         alias='from', | 
					
						
							|  |  |  |         description='ID of User (regular user or bot) posting the message', | 
					
						
							|  |  |  |     ) | 
					
						
							|  |  |  |     about: basic.EntityLink = Field( | 
					
						
							|  |  |  |         ..., | 
					
						
							|  |  |  |         description='Data asset about which this thread is created for with format <#E/{enties}/{entityName}/{field}/{fieldValue}', | 
					
						
							|  |  |  |     ) |