///
/// LinkedAccountRef.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 `LinkedAccountRef`, backed by a C++ struct.
public typealias LinkedAccountRef = margelo.nitro.rncandle.LinkedAccountRef

extension LinkedAccountRef {
  private typealias bridge = margelo.nitro.rncandle.bridge.swift

  /**
   * Create a new instance of `LinkedAccountRef`.
   */
  public init(linkedAccountID: String) {
    self.init(std.string(linkedAccountID))
  }

  public var linkedAccountID: String {
    @inline(__always)
    get {
      return String(self.__linkedAccountID)
    }
    @inline(__always)
    set {
      self.__linkedAccountID = std.string(newValue)
    }
  }
}
