toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (dryRun != null) 'dryRun': dryRun!,
      if (duration != null) 'duration': duration!,
      if (errorMessage != null) 'errorMessage': errorMessage!,
      if (instanceDetailsSummary != null)
        'instanceDetailsSummary': instanceDetailsSummary!,
      if (instanceFilter != null) 'instanceFilter': instanceFilter!,
      if (name != null) 'name': name!,
      if (patchConfig != null) 'patchConfig': patchConfig!,
      if (patchDeployment != null) 'patchDeployment': patchDeployment!,
      if (percentComplete != null) 'percentComplete': percentComplete!,
      if (rollout != null) 'rollout': rollout!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };