public class

ContactData

extends Object
implements JsonSerializable
java.lang.Object
   ↳ com.urbanairship.contacts.ContactData

Class Overview

Contact data.

Summary

Public Methods
boolean equals(Object o)
List<AssociatedChannel> getAssociatedChannels()
A list of associated contacts.
Map<StringJsonValue> getAttributes()
Contact attributes.
Map<StringSet<Scope>> getSubscriptionLists()
Contact subscription lists.
Map<StringSet<String>> getTagGroups()
Contact tag groups.
int hashCode()
JsonValue toJsonValue()
Returns the objects represented as a JsonValue.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.json.JsonSerializable

Public Methods

public boolean equals (Object o)

public List<AssociatedChannel> getAssociatedChannels ()

A list of associated contacts.

Returns
  • The list of associated contacts.

public Map<StringJsonValue> getAttributes ()

Contact attributes.

Returns
  • The attributes.

public Map<StringSet<Scope>> getSubscriptionLists ()

Contact subscription lists.

Returns
  • The subscription lists.

public Map<StringSet<String>> getTagGroups ()

Contact tag groups.

Returns
  • The tag groups.

public int hashCode ()

public JsonValue toJsonValue ()

Returns the objects represented as a JsonValue.

Returns
  • The object as a JsonValue.