Class FamilyTreeRelationshipState
The FamilyTreeRelationshipState exposes management and other FamilySearch specific functions for a relationship.
Class FamilyTreeRelationshipState
- Gedcomx\Rs\Client\GedcomxApplicationState
- Gedcomx\Rs\Client\RelationshipState
- Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeRelationshipState implements Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\PreferredRelationshipState
Package: Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree
Located at Extensions/FamilySearch/Rs/Client/FamilyTree/FamilyTreeRelationshipState.php
Methods summary
public
|
#
__construct( GuzzleHttp\Client $client, GuzzleHttp\Psr7\Request $request, GuzzleHttp\Psr7\Response $response, string $accessToken,
Constructs a new fmaily tree relationship state using the specified client, request, response, access token, and state factory. |
public
|
#
loadDiscussionReferences(
Loads all discussion references for the current relationship. |
public
|
#
readChangeHistory(
Reads the change history of the current relationship. |
public
mixed|null
|
#
restore(
Restore the current relationship (if it is currently deleted). |
Methods inherited from Gedcomx\Rs\Client\RelationshipState
addEvidenceReference()
,
addEvidenceReferenceState()
,
addEvidenceReferences()
,
addFact()
,
addFacts()
,
addMediaReference()
,
addMediaReferenceState()
,
addMediaReferences()
,
addNote()
,
addNotes()
,
addSourceDescriptionState()
,
addSourceReference()
,
addSourceReferences()
,
deleteEvidenceReference()
,
deleteFact()
,
deleteMediaReference()
,
deleteNote()
,
deleteSourceReference()
,
getNote()
,
getRelationship()
,
getSelfRel()
,
getSourceReference()
,
loadConclusions()
,
loadEmbeddedResources()
,
loadEvidenceReferences()
,
loadMediaReferences()
,
loadNotes()
,
loadSourceReferences()
,
readNote()
,
readSources()
,
updateEvidenceReference()
,
updateEvidenceReferences()
,
updateFact()
,
updateFacts()
,
updateMediaReference()
,
updateMediaReferences()
,
updateNote()
,
updateNotes()
,
updateRelationshipNotes()
,
updateSelf()
,
updateSourceReference()
,
updateSourceReferences()
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()