Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.38 KB

File metadata and controls

37 lines (28 loc) · 2.38 KB

WordPressV1InstallationsInstallWordPressRequest

Properties

Name Type Description Notes
domain str Domain of the existing website where WordPress will be installed
site_title str Title of the WordPress site
language str WordPress locale. Defaults to en_US when omitted. [optional]
directory str Relative directory to install WordPress into. Defaults to the website root when omitted. [optional]
overwrite bool When false (default), does not replace an existing installation. If WordPress is already installed on the domain/path, the async install job fails unless true. [optional]
auto_updates str WordPress core auto-update policy [optional]
version str WordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected. [optional]
credentials WordPressV1InstallationsInstallWordPressRequestCredentials
database WordPressV1InstallationsInstallWordPressRequestDatabase [optional]

Example

from hostinger_api.models.word_press_v1_installations_install_word_press_request import WordPressV1InstallationsInstallWordPressRequest

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

# convert the object into a dict
word_press_v1_installations_install_word_press_request_dict = word_press_v1_installations_install_word_press_request_instance.to_dict()
# create an instance of WordPressV1InstallationsInstallWordPressRequest from a dict
word_press_v1_installations_install_word_press_request_from_dict = WordPressV1InstallationsInstallWordPressRequest.from_dict(word_press_v1_installations_install_word_press_request_dict)

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