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

import NitroModules

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

public extension SpeechSynthesisVoice {
  private typealias bridge = margelo.nitro.one.bridge.swift

  /**
   * Create a new instance of `SpeechSynthesisVoice`.
   */
  init(identifier: String, language: String, name: String, quality: SpeechSynthesisVoiceQuality) {
    self.init(std.string(identifier), std.string(language), std.string(name), quality)
  }

  @inline(__always)
  var identifier: String {
    return String(self.__identifier)
  }
  
  @inline(__always)
  var language: String {
    return String(self.__language)
  }
  
  @inline(__always)
  var name: String {
    return String(self.__name)
  }
  
  @inline(__always)
  var quality: SpeechSynthesisVoiceQuality {
    return self.__quality
  }
}
