toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (capacityGb != null) 'capacityGb': capacityGb!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (downloadBytes != null) 'downloadBytes': downloadBytes!,
      if (kmsKey != null) 'kmsKey': kmsKey!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (sourceFileShare != null) 'sourceFileShare': sourceFileShare!,
      if (sourceInstance != null) 'sourceInstance': sourceInstance!,
      if (sourceInstanceTier != null)
        'sourceInstanceTier': sourceInstanceTier!,
      if (state != null) 'state': state!,
      if (storageBytes != null) 'storageBytes': storageBytes!,
    };