GoogleAdsSearchads360V23CommonPolicyTopicConstraint.fromJson constructor

GoogleAdsSearchads360V23CommonPolicyTopicConstraint.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23CommonPolicyTopicConstraint.fromJson(core.Map json_)
  : this(
      certificateDomainMismatchInCountryList:
          json_.containsKey('certificateDomainMismatchInCountryList')
          ? GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.fromJson(
              json_['certificateDomainMismatchInCountryList']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      certificateMissingInCountryList:
          json_.containsKey('certificateMissingInCountryList')
          ? GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.fromJson(
              json_['certificateMissingInCountryList']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      countryConstraintList: json_.containsKey('countryConstraintList')
          ? GoogleAdsSearchads360V23CommonPolicyTopicConstraintCountryConstraintList.fromJson(
              json_['countryConstraintList']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      resellerConstraint: json_.containsKey('resellerConstraint')
          ? GoogleAdsSearchads360V23CommonPolicyTopicConstraintResellerConstraint.fromJson(
              json_['resellerConstraint']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );