Line data Source code
1 : /* 2 : * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved. 3 : * Copyright Contributors to the OpenSDN project 4 : */ 5 : 6 : #ifndef ctrlplane_json_adapter_data_h 7 : #define ctrlplane_json_adapter_data_h 8 : 9 : #include <string> 10 : #include <vector> 11 : 12 : struct JsonAdapterDataType { 13 142720 : JsonAdapterDataType(const std::string &k, const std::string &v) 14 142720 : : key(k), value(v) { 15 142732 : } 16 : std::string key; 17 : std::string value; 18 : std::string ref_fq_name; 19 : }; 20 : 21 : typedef std::vector<JsonAdapterDataType> CassColumnKVVec; 22 : 23 : #endif // ctrlplane_json_adapter_data_h