InstanceGroupManagerStatusInstanceStatusSummary.fromJson constructor
InstanceGroupManagerStatusInstanceStatusSummary.fromJson(
- Object? j
Implementation
factory InstanceGroupManagerStatusInstanceStatusSummary.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return InstanceGroupManagerStatusInstanceStatusSummary(
deprovisioning: switch (json['deprovisioning']) {
null => null,
Object $1 => decodeInt($1),
},
nonExistent: switch (json['nonExistent']) {
null => null,
Object $1 => decodeInt($1),
},
pending: switch (json['pending']) {
null => null,
Object $1 => decodeInt($1),
},
pendingStop: switch (json['pendingStop']) {
null => null,
Object $1 => decodeInt($1),
},
provisioning: switch (json['provisioning']) {
null => null,
Object $1 => decodeInt($1),
},
repairing: switch (json['repairing']) {
null => null,
Object $1 => decodeInt($1),
},
running: switch (json['running']) {
null => null,
Object $1 => decodeInt($1),
},
staging: switch (json['staging']) {
null => null,
Object $1 => decodeInt($1),
},
stopped: switch (json['stopped']) {
null => null,
Object $1 => decodeInt($1),
},
stopping: switch (json['stopping']) {
null => null,
Object $1 => decodeInt($1),
},
suspended: switch (json['suspended']) {
null => null,
Object $1 => decodeInt($1),
},
suspending: switch (json['suspending']) {
null => null,
Object $1 => decodeInt($1),
},
terminated: switch (json['terminated']) {
null => null,
Object $1 => decodeInt($1),
},
);
}