Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.79 KB

File metadata and controls

39 lines (30 loc) · 2.79 KB

DomainRequest

Properties

Name Type Description Notes
name str Domain name. [optional]
description str The description for the domain. [optional]
hosting_type str It specifies the hosting type of the created domain. Allowed values: `virtual` `standard_forwarding`
hosting_settings Dict[str, object] for physical hosting: `ftp_login` - it specifies the ftp user login name (required). `ftp_password` - it specifies the ftp user password (required). for frame forwarding and standard forwarding: `dest_url` - it specifies the URL to which the user will be redirected explicitly at the attempt to visit the specified domain. [optional]
base_domain DomainReference [optional]
parent_domain DomainReference [optional]
owner_client OwnerClientReference [optional]
ip_addresses List[str] The IP address associated with the domain. [optional]
ipv4 List[str] @deprecated [optional]
ipv6 List[str] @deprecated [optional]
plan PlanReference [optional]

Example

from plesk_client.models.domain_request import DomainRequest

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

# convert the object into a dict
domain_request_dict = domain_request_instance.to_dict()
# create an instance of DomainRequest from a dict
domain_request_from_dict = DomainRequest.from_dict(domain_request_dict)

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