Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 5.01 KB

File metadata and controls

55 lines (46 loc) · 5.01 KB

InlineResponse200110ResultData

An object containing information about a cPanel account's domains. The output of this function changes, based on the format parameter value.

Properties

Name Type Description Notes
addon_domains List[Contents] An array of objects containing information about each addon domain. [optional]
main_domain List[MainDomainContents] An array of objects containing information about the main domain. [optional]
parked_domains List[Contents] An array of objects containing information about each parked domain. [optional]
sub_domains List[Contents] An array of objects containing information about each subdomain. [optional]
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 domain is the cPanel account's main domain. * `main_domain` is the only possible value. [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]
customlog MainDomainContentsCustomlog [optional]
ifmodulemodsuphpc MainDomainContentsIfmodulemodsuphpc [optional]
scriptalias MainDomainContentsScriptalias [optional]

Example

from clientapi_cpanel.models.inline_response200110_result_data import InlineResponse200110ResultData

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

# convert the object into a dict
inline_response200110_result_data_dict = inline_response200110_result_data_instance.to_dict()
# create an instance of InlineResponse200110ResultData from a dict
inline_response200110_result_data_from_dict = InlineResponse200110ResultData.from_dict(inline_response200110_result_data_dict)

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