com.atlassian.bamboo.rest.entity
Class RestResponse

java.lang.Object
  extended by com.atlassian.bamboo.rest.entity.RestResponse
Direct Known Subclasses:
ListBranchesResponse, ListRepositoriesResponse

public class RestResponse
extends java.lang.Object


Nested Class Summary
static class RestResponse.Builder
           
 
Constructor Summary
RestResponse()
           
 
Method Summary
static RestResponse.Builder builder()
           
 void setErrors(java.util.List<java.lang.String> errors)
           
 void setFieldErrors(com.google.common.collect.Multimap<java.lang.String,java.lang.String> fieldErrors)
           
 void setMessages(java.util.List<java.lang.String> messages)
           
 void setStatus(java.lang.String status)
           
 void setWarnings(java.util.List<java.lang.String> warnings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestResponse

public RestResponse()
Method Detail

builder

public static RestResponse.Builder builder()

setStatus

public void setStatus(java.lang.String status)

setErrors

public void setErrors(java.util.List<java.lang.String> errors)

setFieldErrors

public void setFieldErrors(com.google.common.collect.Multimap<java.lang.String,java.lang.String> fieldErrors)

setMessages

public void setMessages(java.util.List<java.lang.String> messages)

setWarnings

public void setWarnings(java.util.List<java.lang.String> warnings)


Copyright © 2012 Atlassian. All Rights Reserved.