InterconnectAttachmentConfigurationConstraints.fromJson constructor

InterconnectAttachmentConfigurationConstraints.fromJson(
  1. Map json_
)

Implementation

InterconnectAttachmentConfigurationConstraints.fromJson(core.Map json_)
    : this(
        bgpMd5: json_.containsKey('bgpMd5')
            ? json_['bgpMd5'] as core.String
            : null,
        bgpPeerAsnRanges: json_.containsKey('bgpPeerAsnRanges')
            ? (json_['bgpPeerAsnRanges'] as core.List)
                .map((value) =>
                    InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );