GoogleAdsSearchads360V23ResourcesProductLinkInvitation.fromJson constructor

GoogleAdsSearchads360V23ResourcesProductLinkInvitation.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23ResourcesProductLinkInvitation.fromJson(
  core.Map json_,
) : this(
      advertisingPartner: json_.containsKey('advertisingPartner')
          ? GoogleAdsSearchads360V23ResourcesAdvertisingPartnerLinkInvitationIdentifier.fromJson(
              json_['advertisingPartner']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      hotelCenter: json_.containsKey('hotelCenter')
          ? GoogleAdsSearchads360V23ResourcesHotelCenterLinkInvitationIdentifier.fromJson(
              json_['hotelCenter'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      merchantCenter: json_.containsKey('merchantCenter')
          ? GoogleAdsSearchads360V23ResourcesMerchantCenterLinkInvitationIdentifier.fromJson(
              json_['merchantCenter'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      productLinkInvitationId:
          json_['productLinkInvitationId'] as core.String?,
      resourceName: json_['resourceName'] as core.String?,
      status: json_['status'] as core.String?,
      type: json_['type'] as core.String?,
    );