in lib/greengrass/model.ts [94:106]
static from_json(json: any) {
const cores: GGCore[] = [];
if (json.Cores && isArray(json.Cores)) {
json.Cores.forEach((payload: any) => {
cores.push(GGCore.from_json(payload));
});
}
return new GGGroup(
json.GGGroupId,
cores,
json.CAs
)
}