ContainerServiceHealthCheckConfig.fromJson constructor

ContainerServiceHealthCheckConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ContainerServiceHealthCheckConfig.fromJson(
    Map<String, dynamic> json) {
  return ContainerServiceHealthCheckConfig(
    healthyThreshold: json['healthyThreshold'] as int?,
    intervalSeconds: json['intervalSeconds'] as int?,
    path: json['path'] as String?,
    successCodes: json['successCodes'] as String?,
    timeoutSeconds: json['timeoutSeconds'] as int?,
    unhealthyThreshold: json['unhealthyThreshold'] as int?,
  );
}