GetVmwareNodePoolResult.fromMap constructor

GetVmwareNodePoolResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetVmwareNodePoolResult.fromMap(Map<String, dynamic> map) {
  return GetVmwareNodePoolResult(
    annotations: (map['annotations'] as Map).cast<String, String>(),
    config: VmwareNodeConfigResponse.fromMap((map['config']! as Map).cast<String, dynamic>()),
    createTime: map['createTime'] as String,
    deleteTime: map['deleteTime'] as String,
    displayName: map['displayName'] as String,
    etag: map['etag'] as String,
    name: map['name'] as String,
    nodePoolAutoscaling: VmwareNodePoolAutoscalingConfigResponse.fromMap((map['nodePoolAutoscaling']! as Map).cast<String, dynamic>()),
    onPremVersion: map['onPremVersion'] as String,
    reconciling: map['reconciling'] as bool,
    state: map['state'] as String,
    status: ResourceStatusResponse.fromMap((map['status']! as Map).cast<String, dynamic>()),
    uid: map['uid'] as String,
    updateTime: map['updateTime'] as String,
  );
}