GoogleCloudIntegrationsV1alphaIntegrationAlertConfig.fromJson constructor
GoogleCloudIntegrationsV1alphaIntegrationAlertConfig.fromJson(
- Map json_
Implementation
GoogleCloudIntegrationsV1alphaIntegrationAlertConfig.fromJson(core.Map json_)
: this(
aggregationPeriod: json_['aggregationPeriod'] as core.String?,
alertThreshold: json_['alertThreshold'] as core.int?,
disableAlert: json_['disableAlert'] as core.bool?,
displayName: json_['displayName'] as core.String?,
durationThreshold: json_['durationThreshold'] as core.String?,
metricType: json_['metricType'] as core.String?,
onlyFinalAttempt: json_['onlyFinalAttempt'] as core.bool?,
thresholdType: json_['thresholdType'] as core.String?,
thresholdValue: json_.containsKey('thresholdValue')
? GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue
.fromJson(json_['thresholdValue']
as core.Map<core.String, core.dynamic>)
: null,
);