GoogleCloudIntegrationsV1alphaIntegrationVersion.fromJson constructor

GoogleCloudIntegrationsV1alphaIntegrationVersion.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaIntegrationVersion.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,
        createdFromTemplate: json_.containsKey('createdFromTemplate')
            ? json_['createdFromTemplate'] as core.String
            : null,
        databasePersistencePolicy:
            json_.containsKey('databasePersistencePolicy')
                ? json_['databasePersistencePolicy'] as core.String
                : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        enableVariableMasking: json_.containsKey('enableVariableMasking')
            ? json_['enableVariableMasking'] as core.bool
            : null,
        errorCatcherConfigs: json_.containsKey('errorCatcherConfigs')
            ? (json_['errorCatcherConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaErrorCatcherConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        integrationConfigParameters: json_
                .containsKey('integrationConfigParameters')
            ? (json_['integrationConfigParameters'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaIntegrationConfigParameter
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        integrationParameters: json_.containsKey('integrationParameters')
            ? (json_['integrationParameters'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaIntegrationParameter
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        integrationParametersInternal: json_
                .containsKey('integrationParametersInternal')
            ? EnterpriseCrmFrontendsEventbusProtoWorkflowParameters.fromJson(
                json_['integrationParametersInternal']
                    as core.Map<core.String, core.dynamic>)
            : null,
        lastModifierEmail: json_.containsKey('lastModifierEmail')
            ? json_['lastModifierEmail'] as core.String
            : null,
        lockHolder: json_.containsKey('lockHolder')
            ? json_['lockHolder'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        origin: json_.containsKey('origin')
            ? json_['origin'] as core.String
            : null,
        parentTemplateId: json_.containsKey('parentTemplateId')
            ? json_['parentTemplateId'] as core.String
            : null,
        runAsServiceAccount: json_.containsKey('runAsServiceAccount')
            ? json_['runAsServiceAccount'] as core.String
            : null,
        snapshotNumber: json_.containsKey('snapshotNumber')
            ? json_['snapshotNumber'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        taskConfigs: json_.containsKey('taskConfigs')
            ? (json_['taskConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaTaskConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        taskConfigsInternal: json_.containsKey('taskConfigsInternal')
            ? (json_['taskConfigsInternal'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoTaskConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        teardown: json_.containsKey('teardown')
            ? EnterpriseCrmEventbusProtoTeardown.fromJson(
                json_['teardown'] as core.Map<core.String, core.dynamic>)
            : null,
        triggerConfigs: json_.containsKey('triggerConfigs')
            ? (json_['triggerConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        triggerConfigsInternal: json_.containsKey('triggerConfigsInternal')
            ? (json_['triggerConfigsInternal'] as core.List)
                .map((value) =>
                    EnterpriseCrmFrontendsEventbusProtoTriggerConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        userLabel: json_.containsKey('userLabel')
            ? json_['userLabel'] as core.String
            : null,
      );