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
36 changes: 18 additions & 18 deletions generated/Model/LiveActivityLimitError.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class LiveActivityLimitError implements ModelInterface, ArrayAccess, \JsonSerial
'error' => 'string',
'message' => 'string',
'limit' => 'int',
'active' => 'int'
'blockedDevices' => 'int'
];

/**
Expand All @@ -74,7 +74,7 @@ class LiveActivityLimitError implements ModelInterface, ArrayAccess, \JsonSerial
'error' => null,
'message' => null,
'limit' => null,
'active' => null
'blockedDevices' => null
];

/**
Expand All @@ -86,7 +86,7 @@ class LiveActivityLimitError implements ModelInterface, ArrayAccess, \JsonSerial
'error' => false,
'message' => false,
'limit' => false,
'active' => false
'blockedDevices' => false
];

/**
Expand Down Expand Up @@ -178,7 +178,7 @@ public function isNullableSetToNull(string $property): bool
'error' => 'error',
'message' => 'message',
'limit' => 'limit',
'active' => 'active'
'blockedDevices' => 'blocked_devices'
];

/**
Expand All @@ -190,7 +190,7 @@ public function isNullableSetToNull(string $property): bool
'error' => 'setError',
'message' => 'setMessage',
'limit' => 'setLimit',
'active' => 'setActive'
'blockedDevices' => 'setBlockedDevices'
];

/**
Expand All @@ -202,7 +202,7 @@ public function isNullableSetToNull(string $property): bool
'error' => 'getError',
'message' => 'getMessage',
'limit' => 'getLimit',
'active' => 'getActive'
'blockedDevices' => 'getBlockedDevices'
];

/**
Expand Down Expand Up @@ -265,7 +265,7 @@ public function __construct(array $data = null)
$this->setIfExists('error', $data ?? [], null);
$this->setIfExists('message', $data ?? [], null);
$this->setIfExists('limit', $data ?? [], null);
$this->setIfExists('active', $data ?? [], null);
$this->setIfExists('blockedDevices', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -304,8 +304,8 @@ public function listInvalidProperties()
if ($this->container['limit'] === null) {
$invalidProperties[] = "'limit' can't be null";
}
if ($this->container['active'] === null) {
$invalidProperties[] = "'active' can't be null";
if ($this->container['blockedDevices'] === null) {
$invalidProperties[] = "'blockedDevices' can't be null";
}
return $invalidProperties;
}
Expand Down Expand Up @@ -404,28 +404,28 @@ public function setLimit($limit)
}

/**
* Gets active
* Gets blockedDevices
*
* @return int
*/
public function getActive()
public function getBlockedDevices()
{
return $this->container['active'];
return $this->container['blockedDevices'];
}

/**
* Sets active
* Sets blockedDevices
*
* @param int $active Current number of active Live Activities.
* @param int $blockedDevices Number of targeted devices that have reached the enforced iOS Live Activity concurrency threshold.
*
* @return self
*/
public function setActive($active)
public function setBlockedDevices($blockedDevices)
{
if (is_null($active)) {
throw new \InvalidArgumentException('non-nullable active cannot be null');
if (is_null($blockedDevices)) {
throw new \InvalidArgumentException('non-nullable blockedDevices cannot be null');
}
$this->container['active'] = $active;
$this->container['blockedDevices'] = $blockedDevices;

return $this;
}
Expand Down
36 changes: 18 additions & 18 deletions generated/Model/SendPushNotification429Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SendPushNotification429Response implements ModelInterface, ArrayAccess, \J
'error' => 'string',
'message' => 'string',
'limit' => 'int',
'active' => 'int'
'blockedDevices' => 'int'
];

/**
Expand All @@ -74,7 +74,7 @@ class SendPushNotification429Response implements ModelInterface, ArrayAccess, \J
'error' => null,
'message' => null,
'limit' => null,
'active' => null
'blockedDevices' => null
];

/**
Expand All @@ -86,7 +86,7 @@ class SendPushNotification429Response implements ModelInterface, ArrayAccess, \J
'error' => false,
'message' => false,
'limit' => false,
'active' => false
'blockedDevices' => false
];

/**
Expand Down Expand Up @@ -178,7 +178,7 @@ public function isNullableSetToNull(string $property): bool
'error' => 'error',
'message' => 'message',
'limit' => 'limit',
'active' => 'active'
'blockedDevices' => 'blocked_devices'
];

/**
Expand All @@ -190,7 +190,7 @@ public function isNullableSetToNull(string $property): bool
'error' => 'setError',
'message' => 'setMessage',
'limit' => 'setLimit',
'active' => 'setActive'
'blockedDevices' => 'setBlockedDevices'
];

/**
Expand All @@ -202,7 +202,7 @@ public function isNullableSetToNull(string $property): bool
'error' => 'getError',
'message' => 'getMessage',
'limit' => 'getLimit',
'active' => 'getActive'
'blockedDevices' => 'getBlockedDevices'
];

/**
Expand Down Expand Up @@ -265,7 +265,7 @@ public function __construct(array $data = null)
$this->setIfExists('error', $data ?? [], null);
$this->setIfExists('message', $data ?? [], null);
$this->setIfExists('limit', $data ?? [], null);
$this->setIfExists('active', $data ?? [], null);
$this->setIfExists('blockedDevices', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -304,8 +304,8 @@ public function listInvalidProperties()
if ($this->container['limit'] === null) {
$invalidProperties[] = "'limit' can't be null";
}
if ($this->container['active'] === null) {
$invalidProperties[] = "'active' can't be null";
if ($this->container['blockedDevices'] === null) {
$invalidProperties[] = "'blockedDevices' can't be null";
}
return $invalidProperties;
}
Expand Down Expand Up @@ -404,28 +404,28 @@ public function setLimit($limit)
}

/**
* Gets active
* Gets blockedDevices
*
* @return int
*/
public function getActive()
public function getBlockedDevices()
{
return $this->container['active'];
return $this->container['blockedDevices'];
}

/**
* Sets active
* Sets blockedDevices
*
* @param int $active Current number of active Live Activities.
* @param int $blockedDevices Number of targeted devices that have reached the enforced iOS Live Activity concurrency threshold.
*
* @return self
*/
public function setActive($active)
public function setBlockedDevices($blockedDevices)
{
if (is_null($active)) {
throw new \InvalidArgumentException('non-nullable active cannot be null');
if (is_null($blockedDevices)) {
throw new \InvalidArgumentException('non-nullable blockedDevices cannot be null');
}
$this->container['active'] = $active;
$this->container['blockedDevices'] = $blockedDevices;

return $this;
}
Expand Down