EntityAdWordsLink.fromJson constructor

EntityAdWordsLink.fromJson(
  1. Map json_
)

Implementation

EntityAdWordsLink.fromJson(core.Map json_)
    : this(
        adWordsAccounts: json_.containsKey('adWordsAccounts')
            ? (json_['adWordsAccounts'] as core.List)
                .map((value) => AdWordsAccount.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        entity: json_.containsKey('entity')
            ? EntityAdWordsLinkEntity.fromJson(
                json_['entity'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        profileIds: json_.containsKey('profileIds')
            ? (json_['profileIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
      );