DescribeUploadBufferOutput.fromJson constructor

DescribeUploadBufferOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeUploadBufferOutput.fromJson(Map<String, dynamic> json) {
  return DescribeUploadBufferOutput(
    diskIds: (json['DiskIds'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    gatewayARN: json['GatewayARN'] as String?,
    uploadBufferAllocatedInBytes:
        json['UploadBufferAllocatedInBytes'] as int?,
    uploadBufferUsedInBytes: json['UploadBufferUsedInBytes'] as int?,
  );
}