Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.21.0 #94

Merged
merged 1 commit into from
Nov 20, 2024
Merged
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
40 changes: 20 additions & 20 deletions MuxPhp/Api/MetricsApi.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions MuxPhp/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'Mux PHP | 3.20.0';
protected $userAgent = 'Mux PHP | 3.21.0';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -400,7 +400,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: v1' . PHP_EOL;
$report .= ' SDK Package Version: 3.20.0' . PHP_EOL;
$report .= ' SDK Package Version: 3.21.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
86 changes: 0 additions & 86 deletions MuxPhp/Models/VideoView.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ class VideoView implements ModelInterface, ArrayAccess, \JsonSerializable
'ad_playback_failure_error_type_id' => 'int',
'view_content_startup_time' => 'int',
'ad_preroll_startup_time' => 'int',
'ad_watch_time' => 'int',
'view_content_watch_time' => 'int',
'view_dropped' => 'bool'
];

Expand Down Expand Up @@ -395,8 +393,6 @@ class VideoView implements ModelInterface, ArrayAccess, \JsonSerializable
'ad_playback_failure_error_type_id' => 'int32',
'view_content_startup_time' => 'int32',
'ad_preroll_startup_time' => 'int32',
'ad_watch_time' => 'int32',
'view_content_watch_time' => 'int32',
'view_dropped' => null
];

Expand Down Expand Up @@ -567,8 +563,6 @@ class VideoView implements ModelInterface, ArrayAccess, \JsonSerializable
'ad_playback_failure_error_type_id' => true,
'view_content_startup_time' => true,
'ad_preroll_startup_time' => true,
'ad_watch_time' => true,
'view_content_watch_time' => true,
'view_dropped' => false
];

Expand Down Expand Up @@ -809,8 +803,6 @@ public function isNullableSetToNull(string $property): bool
'ad_playback_failure_error_type_id' => 'ad_playback_failure_error_type_id',
'view_content_startup_time' => 'view_content_startup_time',
'ad_preroll_startup_time' => 'ad_preroll_startup_time',
'ad_watch_time' => 'ad_watch_time',
'view_content_watch_time' => 'view_content_watch_time',
'view_dropped' => 'view_dropped'
];

Expand Down Expand Up @@ -981,8 +973,6 @@ public function isNullableSetToNull(string $property): bool
'ad_playback_failure_error_type_id' => 'setAdPlaybackFailureErrorTypeId',
'view_content_startup_time' => 'setViewContentStartupTime',
'ad_preroll_startup_time' => 'setAdPrerollStartupTime',
'ad_watch_time' => 'setAdWatchTime',
'view_content_watch_time' => 'setViewContentWatchTime',
'view_dropped' => 'setViewDropped'
];

Expand Down Expand Up @@ -1153,8 +1143,6 @@ public function isNullableSetToNull(string $property): bool
'ad_playback_failure_error_type_id' => 'getAdPlaybackFailureErrorTypeId',
'view_content_startup_time' => 'getViewContentStartupTime',
'ad_preroll_startup_time' => 'getAdPrerollStartupTime',
'ad_watch_time' => 'getAdWatchTime',
'view_content_watch_time' => 'getViewContentWatchTime',
'view_dropped' => 'getViewDropped'
];

Expand Down Expand Up @@ -1379,8 +1367,6 @@ public function __construct(array $data = null)
$this->setIfExists('ad_playback_failure_error_type_id', $data ?? [], null);
$this->setIfExists('view_content_startup_time', $data ?? [], null);
$this->setIfExists('ad_preroll_startup_time', $data ?? [], null);
$this->setIfExists('ad_watch_time', $data ?? [], null);
$this->setIfExists('view_content_watch_time', $data ?? [], null);
$this->setIfExists('view_dropped', $data ?? [], null);
}

Expand Down Expand Up @@ -7061,78 +7047,6 @@ public function setAdPrerollStartupTime($ad_preroll_startup_time)
return $this;
}

/**
* Gets ad_watch_time
*
* @return int|null
*/
public function getAdWatchTime()
{
return $this->container['ad_watch_time'];
}

/**
* Sets ad_watch_time
*
* @param int|null $ad_watch_time ad_watch_time
*
* @return self
*/
public function setAdWatchTime($ad_watch_time)
{

if (is_null($ad_watch_time)) {
array_push($this->openAPINullablesSetToNull, 'ad_watch_time');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('ad_watch_time', $nullablesSetToNull, true);
if ($index !== false) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}

$this->container['ad_watch_time'] = $ad_watch_time;

return $this;
}

/**
* Gets view_content_watch_time
*
* @return int|null
*/
public function getViewContentWatchTime()
{
return $this->container['view_content_watch_time'];
}

/**
* Sets view_content_watch_time
*
* @param int|null $view_content_watch_time view_content_watch_time
*
* @return self
*/
public function setViewContentWatchTime($view_content_watch_time)
{

if (is_null($view_content_watch_time)) {
array_push($this->openAPINullablesSetToNull, 'view_content_watch_time');
} else {
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
$index = array_search('view_content_watch_time', $nullablesSetToNull, true);
if ($index !== false) {
unset($nullablesSetToNull[$index]);
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
}
}

$this->container['view_content_watch_time'] = $view_content_watch_time;

return $this;
}

/**
* Gets view_dropped
*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,5 +443,5 @@ [email protected]
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `v1`
- Package version: `3.20.0`
- Package version: `3.21.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "muxinc/mux-php",
"version": "3.20.0",
"version": "3.21.0",
"description": "Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.",
"keywords": [
"php",
Expand Down
Loading
Loading