GoogleCloudApigeeV1CanaryEvaluation.fromJson constructor

GoogleCloudApigeeV1CanaryEvaluation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1CanaryEvaluation.fromJson(core.Map json_)
    : this(
        control: json_.containsKey('control')
            ? json_['control'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        metricLabels: json_.containsKey('metricLabels')
            ? GoogleCloudApigeeV1CanaryEvaluationMetricLabels.fromJson(
                json_['metricLabels'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        treatment: json_.containsKey('treatment')
            ? json_['treatment'] as core.String
            : null,
        verdict: json_.containsKey('verdict')
            ? json_['verdict'] as core.String
            : null,
      );