InterconnectRemoteLocationConstraints.fromJson constructor
InterconnectRemoteLocationConstraints.fromJson(
- Object? j
Implementation
factory InterconnectRemoteLocationConstraints.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return InterconnectRemoteLocationConstraints(
portPairRemoteLocation: switch (json['portPairRemoteLocation']) {
null => null,
Object $1 => decodeString($1),
},
portPairVlan: switch (json['portPairVlan']) {
null => null,
Object $1 => decodeString($1),
},
subnetLengthRange: switch (json['subnetLengthRange']) {
null => null,
Object $1 =>
InterconnectRemoteLocationConstraintsSubnetLengthRange.fromJson($1),
},
);
}