123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?php
- namespace Proto\Api\GetBatteryMileageAndCyclesRes;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- class BatteryCycles extends \Google\Protobuf\Internal\Message
- {
-
- private $type_1;
-
- private $type_2;
-
- public function __construct($data = NULL) {
- \GPBMetadata\Api\LargeScreenData::initOnce();
- parent::__construct($data);
- }
-
- public function getType1()
- {
- return $this->type_1;
- }
-
- public function setType1($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Proto\Api\GetBatteryMileageAndCyclesRes\BatteryCycles\BatteryCyclesItem::class);
- $this->type_1 = $arr;
- return $this;
- }
-
- public function getType2()
- {
- return $this->type_2;
- }
-
- public function setType2($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Proto\Api\GetBatteryMileageAndCyclesRes\BatteryCycles\BatteryCyclesItem::class);
- $this->type_2 = $arr;
- return $this;
- }
- }
|