Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (40 loc) · 1.64 KB

Artifact.md

File metadata and controls

48 lines (40 loc) · 1.64 KB

Artifact

Properties

Name Type Description Notes
id str [optional]
created_at datetime [optional]
updated_at datetime [optional]
title str
public bool [optional]
status ArtifactStatus [optional]
type ArtifactType [optional]
views int [optional]
project_id str [optional]
parent_id str [optional]
is_template bool [optional]
payload RenderPayload [optional]
user_id int
prompt str [optional]
url str [optional]
url_4x str [optional]
task_id str [optional]
likes int [optional]
user RelatedUser
liked bool [optional]
upscaled bool [optional] [default to False]

Example

from dream3d.models.artifact import Artifact

# TODO update the JSON string below
json = "{}"
# create an instance of Artifact from a JSON string
artifact_instance = Artifact.from_json(json)
# print the JSON string representation of the object
print Artifact.to_json()

# convert the object into a dict
artifact_dict = artifact_instance.to_dict()
# create an instance of Artifact from a dict
artifact_form_dict = artifact.from_dict(artifact_dict)

[Back to Model list] [Back to API list] [Back to README]