Class SendEmailActionNode.Addressee

  • Enclosing class:
    SendEmailActionNode

    public static class SendEmailActionNode.Addressee
    extends Object
    A class to hold how to obtain addressee (to).
    Since:
    12.1.0
    Version:
    $Revision: 24868 $ $Date: 2022-02-25 18:16:46 -0300 (Fri, 25 Feb 2022) $
    • Field Detail

      • TYPES

        public static final Map<String,​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​(String type,
                         String email,
                         String userAttributeId,
                         String eventAttributeId,
                         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 String getType()
        Returns the type.
        Returns:
        the type
        Since:
        12.1.0
      • getEmail

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

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

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

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