code: def from_api_repr(cls, resource):
          
          return cls(kind=resource.get("kind"), substeps=resource.get("substeps", ()))
docs: Factory: construct instance from the JSON repr.
  
          :type resource: dict
          :param resource: JSON representation of the entry
  
          :rtype: :class:`QueryPlanEntryStep`
          :return: new instance built from the resource