struct PlaceOS::Model::User::WorktimeBlock

Overview

start_time: Start time of work hours. e.g. 7.5 being 7:30AM end_time: End time of work hours. e.g. 18.5 being 6:30PM location: Name of the location the work is being performed at

Included Modules

Defined in:

placeos-models/user.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def end_time : Float64 #

[View source]
def end_time=(end_time : Float64) #

[View source]
def location : String #

[View source]
def location=(location : String) #

[View source]
def start_time : Float64 #

[View source]
def start_time=(start_time : Float64) #

[View source]