GoogleCloudApigeeV1DebugMask.fromJson constructor

GoogleCloudApigeeV1DebugMask.fromJson(
  1. Map json_
)

Implementation

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