GoogleCloudApigeeV1DebugMask.fromJson constructor

GoogleCloudApigeeV1DebugMask.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1DebugMask.fromJson(core.Map json_)
    : this(
        faultJSONPaths: json_.containsKey('faultJSONPaths')
            ? (json_['faultJSONPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        faultXPaths: json_.containsKey('faultXPaths')
            ? (json_['faultXPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        namespaces: json_.containsKey('namespaces')
            ? (json_['namespaces'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        requestJSONPaths: json_.containsKey('requestJSONPaths')
            ? (json_['requestJSONPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        requestXPaths: json_.containsKey('requestXPaths')
            ? (json_['requestXPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        responseJSONPaths: json_.containsKey('responseJSONPaths')
            ? (json_['responseJSONPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        responseXPaths: json_.containsKey('responseXPaths')
            ? (json_['responseXPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        variables: json_.containsKey('variables')
            ? (json_['variables'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );