toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final createDatabaseDefaultPermissions =
      this.createDatabaseDefaultPermissions;
  final createTableDefaultPermissions = this.createTableDefaultPermissions;
  final dataLakeAdmins = this.dataLakeAdmins;
  final trustedResourceOwners = this.trustedResourceOwners;
  return {
    if (createDatabaseDefaultPermissions != null)
      'CreateDatabaseDefaultPermissions': createDatabaseDefaultPermissions,
    if (createTableDefaultPermissions != null)
      'CreateTableDefaultPermissions': createTableDefaultPermissions,
    if (dataLakeAdmins != null) 'DataLakeAdmins': dataLakeAdmins,
    if (trustedResourceOwners != null)
      'TrustedResourceOwners': trustedResourceOwners,
  };
}