toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (capacityStepSizeGb != null) 'capacityStepSizeGb': capacityStepSizeGb!,
  if (createTime != null) 'createTime': createTime!,
  if (customPerformanceSupported != null)
    'customPerformanceSupported': customPerformanceSupported!,
  if (deletionProtectionEnabled != null)
    'deletionProtectionEnabled': deletionProtectionEnabled!,
  if (deletionProtectionReason != null)
    'deletionProtectionReason': deletionProtectionReason!,
  if (description != null) 'description': description!,
  if (etag != null) 'etag': etag!,
  if (fileShares != null) 'fileShares': fileShares!,
  if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
  if (labels != null) 'labels': labels!,
  if (maxCapacityGb != null) 'maxCapacityGb': maxCapacityGb!,
  if (minCapacityGb != null) 'minCapacityGb': minCapacityGb!,
  if (name != null) 'name': name!,
  if (networks != null) 'networks': networks!,
  if (performanceConfig != null) 'performanceConfig': performanceConfig!,
  if (performanceLimits != null) 'performanceLimits': performanceLimits!,
  if (protocol != null) 'protocol': protocol!,
  if (replication != null) 'replication': replication!,
  if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
  if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
  if (state != null) 'state': state!,
  if (statusMessage != null) 'statusMessage': statusMessage!,
  if (suspensionReasons != null) 'suspensionReasons': suspensionReasons!,
  if (tags != null) 'tags': tags!,
  if (tier != null) 'tier': tier!,
};