DescribeSMBSettingsOutput.fromJson constructor

DescribeSMBSettingsOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeSMBSettingsOutput.fromJson(Map<String, dynamic> json) {
  return DescribeSMBSettingsOutput(
    activeDirectoryStatus:
        (json['ActiveDirectoryStatus'] as String?)?.toActiveDirectoryStatus(),
    domainName: json['DomainName'] as String?,
    fileSharesVisible: json['FileSharesVisible'] as bool?,
    gatewayARN: json['GatewayARN'] as String?,
    sMBGuestPasswordSet: json['SMBGuestPasswordSet'] as bool?,
    sMBSecurityStrategy:
        (json['SMBSecurityStrategy'] as String?)?.toSMBSecurityStrategy(),
  );
}