- 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.7 KiB
PHP
107 lines
2.7 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApi.proto
|
|
|
|
namespace Rv\Data\NetworkAPI\Action;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.NetworkAPI.Action.API_StatusResponse</code>
|
|
*/
|
|
class API_StatusResponse extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 1;</code>
|
|
*/
|
|
protected $group_definition = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.MemberStatus status = 2;</code>
|
|
*/
|
|
protected $status = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\ProLink\GroupDefinition $group_definition
|
|
* @type \Rv\Data\ProLink\MemberStatus $status
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApi::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 1;</code>
|
|
* @return \Rv\Data\ProLink\GroupDefinition|null
|
|
*/
|
|
public function getGroupDefinition()
|
|
{
|
|
return $this->group_definition;
|
|
}
|
|
|
|
public function hasGroupDefinition()
|
|
{
|
|
return isset($this->group_definition);
|
|
}
|
|
|
|
public function clearGroupDefinition()
|
|
{
|
|
unset($this->group_definition);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 1;</code>
|
|
* @param \Rv\Data\ProLink\GroupDefinition $var
|
|
* @return $this
|
|
*/
|
|
public function setGroupDefinition($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\GroupDefinition::class);
|
|
$this->group_definition = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.MemberStatus status = 2;</code>
|
|
* @return \Rv\Data\ProLink\MemberStatus|null
|
|
*/
|
|
public function getStatus()
|
|
{
|
|
return $this->status;
|
|
}
|
|
|
|
public function hasStatus()
|
|
{
|
|
return isset($this->status);
|
|
}
|
|
|
|
public function clearStatus()
|
|
{
|
|
unset($this->status);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.MemberStatus status = 2;</code>
|
|
* @param \Rv\Data\ProLink\MemberStatus $var
|
|
* @return $this
|
|
*/
|
|
public function setStatus($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\MemberStatus::class);
|
|
$this->status = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|