Skip to content
Open
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
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ClicksElementGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ClicksElementGoal implements ModelInterface, ArrayAccess, \JsonSerializabl
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ClicksLinkGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ClicksLinkGoal implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigAudience.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ConfigAudience implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static array $openAPINullables = [
'id' => false,
'key' => false,
'key' => true,
'name' => false,
'type' => false,
'rules' => true
Expand Down Expand Up @@ -365,7 +365,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigExperience.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class ConfigExperience implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'locations' => true,
'site_area' => true,
'audiences' => true,
Expand Down Expand Up @@ -482,7 +482,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigFeature.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ConfigFeature implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'variables' => false
];

Expand Down Expand Up @@ -385,7 +385,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ConfigGoal implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -438,7 +438,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigGoalBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ConfigGoalBase implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true
];
Expand Down Expand Up @@ -392,7 +392,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ConfigLocation implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static array $openAPINullables = [
'id' => false,
'key' => false,
'key' => true,
'name' => false,
'trigger' => false,
'rules' => true
Expand Down Expand Up @@ -365,7 +365,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ConfigSegment.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ConfigSegment implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static array $openAPINullables = [
'id' => false,
'key' => false,
'key' => true,
'name' => false,
'rules' => true
];
Expand Down Expand Up @@ -358,7 +358,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/DomInteractionGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class DomInteractionGoal implements ModelInterface, ArrayAccess, \JsonSerializab
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ExperienceVariationConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ExperienceVariationConfig implements ModelInterface, ArrayAccess, \JsonSer
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'traffic_allocation' => false,
'status' => false,
'changes' => false
Expand Down Expand Up @@ -407,7 +407,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/GaGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class GaGoal implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/NoSettingsGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class NoSettingsGoal implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true
];
Expand Down Expand Up @@ -417,7 +417,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/RevenueGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class RevenueGoal implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/ScrollPercentageGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ScrollPercentageGoal implements ModelInterface, ArrayAccess, \JsonSerializ
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
11 changes: 9 additions & 2 deletions packages/Types/lib/Generated/Model/SubmitsFormGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class SubmitsFormGoal implements ModelInterface, ArrayAccess, \JsonSerializable
protected static array $openAPINullables = [
'id' => false,
'name' => false,
'key' => false,
'key' => true,
'type' => false,
'rules' => true,
'settings' => false
Expand Down Expand Up @@ -420,7 +420,14 @@ public function getKey()
public function setKey($key)
{
if (is_null($key)) {
throw new \InvalidArgumentException('non-nullable key cannot be null');
array_push($this->openAPINullablesSetToNull, 'key');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('key', $nullablesSetToNull);
if ($index !== FALSE) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}
$this->container['key'] = $key;

Expand Down
Loading
Loading