Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.78 KB

HostingV1WebsitesCreateWebsiteRequest.md

File metadata and controls

31 lines (22 loc) · 1.78 KB

HostingV1WebsitesCreateWebsiteRequest

Properties

Name Type Description Notes
domain str Domain name for the website. Cannot start with "www." and can have at most one subdomain level, e.g. `blog.example.com`.
order_id int Hosting order ID to create this website on. Choose the order whose hosting plan should host the new website. List orders to find available IDs.
datacenter_code str Datacenter for the hosting account when the order does not have one yet. Omit to use the order's default datacenter. Ignored when the order already has a hosting account. Must be an available datacenter; list available datacenters to find valid codes. [optional]

Example

from hostinger_api.models.hosting_v1_websites_create_website_request import HostingV1WebsitesCreateWebsiteRequest

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

# convert the object into a dict
hosting_v1_websites_create_website_request_dict = hosting_v1_websites_create_website_request_instance.to_dict()
# create an instance of HostingV1WebsitesCreateWebsiteRequest from a dict
hosting_v1_websites_create_website_request_from_dict = HostingV1WebsitesCreateWebsiteRequest.from_dict(hosting_v1_websites_create_website_request_dict)

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