public class StashRestResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StashRestResponse.StashRestResponseBuilder |
Modifier and Type | Field and Description |
---|---|
String |
body |
com.google.gson.JsonElement |
entity |
StashErrors |
errors |
int |
statusCode |
String |
statusMessage |
Constructor and Description |
---|
StashRestResponse(int statusCode,
String statusMessage,
StashErrors errors,
String body,
com.google.gson.JsonElement entity) |
StashRestResponse(javax.ws.rs.core.Response.Status status,
String errorMessage) |
StashRestResponse(String errorMessage) |
@NotNull public final int statusCode
@Nullable public final StashErrors errors
@Nullable public final com.google.gson.JsonElement entity
public StashRestResponse(String errorMessage)
public StashRestResponse(javax.ws.rs.core.Response.Status status, String errorMessage)
public StashRestResponse(int statusCode, String statusMessage, StashErrors errors, String body, com.google.gson.JsonElement entity)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.