struct PlaceOS::Model::User::WorktimePreference

Overview

day_of_week: Index of the day of the week. 0 being Sunday

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 blocks : Array(WorktimeBlock) #

[View source]
def blocks=(blocks : Array(WorktimeBlock)) #

[View source]
def day_of_week : Int32 #

[View source]
def day_of_week=(day_of_week : Int32) #

[View source]