BulkEditAssignedTargetingOptionsRequest.fromJson constructor

BulkEditAssignedTargetingOptionsRequest.fromJson(
  1. Map json_
)

Implementation

BulkEditAssignedTargetingOptionsRequest.fromJson(core.Map json_)
    : this(
        createRequests: json_.containsKey('createRequests')
            ? (json_['createRequests'] as core.List)
                .map((value) =>
                    CreateAssignedTargetingOptionsRequest.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        deleteRequests: json_.containsKey('deleteRequests')
            ? (json_['deleteRequests'] as core.List)
                .map((value) =>
                    DeleteAssignedTargetingOptionsRequest.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        lineItemIds: json_.containsKey('lineItemIds')
            ? (json_['lineItemIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );