// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'nextcloud_capabilities_state.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_NextcloudCapabilitiesState _$NextcloudCapabilitiesStateFromJson(
  Map<String, dynamic> json,
) => _NextcloudCapabilitiesState(
  apiEnabled: json['apiEnabled'] as bool? ?? false,
  publicEnabled: json['publicEnabled'] as bool? ?? false,
  publicMultipleLinks: json['publicMultipleLinks'] as bool? ?? false,
  publicUploadEnabled: json['publicUploadEnabled'] as bool? ?? false,
  publicPasswordEnforced: json['publicPasswordEnforced'] as bool? ?? false,
  publicExpireEnabled: json['publicExpireEnabled'] as bool? ?? false,
  publicExpireDays: (json['publicExpireDays'] as num?)?.toInt(),
  publicExpireEnforced: json['publicExpireEnforced'] as bool? ?? false,
  groupEnabled: json['groupEnabled'] as bool? ?? false,
  resharing: json['resharing'] as bool? ?? false,
  passwordMinLength: (json['passwordMinLength'] as num?)?.toInt(),
  passwordEnforceUpperLower:
      json['passwordEnforceUpperLower'] as bool? ?? false,
  passwordEnforceNumeric: json['passwordEnforceNumeric'] as bool? ?? false,
  passwordEnforceSpecial: json['passwordEnforceSpecial'] as bool? ?? false,
  loaded: json['loaded'] as bool? ?? false,
);

Map<String, dynamic> _$NextcloudCapabilitiesStateToJson(
  _NextcloudCapabilitiesState instance,
) => <String, dynamic>{
  'apiEnabled': instance.apiEnabled,
  'publicEnabled': instance.publicEnabled,
  'publicMultipleLinks': instance.publicMultipleLinks,
  'publicUploadEnabled': instance.publicUploadEnabled,
  'publicPasswordEnforced': instance.publicPasswordEnforced,
  'publicExpireEnabled': instance.publicExpireEnabled,
  'publicExpireDays': instance.publicExpireDays,
  'publicExpireEnforced': instance.publicExpireEnforced,
  'groupEnabled': instance.groupEnabled,
  'resharing': instance.resharing,
  'passwordMinLength': instance.passwordMinLength,
  'passwordEnforceUpperLower': instance.passwordEnforceUpperLower,
  'passwordEnforceNumeric': instance.passwordEnforceNumeric,
  'passwordEnforceSpecial': instance.passwordEnforceSpecial,
  'loaded': instance.loaded,
};
