toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final oneDriveUsers = this.oneDriveUsers;
  final secretArn = this.secretArn;
  final tenantDomain = this.tenantDomain;
  final disableLocalGroups = this.disableLocalGroups;
  final exclusionPatterns = this.exclusionPatterns;
  final fieldMappings = this.fieldMappings;
  final inclusionPatterns = this.inclusionPatterns;
  return {
    'OneDriveUsers': oneDriveUsers,
    'SecretArn': secretArn,
    'TenantDomain': tenantDomain,
    if (disableLocalGroups != null) 'DisableLocalGroups': disableLocalGroups,
    if (exclusionPatterns != null) 'ExclusionPatterns': exclusionPatterns,
    if (fieldMappings != null) 'FieldMappings': fieldMappings,
    if (inclusionPatterns != null) 'InclusionPatterns': inclusionPatterns,
  };
}