HttpsHealthCheck.fromJson constructor

HttpsHealthCheck.fromJson(
  1. Map json_
)

Implementation

HttpsHealthCheck.fromJson(core.Map json_)
    : this(
        checkIntervalSec: json_.containsKey('checkIntervalSec')
            ? json_['checkIntervalSec'] as core.int
            : null,
        creationTimestamp: json_.containsKey('creationTimestamp')
            ? json_['creationTimestamp'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        healthyThreshold: json_.containsKey('healthyThreshold')
            ? json_['healthyThreshold'] as core.int
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        requestPath: json_.containsKey('requestPath')
            ? json_['requestPath'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        timeoutSec: json_.containsKey('timeoutSec')
            ? json_['timeoutSec'] as core.int
            : null,
        unhealthyThreshold: json_.containsKey('unhealthyThreshold')
            ? json_['unhealthyThreshold'] as core.int
            : null,
      );