toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accountNetworksEnabled != null)
    'accountNetworksEnabled': accountNetworksEnabled!,
  if (clientNetwork != null) 'clientNetwork': clientNetwork!,
  if (hyperthreading != null) 'hyperthreading': hyperthreading!,
  if (id != null) 'id': id!,
  if (instanceType != null) 'instanceType': instanceType!,
  if (kmsKeyVersion != null) 'kmsKeyVersion': kmsKeyVersion!,
  if (logicalInterfaces != null) 'logicalInterfaces': logicalInterfaces!,
  if (name != null) 'name': name!,
  if (networkConfig != null) 'networkConfig': networkConfig!,
  if (networkTemplate != null) 'networkTemplate': networkTemplate!,
  if (osImage != null) 'osImage': osImage!,
  if (privateNetwork != null) 'privateNetwork': privateNetwork!,
  if (sshKeyNames != null) 'sshKeyNames': sshKeyNames!,
  if (userNote != null) 'userNote': userNote!,
};