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,
        loadBalancerName: json_.containsKey('loadBalancerName')
            ? json_['loadBalancerName'] 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,
        pscGoogleApiTarget: json_.containsKey('pscGoogleApiTarget')
            ? json_['pscGoogleApiTarget'] as core.String
            : null,
        pscServiceAttachmentUri: json_.containsKey('pscServiceAttachmentUri')
            ? json_['pscServiceAttachmentUri'] as core.String
            : null,
        region: json_.containsKey('region')
            ? json_['region'] 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,
      );