package models;

/**
 * @author sabinapokhrel
 *
 */

public class ResponseToClient {
    public String status;
    public String message;

    public ResponseToClient(String status, String message) {
        this.status = status;
        this.message = message;
    }
}

@@ -14,16 +14,88 @@
 s;%0A%0A/**%0A
+ * This class is for boxing the response sent back to slack by the bot.%0A
  * @auth
@@ -151,18 +151,16 @@
 lient %7B%0A
-  
   public
@@ -178,39 +178,165 @@
 tus;
-%0A    public String message;%0A%0A  
+ // Status of the response sent back to slack. It can be either success or fail.%0A  public String message; // The message sent back to the slack by the bot.%0A%0A
   pu
@@ -390,20 +390,16 @@
 sage) %7B%0A
-    
     this
@@ -420,20 +420,16 @@
 us;%0A    
- 
-   
 this.mes
@@ -444,16 +444,14 @@
 essage;%0A
-  
   %7D%0A%7D%0A

Add Comment