DefaultWorkspaceCreationProperties.fromJson constructor

DefaultWorkspaceCreationProperties.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DefaultWorkspaceCreationProperties.fromJson(
    Map<String, dynamic> json) {
  return DefaultWorkspaceCreationProperties(
    customSecurityGroupId: json['CustomSecurityGroupId'] as String?,
    defaultOu: json['DefaultOu'] as String?,
    enableInternetAccess: json['EnableInternetAccess'] as bool?,
    enableMaintenanceMode: json['EnableMaintenanceMode'] as bool?,
    enableWorkDocs: json['EnableWorkDocs'] as bool?,
    userEnabledAsLocalAdministrator:
        json['UserEnabledAsLocalAdministrator'] as bool?,
  );
}