toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final annotations = this.annotations;
  final artifactsGcsBucket = this.artifactsGcsBucket;
  final build = this.build;
  final createTime = this.createTime;
  final deployment = this.deployment;
  final errorCode = this.errorCode;
  final errorLogs = this.errorLogs;
  final errorStatus = this.errorStatus;
  final labels = this.labels;
  final logs = this.logs;
  final name = this.name;
  final previewArtifacts = this.previewArtifacts;
  final previewMode = this.previewMode;
  final providerConfig = this.providerConfig;
  final serviceAccount = this.serviceAccount;
  final state = this.state;
  final terraformBlueprint = this.terraformBlueprint;
  final tfErrors = this.tfErrors;
  final tfVersion = this.tfVersion;
  final tfVersionConstraint = this.tfVersionConstraint;
  final workerPool = this.workerPool;
  return {
    'annotations': ?annotations,
    'artifactsGcsBucket': ?artifactsGcsBucket,
    'build': ?build,
    'createTime': ?createTime,
    'deployment': ?deployment,
    'errorCode': ?errorCode,
    'errorLogs': ?errorLogs,
    'errorStatus': ?errorStatus,
    'labels': ?labels,
    'logs': ?logs,
    'name': ?name,
    'previewArtifacts': ?previewArtifacts,
    'previewMode': ?previewMode,
    'providerConfig': ?providerConfig,
    'serviceAccount': ?serviceAccount,
    'state': ?state,
    'terraformBlueprint': ?terraformBlueprint,
    'tfErrors': ?tfErrors,
    'tfVersion': ?tfVersion,
    'tfVersionConstraint': ?tfVersionConstraint,
    'workerPool': ?workerPool,
  };
}