55 lines
1.0 KiB
PHP
55 lines
1.0 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/*
|
||
|
|
* This file is part of the Qsnh/meedu.
|
||
|
|
*
|
||
|
|
* (c) XiaoTeng <616896861@qq.com>
|
||
|
|
*
|
||
|
|
* This source file is subject to the MIT license that is bundled
|
||
|
|
* with this source code in the file LICENSE.
|
||
|
|
*/
|
||
|
|
|
||
|
|
class Endpoint
|
||
|
|
{
|
||
|
|
private $name;
|
||
|
|
private $regionIds;
|
||
|
|
private $productDomains;
|
||
|
|
|
||
|
|
public function __construct($name, $regionIds, $productDomains)
|
||
|
|
{
|
||
|
|
$this->name = $name;
|
||
|
|
$this->regionIds = $regionIds;
|
||
|
|
$this->productDomains = $productDomains;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function getName()
|
||
|
|
{
|
||
|
|
return $this->name;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function setName($name)
|
||
|
|
{
|
||
|
|
$this->name = $name;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function getRegionIds()
|
||
|
|
{
|
||
|
|
return $this->regionIds;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function setRegionIds($regionIds)
|
||
|
|
{
|
||
|
|
$this->regionIds = $regionIds;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function getProductDomains()
|
||
|
|
{
|
||
|
|
return $this->productDomains;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function setProductDomains($productDomains)
|
||
|
|
{
|
||
|
|
$this->productDomains = $productDomains;
|
||
|
|
}
|
||
|
|
}
|