ETLJobCodeGenerationStatusResponse¶
- pydantic model openapi_client.models.etl_job_code_generation_status_response.ETLJobCodeGenerationStatusResponse¶
GET /jobs/{id}?action=generate-code. In-progress returns Message only. Completed results include PresignedUrl. Failed or empty results include JobId, UserId, and Message.
- Fields:
- field message: Optional[StrictStr] = None (alias 'Message')¶
Status text. In-progress example: “Code generation is in progress for this job”.
- field job_id: Optional[StrictStr] = None (alias 'JobId')¶
- field user_id: Optional[StrictStr] = None (alias 'UserId')¶
- field status: Optional[StrictStr] = None (alias 'Status')¶
Set to failed when error.json is present.
- field presigned_url: Optional[StrictStr] = None (alias 'PresignedUrl')¶
S3 GET URL for generated code when a result file exists.
- field error: Optional[StrictStr] = None (alias 'Error')¶
- field user_query: Optional[StrictStr] = None (alias 'UserQuery')¶
- field state_machine_execution_id: Optional[StrictStr] = None (alias 'StateMachineExecutionId')¶
- field metrics: Optional[Dict[str, Any]] = None (alias 'Metrics')¶
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of ETLJobCodeGenerationStatusResponse from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of ETLJobCodeGenerationStatusResponse from a dict
- Return type:
Optional[Self]