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

#include "HybridOneContactUISpec.hpp"

namespace margelo::nitro::one {

  void HybridOneContactUISpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridGetter("contact", &HybridOneContactUISpec::getContact);
      prototype.registerHybridGetter("displayedPropertyKeys", &HybridOneContactUISpec::getDisplayedPropertyKeys);
      prototype.registerHybridSetter("displayedPropertyKeys", &HybridOneContactUISpec::setDisplayedPropertyKeys);
      prototype.registerHybridGetter("alternateName", &HybridOneContactUISpec::getAlternateName);
      prototype.registerHybridSetter("alternateName", &HybridOneContactUISpec::setAlternateName);
      prototype.registerHybridGetter("message", &HybridOneContactUISpec::getMessage);
      prototype.registerHybridSetter("message", &HybridOneContactUISpec::setMessage);
      prototype.registerHybridGetter("allowsEditing", &HybridOneContactUISpec::getAllowsEditing);
      prototype.registerHybridSetter("allowsEditing", &HybridOneContactUISpec::setAllowsEditing);
      prototype.registerHybridGetter("allowsActions", &HybridOneContactUISpec::getAllowsActions);
      prototype.registerHybridSetter("allowsActions", &HybridOneContactUISpec::setAllowsActions);
      prototype.registerHybridGetter("shouldShowLinkedContacts", &HybridOneContactUISpec::getShouldShowLinkedContacts);
      prototype.registerHybridSetter("shouldShowLinkedContacts", &HybridOneContactUISpec::setShouldShowLinkedContacts);
      prototype.registerHybridMethod("descriptorForRequiredKeys", &HybridOneContactUISpec::descriptorForRequiredKeys);
      prototype.registerHybridMethod("configure", &HybridOneContactUISpec::configure);
      prototype.registerHybridMethod("getContactStore", &HybridOneContactUISpec::getContactStore);
      prototype.registerHybridMethod("setContactStore", &HybridOneContactUISpec::setContactStore);
      prototype.registerHybridMethod("highlightProperty", &HybridOneContactUISpec::highlightProperty);
      prototype.registerHybridMethod("present", &HybridOneContactUISpec::present);
      prototype.registerHybridMethod("dismiss", &HybridOneContactUISpec::dismiss);
    });
  }

} // namespace margelo::nitro::one
