NetworkAttachment.fromJson constructor
NetworkAttachment.fromJson(
- Map json_
Implementation
NetworkAttachment.fromJson(core.Map json_)
: this(
connectionEndpoints: json_.containsKey('connectionEndpoints')
? (json_['connectionEndpoints'] as core.List)
.map((value) => NetworkAttachmentConnectedEndpoint.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
connectionPreference: json_.containsKey('connectionPreference')
? json_['connectionPreference'] as core.String
: null,
creationTimestamp: json_.containsKey('creationTimestamp')
? json_['creationTimestamp'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
fingerprint: json_.containsKey('fingerprint')
? json_['fingerprint'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
network: json_.containsKey('network')
? json_['network'] as core.String
: null,
producerAcceptLists: json_.containsKey('producerAcceptLists')
? (json_['producerAcceptLists'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
producerRejectLists: json_.containsKey('producerRejectLists')
? (json_['producerRejectLists'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
region: json_.containsKey('region')
? json_['region'] as core.String
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
selfLinkWithId: json_.containsKey('selfLinkWithId')
? json_['selfLinkWithId'] as core.String
: null,
subnetworks: json_.containsKey('subnetworks')
? (json_['subnetworks'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);