TCPHealthCheck.fromJson constructor

TCPHealthCheck.fromJson(
  1. Map json_
)

Implementation

TCPHealthCheck.fromJson(core.Map json_)
    : this(
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        portName: json_.containsKey('portName')
            ? json_['portName'] as core.String
            : null,
        portSpecification: json_.containsKey('portSpecification')
            ? json_['portSpecification'] as core.String
            : null,
        proxyHeader: json_.containsKey('proxyHeader')
            ? json_['proxyHeader'] as core.String
            : null,
        request: json_.containsKey('request')
            ? json_['request'] as core.String
            : null,
        response: json_.containsKey('response')
            ? json_['response'] as core.String
            : null,
      );