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

Feature/start encoding request #69

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
38 changes: 38 additions & 0 deletions src/Bitmovin/api/model/encodings/StartEncodingManifestItem.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php

namespace Bitmovin\api\model\encodings;

use Bitmovin\api\model\ModelInterface;
use JMS\Serializer\Annotation as JMS;

class StartEncodingManifestItem implements ModelInterface
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions for name of this class?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{

/**
* @JMS\Type("string")
* @var string
*/
private $manifestId;

/**
* @return string
*/
public function getManifestId()
{
return $this->$manifestId;
}

/**
* @param string $manifestId
*/
public function setManifestId($manifestId)
{
$this->manifestId = $manifestId;
}

public function getId()
{
return null;
}

}
84 changes: 84 additions & 0 deletions src/Bitmovin/api/model/encodings/StartEncodingRequest.php
Original file line number Diff line number Diff line change
@@ -13,6 +13,26 @@ class StartEncodingRequest implements ModelInterface
*/
private $trimming;

/**
* @var array
*/
private $previewDashManifests = array();

/**
* @var array
*/
private $previewHlsManifests = array();

/**
* @var array
*/
private $vodDashManifests = array();

/**
* @var array
*/
private $vodHlsManifests = array();

/**
* @return StartEncodingTrimming
*/
@@ -29,6 +49,70 @@ public function setTrimming($trimming)
$this->trimming = $trimming;
}

/**
* @return array
*/
public function getPreviewDashManifests()
{
return $this->previewDashManifests;
}

/**
* @param array $schema
*/
public function setPreviewDashManifests($previewDashManifests)
{
$this->previewDashManifests = $previewDashManifests;
}

/**
* @return array
*/
public function getPreviewHlsManifests()
{
return $this->previewHlsManifests;
}

/**
* @param array $schema
*/
public function setPreviewHlsManifests($previewHlsManifests)
{
$this->previewHlsManifests = $previewHlsManifests;
}

/**
* @return array
*/
public function getVodDashManifests()
{
return $this->vodDashManifests;
}

/**
* @param array $schema
*/
public function setVodDashManifests($vodDashManifests)
{
$this->vodDashManifests = $vodDashManifests;
}

/**
* @return array
*/
public function getVodHlsManifests()
{
return $this->vodHlsManifests;
}

/**
* @param array $schema
*/
public function setVodHlsManifests($vodHlsManifests)
{
$this->vodHlsManifests = $vodHlsManifests;
}

public function getId()
{
return null;