ForwardingRuleInfo.fromJson constructor

ForwardingRuleInfo.fromJson(
  1. Map json_
)

Implementation

ForwardingRuleInfo.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        matchedPortRange: json_.containsKey('matchedPortRange')
            ? json_['matchedPortRange'] as core.String
            : null,
        matchedProtocol: json_.containsKey('matchedProtocol')
            ? json_['matchedProtocol'] as core.String
            : null,
        networkUri: json_.containsKey('networkUri')
            ? json_['networkUri'] as core.String
            : null,
        target: json_.containsKey('target')
            ? json_['target'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
        vip: json_.containsKey('vip') ? json_['vip'] as core.String : null,
      );