InstanceGroupManagerActionsSummary.fromJson constructor
InstanceGroupManagerActionsSummary.fromJson(
- Object? j
Implementation
factory InstanceGroupManagerActionsSummary.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return InstanceGroupManagerActionsSummary(
abandoning: switch (json['abandoning']) {
null => null,
Object $1 => decodeInt($1),
},
creating: switch (json['creating']) {
null => null,
Object $1 => decodeInt($1),
},
creatingWithoutRetries: switch (json['creatingWithoutRetries']) {
null => null,
Object $1 => decodeInt($1),
},
deleting: switch (json['deleting']) {
null => null,
Object $1 => decodeInt($1),
},
none: switch (json['none']) {
null => null,
Object $1 => decodeInt($1),
},
recreating: switch (json['recreating']) {
null => null,
Object $1 => decodeInt($1),
},
refreshing: switch (json['refreshing']) {
null => null,
Object $1 => decodeInt($1),
},
restarting: switch (json['restarting']) {
null => null,
Object $1 => decodeInt($1),
},
resuming: switch (json['resuming']) {
null => null,
Object $1 => decodeInt($1),
},
starting: switch (json['starting']) {
null => null,
Object $1 => decodeInt($1),
},
stopping: switch (json['stopping']) {
null => null,
Object $1 => decodeInt($1),
},
suspending: switch (json['suspending']) {
null => null,
Object $1 => decodeInt($1),
},
verifying: switch (json['verifying']) {
null => null,
Object $1 => decodeInt($1),
},
);
}