toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final args = this.args;
  final enableWebAccess = this.enableWebAccess;
  final encryptionConfig = this.encryptionConfig;
  final evaluatorConfig = this.evaluatorConfig;
  final evaluatorCount = this.evaluatorCount;
  final evaluatorType = this.evaluatorType;
  final hyperparameters = this.hyperparameters;
  final jobDir = this.jobDir;
  final masterConfig = this.masterConfig;
  final masterType = this.masterType;
  final network = this.network;
  final packageUris = this.packageUris;
  final parameterServerConfig = this.parameterServerConfig;
  final parameterServerCount = this.parameterServerCount;
  final parameterServerType = this.parameterServerType;
  final pythonModule = this.pythonModule;
  final pythonVersion = this.pythonVersion;
  final region = this.region;
  final runtimeVersion = this.runtimeVersion;
  final scaleTier = this.scaleTier;
  final scheduling = this.scheduling;
  final serviceAccount = this.serviceAccount;
  final useChiefInTfConfig = this.useChiefInTfConfig;
  final workerConfig = this.workerConfig;
  final workerCount = this.workerCount;
  final workerType = this.workerType;
  return {
    'args': ?args,
    'enableWebAccess': ?enableWebAccess,
    'encryptionConfig': ?encryptionConfig,
    'evaluatorConfig': ?evaluatorConfig,
    'evaluatorCount': ?evaluatorCount,
    'evaluatorType': ?evaluatorType,
    'hyperparameters': ?hyperparameters,
    'jobDir': ?jobDir,
    'masterConfig': ?masterConfig,
    'masterType': ?masterType,
    'network': ?network,
    'packageUris': ?packageUris,
    'parameterServerConfig': ?parameterServerConfig,
    'parameterServerCount': ?parameterServerCount,
    'parameterServerType': ?parameterServerType,
    'pythonModule': ?pythonModule,
    'pythonVersion': ?pythonVersion,
    'region': ?region,
    'runtimeVersion': ?runtimeVersion,
    'scaleTier': ?scaleTier,
    'scheduling': ?scheduling,
    'serviceAccount': ?serviceAccount,
    'useChiefInTfConfig': ?useChiefInTfConfig,
    'workerConfig': ?workerConfig,
    'workerCount': ?workerCount,
    'workerType': ?workerType,
  };
}