class TandaCLI::Types::LeaveRequest

Included Modules

Defined in:

tanda_cli/types/leave_request.cr
tanda_cli/types/leave_request/daily_breakdown.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def breakdown_for(shift : Types::Shift) : Types::LeaveRequest::DailyBreakdown | Nil #

[View source]
def daily_breakdown : Array(Types::LeaveRequest::DailyBreakdown) #

[View source]
def id : Int32 #

[View source]
def leave_type : String #

[View source]
def reason : String | Nil #

[View source]
def status : Status #

[View source]
def user_id : Int32 #

[View source]