-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting disk usage details functionality added
- Loading branch information
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php | ||
// Copyright 1999-2019. Plesk International GmbH. | ||
// Author: Frederic Leclercq | ||
|
||
namespace PleskX\Api\Struct\Webspace; | ||
|
||
class DiskUsage extends \PleskX\Api\Struct | ||
{ | ||
/** @var integer */ | ||
public $httpdocs; | ||
|
||
/** @var integer */ | ||
public $httpsdocs; | ||
|
||
/** @var integer */ | ||
public $subdomains; | ||
|
||
/** @var integer */ | ||
public $anonftp; | ||
|
||
/** @var integer */ | ||
public $logs; | ||
|
||
/** @var integer */ | ||
public $dbases; | ||
|
||
/** @var integer */ | ||
public $mailboxes; | ||
|
||
/** @var integer */ | ||
public $maillists; | ||
|
||
/** @var integer */ | ||
public $domaindumps; | ||
|
||
/** @var integer */ | ||
public $configs; | ||
|
||
/** @var integer */ | ||
public $chroot; | ||
|
||
public function __construct($apiResponse) | ||
{ | ||
$this->_initScalarProperties($apiResponse, [ | ||
'httpdocs', | ||
'httpsdocs', | ||
'subdomains', | ||
'anonftp', | ||
'logs', | ||
'dbases', | ||
'mailboxes', | ||
'maillists', | ||
'domaindumps', | ||
'configs', | ||
'chroot', | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters