toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final secretArn = this.secretArn;
  final excludeMimeTypes = this.excludeMimeTypes;
  final excludeSharedDrives = this.excludeSharedDrives;
  final excludeUserAccounts = this.excludeUserAccounts;
  final exclusionPatterns = this.exclusionPatterns;
  final fieldMappings = this.fieldMappings;
  final inclusionPatterns = this.inclusionPatterns;
  return {
    'SecretArn': secretArn,
    if (excludeMimeTypes != null) 'ExcludeMimeTypes': excludeMimeTypes,
    if (excludeSharedDrives != null)
      'ExcludeSharedDrives': excludeSharedDrives,
    if (excludeUserAccounts != null)
      'ExcludeUserAccounts': excludeUserAccounts,
    if (exclusionPatterns != null) 'ExclusionPatterns': exclusionPatterns,
    if (fieldMappings != null) 'FieldMappings': fieldMappings,
    if (inclusionPatterns != null) 'InclusionPatterns': inclusionPatterns,
  };
}