Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions generated/Model/LiveActivityStreamPutResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class LiveActivityStreamPutResponse implements ModelInterface, ArrayAccess, \Jso
'usersNotified' => 'int',
'effectiveChannelSlugs' => 'string[]',
'tags' => 'string[]',
'warning' => 'string',
'timestamp' => '\DateTime'
];

Expand All @@ -89,6 +90,7 @@ class LiveActivityStreamPutResponse implements ModelInterface, ArrayAccess, \Jso
'usersNotified' => null,
'effectiveChannelSlugs' => null,
'tags' => null,
'warning' => null,
'timestamp' => 'date-time'
];

Expand All @@ -108,6 +110,7 @@ class LiveActivityStreamPutResponse implements ModelInterface, ArrayAccess, \Jso
'usersNotified' => false,
'effectiveChannelSlugs' => false,
'tags' => false,
'warning' => false,
'timestamp' => false
];

Expand Down Expand Up @@ -207,6 +210,7 @@ public function isNullableSetToNull(string $property): bool
'usersNotified' => 'users_notified',
'effectiveChannelSlugs' => 'effective_channel_slugs',
'tags' => 'tags',
'warning' => 'warning',
'timestamp' => 'timestamp'
];

Expand All @@ -226,6 +230,7 @@ public function isNullableSetToNull(string $property): bool
'usersNotified' => 'setUsersNotified',
'effectiveChannelSlugs' => 'setEffectiveChannelSlugs',
'tags' => 'setTags',
'warning' => 'setWarning',
'timestamp' => 'setTimestamp'
];

Expand All @@ -245,6 +250,7 @@ public function isNullableSetToNull(string $property): bool
'usersNotified' => 'getUsersNotified',
'effectiveChannelSlugs' => 'getEffectiveChannelSlugs',
'tags' => 'getTags',
'warning' => 'getWarning',
'timestamp' => 'getTimestamp'
];

Expand Down Expand Up @@ -336,6 +342,7 @@ public function __construct(array $data = null)
$this->setIfExists('usersNotified', $data ?? [], null);
$this->setIfExists('effectiveChannelSlugs', $data ?? [], null);
$this->setIfExists('tags', $data ?? [], null);
$this->setIfExists('warning', $data ?? [], null);
$this->setIfExists('timestamp', $data ?? [], null);
}

Expand Down Expand Up @@ -689,6 +696,33 @@ public function setTags($tags)
return $this;
}

/**
* Gets warning
*
* @return string|null
*/
public function getWarning()
{
return $this->container['warning'];
}

/**
* Sets warning
*
* @param string|null $warning Present on `updated` responses when the previous update to this stream was less than 2 minutes ago. The update is still sent, but iOS may throttle frequent Live Activity updates.
*
* @return self
*/
public function setWarning($warning)
{
if (is_null($warning)) {
throw new \InvalidArgumentException('non-nullable warning cannot be null');
}
$this->container['warning'] = $warning;

return $this;
}

/**
* Gets timestamp
*
Expand Down
4 changes: 2 additions & 2 deletions generated/openapi-source.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"repository": "ActivitySmithHQ/activitysmith-backend",
"commit": "ce15d69eeb25776a3ae395e77d8b907ff7ba0709",
"commit": "3120827651d53be35682c307581b645e019e171a",
"path": "openapi.json",
"sha256": "b113d50e06d6581707d9472dda6e371b996441f58dceba87a88f79cb96508a7d"
"sha256": "6bb006eedfcefc69dc10084e894f499be330fa43cd17c5ddc2fa29d2acb4e356"
}
Loading