Skip to content

Commit 575a306

Browse files
authored
v3.21.0 (#94)
1 parent 19654eb commit 575a306

File tree

8 files changed

+33
-121
lines changed

8 files changed

+33
-121
lines changed

MuxPhp/Api/MetricsApi.php

Lines changed: 20 additions & 20 deletions
Large diffs are not rendered by default.

MuxPhp/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class Configuration
9191
*
9292
* @var string
9393
*/
94-
protected $userAgent = 'Mux PHP | 3.20.0';
94+
protected $userAgent = 'Mux PHP | 3.21.0';
9595

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

406406
return $report;

MuxPhp/Models/VideoView.php

Lines changed: 0 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ class VideoView implements ModelInterface, ArrayAccess, \JsonSerializable
221221
'ad_playback_failure_error_type_id' => 'int',
222222
'view_content_startup_time' => 'int',
223223
'ad_preroll_startup_time' => 'int',
224-
'ad_watch_time' => 'int',
225-
'view_content_watch_time' => 'int',
226224
'view_dropped' => 'bool'
227225
];
228226

@@ -395,8 +393,6 @@ class VideoView implements ModelInterface, ArrayAccess, \JsonSerializable
395393
'ad_playback_failure_error_type_id' => 'int32',
396394
'view_content_startup_time' => 'int32',
397395
'ad_preroll_startup_time' => 'int32',
398-
'ad_watch_time' => 'int32',
399-
'view_content_watch_time' => 'int32',
400396
'view_dropped' => null
401397
];
402398

@@ -567,8 +563,6 @@ class VideoView implements ModelInterface, ArrayAccess, \JsonSerializable
567563
'ad_playback_failure_error_type_id' => true,
568564
'view_content_startup_time' => true,
569565
'ad_preroll_startup_time' => true,
570-
'ad_watch_time' => true,
571-
'view_content_watch_time' => true,
572566
'view_dropped' => false
573567
];
574568

@@ -809,8 +803,6 @@ public function isNullableSetToNull(string $property): bool
809803
'ad_playback_failure_error_type_id' => 'ad_playback_failure_error_type_id',
810804
'view_content_startup_time' => 'view_content_startup_time',
811805
'ad_preroll_startup_time' => 'ad_preroll_startup_time',
812-
'ad_watch_time' => 'ad_watch_time',
813-
'view_content_watch_time' => 'view_content_watch_time',
814806
'view_dropped' => 'view_dropped'
815807
];
816808

@@ -981,8 +973,6 @@ public function isNullableSetToNull(string $property): bool
981973
'ad_playback_failure_error_type_id' => 'setAdPlaybackFailureErrorTypeId',
982974
'view_content_startup_time' => 'setViewContentStartupTime',
983975
'ad_preroll_startup_time' => 'setAdPrerollStartupTime',
984-
'ad_watch_time' => 'setAdWatchTime',
985-
'view_content_watch_time' => 'setViewContentWatchTime',
986976
'view_dropped' => 'setViewDropped'
987977
];
988978

@@ -1153,8 +1143,6 @@ public function isNullableSetToNull(string $property): bool
11531143
'ad_playback_failure_error_type_id' => 'getAdPlaybackFailureErrorTypeId',
11541144
'view_content_startup_time' => 'getViewContentStartupTime',
11551145
'ad_preroll_startup_time' => 'getAdPrerollStartupTime',
1156-
'ad_watch_time' => 'getAdWatchTime',
1157-
'view_content_watch_time' => 'getViewContentWatchTime',
11581146
'view_dropped' => 'getViewDropped'
11591147
];
11601148

@@ -1379,8 +1367,6 @@ public function __construct(array $data = null)
13791367
$this->setIfExists('ad_playback_failure_error_type_id', $data ?? [], null);
13801368
$this->setIfExists('view_content_startup_time', $data ?? [], null);
13811369
$this->setIfExists('ad_preroll_startup_time', $data ?? [], null);
1382-
$this->setIfExists('ad_watch_time', $data ?? [], null);
1383-
$this->setIfExists('view_content_watch_time', $data ?? [], null);
13841370
$this->setIfExists('view_dropped', $data ?? [], null);
13851371
}
13861372

@@ -7061,78 +7047,6 @@ public function setAdPrerollStartupTime($ad_preroll_startup_time)
70617047
return $this;
70627048
}
70637049

7064-
/**
7065-
* Gets ad_watch_time
7066-
*
7067-
* @return int|null
7068-
*/
7069-
public function getAdWatchTime()
7070-
{
7071-
return $this->container['ad_watch_time'];
7072-
}
7073-
7074-
/**
7075-
* Sets ad_watch_time
7076-
*
7077-
* @param int|null $ad_watch_time ad_watch_time
7078-
*
7079-
* @return self
7080-
*/
7081-
public function setAdWatchTime($ad_watch_time)
7082-
{
7083-
7084-
if (is_null($ad_watch_time)) {
7085-
array_push($this->openAPINullablesSetToNull, 'ad_watch_time');
7086-
} else {
7087-
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
7088-
$index = array_search('ad_watch_time', $nullablesSetToNull, true);
7089-
if ($index !== false) {
7090-
unset($nullablesSetToNull[$index]);
7091-
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
7092-
}
7093-
}
7094-
7095-
$this->container['ad_watch_time'] = $ad_watch_time;
7096-
7097-
return $this;
7098-
}
7099-
7100-
/**
7101-
* Gets view_content_watch_time
7102-
*
7103-
* @return int|null
7104-
*/
7105-
public function getViewContentWatchTime()
7106-
{
7107-
return $this->container['view_content_watch_time'];
7108-
}
7109-
7110-
/**
7111-
* Sets view_content_watch_time
7112-
*
7113-
* @param int|null $view_content_watch_time view_content_watch_time
7114-
*
7115-
* @return self
7116-
*/
7117-
public function setViewContentWatchTime($view_content_watch_time)
7118-
{
7119-
7120-
if (is_null($view_content_watch_time)) {
7121-
array_push($this->openAPINullablesSetToNull, 'view_content_watch_time');
7122-
} else {
7123-
$nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
7124-
$index = array_search('view_content_watch_time', $nullablesSetToNull, true);
7125-
if ($index !== false) {
7126-
unset($nullablesSetToNull[$index]);
7127-
$this->setOpenAPINullablesSetToNull($nullablesSetToNull);
7128-
}
7129-
}
7130-
7131-
$this->container['view_content_watch_time'] = $view_content_watch_time;
7132-
7133-
return $this;
7134-
}
7135-
71367050
/**
71377051
* Gets view_dropped
71387052
*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,5 +443,5 @@ devex@mux.com
443443
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
444444

445445
- API version: `v1`
446-
- Package version: `3.20.0`
446+
- Package version: `3.21.0`
447447
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "muxinc/mux-php",
3-
"version": "3.20.0",
3+
"version": "3.21.0",
44
"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.",
55
"keywords": [
66
"php",

0 commit comments

Comments
 (0)