GoogleCloudBillingBudgetsV1NotificationsRule.fromJson constructor

GoogleCloudBillingBudgetsV1NotificationsRule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudBillingBudgetsV1NotificationsRule.fromJson(core.Map json_)
    : this(
        disableDefaultIamRecipients:
            json_.containsKey('disableDefaultIamRecipients')
                ? json_['disableDefaultIamRecipients'] as core.bool
                : null,
        enableProjectLevelRecipients:
            json_.containsKey('enableProjectLevelRecipients')
                ? json_['enableProjectLevelRecipients'] as core.bool
                : null,
        monitoringNotificationChannels:
            json_.containsKey('monitoringNotificationChannels')
                ? (json_['monitoringNotificationChannels'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        pubsubTopic: json_.containsKey('pubsubTopic')
            ? json_['pubsubTopic'] as core.String
            : null,
        schemaVersion: json_.containsKey('schemaVersion')
            ? json_['schemaVersion'] as core.String
            : null,
      );