propresenter7-php-lib/generated/Rv/Data/API_v1_Macro_Request/PutMacro.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

151 lines
3.5 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Macro.proto
namespace Rv\Data\API_v1_Macro_Request;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.API_v1_Macro_Request.PutMacro</code>
*/
class PutMacro extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string id = 1;</code>
*/
protected $id = '';
/**
* Generated from protobuf field <code>string name_change = 2;</code>
*/
protected $name_change = '';
/**
* Generated from protobuf field <code>.rv.data.API_v1_Color color_change = 3;</code>
*/
protected $color_change = null;
/**
* Generated from protobuf field <code>string image_type_change = 4;</code>
*/
protected $image_type_change = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $id
* @type string $name_change
* @type \Rv\Data\API_v1_Color $color_change
* @type string $image_type_change
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Macro::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string id = 1;</code>
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Generated from protobuf field <code>string id = 1;</code>
* @param string $var
* @return $this
*/
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
}
/**
* Generated from protobuf field <code>string name_change = 2;</code>
* @return string
*/
public function getNameChange()
{
return $this->name_change;
}
/**
* Generated from protobuf field <code>string name_change = 2;</code>
* @param string $var
* @return $this
*/
public function setNameChange($var)
{
GPBUtil::checkString($var, True);
$this->name_change = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Color color_change = 3;</code>
* @return \Rv\Data\API_v1_Color|null
*/
public function getColorChange()
{
return $this->color_change;
}
public function hasColorChange()
{
return isset($this->color_change);
}
public function clearColorChange()
{
unset($this->color_change);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Color color_change = 3;</code>
* @param \Rv\Data\API_v1_Color $var
* @return $this
*/
public function setColorChange($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Color::class);
$this->color_change = $var;
return $this;
}
/**
* Generated from protobuf field <code>string image_type_change = 4;</code>
* @return string
*/
public function getImageTypeChange()
{
return $this->image_type_change;
}
/**
* Generated from protobuf field <code>string image_type_change = 4;</code>
* @param string $var
* @return $this
*/
public function setImageTypeChange($var)
{
GPBUtil::checkString($var, True);
$this->image_type_change = $var;
return $this;
}
}