toJson method
Implementation
Map<String, dynamic> toJson() {
final customSecurityGroupId = this.customSecurityGroupId;
final defaultOu = this.defaultOu;
final enableInternetAccess = this.enableInternetAccess;
final enableMaintenanceMode = this.enableMaintenanceMode;
final enableWorkDocs = this.enableWorkDocs;
final userEnabledAsLocalAdministrator =
this.userEnabledAsLocalAdministrator;
return {
if (customSecurityGroupId != null)
'CustomSecurityGroupId': customSecurityGroupId,
if (defaultOu != null) 'DefaultOu': defaultOu,
if (enableInternetAccess != null)
'EnableInternetAccess': enableInternetAccess,
if (enableMaintenanceMode != null)
'EnableMaintenanceMode': enableMaintenanceMode,
if (enableWorkDocs != null) 'EnableWorkDocs': enableWorkDocs,
if (userEnabledAsLocalAdministrator != null)
'UserEnabledAsLocalAdministrator': userEnabledAsLocalAdministrator,
};
}