PacketMirroring.fromJson constructor
PacketMirroring.fromJson(
- Map json_
Implementation
PacketMirroring.fromJson(core.Map json_)
: this(
collectorIlb: json_.containsKey('collectorIlb')
? PacketMirroringForwardingRuleInfo.fromJson(
json_['collectorIlb'] as core.Map<core.String, core.dynamic>)
: null,
creationTimestamp: json_.containsKey('creationTimestamp')
? json_['creationTimestamp'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
enable: json_.containsKey('enable')
? json_['enable'] as core.String
: null,
filter: json_.containsKey('filter')
? PacketMirroringFilter.fromJson(
json_['filter'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
mirroredResources: json_.containsKey('mirroredResources')
? PacketMirroringMirroredResourceInfo.fromJson(
json_['mirroredResources']
as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
network: json_.containsKey('network')
? PacketMirroringNetworkInfo.fromJson(
json_['network'] as core.Map<core.String, core.dynamic>)
: null,
priority: json_.containsKey('priority')
? json_['priority'] as core.int
: null,
region: json_.containsKey('region')
? json_['region'] as core.String
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
);