Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.45 KB

File metadata and controls

37 lines (28 loc) · 2.45 KB

AgencyHostingV1SetupsCreateSetupRequest

Create a new Agency Plan website setup on the given order

Properties

Name Type Description Notes
datacenter_code str Datacenter code where the website should be provisioned. Available codes depend on live capacity and are not a fixed set.
flavor str Setup flavor: a specific WordPress version in the format `wp-<major>.<minor>` or `wp-<major>.<minor>.<patch>` (e.g. `wp-6.8.2`), or `php-fpm` for a plain PHP stack. Generic versions like `wp-latest` are not allowed.
settings AgencyHostingV1SetupsCreateSetupRequestSettings
domain str Primary domain to attach to the website. Omit or set to null to get a free auto-generated *.hostingersite.com subdomain instead. [optional]
type str Website type [optional]
wordpress AgencyHostingV1SetupsCreateSetupRequestWordpress [optional]
clone AgencyHostingV1SetupsCreateSetupRequestClone [optional]
derive_domain AgencyHostingV1SetupsCreateSetupRequestDeriveDomain [optional]

Example

from hostinger_api.models.agency_hosting_v1_setups_create_setup_request import AgencyHostingV1SetupsCreateSetupRequest

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

# convert the object into a dict
agency_hosting_v1_setups_create_setup_request_dict = agency_hosting_v1_setups_create_setup_request_instance.to_dict()
# create an instance of AgencyHostingV1SetupsCreateSetupRequest from a dict
agency_hosting_v1_setups_create_setup_request_from_dict = AgencyHostingV1SetupsCreateSetupRequest.from_dict(agency_hosting_v1_setups_create_setup_request_dict)

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