toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (deprecated != null) 'deprecated': deprecated!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (maxPoolProvisionedCapacityGb != null)
        'maxPoolProvisionedCapacityGb': maxPoolProvisionedCapacityGb!,
      if (maxPoolProvisionedIops != null)
        'maxPoolProvisionedIops': maxPoolProvisionedIops!,
      if (maxPoolProvisionedThroughput != null)
        'maxPoolProvisionedThroughput': maxPoolProvisionedThroughput!,
      if (minPoolProvisionedCapacityGb != null)
        'minPoolProvisionedCapacityGb': minPoolProvisionedCapacityGb!,
      if (minPoolProvisionedIops != null)
        'minPoolProvisionedIops': minPoolProvisionedIops!,
      if (minPoolProvisionedThroughput != null)
        'minPoolProvisionedThroughput': minPoolProvisionedThroughput!,
      if (minSizeGb != null) 'minSizeGb': minSizeGb!,
      if (name != null) 'name': name!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
      if (supportedDiskTypes != null)
        'supportedDiskTypes': supportedDiskTypes!,
      if (zone != null) 'zone': zone!,
    };