toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiConfig != null) 'apiConfig': apiConfig!,
      if (appEngineApis != null) 'appEngineApis': appEngineApis!,
      if (automaticScaling != null) 'automaticScaling': automaticScaling!,
      if (basicScaling != null) 'basicScaling': basicScaling!,
      if (betaSettings != null) 'betaSettings': betaSettings!,
      if (buildEnvVariables != null) 'buildEnvVariables': buildEnvVariables!,
      if (createTime != null) 'createTime': createTime!,
      if (createdBy != null) 'createdBy': createdBy!,
      if (defaultExpiration != null) 'defaultExpiration': defaultExpiration!,
      if (deployment != null) 'deployment': deployment!,
      if (diskUsageBytes != null) 'diskUsageBytes': diskUsageBytes!,
      if (endpointsApiService != null)
        'endpointsApiService': endpointsApiService!,
      if (entrypoint != null) 'entrypoint': entrypoint!,
      if (env != null) 'env': env!,
      if (envVariables != null) 'envVariables': envVariables!,
      if (errorHandlers != null) 'errorHandlers': errorHandlers!,
      if (flexibleRuntimeSettings != null)
        'flexibleRuntimeSettings': flexibleRuntimeSettings!,
      if (generatedCustomerMetadata != null)
        'generatedCustomerMetadata': generatedCustomerMetadata!,
      if (handlers != null) 'handlers': handlers!,
      if (healthCheck != null) 'healthCheck': healthCheck!,
      if (id != null) 'id': id!,
      if (inboundServices != null) 'inboundServices': inboundServices!,
      if (instanceClass != null) 'instanceClass': instanceClass!,
      if (libraries != null) 'libraries': libraries!,
      if (livenessCheck != null) 'livenessCheck': livenessCheck!,
      if (manualScaling != null) 'manualScaling': manualScaling!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (nobuildFilesRegex != null) 'nobuildFilesRegex': nobuildFilesRegex!,
      if (readinessCheck != null) 'readinessCheck': readinessCheck!,
      if (resources != null) 'resources': resources!,
      if (runtime != null) 'runtime': runtime!,
      if (runtimeApiVersion != null) 'runtimeApiVersion': runtimeApiVersion!,
      if (runtimeChannel != null) 'runtimeChannel': runtimeChannel!,
      if (runtimeMainExecutablePath != null)
        'runtimeMainExecutablePath': runtimeMainExecutablePath!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (servingStatus != null) 'servingStatus': servingStatus!,
      if (threadsafe != null) 'threadsafe': threadsafe!,
      if (versionUrl != null) 'versionUrl': versionUrl!,
      if (vm != null) 'vm': vm!,
      if (vpcAccessConnector != null)
        'vpcAccessConnector': vpcAccessConnector!,
      if (zones != null) 'zones': zones!,
    };