toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (capacityProvisioningType != null)
        'capacityProvisioningType': capacityProvisioningType!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (performanceProvisioningType != null)
        'performanceProvisioningType': performanceProvisioningType!,
      if (poolProvisionedCapacityGb != null)
        'poolProvisionedCapacityGb': poolProvisionedCapacityGb!,
      if (poolProvisionedIops != null)
        'poolProvisionedIops': poolProvisionedIops!,
      if (poolProvisionedThroughput != null)
        'poolProvisionedThroughput': poolProvisionedThroughput!,
      if (resourceStatus != null) 'resourceStatus': resourceStatus!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
      if (state != null) 'state': state!,
      if (status != null) 'status': status!,
      if (storagePoolType != null) 'storagePoolType': storagePoolType!,
      if (zone != null) 'zone': zone!,
    };