ComputeCapacityStatus.fromJson constructor

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

Implementation

factory ComputeCapacityStatus.fromJson(Map<String, dynamic> json) {
  return ComputeCapacityStatus(
    desired: json['Desired'] as int,
    available: json['Available'] as int?,
    inUse: json['InUse'] as int?,
    running: json['Running'] as int?,
  );
}