Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::TimeOff.
System record for leave/time-off from a Human Capital Management (HCM) system.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Description of the leave if available (e.g. 'Vacation').
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Description of the leave if available (e.g. 'Vacation').
Returns
- (::String) — Description of the leave if available (e.g. 'Vacation').
#interval
def interval() -> ::Google::Type::Interval
Returns
- (::Google::Type::Interval) — Interval duration of the leave.
#interval=
def interval=(value) -> ::Google::Type::Interval
Parameter
- value (::Google::Type::Interval) — Interval duration of the leave.
Returns
- (::Google::Type::Interval) — Interval duration of the leave.