toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalLabels != null) 'additionalLabels': additionalLabels!,
      if (diskName != null) 'diskName': diskName!,
      if (diskType != null) 'diskType': diskType!,
      if (encryption != null) 'encryption': encryption!,
      if (sourceDiskNumber != null) 'sourceDiskNumber': sourceDiskNumber!,
      if (vmAttachmentDetails != null)
        'vmAttachmentDetails': vmAttachmentDetails!,
    };