Home Reference Source Test
import GraphConnectorContactData from 'runtime-core/src/graphconnector/GraphConnectorContactData.js'
public class | source

GraphConnectorContactData

Represents information about a contact.

Constructor Summary

Public Constructor
public

constructor(guid: String, firstName: String, lastName: String)

Constructs a new object representing information about one contact.

Member Summary

Public Members
public set

Sets the friends-of-friends Bloom filter containing the hashed GUIDs of the contacts for the contact.

public get

Returns the Bloom filter containing the hashed GUIDs of the contacts for the contact.

public set

defaults(defaults: object): *

Sets the defaults.

public get

Returns the user defaults

public set

firstName(firstName: String): *

Sets the first name.

public get

Returns the first name.

public get

groups: List<String>: *

Returns the groups.

public set

groups(groups: List<String>): *

Sets the groups.

public get

guid: String: *

Returns the GUID.

public set

guid(GUID: String): *

Sets the GUID.

public get

Returns the last name.

public set

lastName(lastName: String): *

Sets the last name.

public get

Returns the last Sync Bloom Filter date for the contact.

public set

legacyIDs(legacyIDs: List<object>): *

Sets the legacyIDs.

public get

legacyIDs: List<object>: *

Returns the user IDs.

public set

privateContact(boolPrivate: Boolean): *

Sets the privacy status of the contact according to the given Boolean value.

public get

Returns the privacy status of the contact.

public get

Returns the geohash of the residence location.

public set

residenceLocation(geohash: String): *

Sets the geohash of the residence location.

public set

schemaVersion(schemaVersion: int): *

Sets the schemaVersion.

public get

schemaVersion: int: *

Returns the schemaVersion.

public get

userIDs: List<object>: *

Returns the user IDs.

public set

userIDs(userIDs: List<object>): *

Sets the userIDs.

Public Constructors

public constructor(guid: String, firstName: String, lastName: String) source

Constructs a new object representing information about one contact.

Params:

NameTypeAttributeDescription
guid String

The GUID of the new contact.

firstName String

The first name of the new contact.

lastName String

The last name of the new contact.

Public Members

public set contactsBloomFilter1Hop(bf: BloomFilter): * source

Sets the friends-of-friends Bloom filter containing the hashed GUIDs of the contacts for the contact.

public get contactsBloomFilter1Hop: BloomFilter: * source

Returns the Bloom filter containing the hashed GUIDs of the contacts for the contact.

Return:

BloomFilter

bf Bloom filter for the contact.

public set defaults(defaults: object): * source

Sets the defaults.

public get defaults: object: * source

Returns the user defaults

Return:

object

defaults defaults of the contact.

public set firstName(firstName: String): * source

Sets the first name.

public get firstName: String: * source

Returns the first name.

Return:

String

firstName First name of the contact.

public get groups: List<String>: * source

Returns the groups.

Return:

List<String>

groups Groups of the contact.

public set groups(groups: List<String>): * source

Sets the groups.

public get guid: String: * source

Returns the GUID.

Return:

String

GUID GUID of the contact.

public set guid(GUID: String): * source

Sets the GUID.

public get lastName: String: * source

Returns the last name.

Return:

String

lastName Last name of the contact.

public set lastName(lastName: String): * source

Sets the last name.

public get lastSyncBloomFilter1Hop: String: * source

Returns the last Sync Bloom Filter date for the contact.

Return:

String

lastSyncBloomFilter1Hop last Sync Bloom Filter date for the contact.

public set legacyIDs(legacyIDs: List<object>): * source

Sets the legacyIDs.

public get legacyIDs: List<object>: * source

Returns the user IDs.

Return:

List<object>

legacyIDs legacyIDs of the contact.

public set privateContact(boolPrivate: Boolean): * source

Sets the privacy status of the contact according to the given Boolean value.

public get privateContact: Boolean: * source

Returns the privacy status of the contact.

Return:

Boolean

privateContact True/false value indicating the privacy status of the contact.

public get residenceLocation: String: * source

Returns the geohash of the residence location.

Return:

String

geohash Geohash of the residence location.

public set residenceLocation(geohash: String): * source

Sets the geohash of the residence location.

public set schemaVersion(schemaVersion: int): * source

Sets the schemaVersion.

public get schemaVersion: int: * source

Returns the schemaVersion.

Return:

int

schemaVersion schemaVersion of the Dataset.

public get userIDs: List<object>: * source

Returns the user IDs.

Return:

List<object>

userIDs UserIDs of the contact.

public set userIDs(userIDs: List<object>): * source

Sets the userIDs.