Rewrite: SMSResponse

This commit is contained in:
Xcreen
2020-07-06 12:53:16 +02:00
parent 115b87510f
commit 4e64a896c4
2 changed files with 3 additions and 16 deletions

View File

@@ -1,16 +0,0 @@
package net.xcreen.restsms.server;
public class SMSResponse {
public boolean success;
public String message;
public SMSResponse(boolean success, String message){
this.success = success;
this.message = message;
}
public SMSResponse(){
this.success = false;
}
}

View File

@@ -0,0 +1,3 @@
package net.xcreen.restsms.server
class SMSResponse(var success: Boolean, var message: String?) {}