toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseline != null) 'baseline': baseline!,
      if (deleted != null) 'deleted': deleted!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (instanceFilter != null) 'instanceFilter': instanceFilter!.toJson(),
      if (name != null) 'name': name!,
      if (osPolicies != null)
        'osPolicies': osPolicies!.map((value) => value.toJson()).toList(),
      if (reconciling != null) 'reconciling': reconciling!,
      if (revisionCreateTime != null)
        'revisionCreateTime': revisionCreateTime!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (rollout != null) 'rollout': rollout!.toJson(),
      if (rolloutState != null) 'rolloutState': rolloutState!,
      if (uid != null) 'uid': uid!,
    };