toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ackedInstanceCount != null)
        'ackedInstanceCount': ackedInstanceCount!,
      if (applyingPatchesInstanceCount != null)
        'applyingPatchesInstanceCount': applyingPatchesInstanceCount!,
      if (downloadingPatchesInstanceCount != null)
        'downloadingPatchesInstanceCount': downloadingPatchesInstanceCount!,
      if (failedInstanceCount != null)
        'failedInstanceCount': failedInstanceCount!,
      if (inactiveInstanceCount != null)
        'inactiveInstanceCount': inactiveInstanceCount!,
      if (noAgentDetectedInstanceCount != null)
        'noAgentDetectedInstanceCount': noAgentDetectedInstanceCount!,
      if (notifiedInstanceCount != null)
        'notifiedInstanceCount': notifiedInstanceCount!,
      if (pendingInstanceCount != null)
        'pendingInstanceCount': pendingInstanceCount!,
      if (postPatchStepInstanceCount != null)
        'postPatchStepInstanceCount': postPatchStepInstanceCount!,
      if (prePatchStepInstanceCount != null)
        'prePatchStepInstanceCount': prePatchStepInstanceCount!,
      if (rebootingInstanceCount != null)
        'rebootingInstanceCount': rebootingInstanceCount!,
      if (startedInstanceCount != null)
        'startedInstanceCount': startedInstanceCount!,
      if (succeededInstanceCount != null)
        'succeededInstanceCount': succeededInstanceCount!,
      if (succeededRebootRequiredInstanceCount != null)
        'succeededRebootRequiredInstanceCount':
            succeededRebootRequiredInstanceCount!,
      if (timedOutInstanceCount != null)
        'timedOutInstanceCount': timedOutInstanceCount!,
    };