From 101c5c3310a91970ac093ebb0a1724532400b91d Mon Sep 17 00:00:00 2001 From: activitysmith-bot Date: Sun, 3 May 2026 14:18:59 +0000 Subject: [PATCH] chore: regenerate SDK --- generated/Model/MetricValueUpdateRequest.php | 46 +++----------------- 1 file changed, 6 insertions(+), 40 deletions(-) diff --git a/generated/Model/MetricValueUpdateRequest.php b/generated/Model/MetricValueUpdateRequest.php index 3f05c54..d2e9e90 100644 --- a/generated/Model/MetricValueUpdateRequest.php +++ b/generated/Model/MetricValueUpdateRequest.php @@ -58,8 +58,7 @@ class MetricValueUpdateRequest implements ModelInterface, ArrayAccess, \JsonSeri * @var string[] */ protected static $openAPITypes = [ - 'value' => '\ActivitySmith\Generated\Model\MetricValueUpdateRequestValue', - 'timestamp' => '\DateTime' + 'value' => '\ActivitySmith\Generated\Model\MetricValueUpdateRequestValue' ]; /** @@ -70,8 +69,7 @@ class MetricValueUpdateRequest implements ModelInterface, ArrayAccess, \JsonSeri * @psalm-var array */ protected static $openAPIFormats = [ - 'value' => null, - 'timestamp' => 'date-time' + 'value' => null ]; /** @@ -80,8 +78,7 @@ class MetricValueUpdateRequest implements ModelInterface, ArrayAccess, \JsonSeri * @var boolean[] */ protected static array $openAPINullables = [ - 'value' => false, - 'timestamp' => false + 'value' => false ]; /** @@ -170,8 +167,7 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $attributeMap = [ - 'value' => 'value', - 'timestamp' => 'timestamp' + 'value' => 'value' ]; /** @@ -180,8 +176,7 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $setters = [ - 'value' => 'setValue', - 'timestamp' => 'setTimestamp' + 'value' => 'setValue' ]; /** @@ -190,8 +185,7 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $getters = [ - 'value' => 'getValue', - 'timestamp' => 'getTimestamp' + 'value' => 'getValue' ]; /** @@ -252,7 +246,6 @@ public function getModelName() public function __construct(array $data = null) { $this->setIfExists('value', $data ?? [], null); - $this->setIfExists('timestamp', $data ?? [], null); } /** @@ -326,33 +319,6 @@ public function setValue($value) return $this; } - - /** - * Gets timestamp - * - * @return \DateTime|null - */ - public function getTimestamp() - { - return $this->container['timestamp']; - } - - /** - * Sets timestamp - * - * @param \DateTime|null $timestamp Optional ISO timestamp for when the metric value was measured. Defaults to the server receive time. - * - * @return self - */ - public function setTimestamp($timestamp) - { - if (is_null($timestamp)) { - throw new \InvalidArgumentException('non-nullable timestamp cannot be null'); - } - $this->container['timestamp'] = $timestamp; - - return $this; - } /** * Returns true if offset exists. False otherwise. *