test_class.declarator: SENDWITHUS_API_KEY = "JAVA_API_CLIENT_TEST_KEY"
test_class.modifier: public static final
test_class.original_string: public static final String SENDWITHUS_API_KEY = "JAVA_API_CLIENT_TEST_KEY";
test_class.type: String
test_class.var_name: SENDWITHUS_API_KEY
test_class.declarator: EMAIL_ID = "test_fixture_1"
test_class.modifier: public static final
test_class.original_string: public static final String EMAIL_ID = "test_fixture_1";
test_class.type: String
test_class.var_name: EMAIL_ID
test_class.declarator: TEMPLATE_ID = "test_template_1"
test_class.modifier: public static final
test_class.original_string: public static final String TEMPLATE_ID = "test_template_1";
test_class.type: String
test_class.var_name: TEMPLATE_ID
test_class.declarator: VERSION_ID = "test_version_1"
test_class.modifier: public static final
test_class.original_string: public static final String VERSION_ID = "test_version_1";
test_class.type: String
test_class.var_name: VERSION_ID
test_class.declarator: sendwithusAPI
test_class.original_string: SendWithUs sendwithusAPI;
test_class.type: SendWithUs
test_class.var_name: sendwithusAPI
test_class.declarator: defaultRecipientParams = new HashMap<String, Object>()
test_class.original_string: Map<String, Object> defaultRecipientParams = new HashMap<String, Object>();
test_class.type: Map<String, Object>
test_class.var_name: defaultRecipientParams
test_class.declarator: invalidRecipientParams = new HashMap<String, Object>()
test_class.original_string: Map<String, Object> invalidRecipientParams = new HashMap<String, Object>();
test_class.type: Map<String, Object>
test_class.var_name: invalidRecipientParams
test_class.declarator: defaultSenderParams = new HashMap<String, Object>()
test_class.original_string: Map<String, Object> defaultSenderParams = new HashMap<String, Object>();
test_class.type: Map<String, Object>
test_class.var_name: defaultSenderParams
test_class.declarator: defaultDataParams = new HashMap<String, Object>()
test_class.original_string: Map<String, Object> defaultDataParams = new HashMap<String, Object>();
test_class.type: Map<String, Object>
test_class.var_name: defaultDataParams
test_class.declarator: TEST_RECIPIENT_ADDRESS = "swunit+javaclient@sendwithus.com"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_RECIPIENT_ADDRESS = "swunit+javaclient@sendwithus.com";
test_class.type: String
test_class.var_name: TEST_RECIPIENT_ADDRESS
test_class.file: client/src/test/java/com/sendwithus/SendWithUsTest.java
test_class.identifier: SendWithUsTest
test_case.body: @Test
      public void testSendWithEmptyAttachment() throws SendWithUsException
      {
          String[] str = {};
  
          SendReceipt sendReceipt = sendwithusAPI.send(EMAIL_ID,
                  defaultRecipientParams, defaultSenderParams, defaultDataParams,
                  null, null, str);
  
          assertSuccessfulAPIReceipt(sendReceipt);
      }
test_case.class_method_signature: SendWithUsTest.testSendWithEmptyAttachment()
test_case.full_signature: @Test public void testSendWithEmptyAttachment()
test_case.identifier: testSendWithEmptyAttachment
test_case.invocations: send assertSuccessfulAPIReceipt
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSendWithEmptyAttachment()
focal_class.declarator: CLIENT_VERSION = "2.1.2"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLIENT_VERSION = "2.1.2";
focal_class.type: String
focal_class.var_name: CLIENT_VERSION
focal_class.declarator: CLIENT_LANG = "java"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLIENT_LANG = "java";
focal_class.type: String
focal_class.var_name: CLIENT_LANG
focal_class.declarator: SWU_API_HEADER = "X-SWU-API-KEY"
focal_class.modifier: public static final
focal_class.original_string: public static final String SWU_API_HEADER = "X-SWU-API-KEY";
focal_class.type: String
focal_class.var_name: SWU_API_HEADER
focal_class.declarator: SWU_CLIENT_HEADER = "X-SWU-API-CLIENT"
focal_class.modifier: public static final
focal_class.original_string: public static final String SWU_CLIENT_HEADER = "X-SWU-API-CLIENT";
focal_class.type: String
focal_class.var_name: SWU_CLIENT_HEADER
focal_class.declarator: apiKey
focal_class.modifier: private
focal_class.original_string: private String apiKey;
focal_class.type: String
focal_class.var_name: apiKey
focal_class.declarator: sendWithUsApiLocation
focal_class.modifier: private
focal_class.original_string: private SendWithUsApiLocation sendWithUsApiLocation;
focal_class.type: SendWithUsApiLocation
focal_class.var_name: sendWithUsApiLocation
focal_class.file: client/src/main/java/com/sendwithus/SendWithUs.java
focal_class.identifier: SendWithUs
focal_class.class_method_signature: SendWithUs.SendWithUs(String apiKey)
focal_class.full_signature: public  SendWithUs(String apiKey)
focal_class.identifier: SendWithUs
focal_class.modifiers: public
focal_class.parameters: (String apiKey)
focal_class.signature:  SendWithUs(String apiKey)
focal_class.class_method_signature: SendWithUs.SendWithUs(String apiKey, SendWithUsApiLocation sendWithUsApiLocation)
focal_class.full_signature: public  SendWithUs(String apiKey, SendWithUsApiLocation sendWithUsApiLocation)
focal_class.identifier: SendWithUs
focal_class.modifiers: public
focal_class.parameters: (String apiKey, SendWithUsApiLocation sendWithUsApiLocation)
focal_class.signature:  SendWithUs(String apiKey, SendWithUsApiLocation sendWithUsApiLocation)
focal_class.class_method_signature: SendWithUs.getURLEndpoint(String resourceName)
focal_class.full_signature: private String getURLEndpoint(String resourceName)
focal_class.identifier: getURLEndpoint
focal_class.modifiers: private
focal_class.parameters: (String resourceName)
focal_class.return: String
focal_class.signature: String getURLEndpoint(String resourceName)
focal_class.class_method_signature: SendWithUs.createConnection(
              String url, String method, Map<String, Object> params)
focal_class.full_signature: private HttpURLConnection createConnection(
              String url, String method, Map<String, Object> params)
focal_class.identifier: createConnection
focal_class.modifiers: private
focal_class.parameters: (
              String url, String method, Map<String, Object> params)
focal_class.return: HttpURLConnection
focal_class.signature: HttpURLConnection createConnection(
              String url, String method, Map<String, Object> params)
focal_class.class_method_signature: SendWithUs.getHeaders(String apiKey)
focal_class.full_signature: private Map<String, String> getHeaders(String apiKey)
focal_class.identifier: getHeaders
focal_class.modifiers: private
focal_class.parameters: (String apiKey)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getHeaders(String apiKey)
focal_class.class_method_signature: SendWithUs.getResponseBody(HttpURLConnection connection)
focal_class.full_signature: private String getResponseBody(HttpURLConnection connection)
focal_class.identifier: getResponseBody
focal_class.modifiers: private
focal_class.parameters: (HttpURLConnection connection)
focal_class.return: String
focal_class.signature: String getResponseBody(HttpURLConnection connection)
focal_class.class_method_signature: SendWithUs.makeURLRequest(String url, String method)
focal_class.full_signature: protected String makeURLRequest(String url, String method)
focal_class.identifier: makeURLRequest
focal_class.modifiers: protected
focal_class.parameters: (String url, String method)
focal_class.return: String
focal_class.signature: String makeURLRequest(String url, String method)
focal_class.class_method_signature: SendWithUs.makeURLRequest(String url, String method, Map<String, Object> params)
focal_class.full_signature: protected String makeURLRequest(String url, String method, Map<String, Object> params)
focal_class.identifier: makeURLRequest
focal_class.modifiers: protected
focal_class.parameters: (String url, String method, Map<String, Object> params)
focal_class.return: String
focal_class.signature: String makeURLRequest(String url, String method, Map<String, Object> params)
focal_class.class_method_signature: SendWithUs.emails()
focal_class.full_signature: @Deprecated public Email[] emails()
focal_class.identifier: emails
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: Email[]
focal_class.signature: Email[] emails()
focal_class.class_method_signature: SendWithUs.templates()
focal_class.full_signature: public Email[] templates()
focal_class.identifier: templates
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Email[]
focal_class.signature: Email[] templates()
focal_class.class_method_signature: SendWithUs.template(String templateId)
focal_class.full_signature: public Email template(String templateId)
focal_class.identifier: template
focal_class.modifiers: public
focal_class.parameters: (String templateId)
focal_class.return: Email
focal_class.signature: Email template(String templateId)
focal_class.class_method_signature: SendWithUs.template(String templateId, String locale)
focal_class.full_signature: public Email template(String templateId, String locale)
focal_class.identifier: template
focal_class.modifiers: public
focal_class.parameters: (String templateId, String locale)
focal_class.return: Email
focal_class.signature: Email template(String templateId, String locale)
focal_class.class_method_signature: SendWithUs.templateVersion(String templateId, String versionId)
focal_class.full_signature: public TemplateVersionDetails templateVersion(String templateId, String versionId)
focal_class.identifier: templateVersion
focal_class.modifiers: public
focal_class.parameters: (String templateId, String versionId)
focal_class.return: TemplateVersionDetails
focal_class.signature: TemplateVersionDetails templateVersion(String templateId, String versionId)
focal_class.class_method_signature: SendWithUs.templateVersion(String templateId, String versionId, String locale)
focal_class.full_signature: public TemplateVersionDetails templateVersion(String templateId, String versionId, String locale)
focal_class.identifier: templateVersion
focal_class.modifiers: public
focal_class.parameters: (String templateId, String versionId, String locale)
focal_class.return: TemplateVersionDetails
focal_class.signature: TemplateVersionDetails templateVersion(String templateId, String versionId, String locale)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths, String espAccount)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths, String espAccount)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths, String espAccount)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> sender, Map<String, Object> emailData,
              Map<String, Object>[] cc, Map<String, Object>[] bcc,
              String[] attachment_paths, String espAccount)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale)
focal_class.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale, Map<String, String> headers)
focal_class.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale, Map<String, String> headers)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale, Map<String, String> headers)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
                              Map<String, Object> sender, Map<String, Object> emailData,
                              Map<String, Object>[] cc, Map<String, Object>[] bcc,
                              String[] attachment_paths, String espAccount,
                              String locale, Map<String, String> headers)
focal_class.class_method_signature: SendWithUs.send(SendWithUsSendRequest request)
focal_class.full_signature: public SendReceipt send(SendWithUsSendRequest request)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (SendWithUsSendRequest request)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt send(SendWithUsSendRequest request)
focal_class.class_method_signature: SendWithUs.render(String templateId,
              Map<String, Object> templateData)
focal_class.full_signature: public RenderedTemplate render(String templateId,
              Map<String, Object> templateData)
focal_class.identifier: render
focal_class.modifiers: public
focal_class.parameters: (String templateId,
              Map<String, Object> templateData)
focal_class.return: RenderedTemplate
focal_class.signature: RenderedTemplate render(String templateId,
              Map<String, Object> templateData)
focal_class.class_method_signature: SendWithUs.startOnDripCampaign(String dripCampaignId, SendWithUsDripRequest dripRequest)
focal_class.full_signature: public ActivatedDrip startOnDripCampaign(String dripCampaignId, SendWithUsDripRequest dripRequest)
focal_class.identifier: startOnDripCampaign
focal_class.modifiers: public
focal_class.parameters: (String dripCampaignId, SendWithUsDripRequest dripRequest)
focal_class.return: ActivatedDrip
focal_class.signature: ActivatedDrip startOnDripCampaign(String dripCampaignId, SendWithUsDripRequest dripRequest)
focal_class.class_method_signature: SendWithUs.removeFromDripCampaign(String customerEmailAddress, String dripCampaignId )
focal_class.full_signature: public DeactivatedDrip removeFromDripCampaign(String customerEmailAddress, String dripCampaignId )
focal_class.identifier: removeFromDripCampaign
focal_class.modifiers: public
focal_class.parameters: (String customerEmailAddress, String dripCampaignId )
focal_class.return: DeactivatedDrip
focal_class.signature: DeactivatedDrip removeFromDripCampaign(String customerEmailAddress, String dripCampaignId )
focal_class.class_method_signature: SendWithUs.deactivateDrips(String customerEmailAddress)
focal_class.full_signature: public DeactivatedDrips deactivateDrips(String customerEmailAddress)
focal_class.identifier: deactivateDrips
focal_class.modifiers: public
focal_class.parameters: (String customerEmailAddress)
focal_class.return: DeactivatedDrips
focal_class.signature: DeactivatedDrips deactivateDrips(String customerEmailAddress)
focal_class.class_method_signature: SendWithUs.createUpdateCustomer(String customerEmailAddress,
              Map<String, Object> customerData)
focal_class.full_signature: public CustomerReceipt createUpdateCustomer(String customerEmailAddress,
              Map<String, Object> customerData)
focal_class.identifier: createUpdateCustomer
focal_class.modifiers: public
focal_class.parameters: (String customerEmailAddress,
              Map<String, Object> customerData)
focal_class.return: CustomerReceipt
focal_class.signature: CustomerReceipt createUpdateCustomer(String customerEmailAddress,
              Map<String, Object> customerData)
focal_class.class_method_signature: SendWithUs.resend(String logId)
focal_class.full_signature: public SendReceipt resend(String logId)
focal_class.identifier: resend
focal_class.modifiers: public
focal_class.parameters: (String logId)
focal_class.return: SendReceipt
focal_class.signature: SendReceipt resend(String logId)
focal_class.class_method_signature: SendWithUs.getSnippets()
focal_class.full_signature: public Snippet[] getSnippets()
focal_class.identifier: getSnippets
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Snippet[]
focal_class.signature: Snippet[] getSnippets()
focal_class.class_method_signature: SendWithUs.getSnippet(String snippetId)
focal_class.full_signature: public Snippet getSnippet(String snippetId)
focal_class.identifier: getSnippet
focal_class.modifiers: public
focal_class.parameters: (String snippetId)
focal_class.return: Snippet
focal_class.signature: Snippet getSnippet(String snippetId)
focal_class.class_method_signature: SendWithUs.createSnippet(String name, String body)
focal_class.full_signature: public SnippetReceipt createSnippet(String name, String body)
focal_class.identifier: createSnippet
focal_class.modifiers: public
focal_class.parameters: (String name, String body)
focal_class.return: SnippetReceipt
focal_class.signature: SnippetReceipt createSnippet(String name, String body)
focal_class.class_method_signature: SendWithUs.updateSnippet(String snippetId, String name, String body)
focal_class.full_signature: public SnippetReceipt updateSnippet(String snippetId, String name, String body)
focal_class.identifier: updateSnippet
focal_class.modifiers: public
focal_class.parameters: (String snippetId, String name, String body)
focal_class.return: SnippetReceipt
focal_class.signature: SnippetReceipt updateSnippet(String snippetId, String name, String body)
focal_class.class_method_signature: SendWithUs.deleteSnippet(String snippetId)
focal_class.full_signature: public APIReceipt deleteSnippet(String snippetId)
focal_class.identifier: deleteSnippet
focal_class.modifiers: public
focal_class.parameters: (String snippetId)
focal_class.return: APIReceipt
focal_class.signature: APIReceipt deleteSnippet(String snippetId)
focal_method.body: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData) throws SendWithUsException
      {
          return this.send(emailId, recipient, null, emailData);
      }
focal_method.class_method_signature: SendWithUs.send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_method.full_signature: public SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_method.identifier: send
focal_method.invocations: send
focal_method.modifiers: public
focal_method.parameters: (String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)
focal_method.return: SendReceipt
focal_method.signature: SendReceipt send(String emailId, Map<String, Object> recipient,
              Map<String, Object> emailData)