def from_api_repr(cls, resource):
        """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
        """
        return cls(kind=resource.get("kind"), substeps=resource.get("substeps", ()))
def from_api_repr ( cls , resource ) : return cls ( kind = resource . get ( "kind" ) , substeps = resource . get ( "substeps" , ( ) ) )
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