fromJson static method
Returns a new PatchBucketRequest instance and imports
Implementation
// ignore: prefer_constructors_over_static_methods
static PatchBucketRequest fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return PatchBucketRequest(
name: mapValueOfType<String>(json, r'name'),
description: mapValueOfType<String>(json, r'description'),
retentionRules: PatchRetentionRule.listFromJson(json[r'retentionRules']),
);
}