Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.devbliss.doctest.items;
 
 public class ResponseDocItem implements DocItem {
 
     private int responseCode;
     private JsonDocItem payload;
 
     public ResponseDocItem(int responseCodeJsonDocItem payload) {
         this. = responseCode;
        this. = payload;
    }
    public ResponseDocItem(int responseCodeString json) {
        this. = responseCode;
        this. = new JsonDocItem(json);
    }
    public int getResponseCode() {
        return ;
    }
    public void setResponseCode(int responseCode) {
        this. = responseCode;
    }
    public JsonDocItem getPayload() {
        return ;
    }
    public void setPayload(JsonDocItem payload) {
        this. = payload;
    }
    public String getItemName() {
        return "response";
    }
New to GrepCode? Check out our FAQ X