GoogleCloudIntegrationsV1alphaExecution.fromJson constructor

GoogleCloudIntegrationsV1alphaExecution.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaExecution.fromJson(core.Map json_)
    : this(
        cloudLoggingDetails: json_.containsKey('cloudLoggingDetails')
            ? GoogleCloudIntegrationsV1alphaCloudLoggingDetails.fromJson(
                json_['cloudLoggingDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        directSubExecutions: json_.containsKey('directSubExecutions')
            ? (json_['directSubExecutions'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaExecution.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        eventExecutionDetails: json_.containsKey('eventExecutionDetails')
            ? EnterpriseCrmEventbusProtoEventExecutionDetails.fromJson(
                json_['eventExecutionDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
        executionDetails: json_.containsKey('executionDetails')
            ? GoogleCloudIntegrationsV1alphaExecutionDetails.fromJson(
                json_['executionDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
        executionMethod: json_.containsKey('executionMethod')
            ? json_['executionMethod'] as core.String
            : null,
        integrationVersionState: json_.containsKey('integrationVersionState')
            ? json_['integrationVersionState'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        replayInfo: json_.containsKey('replayInfo')
            ? GoogleCloudIntegrationsV1alphaExecutionReplayInfo.fromJson(
                json_['replayInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        requestParameters: json_.containsKey('requestParameters')
            ? (json_['requestParameters']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudIntegrationsV1alphaValueType.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        requestParams: json_.containsKey('requestParams')
            ? (json_['requestParams'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoParameterEntry
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        responseParameters: json_.containsKey('responseParameters')
            ? (json_['responseParameters']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudIntegrationsV1alphaValueType.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        responseParams: json_.containsKey('responseParams')
            ? (json_['responseParams'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoParameterEntry
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        snapshotNumber: json_.containsKey('snapshotNumber')
            ? json_['snapshotNumber'] as core.String
            : null,
        triggerId: json_.containsKey('triggerId')
            ? json_['triggerId'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );