Because this is only returning a single tree, it should be a `Get` rather than `List`.  As noted above, I don't think the `TreeListOptions` is really needed at all.  Instead, you could pass `recursive bool` which, if true, appends a query parameter to the URL.  Even though it technically appends an int, GitHub is really using it as a boolean, so I'd probably have this function accept a bool.