Created
May 5, 2020 14:05
-
-
Save cdwijayarathna/16ab3d7dca67302dbe21dcdf81f21335 to your computer and use it in GitHub Desktop.
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
package org.warana.adservice.dto; | |
public class ResponseDTO<T> { | |
private boolean status; | |
private T responseObject; | |
public ResponseDTO() { | |
} | |
public ResponseDTO(boolean status, T responseObject) { | |
this.status = status; | |
this.responseObject = responseObject; | |
} | |
public boolean isStatus() { | |
return status; | |
} | |
public void setStatus(boolean status) { | |
this.status = status; | |
} | |
public T getResponseObject() { | |
return responseObject; | |
} | |
public void setResponseObject(T responseObject) { | |
this.responseObject = responseObject; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment