GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.fromJson constructor

GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23ResourcesRecommendationRefreshCustomerMatchListRecommendation.fromJson(
  core.Map json_,
) : this(
      daysSinceLastRefresh: json_['daysSinceLastRefresh'] as core.String?,
      ownerAccount: json_.containsKey('ownerAccount')
          ? GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.fromJson(
              json_['ownerAccount'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      targetingAccountsCount: json_['targetingAccountsCount'] as core.String?,
      topSpendingAccount: (json_['topSpendingAccount'] as core.List?)
          ?.map(
            (value) =>
                GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      userListId: json_['userListId'] as core.String?,
      userListName: json_['userListName'] as core.String?,
    );