GetServiceSettingsResponse.fromJson constructor

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

Implementation

factory GetServiceSettingsResponse.fromJson(Map<String, dynamic> json) {
  return GetServiceSettingsResponse(
    enableCrossAccountsDiscovery:
        json['EnableCrossAccountsDiscovery'] as bool?,
    licenseManagerResourceShareArn:
        json['LicenseManagerResourceShareArn'] as String?,
    organizationConfiguration: json['OrganizationConfiguration'] != null
        ? OrganizationConfiguration.fromJson(
            json['OrganizationConfiguration'] as Map<String, dynamic>)
        : null,
    s3BucketArn: json['S3BucketArn'] as String?,
    snsTopicArn: json['SnsTopicArn'] as String?,
  );
}