# struct JosieHealth::LUT::SessionTotals

- JosieHealth::LUT::SessionTotals
- Struct
- Value
- Object

##
Defined in:

data_analysis.cr

##
Constructors

- .new(entries_count : Int32, substances : Array(String), first_dose : Time, last_dose : Time, total_duration_minutes : Int32, units_stats : Hash(String, Float64))

##
Instance Method Summary

- #clone
- #copy_with(entries_count _entries_count = @entries_count, substances _substances = @substances, first_dose _first_dose = @first_dose, last_dose _last_dose = @last_dose, total_duration_minutes _total_duration_minutes = @total_duration_minutes, units_stats _units_stats = @units_stats)
- #entries_count : Int32
- #first_dose : Time
- #last_dose : Time
- #substances : Array(String)
- #total_duration_minutes : Int32
- #units_stats : Hash(String, Float64)

##
Constructor Detail

def self.new(entries_count : Int32, substances : Array(String), first_dose : Time, last_dose : Time, total_duration_minutes : Int32, units_stats : Hash(String, Float64)) #

##
Instance Method Detail

def clone #
def copy_with(entries_count _entries_count = @entries_count, substances _substances = @substances, first_dose _first_dose = @first_dose, last_dose _last_dose = @last_dose, total_duration_minutes _total_duration_minutes = @total_duration_minutes, units_stats _units_stats = @units_stats) #
def entries_count : Int32 #
def first_dose : Time #
def last_dose : Time #
def substances : Array(String) #
def total_duration_minutes : Int32 #
def units_stats : Hash(String, Float64) #