toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final firmwareVersion = this.firmwareVersion;
  final hyperthreadingEnabled = this.hyperthreadingEnabled;
  final id = this.id;
  final interactiveSerialConsoleEnabled =
      this.interactiveSerialConsoleEnabled;
  final kmsKeyVersion = this.kmsKeyVersion;
  final labels = this.labels;
  final logicalInterfaces = this.logicalInterfaces;
  final loginInfo = this.loginInfo;
  final luns = this.luns;
  final machineType = this.machineType;
  final name = this.name;
  final networkTemplate = this.networkTemplate;
  final networks = this.networks;
  final osImage = this.osImage;
  final pod = this.pod;
  final sshKeys = this.sshKeys;
  final state = this.state;
  final updateTime = this.updateTime;
  final volumes = this.volumes;
  final workloadProfile = this.workloadProfile;
  return {
    'createTime': ?createTime,
    'firmwareVersion': ?firmwareVersion,
    'hyperthreadingEnabled': ?hyperthreadingEnabled,
    'id': ?id,
    'interactiveSerialConsoleEnabled': ?interactiveSerialConsoleEnabled,
    'kmsKeyVersion': ?kmsKeyVersion,
    'labels': ?labels,
    'logicalInterfaces': ?logicalInterfaces,
    'loginInfo': ?loginInfo,
    'luns': ?luns,
    'machineType': ?machineType,
    'name': ?name,
    'networkTemplate': ?networkTemplate,
    'networks': ?networks,
    'osImage': ?osImage,
    'pod': ?pod,
    'sshKeys': ?sshKeys,
    'state': ?state,
    'updateTime': ?updateTime,
    'volumes': ?volumes,
    'workloadProfile': ?workloadProfile,
  };
}