GoogleCloudIntegrationsV1alphaTestIntegrationsResponse.fromJson constructor

GoogleCloudIntegrationsV1alphaTestIntegrationsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaTestIntegrationsResponse.fromJson(
    core.Map json_)
    : this(
        eventParameters: json_.containsKey('eventParameters')
            ? EnterpriseCrmFrontendsEventbusProtoEventParameters.fromJson(
                json_['eventParameters']
                    as core.Map<core.String, core.dynamic>)
            : null,
        executionFailed: json_.containsKey('executionFailed')
            ? json_['executionFailed'] as core.bool
            : null,
        executionId: json_.containsKey('executionId')
            ? json_['executionId'] as core.String
            : null,
        parameterEntries: json_.containsKey('parameterEntries')
            ? (json_['parameterEntries'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoParameterEntry
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudIntegrationsV1alphaValueType.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );