CustomBiddingAlgorithmRules.fromJson constructor

CustomBiddingAlgorithmRules.fromJson(
  1. Map json_
)

Implementation

CustomBiddingAlgorithmRules.fromJson(core.Map json_)
    : this(
        active:
            json_.containsKey('active') ? json_['active'] as core.bool : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        customBiddingAlgorithmId:
            json_.containsKey('customBiddingAlgorithmId')
                ? json_['customBiddingAlgorithmId'] as core.String
                : null,
        customBiddingAlgorithmRulesId:
            json_.containsKey('customBiddingAlgorithmRulesId')
                ? json_['customBiddingAlgorithmRulesId'] as core.String
                : null,
        error: json_.containsKey('error')
            ? CustomBiddingAlgorithmRulesError.fromJson(
                json_['error'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        rules: json_.containsKey('rules')
            ? CustomBiddingAlgorithmRulesRef.fromJson(
                json_['rules'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );