@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
49 lines (48 loc) • 1.23 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { MediaSegmentType } from './media-segment-type';
/**
* Api model for MediaSegment\'s.
* @export
* @interface MediaSegmentDto
*/
export interface MediaSegmentDto {
/**
* Gets or sets the id of the media segment.
* @type {string}
* @memberof MediaSegmentDto
*/
'Id'?: string;
/**
* Gets or sets the id of the associated item.
* @type {string}
* @memberof MediaSegmentDto
*/
'ItemId'?: string;
/**
*
* @type {MediaSegmentType}
* @memberof MediaSegmentDto
*/
'Type'?: MediaSegmentType;
/**
* Gets or sets the start of the segment.
* @type {number}
* @memberof MediaSegmentDto
*/
'StartTicks'?: number;
/**
* Gets or sets the end of the segment.
* @type {number}
* @memberof MediaSegmentDto
*/
'EndTicks'?: number;
}