Class SendEmailActionNode.Addressee

  • Enclosing class:
    SendEmailActionNode

    public static class SendEmailActionNode.Addressee
    extends java.lang.Object
    A class to hold how to obtain addressee (to).
    Since:
    12.1.0
    Version:
    $Revision$ $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.String> TYPES
      All types to how obtain addressee.
    • Constructor Summary

      Constructors 
      Constructor Description
      Addressee​(java.lang.String type, java.lang.String email, java.lang.String userAttributeId, java.lang.String eventAttributeId, java.lang.String serviceInstanceId)
      Constructor to full fields.
      Addressee​(org.json.JSONObject addressee)
      Constructor to addressee JSON.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getEmail()
      Returns the email.
      protected java.lang.String getEventAttributeId()
      Returns the eventAttributeId.
      protected java.lang.String getServiceInstanceId()
      Returns the serviceInstanceId.
      protected java.lang.String getType()
      Returns the type.
      protected java.lang.String getUserAttributeId()
      Returns the userAttributeId.
      org.json.JSONObject toJSONObject()
      Returns a JSON with object properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TYPES

        public static final java.util.Map<java.lang.String,​java.lang.String> TYPES
        All types to how obtain addressee.
    • Constructor Detail

      • Addressee

        public Addressee​(org.json.JSONObject addressee)
        Constructor to addressee JSON.
        Parameters:
        object - the addressee JSON
        Since:
        12.1.0
      • Addressee

        public Addressee​(java.lang.String type,
                         java.lang.String email,
                         java.lang.String userAttributeId,
                         java.lang.String eventAttributeId,
                         java.lang.String serviceInstanceId)
        Constructor to full fields.
        Parameters:
        type - the type.
        email - the email.
        userAttributeId - the userAttributeId.
        eventAttributeId - the eventAttributeId.
        serviceInstanceId - the service instance identifier for user attribute.
        Since:
        14.0.0
    • Method Detail

      • toJSONObject

        public org.json.JSONObject toJSONObject()
        Returns a JSON with object properties.
        Returns:
        a JSON with object properties.
        Since:
        12.1.0
      • getType

        protected java.lang.String getType()
        Returns the type.
        Returns:
        the type
        Since:
        12.1.0
      • getEmail

        protected java.lang.String getEmail()
        Returns the email.
        Returns:
        the email
        Since:
        12.1.0
      • getUserAttributeId

        protected java.lang.String getUserAttributeId()
        Returns the userAttributeId.
        Returns:
        the userAttributeId
        Since:
        12.1.0
      • getServiceInstanceId

        protected java.lang.String getServiceInstanceId()
        Returns the serviceInstanceId.
        Returns:
        the serviceInstanceId
        Since:
        14.0.0
      • getEventAttributeId

        protected java.lang.String getEventAttributeId()
        Returns the eventAttributeId.
        Returns:
        the eventAttributeId
        Since:
        12.1.0