ResourcePool_AutoscalingSpec.fromJson constructor
ResourcePool_AutoscalingSpec.fromJson(
- Object? j
Implementation
factory ResourcePool_AutoscalingSpec.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ResourcePool_AutoscalingSpec(
minReplicaCount: switch (json['minReplicaCount']) {
null => null,
Object $1 => decodeInt64($1),
},
maxReplicaCount: switch (json['maxReplicaCount']) {
null => null,
Object $1 => decodeInt64($1),
},
);
}