toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dnsIps = this.dnsIps;
  final domainName = this.domainName;
  final password = this.password;
  final userName = this.userName;
  final fileSystemAdministratorsGroup = this.fileSystemAdministratorsGroup;
  final organizationalUnitDistinguishedName =
      this.organizationalUnitDistinguishedName;
  return {
    'DnsIps': dnsIps,
    'DomainName': domainName,
    'Password': password,
    'UserName': userName,
    if (fileSystemAdministratorsGroup != null)
      'FileSystemAdministratorsGroup': fileSystemAdministratorsGroup,
    if (organizationalUnitDistinguishedName != null)
      'OrganizationalUnitDistinguishedName':
          organizationalUnitDistinguishedName,
  };
}