Skip to content

Commit

Permalink
create jusibe response class
Browse files Browse the repository at this point in the history
  • Loading branch information
iamraphson committed Aug 28, 2016
1 parent 73132cb commit d8b7817
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions src/main/java/com/iamraphson/jusibe/core/utils/JusibeResponse.java
@@ -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;
}

}

0 comments on commit d8b7817

Please sign in to comment.