ServiceAttachment.fromJson constructor
ServiceAttachment.fromJson(
- Map json_
Implementation
ServiceAttachment.fromJson(core.Map json_)
: this(
connectedEndpoints: (json_['connectedEndpoints'] as core.List?)
?.map((value) => ServiceAttachmentConnectedEndpoint.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
connectionPreference: json_['connectionPreference'] as core.String?,
consumerAcceptLists: (json_['consumerAcceptLists'] as core.List?)
?.map((value) => ServiceAttachmentConsumerProjectLimit.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
consumerRejectLists: (json_['consumerRejectLists'] as core.List?)
?.map((value) => value as core.String)
.toList(),
creationTimestamp: json_['creationTimestamp'] as core.String?,
description: json_['description'] as core.String?,
domainNames: (json_['domainNames'] as core.List?)
?.map((value) => value as core.String)
.toList(),
enableProxyProtocol: json_['enableProxyProtocol'] as core.bool?,
fingerprint: json_['fingerprint'] as core.String?,
id: json_['id'] as core.String?,
kind: json_['kind'] as core.String?,
name: json_['name'] as core.String?,
natSubnets: (json_['natSubnets'] as core.List?)
?.map((value) => value as core.String)
.toList(),
producerForwardingRule:
json_['producerForwardingRule'] as core.String?,
propagatedConnectionLimit:
json_['propagatedConnectionLimit'] as core.int?,
pscServiceAttachmentId: json_.containsKey('pscServiceAttachmentId')
? Uint128.fromJson(json_['pscServiceAttachmentId']
as core.Map<core.String, core.dynamic>)
: null,
reconcileConnections: json_['reconcileConnections'] as core.bool?,
region: json_['region'] as core.String?,
selfLink: json_['selfLink'] as core.String?,
targetService: json_['targetService'] as core.String?,
);