| Name |
Type |
Description |
Notes |
| all_aliases_valid |
int |
Whether a valid SSL certificate exists on the domain's aliases. * `1` — A valid SSL certificate exists. * `0` — A valid SSL certificate does not exist. Note: This return only appears if you set the `return_https_redirects_status` parameter to `1`. |
[optional] |
| can_https_redirect |
int |
Whether a valid SSL certificate exists or AutoSSL runs on the domain. * `1` — A valid SSL certificate exists or AutoSSL runs. * `0` — A valid SSL certificate does not exist and AutoSSL does not run. Note: This return only appears if you set the `return_https_redirects_status` parameter to `1`. |
[optional] |
| documentroot |
str |
The absolute path to the domain's document root. |
[optional] |
| domain |
str |
The domain's name. |
[optional] |
| group |
str |
The domain's group. |
[optional] |
| hascgi |
int |
Whether CGI is enabled for the domain. * `1` — Enabled. * `0` — Disabled. |
[optional] |
| homedir |
str |
The absolute path to the cPanel account's home directory. |
[optional] |
| ip |
str |
The domain's IPv4 address. |
[optional] |
| ipv6 |
str |
The domain's IPv6 address. * null — The account does not use IPv6. |
[optional] |
| is_https_redirecting |
int |
Whether the domain redirects to `https`. * `1` — The domain redirects to `https`. * `0` — The domain does not redirect to `https`. Note: This return only appears if you set the `return_https_redirects_status` parameter to `1`. |
[optional] |
| no_cache_update |
int |
Whether the domain is subject to cache updates. * `1` — The domain updates caches. * `0` — The domain does not update caches. |
[optional] |
| owner |
str |
The WHM account (`root` or a reseller) that owns the cPanel account. |
[optional] |
| serveradmin |
str |
The domain's administrator's contact email address. |
[optional] |
| serveralias |
str |
A space-separated list of the domain's aliases. |
[optional] |
| servername |
str |
The domain's identifier on the server. |
[optional] |
| type |
str |
The type of domain: * `addon_domain` — The domain is an addon domain. * `sub_domain` — The domain is a subdomain. * `parked_domain` — The domain is a parked domain (domain alias). |
[optional] |
| usecanonicalname |
str |
The domain's Canonical Name (CNAME) setting. * `On` — Use the domain's CNAME. * `Off` — Do not use the domain's CNAME. |
[optional] |
| user |
str |
The cPanel account's username. |
[optional] |
| userdirprotect |
int |
The domain's Apache `mod_userdir` Tweak setting. * `1` — Enabled. * `0` — Disabled. |
[optional] |
from clientapi_cpanel.models.contents import Contents
# TODO update the JSON string below
json = "{}"
# create an instance of Contents from a JSON string
contents_instance = Contents.from_json(json)
# print the JSON string representation of the object
print(Contents.to_json())
# convert the object into a dict
contents_dict = contents_instance.to_dict()
# create an instance of Contents from a dict
contents_from_dict = Contents.from_dict(contents_dict)
[Back to Model list] [Back to API list] [Back to README]