Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.43 KB

File metadata and controls

31 lines (22 loc) · 1.43 KB

HostingV1WebsitesCreateWebsiteRequest

Properties

Name Type Description Notes
domain str Domain name for the website. Cannot start with "www."
order_id int ID of the associated order
datacenter_code str Datacenter code. This parameter is required when creating the first website on a new hosting plan. [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]