///
/// TimedMetadataObject.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © 2025 Marc Rousavy @ Margelo
///

import NitroModules

/**
 * Represents an instance of `TimedMetadataObject`, backed by a C++ struct.
 */
public typealias TimedMetadataObject = margelo.nitro.video.TimedMetadataObject

public extension TimedMetadataObject {
  private typealias bridge = margelo.nitro.video.bridge.swift

  /**
   * Create a new instance of `TimedMetadataObject`.
   */
  init(value: String, identifier: String) {
    self.init(std.string(value), std.string(identifier))
  }

  var value: String {
    @inline(__always)
    get {
      return String(self.__value)
    }
    @inline(__always)
    set {
      self.__value = std.string(newValue)
    }
  }
  
  var identifier: String {
    @inline(__always)
    get {
      return String(self.__identifier)
    }
    @inline(__always)
    set {
      self.__identifier = std.string(newValue)
    }
  }
}
