udm_user: change code to fit documentation with snake_case instead of camelCase

This commit is contained in:
Tobias Rueetschi 2016-08-31 11:30:45 +02:00 committed by Matt Clay
parent 34445d515d
commit 10a2eb9304

View file

@ -341,46 +341,58 @@ def main():
type='str'), type='str'),
country = dict(default=None, country = dict(default=None,
type='str'), type='str'),
departmentNumber = dict(default=None, department_number = dict(default=None,
type='str'), type='str',
aliases=['departmentNumber']),
description = dict(default=None, description = dict(default=None,
type='str'), type='str'),
displayName = dict(default=None, display_name = dict(default=None,
type='str'), type='str',
aliases=['displayName']),
email = dict(default=[''], email = dict(default=[''],
type='list'), type='list'),
employeeNumber = dict(default=None, employee_number = dict(default=None,
type='str'), type='str',
employeeType = dict(default=None, aliases=['employeeNumber']),
type='str'), employee_type = dict(default=None,
type='str',
aliases=['employeeType']),
firstname = dict(default=None, firstname = dict(default=None,
type='str'), type='str'),
gecos = dict(default=None, gecos = dict(default=None,
type='str'), type='str'),
groups = dict(default=[], groups = dict(default=[],
type='list'), type='list'),
homeShare = dict(default=None, home_share = dict(default=None,
type='str'), type='str',
homeSharePath = dict(default=None, aliases=['homeShare']),
type='str'), home_share_path = dict(default=None,
homeTelephoneNumber = dict(default=[], type='str',
type='list'), aliases=['homeSharePath']),
home_telephone_number = dict(default=[],
type='list',
aliases=['homeTelephoneNumber']),
homedrive = dict(default=None, homedrive = dict(default=None,
type='str'), type='str'),
lastname = dict(default=None, lastname = dict(default=None,
type='str'), type='str'),
mailAlternativeAddress = dict(default=[], mail_alternative_address= dict(default=[],
type='list'), type='list',
mailHomeServer = dict(default=None, aliases=['mailAlternativeAddress']),
type='str'), mail_home_server = dict(default=None,
mailPrimaryAddress = dict(default=None, type='str',
type='str'), aliases=['mailHomeServer']),
mobileTelephoneNumber = dict(default=[], mail_primary_address = dict(default=None,
type='list'), type='str',
aliases=['mailPrimaryAddress']),
mobile_telephone_number = dict(default=[],
type='list',
aliases=['mobileTelephoneNumber']),
organisation = dict(default=None, organisation = dict(default=None,
type='str'), type='str'),
pagerTelephonenumber = dict(default=[], pager_telephonenumber = dict(default=[],
type='list'), type='list',
aliases=['pagerTelephonenumber']),
password = dict(default=None, password = dict(default=None,
type='str', type='str',
no_log=True), no_log=True),
@ -388,19 +400,24 @@ def main():
type='list'), type='list'),
postcode = dict(default=None, postcode = dict(default=None,
type='str'), type='str'),
primaryGroup = dict(default=None, primary_group = dict(default=None,
type='str'), type='str',
aliases=['primaryGroup']),
profilepath = dict(default=None, profilepath = dict(default=None,
type='str'), type='str'),
pwdChangeNextLogin = dict(default=None, pwd_change_next_login = dict(default=None,
type='str', type='str',
choices=['0', '1']), choices=['0', '1'],
roomNumber = dict(default=None, aliases=['pwdChangeNextLogin']),
type='str'), room_number = dict(default=None,
sambaPrivileges = dict(default=[], type='str',
type='list'), aliases=['roomNumber']),
sambaUserWorkstations = dict(default=[], samba_privileges = dict(default=[],
type='list'), type='list',
aliases=['sambaPrivileges']),
samba_user_workstations = dict(default=[],
type='list',
aliases=['sambaUserWorkstations']),
sambahome = dict(default=None, sambahome = dict(default=None,
type='str'), type='str'),
scriptpath = dict(default=None, scriptpath = dict(default=None,