ReplicaGlobalSecondaryIndexAutoScalingDescription.fromJson constructor
ReplicaGlobalSecondaryIndexAutoScalingDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ReplicaGlobalSecondaryIndexAutoScalingDescription.fromJson(
Map<String, dynamic> json) {
return ReplicaGlobalSecondaryIndexAutoScalingDescription(
indexName: json['IndexName'] as String?,
indexStatus: (json['IndexStatus'] as String?)?.toIndexStatus(),
provisionedReadCapacityAutoScalingSettings:
json['ProvisionedReadCapacityAutoScalingSettings'] != null
? AutoScalingSettingsDescription.fromJson(
json['ProvisionedReadCapacityAutoScalingSettings']
as Map<String, dynamic>)
: null,
provisionedWriteCapacityAutoScalingSettings:
json['ProvisionedWriteCapacityAutoScalingSettings'] != null
? AutoScalingSettingsDescription.fromJson(
json['ProvisionedWriteCapacityAutoScalingSettings']
as Map<String, dynamic>)
: null,
);
}