GoogleCloudIntegrationsV1alphaSuspension.fromJson constructor

GoogleCloudIntegrationsV1alphaSuspension.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaSuspension.fromJson(core.Map json_)
    : this(
        approvalConfig: json_.containsKey('approvalConfig')
            ? GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.fromJson(
                json_['approvalConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        audit: json_.containsKey('audit')
            ? GoogleCloudIntegrationsV1alphaSuspensionAudit.fromJson(
                json_['audit'] as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        eventExecutionInfoId: json_.containsKey('eventExecutionInfoId')
            ? json_['eventExecutionInfoId'] as core.String
            : null,
        integration: json_.containsKey('integration')
            ? json_['integration'] as core.String
            : null,
        lastModifyTime: json_.containsKey('lastModifyTime')
            ? json_['lastModifyTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        suspensionConfig: json_.containsKey('suspensionConfig')
            ? EnterpriseCrmEventbusProtoSuspensionConfig.fromJson(
                json_['suspensionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        taskId: json_.containsKey('taskId')
            ? json_['taskId'] as core.String
            : null,
      );