SecurityPolicyRuleNetworkMatcher.fromJson constructor
SecurityPolicyRuleNetworkMatcher.fromJson(
- Map json_
Implementation
SecurityPolicyRuleNetworkMatcher.fromJson(core.Map json_)
: this(
destIpRanges: (json_['destIpRanges'] as core.List?)
?.map((value) => value as core.String)
.toList(),
destPorts: (json_['destPorts'] as core.List?)
?.map((value) => value as core.String)
.toList(),
ipProtocols: (json_['ipProtocols'] as core.List?)
?.map((value) => value as core.String)
.toList(),
srcAsns: (json_['srcAsns'] as core.List?)
?.map((value) => value as core.int)
.toList(),
srcIpRanges: (json_['srcIpRanges'] as core.List?)
?.map((value) => value as core.String)
.toList(),
srcPorts: (json_['srcPorts'] as core.List?)
?.map((value) => value as core.String)
.toList(),
srcRegionCodes: (json_['srcRegionCodes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
userDefinedFields: (json_['userDefinedFields'] as core.List?)
?.map((value) =>
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
);