123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: mail.proto
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- *邮箱信息
- *
- * Generated from protobuf message <code>MailInfo</code>
- */
- class MailInfo extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>string mail_json_info = 1;</code>
- */
- protected $mail_json_info = '';
- /**
- * Generated from protobuf field <code>int32 mail_type = 2;</code>
- */
- protected $mail_type = 0;
- /**
- * Generated from protobuf field <code>int32 check_status = 3;</code>
- */
- protected $check_status = 0;
- /**
- * Generated from protobuf field <code>int32 receive_status = 4;</code>
- */
- protected $receive_status = 0;
- /**
- * Generated from protobuf field <code>string create_time = 5;</code>
- */
- protected $create_time = '';
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $mail_json_info
- * @type int $mail_type
- * @type int $check_status
- * @type int $receive_status
- * @type string $create_time
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Mail::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>string mail_json_info = 1;</code>
- * @return string
- */
- public function getMailJsonInfo()
- {
- return $this->mail_json_info;
- }
- /**
- * Generated from protobuf field <code>string mail_json_info = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setMailJsonInfo($var)
- {
- GPBUtil::checkString($var, True);
- $this->mail_json_info = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 mail_type = 2;</code>
- * @return int
- */
- public function getMailType()
- {
- return $this->mail_type;
- }
- /**
- * Generated from protobuf field <code>int32 mail_type = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setMailType($var)
- {
- GPBUtil::checkInt32($var);
- $this->mail_type = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 check_status = 3;</code>
- * @return int
- */
- public function getCheckStatus()
- {
- return $this->check_status;
- }
- /**
- * Generated from protobuf field <code>int32 check_status = 3;</code>
- * @param int $var
- * @return $this
- */
- public function setCheckStatus($var)
- {
- GPBUtil::checkInt32($var);
- $this->check_status = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 receive_status = 4;</code>
- * @return int
- */
- public function getReceiveStatus()
- {
- return $this->receive_status;
- }
- /**
- * Generated from protobuf field <code>int32 receive_status = 4;</code>
- * @param int $var
- * @return $this
- */
- public function setReceiveStatus($var)
- {
- GPBUtil::checkInt32($var);
- $this->receive_status = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string create_time = 5;</code>
- * @return string
- */
- public function getCreateTime()
- {
- return $this->create_time;
- }
- /**
- * Generated from protobuf field <code>string create_time = 5;</code>
- * @param string $var
- * @return $this
- */
- public function setCreateTime($var)
- {
- GPBUtil::checkString($var, True);
- $this->create_time = $var;
- return $this;
- }
- }
|