Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73132cb
commit d8b7817
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
src/main/java/com/iamraphson/jusibe/core/utils/JusibeResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.iamraphson.jusibe.core.utils; | ||
|
||
/** | ||
* | ||
* @author Raphson | ||
*/ | ||
public class JusibeResponse { | ||
|
||
/** | ||
* Response Code | ||
* @var int | ||
*/ | ||
private int responseCode; | ||
|
||
|
||
/** | ||
* Response Message | ||
* @var String | ||
*/ | ||
private String responseMessage; | ||
|
||
public JusibeResponse() { | ||
} | ||
|
||
|
||
public JusibeResponse(int responseCode, String responseMessage) { | ||
this.responseCode = responseCode; | ||
this.responseMessage = responseMessage; | ||
} | ||
|
||
/** | ||
* Return Response Code | ||
* @return | ||
*/ | ||
public int getResponseCode() { | ||
return responseCode; | ||
} | ||
|
||
/** | ||
* Set Response Code | ||
* @param responseCode | ||
*/ | ||
public void setResponseCode(int responseCode) { | ||
this.responseCode = responseCode; | ||
} | ||
|
||
/** | ||
* Return Response Message | ||
* @return | ||
*/ | ||
public String getResponseMessage() { | ||
return responseMessage; | ||
} | ||
|
||
/** | ||
* Set Response Message | ||
* @param responseMessage | ||
*/ | ||
public void setResponseMessage(String responseMessage) { | ||
this.responseMessage = responseMessage; | ||
} | ||
|
||
} |