D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
rest-api
/
v2
/
externals
/
Entity
/
Filename :
Admin.php
back
Copy
<?php // Copyright 1999-2024. WebPros International GmbH. All rights reserved. namespace PleskExt\RestApi\v2\Entity; use PleskRestApi\JMS\Serializer\Annotation\Type; use PleskRestApi\Symfony\Component\Validator\Constraints as Assert; /** * Plesk administrator information */ class Admin { /** * The administrator's company name. * * @Type("string") * @var string */ public $company; /** * The administrator's personal name. * * @Assert\NotBlank() * @Type("string") * @var string */ public $name; /** * The administrator's phone number. * * @Type("string") * @var string */ public $phone; /** * The administrator's fax number. * * @Type("string") * @var string */ public $fax; /** * The administrator's e-mail address. * * @Assert\NotBlank() * @Assert\Email() * @Type("string") * @var string */ public $email; /** * The administrator's street address. * * @Type("string") * @var string */ public $address; /** * The name of the city where administrator lives. * * @Type("string") * @var string */ public $city; /** * The name of state (for US citizens) or province where administrator lives. * * @Type("string") * @var string */ public $state; /** * The administrator's zip/postal code. * * @Type("string") * @var string */ public $post_code; /** * The name of the country where administrator lives. * * @Assert\Country() * @Type("string") * @var string */ public $country; /** * It specifies whether Plesk announcement messages are sent to the administrator's e-mail. * * @Assert\Type("bool") * @Type("bool") * @var bool */ public $send_announce; /** * The locale used by the administrator. * * @Assert\Locale() * @Type("string") * @var string */ public $locale; /** * It specifies the information if the administrator has multiple sessions in Plesk. * * @Assert\Type("bool") * @Type("bool") * @var bool */ public $multiple_sessions; }