- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
107 lines
2.6 KiB
PHP
107 lines
2.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Status.proto
|
|
|
|
namespace Rv\Data\API_v1_Status_Response;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_Status_Response.GetSlide</code>
|
|
*/
|
|
class GetSlide extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
|
|
*/
|
|
protected $current = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
|
|
*/
|
|
protected $next = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\API_v1_SlideDisplayDetails $current
|
|
* @type \Rv\Data\API_v1_SlideDisplayDetails $next
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Status::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
|
|
* @return \Rv\Data\API_v1_SlideDisplayDetails|null
|
|
*/
|
|
public function getCurrent()
|
|
{
|
|
return $this->current;
|
|
}
|
|
|
|
public function hasCurrent()
|
|
{
|
|
return isset($this->current);
|
|
}
|
|
|
|
public function clearCurrent()
|
|
{
|
|
unset($this->current);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails current = 1;</code>
|
|
* @param \Rv\Data\API_v1_SlideDisplayDetails $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrent($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_SlideDisplayDetails::class);
|
|
$this->current = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
|
|
* @return \Rv\Data\API_v1_SlideDisplayDetails|null
|
|
*/
|
|
public function getNext()
|
|
{
|
|
return $this->next;
|
|
}
|
|
|
|
public function hasNext()
|
|
{
|
|
return isset($this->next);
|
|
}
|
|
|
|
public function clearNext()
|
|
{
|
|
unset($this->next);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_SlideDisplayDetails next = 2;</code>
|
|
* @param \Rv\Data\API_v1_SlideDisplayDetails $var
|
|
* @return $this
|
|
*/
|
|
public function setNext($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_SlideDisplayDetails::class);
|
|
$this->next = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|