toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allInstancesConfig != null)
        'allInstancesConfig': allInstancesConfig!,
      if (autoHealingPolicies != null)
        'autoHealingPolicies': autoHealingPolicies!,
      if (baseInstanceName != null) 'baseInstanceName': baseInstanceName!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (currentActions != null) 'currentActions': currentActions!,
      if (description != null) 'description': description!,
      if (distributionPolicy != null)
        'distributionPolicy': distributionPolicy!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (instanceGroup != null) 'instanceGroup': instanceGroup!,
      if (instanceLifecyclePolicy != null)
        'instanceLifecyclePolicy': instanceLifecyclePolicy!,
      if (instanceTemplate != null) 'instanceTemplate': instanceTemplate!,
      if (kind != null) 'kind': kind!,
      if (listManagedInstancesResults != null)
        'listManagedInstancesResults': listManagedInstancesResults!,
      if (name != null) 'name': name!,
      if (namedPorts != null) 'namedPorts': namedPorts!,
      if (region != null) 'region': region!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (statefulPolicy != null) 'statefulPolicy': statefulPolicy!,
      if (status != null) 'status': status!,
      if (targetPools != null) 'targetPools': targetPools!,
      if (targetSize != null) 'targetSize': targetSize!,
      if (updatePolicy != null) 'updatePolicy': updatePolicy!,
      if (versions != null) 'versions': versions!,
      if (zone != null) 'zone': zone!,
    };