GoogleCloudContentwarehouseV1Rule.fromJson constructor

GoogleCloudContentwarehouseV1Rule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1Rule.fromJson(core.Map json_)
    : this(
        actions: json_.containsKey('actions')
            ? (json_['actions'] as core.List)
                .map((value) => GoogleCloudContentwarehouseV1Action.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        condition: json_.containsKey('condition')
            ? json_['condition'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        ruleId: json_.containsKey('ruleId')
            ? json_['ruleId'] as core.String
            : null,
        triggerType: json_.containsKey('triggerType')
            ? json_['triggerType'] as core.String
            : null,
      );