MessageStatus

pydantic model openapi_client.models.message_status.MessageStatus

Common success/status envelope. Live Amorphic responses use PascalCase Message. Do not add a lowercase message property — openapi-generator pydantic models alias Message to .message, and a duplicate lowercase key overwrites the aliased field so typed clients lose the value.

Fields:
field message: Optional[StrictStr] = None (alias 'Message')

Status or result text. For some endpoints (for example job script upload/download) this field contains an S3 presigned URL.

field dashboard_id: Optional[StrictStr] = None (alias 'DashboardId')
field comment_id: Optional[StrictStr] = None (alias 'CommentId')

Comment ID (e.g. for create_datasource_asset_comment)

field status: Optional[StrictStr] = None (alias 'Status')
field execution_start_time: Optional[StrictStr] = None (alias 'ExecutionStartTime')
field parameter_key: Optional[StrictStr] = None (alias 'ParameterKey')
field execution_id: Optional[StrictStr] = None (alias 'ExecutionId')
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 MessageStatus 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 MessageStatus from a dict

Return type:

Optional[Self]