toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final dnsAutomationStatus = this.dnsAutomationStatus;
  final error = this.error;
  final errorInfo = this.errorInfo;
  final errorType = this.errorType;
  final forwardingRule = this.forwardingRule;
  final gceOperation = this.gceOperation;
  final ip = this.ip;
  final ipVersion = this.ipVersion;
  final network = this.network;
  final producerInstanceId = this.producerInstanceId;
  final producerInstanceMetadata = this.producerInstanceMetadata;
  final project = this.project;
  final pscConnectionId = this.pscConnectionId;
  final selectedSubnetwork = this.selectedSubnetwork;
  final serviceAttachmentUri = this.serviceAttachmentUri;
  final state = this.state;
  return {
    'dnsAutomationStatus': ?dnsAutomationStatus,
    'error': ?error,
    'errorInfo': ?errorInfo,
    'errorType': ?errorType,
    'forwardingRule': ?forwardingRule,
    'gceOperation': ?gceOperation,
    'ip': ?ip,
    'ipVersion': ?ipVersion,
    'network': ?network,
    'producerInstanceId': ?producerInstanceId,
    'producerInstanceMetadata': ?producerInstanceMetadata,
    'project': ?project,
    'pscConnectionId': ?pscConnectionId,
    'selectedSubnetwork': ?selectedSubnetwork,
    'serviceAttachmentUri': ?serviceAttachmentUri,
    'state': ?state,
  };
}