CheckResponse constructor

CheckResponse({
  1. String? operationId,
  2. Iterable<CheckError>? checkErrors,
  3. String? serviceConfigId,
  4. CheckResponse_CheckInfo? checkInfo,
  5. String? serviceRolloutId,
})

Implementation

factory CheckResponse({
  $core.String? operationId,
  $core.Iterable<$2.CheckError>? checkErrors,
  $core.String? serviceConfigId,
  CheckResponse_CheckInfo? checkInfo,
  $core.String? serviceRolloutId,
}) {
  final result = create();
  if (operationId != null) result.operationId = operationId;
  if (checkErrors != null) result.checkErrors.addAll(checkErrors);
  if (serviceConfigId != null) result.serviceConfigId = serviceConfigId;
  if (checkInfo != null) result.checkInfo = checkInfo;
  if (serviceRolloutId != null) result.serviceRolloutId = serviceRolloutId;
  return result;
}