Class LeadRecord

java.lang.Object
com.avoka.component.marketo.LeadRecord

public class LeadRecord extends Object
Provides a Marketo Lead Record class which is used by the MarketClient.
Since:
3.6.0
See Also:
  • Constructor Details

    • LeadRecord

      public LeadRecord(String id, String email, Map<String,String> attributes)
      Create a Lead Record object based on the given Marketo ID, email and attributes.
      Parameters:
      id - the Marketo Lead ID
      email - the lead email address
      attributes - the lead attributes
  • Method Details

    • getId

      public String getId()
      Return the Marketo lead record ID.
      Returns:
      the Marketo lead record ID
    • getEmail

      public String getEmail()
      Return the lead record email address.
      Returns:
      the lead record email address
    • getAttributes

      public Map<String,String> getAttributes()
      Return the lead record attributes.
      Returns:
      the lead record attributes
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      the string representation of this object.