ledger-core
ExtendedKeyAccountCreationInfo.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_EXTENDEDKEYACCOUNTCREATIONINFO_HPP
5 #define DJINNI_GENERATED_EXTENDEDKEYACCOUNTCREATIONINFO_HPP
6 
7 #include <cstdint>
8 #include <iostream>
9 #include <string>
10 #include <utility>
11 #include <vector>
12 
13 namespace ledger { namespace core { namespace api {
14 
17  int32_t index;
18  std::vector<std::string> owners;
19  std::vector<std::string> derivations;
20  std::vector<std::string> extendedKeys;
21 
22  ExtendedKeyAccountCreationInfo(int32_t index_,
23  std::vector<std::string> owners_,
24  std::vector<std::string> derivations_,
25  std::vector<std::string> extendedKeys_)
26  : index(std::move(index_))
27  , owners(std::move(owners_))
28  , derivations(std::move(derivations_))
29  , extendedKeys(std::move(extendedKeys_))
30  {}
31 
33  this->index = cpy.index;
34  this->owners = cpy.owners;
35  this->derivations = cpy.derivations;
36  this->extendedKeys = cpy.extendedKeys;
37  }
38 
40 
41 
43  this->index = cpy.index;
44  this->owners = cpy.owners;
45  this->derivations = cpy.derivations;
46  this->extendedKeys = cpy.extendedKeys;
47  return *this;
48  }
49 
50  template <class Archive>
51  void load(Archive& archive) {
52  archive(index, owners, derivations, extendedKeys);
53  }
54 
55  template <class Archive>
56  void save(Archive& archive) const {
57  archive(index, owners, derivations, extendedKeys);
58  }
59 };
60 
61 } } } // namespace ledger::core::api
62 #endif //DJINNI_GENERATED_EXTENDEDKEYACCOUNTCREATIONINFO_HPP
Definition: ExtendedKeyAccountCreationInfo.hpp:16
Definition: Account.cpp:8