Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.69 KB

WordPressV1ContentGenerationResource.md

File metadata and controls

33 lines (24 loc) · 1.69 KB

WordPressV1ContentGenerationResource

State of an AI content generation and, once completed, its result.

Properties

Name Type Description Notes
generation_id str Generation ID (UUID) used to poll for the result
type str Kind of generation, determines the shape of `result`
status str `in-progress` while the generation is still running, `completed` once `result` is available, `failed` when the generation stopped without a result.
result WordPressV1ContentGenerationResourceResult

Example

from hostinger_api.models.word_press_v1_content_generation_resource import WordPressV1ContentGenerationResource

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

# convert the object into a dict
word_press_v1_content_generation_resource_dict = word_press_v1_content_generation_resource_instance.to_dict()
# create an instance of WordPressV1ContentGenerationResource from a dict
word_press_v1_content_generation_resource_from_dict = WordPressV1ContentGenerationResource.from_dict(word_press_v1_content_generation_resource_dict)

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