toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advanceRolloutOperation != null)
        'advanceRolloutOperation': advanceRolloutOperation!,
      if (automationId != null) 'automationId': automationId!,
      if (automationSnapshot != null)
        'automationSnapshot': automationSnapshot!,
      if (createTime != null) 'createTime': createTime!,
      if (etag != null) 'etag': etag!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (name != null) 'name': name!,
      if (promoteReleaseOperation != null)
        'promoteReleaseOperation': promoteReleaseOperation!,
      if (repairRolloutOperation != null)
        'repairRolloutOperation': repairRolloutOperation!,
      if (ruleId != null) 'ruleId': ruleId!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (state != null) 'state': state!,
      if (stateDescription != null) 'stateDescription': stateDescription!,
      if (targetId != null) 'targetId': targetId!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (waitUntilTime != null) 'waitUntilTime': waitUntilTime!,
    };