toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cipherSuite = this.cipherSuite;
  final creationTimestamp = this.creationTimestamp;
  final description = this.description;
  final detailedStatus = this.detailedStatus;
  final id = this.id;
  final ikeVersion = this.ikeVersion;
  final kind = this.kind;
  final labelFingerprint = this.labelFingerprint;
  final labels = this.labels;
  final localTrafficSelector = this.localTrafficSelector;
  final name = this.name;
  final peerExternalGateway = this.peerExternalGateway;
  final peerExternalGatewayInterface = this.peerExternalGatewayInterface;
  final peerGcpGateway = this.peerGcpGateway;
  final peerIp = this.peerIp;
  final region = this.region;
  final remoteTrafficSelector = this.remoteTrafficSelector;
  final router = this.router;
  final selfLink = this.selfLink;
  final sharedSecret = this.sharedSecret;
  final sharedSecretHash = this.sharedSecretHash;
  final status = this.status;
  final targetVpnGateway = this.targetVpnGateway;
  final vpnGateway = this.vpnGateway;
  final vpnGatewayInterface = this.vpnGatewayInterface;
  return {
    'cipherSuite': ?cipherSuite,
    'creationTimestamp': ?creationTimestamp,
    'description': ?description,
    'detailedStatus': ?detailedStatus,
    'id': ?id,
    'ikeVersion': ?ikeVersion,
    'kind': ?kind,
    'labelFingerprint': ?labelFingerprint,
    'labels': ?labels,
    'localTrafficSelector': ?localTrafficSelector,
    'name': ?name,
    'peerExternalGateway': ?peerExternalGateway,
    'peerExternalGatewayInterface': ?peerExternalGatewayInterface,
    'peerGcpGateway': ?peerGcpGateway,
    'peerIp': ?peerIp,
    'region': ?region,
    'remoteTrafficSelector': ?remoteTrafficSelector,
    'router': ?router,
    'selfLink': ?selfLink,
    'sharedSecret': ?sharedSecret,
    'sharedSecretHash': ?sharedSecretHash,
    'status': ?status,
    'targetVpnGateway': ?targetVpnGateway,
    'vpnGateway': ?vpnGateway,
    'vpnGatewayInterface': ?vpnGatewayInterface,
  };
}