GoogleCloudApigeeV1SecurityActionConditionConfig.fromJson constructor

GoogleCloudApigeeV1SecurityActionConditionConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SecurityActionConditionConfig.fromJson(core.Map json_)
    : this(
        accessTokens: json_.containsKey('accessTokens')
            ? (json_['accessTokens'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        apiKeys: json_.containsKey('apiKeys')
            ? (json_['apiKeys'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        apiProducts: json_.containsKey('apiProducts')
            ? (json_['apiProducts'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        botReasons: json_.containsKey('botReasons')
            ? (json_['botReasons'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        developerApps: json_.containsKey('developerApps')
            ? (json_['developerApps'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        developers: json_.containsKey('developers')
            ? (json_['developers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        ipAddressRanges: json_.containsKey('ipAddressRanges')
            ? (json_['ipAddressRanges'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        userAgents: json_.containsKey('userAgents')
            ? (json_['userAgents'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );