GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse.fromJson constructor

GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse.fromJson(
    core.Map _json)
    : this(
        errorSamples: _json.containsKey('errorSamples')
            ? (_json['errorSamples'] as core.List)
                .map((value) => GoogleRpcStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        errorsConfig: _json.containsKey('errorsConfig')
            ? GoogleCloudRecommendationengineV1beta1ImportErrorsConfig
                .fromJson(_json['errorsConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );