// This file is auto-generated from JSON Schema.
// Do not edit this file by hand. Regenerate via the CLI.

#![allow(clippy::all)]
#![allow(dead_code)]

use serde::{Deserialize, Serialize};


/// Time-bounded segment within a streaming session.

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SegmentRecord {

    #[serde(rename = "segmentId")]
    pub segment_id: String,

    #[serde(rename = "sessionId")]
    pub session_id: String,

    #[serde(rename = "sequenceIndex")]
    pub sequence_index: Option<i64>,

    #[serde(rename = "startTime")]
    pub start_time: Option<String>,

    #[serde(rename = "endTime")]
    pub end_time: Option<String>,

}
