$EditGuaranteedOrderReadAccessorsRequest.fromJson constructor

$EditGuaranteedOrderReadAccessorsRequest.fromJson(
  1. Map json_
)

Implementation

$EditGuaranteedOrderReadAccessorsRequest.fromJson(core.Map json_)
    : this(
        addedAdvertisers: json_.containsKey('addedAdvertisers')
            ? (json_['addedAdvertisers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        partnerId: json_.containsKey('partnerId')
            ? json_['partnerId'] as core.String
            : null,
        readAccessInherited: json_.containsKey('readAccessInherited')
            ? json_['readAccessInherited'] as core.bool
            : null,
        removedAdvertisers: json_.containsKey('removedAdvertisers')
            ? (json_['removedAdvertisers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );