CreateSdfDownloadTaskRequest.fromJson constructor

CreateSdfDownloadTaskRequest.fromJson(
  1. Map json_
)

Implementation

CreateSdfDownloadTaskRequest.fromJson(core.Map json_)
    : this(
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        idFilter: json_.containsKey('idFilter')
            ? IdFilter.fromJson(
                json_['idFilter'] as core.Map<core.String, core.dynamic>)
            : null,
        inventorySourceFilter: json_.containsKey('inventorySourceFilter')
            ? InventorySourceFilter.fromJson(json_['inventorySourceFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        parentEntityFilter: json_.containsKey('parentEntityFilter')
            ? ParentEntityFilter.fromJson(json_['parentEntityFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        partnerId: json_.containsKey('partnerId')
            ? json_['partnerId'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );