template<>
daw::json::json_data_contract<VolumeRight> struct

Public types

using constructor_t = VolumeRightConstructor
using type = json_member_list<json_number<"uid", Uid>, json_string<"name", Name>, json_variant_null<"active", OptActive, jvtl_Active>, json_string_null<"purpose", OptName>, json_variant_null<"reservoir", OptSingleId, jvtl_SingleId>, json_variant_null<"right_reservoir", OptSingleId, jvtl_SingleId>, json_number_null<"direction", OptInt>, json_variant_null<"emin", OptTRealFieldSched, jvtl_TRealFieldSched>, json_variant_null<"emax", OptTRealFieldSched, jvtl_TRealFieldSched>, json_variant_null<"ecost", OptTRealFieldSched, jvtl_TRealFieldSched>, json_number_null<"eini", OptReal>, json_number_null<"efin", OptReal>, json_variant_null<"soft_emin", OptTRealFieldSched, jvtl_TRealFieldSched>, json_variant_null<"soft_emin_cost", OptTRealFieldSched, jvtl_TRealFieldSched>, json_variant_null<"demand", OptTRealFieldSched, jvtl_TRealFieldSched>, json_variant_null<"fmax", OptTBRealFieldSched, jvtl_TBRealFieldSched>, json_number_null<"fail_cost", OptReal>, json_number_null<"priority", OptReal>, json_variant_null<"saving_rate", OptTBRealFieldSched, jvtl_TBRealFieldSched>, json_number_null<"flow_conversion_rate", OptReal>, json_number_null<"energy_scale", OptReal>, json_string_null<"energy_scale_mode", OptName>, json_bool_null<"use_state_variable", OptBool>, json_variant_null<"annual_loss", OptTRealFieldSched, jvtl_TRealFieldSched>, json_string_null<"reset_month", OptName>, json_class_null<"bound_rule", std::optional<RightBoundRule>>>

Public static functions

static auto to_json_data(VolumeRight const& vr) -> auto constexpr