File: //usr/local/mailchannels/models/Token.php
<?php
namespace MailChannels;
class Token {
private $name;
private $token;
private $createTime;
private $acls;
public function __construct($name, $token, $createTime, $acls) {
$this->name = $name;
$this->token = $token;
$this->createTime = $createTime;
$this->acls = $acls;
}
public function getName() {
return $this->name;
}
public function getToken() {
return $this->token;
}
public function getCreateTime() {
return $this->createTime;
}
public function getACLs() {
return $this->acls;
}
}