GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.fromJson constructor

GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.fromJson(
    core.Map json_)
    : this(
        customMessage: json_.containsKey('customMessage')
            ? json_['customMessage'] as core.String
            : null,
        emailAddresses: json_.containsKey('emailAddresses')
            ? (json_['emailAddresses'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        expiration: json_.containsKey('expiration')
            ? GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
                .fromJson(json_['expiration']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );