toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final directoryName = this.directoryName;
  final organizationalUnitDistinguishedName =
      this.organizationalUnitDistinguishedName;
  return {
    if (directoryName != null) 'DirectoryName': directoryName,
    if (organizationalUnitDistinguishedName != null)
      'OrganizationalUnitDistinguishedName':
          organizationalUnitDistinguishedName,
  };
}