Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 2.04 KB

Employee.md

File metadata and controls

44 lines (36 loc) · 2.04 KB

Employee

Properties

Name Type Description Notes
id str The ID of the object. [optional]
upi str Unique Person Identifier - If a person is a contact and an employee they will have the same UPI but different ids. [optional]
mis_id str The ID in the Management Information System (MIS). [optional]
title str Employee's title. [optional]
initials str Employee's initials. [optional]
surname str Employee's surname. [optional]
forename str Employee's forename. [optional]
middle_names str Employee's middle names. [optional]
legal_surname str Employee's legal surname. [optional]
legal_forename str Employee's legal forename. [optional]
gender str Employee's gender. (male female)
date_of_birth date Employee's date of birth. [optional]
restored_at DateTimeObject [optional]
created_at DateTimeObject [optional]
updated_at DateTimeObject [optional]
contact_details EmployeeContactDetails [optional]
employment_details EmployeeEmploymentDetails [optional]

Example

from wonde.models.employee import Employee

# TODO update the JSON string below
json = "{}"
# create an instance of Employee from a JSON string
employee_instance = Employee.from_json(json)
# print the JSON string representation of the object
print Employee.to_json()

# convert the object into a dict
employee_dict = employee_instance.to_dict()
# create an instance of Employee from a dict
employee_form_dict = employee.from_dict(employee_dict)

[Back to Model list] [Back to API list] [Back to README]