Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LeaveRequestCreate

Index

Constructors

  • new LeaveRequestCreate(start_date: Date, end_date: Date, leave_type_id: number, comments: string): LeaveRequestCreate

Properties

add_to_calendar: any
auto_decline_events: any
comments: any
end_date: any
leave_type_id: any
notify_to: any
optional_leave_days: any
start_date: any

Methods

  • constructFromObject(data: any, obj: any): any
  • Constructs a LeaveRequestCreate from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

    Parameters

    • data: any

      The plain JavaScript object bearing properties of interest.

    • obj: any

      Optional instance to populate.

    Returns any

    The populated LeaveRequestCreate instance.

  • initialize(obj: any, start_date: any, end_date: any, leave_type_id: any, comments: any): void
  • Initializes the fields of this object. This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). Only for internal use.

    Parameters

    • obj: any
    • start_date: any
    • end_date: any
    • leave_type_id: any
    • comments: any

    Returns void

Generated using TypeDoc