toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final IPAddress = this.IPAddress;
  final IPProtocol = this.IPProtocol;
  final allPorts = this.allPorts;
  final allowGlobalAccess = this.allowGlobalAccess;
  final allowPscGlobalAccess = this.allowPscGlobalAccess;
  final backendService = this.backendService;
  final baseForwardingRule = this.baseForwardingRule;
  final creationTimestamp = this.creationTimestamp;
  final description = this.description;
  final externalManagedBackendBucketMigrationState =
      this.externalManagedBackendBucketMigrationState;
  final externalManagedBackendBucketMigrationTestingPercentage =
      this.externalManagedBackendBucketMigrationTestingPercentage;
  final fingerprint = this.fingerprint;
  final id = this.id;
  final ipCollection = this.ipCollection;
  final ipVersion = this.ipVersion;
  final isMirroringCollector = this.isMirroringCollector;
  final kind = this.kind;
  final labelFingerprint = this.labelFingerprint;
  final labels = this.labels;
  final loadBalancingScheme = this.loadBalancingScheme;
  final metadataFilters = this.metadataFilters;
  final name = this.name;
  final network = this.network;
  final networkTier = this.networkTier;
  final noAutomateDnsZone = this.noAutomateDnsZone;
  final portRange = this.portRange;
  final ports = this.ports;
  final pscConnectionId = this.pscConnectionId;
  final pscConnectionStatus = this.pscConnectionStatus;
  final region = this.region;
  final selfLink = this.selfLink;
  final selfLinkWithId = this.selfLinkWithId;
  final serviceDirectoryRegistrations = this.serviceDirectoryRegistrations;
  final serviceLabel = this.serviceLabel;
  final serviceName = this.serviceName;
  final sourceIpRanges = this.sourceIpRanges;
  final subnetwork = this.subnetwork;
  final target = this.target;
  return {
    'IPAddress': ?IPAddress,
    'IPProtocol': ?IPProtocol,
    'allPorts': ?allPorts,
    'allowGlobalAccess': ?allowGlobalAccess,
    'allowPscGlobalAccess': ?allowPscGlobalAccess,
    'backendService': ?backendService,
    'baseForwardingRule': ?baseForwardingRule,
    'creationTimestamp': ?creationTimestamp,
    'description': ?description,
    'externalManagedBackendBucketMigrationState':
        ?externalManagedBackendBucketMigrationState,
    'externalManagedBackendBucketMigrationTestingPercentage':
        ?externalManagedBackendBucketMigrationTestingPercentage,
    'fingerprint': ?fingerprint,
    'id': ?id,
    'ipCollection': ?ipCollection,
    'ipVersion': ?ipVersion,
    'isMirroringCollector': ?isMirroringCollector,
    'kind': ?kind,
    'labelFingerprint': ?labelFingerprint,
    'labels': ?labels,
    'loadBalancingScheme': ?loadBalancingScheme,
    'metadataFilters': ?metadataFilters,
    'name': ?name,
    'network': ?network,
    'networkTier': ?networkTier,
    'noAutomateDnsZone': ?noAutomateDnsZone,
    'portRange': ?portRange,
    'ports': ?ports,
    'pscConnectionId': ?pscConnectionId,
    'pscConnectionStatus': ?pscConnectionStatus,
    'region': ?region,
    'selfLink': ?selfLink,
    'selfLinkWithId': ?selfLinkWithId,
    'serviceDirectoryRegistrations': ?serviceDirectoryRegistrations,
    'serviceLabel': ?serviceLabel,
    'serviceName': ?serviceName,
    'sourceIpRanges': ?sourceIpRanges,
    'subnetwork': ?subnetwork,
    'target': ?target,
  };
}