You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subdomain prefix to create under the selected website
directory
str
Directory name for the subdomain relative to the website root
[optional]
is_using_public_directory
bool
Use the website public directory as the subdomain root directory
[optional]
Example
fromhostinger_api.models.hosting_v1_domains_create_subdomain_requestimportHostingV1DomainsCreateSubdomainRequest# TODO update the JSON string belowjson="{}"# create an instance of HostingV1DomainsCreateSubdomainRequest from a JSON stringhosting_v1_domains_create_subdomain_request_instance=HostingV1DomainsCreateSubdomainRequest.from_json(json)
# print the JSON string representation of the objectprint(HostingV1DomainsCreateSubdomainRequest.to_json())
# convert the object into a dicthosting_v1_domains_create_subdomain_request_dict=hosting_v1_domains_create_subdomain_request_instance.to_dict()
# create an instance of HostingV1DomainsCreateSubdomainRequest from a dicthosting_v1_domains_create_subdomain_request_from_dict=HostingV1DomainsCreateSubdomainRequest.from_dict(hosting_v1_domains_create_subdomain_request_dict)