Class AncestryResultsState
The AncestryResultsState exposes management functions for ancestry results.
Class AncestryResultsState
- Gedcomx\Rs\Client\GedcomxApplicationState
-
Gedcomx\Rs\Client\AncestryResultsState
Package: Gedcomx\Rs\Client
Located at Rs/Client/AncestryResultsState.php
Methods summary
public
|
#
__construct( GuzzleHttp\Client $client, GuzzleHttp\Psr7\Request $request, GuzzleHttp\Psr7\Response $response, string $accessToken,
Constructs a new ancestry results state using the specified client, request, response, access token, and state factory. |
public
string
|
|
public
|
|
public
mixed|null
|
#
readPerson( $ancestorNumber, Gedcomx\Gedcomx\Rs\Client\StateTransitionOption $option = null )
Reads the person at the specified one-based index number. |
Methods inherited from Gedcomx\Rs\Client\GedcomxApplicationState
authenticateViaOAuth2AuthCode(),
authenticateViaOAuth2ClientCredentials(),
authenticateViaOAuth2Password(),
authenticateViaOAuth2WithoutCredentials(),
authenticateWithAccessToken(),
delete(),
generateClientSecret(),
get(),
getAccessToken(),
getClient(),
getETag(),
getEntity(),
getHeader(),
getHeaders(),
getLastEmbeddedRequest(),
getLastEmbeddedResponse(),
getLastModified(),
getLink(),
getLinks(),
getRequest(),
getResourceReference(),
getResponse(),
getSelfUri(),
getStatus(),
getUri(),
hasClientError(),
hasError(),
hasServerError(),
hasStatus(),
head(),
ifSuccessful(),
inject(),
isAuthenticated(),
loadAllEmbeddedResources(),
logout(),
options(),
post(),
put(),
readAttributableContributor(),
readContributor(),
readReferenceContributor(),
send()