-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
226 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
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,188 @@ | ||
<?php | ||
|
||
namespace TomCan\CombellApi\Structure\LinuxHostings; | ||
|
||
|
||
class LinuxHosting | ||
{ | ||
|
||
private $domainName; | ||
private $servicepackId; | ||
private $maxWebspaceSize; | ||
private $maxSize; | ||
private $webspaceUsage; | ||
private $actualSize; | ||
private $ip; | ||
private $ipType; | ||
private $sshHost; | ||
|
||
/** | ||
* LinuxHosting constructor. | ||
* @param $domain_name | ||
* @param $servicepackId | ||
* @param $maxWebspaceSize | ||
* @param $maxSize | ||
* @param $webspaceUsage | ||
* @param $actualSize | ||
* @param $ip | ||
* @param $ipType | ||
* @param $sshHost | ||
*/ | ||
public function __construct($domainName, $servicepackId, $maxWebspaceSize = null, $maxSize = null, $webspaceUsage = null, $actualSize = null, $ip = null, $ipType = null, $sshHost = null) | ||
{ | ||
$this->domainName = $domainName; | ||
$this->servicepackId = $servicepackId; | ||
$this->maxWebspaceSize = $maxWebspaceSize; | ||
$this->maxSize = $maxSize; | ||
$this->webspaceUsage = $webspaceUsage; | ||
$this->actualSize = $actualSize; | ||
$this->ip = $ip; | ||
$this->ipType = $ipType; | ||
$this->sshHost = $sshHost; | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getDomainName() | ||
{ | ||
return $this->domainName; | ||
} | ||
|
||
/** | ||
* @param mixed $domain_name | ||
*/ | ||
public function setDomainName($domainName) | ||
{ | ||
$this->domainName = $domainName; | ||
} | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public function getServicepackId() | ||
{ | ||
return $this->servicepackId; | ||
} | ||
|
||
/** | ||
* @param mixed $servicepackId | ||
*/ | ||
public function setServicepackId($servicepackId) | ||
{ | ||
$this->servicepackId = $servicepackId; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getMaxWebspaceSize() | ||
{ | ||
return $this->maxWebspaceSize; | ||
} | ||
|
||
/** | ||
* @param null $maxWebspaceSize | ||
*/ | ||
public function setMaxWebspaceSize($maxWebspaceSize) | ||
{ | ||
$this->maxWebspaceSize = $maxWebspaceSize; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getMaxSize() | ||
{ | ||
return $this->maxSize; | ||
} | ||
|
||
/** | ||
* @param null $maxSize | ||
*/ | ||
public function setMaxSize($maxSize) | ||
{ | ||
$this->maxSize = $maxSize; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getWebspaceUsage() | ||
{ | ||
return $this->webspaceUsage; | ||
} | ||
|
||
/** | ||
* @param null $webspaceUsage | ||
*/ | ||
public function setWebspaceUsage($webspaceUsage) | ||
{ | ||
$this->webspaceUsage = $webspaceUsage; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getActualSize() | ||
{ | ||
return $this->actualSize; | ||
} | ||
|
||
/** | ||
* @param null $actualSize | ||
*/ | ||
public function setActualSize($actualSize) | ||
{ | ||
$this->actualSize = $actualSize; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getIp() | ||
{ | ||
return $this->ip; | ||
} | ||
|
||
/** | ||
* @param null $ip | ||
*/ | ||
public function setIp($ip) | ||
{ | ||
$this->ip = $ip; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getIpType() | ||
{ | ||
return $this->ipType; | ||
} | ||
|
||
/** | ||
* @param null $ipType | ||
*/ | ||
public function setIpType($ipType) | ||
{ | ||
$this->ipType = $ipType; | ||
} | ||
|
||
/** | ||
* @return null | ||
*/ | ||
public function getSshHost() | ||
{ | ||
return $this->sshHost; | ||
} | ||
|
||
/** | ||
* @param null $sshHost | ||
*/ | ||
public function setSshHost($sshHost) | ||
{ | ||
$this->sshHost = $sshHost; | ||
} | ||
|
||
} |