SelfManagedActiveDirectoryAttributes.fromJson constructor

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

Implementation

factory SelfManagedActiveDirectoryAttributes.fromJson(
    Map<String, dynamic> json) {
  return SelfManagedActiveDirectoryAttributes(
    dnsIps: (json['DnsIps'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    domainName: json['DomainName'] as String?,
    fileSystemAdministratorsGroup:
        json['FileSystemAdministratorsGroup'] as String?,
    organizationalUnitDistinguishedName:
        json['OrganizationalUnitDistinguishedName'] as String?,
    userName: json['UserName'] as String?,
  );
}