DirectoryLimits.fromJson constructor
DirectoryLimits.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DirectoryLimits.fromJson(Map<String, dynamic> json) {
return DirectoryLimits(
cloudOnlyDirectoriesCurrentCount:
json['CloudOnlyDirectoriesCurrentCount'] as int?,
cloudOnlyDirectoriesLimit: json['CloudOnlyDirectoriesLimit'] as int?,
cloudOnlyDirectoriesLimitReached:
json['CloudOnlyDirectoriesLimitReached'] as bool?,
cloudOnlyMicrosoftADCurrentCount:
json['CloudOnlyMicrosoftADCurrentCount'] as int?,
cloudOnlyMicrosoftADLimit: json['CloudOnlyMicrosoftADLimit'] as int?,
cloudOnlyMicrosoftADLimitReached:
json['CloudOnlyMicrosoftADLimitReached'] as bool?,
connectedDirectoriesCurrentCount:
json['ConnectedDirectoriesCurrentCount'] as int?,
connectedDirectoriesLimit: json['ConnectedDirectoriesLimit'] as int?,
connectedDirectoriesLimitReached:
json['ConnectedDirectoriesLimitReached'] as bool?,
);
}