//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace LukeHagar.PlexAPI.SDK.Models.Requests
{
    using LukeHagar.PlexAPI.SDK.Models.Requests;
    using LukeHagar.PlexAPI.SDK.Utils;
    using Newtonsoft.Json;
    
    /// <summary>
    /// The final status of the marker
    /// </summary>
    public class Marker
    {

        [JsonProperty("id")]
        public long Id { get; set; } = default!;

        [JsonProperty("type")]
        public string Type { get; set; } = default!;

        [JsonProperty("startTimeOffset")]
        public long StartTimeOffset { get; set; } = default!;

        [JsonProperty("endTimeOffset")]
        public long EndTimeOffset { get; set; } = default!;

        [JsonProperty("final")]
        public bool? Final { get; set; }

        /// <summary>
        /// Attributes associated with the marker.
        /// </summary>
        [JsonProperty("Attributes")]
        public Attributes? Attributes { get; set; }
    }
}