com.cloudera.api.model
Class ApiBatchResponseElement

java.lang.Object
  extended by com.cloudera.api.model.ApiBatchResponseElement

public class ApiBatchResponseElement
extends Object

A single element of a batch response, often part of a list with other elements.


Constructor Summary
ApiBatchResponseElement()
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getResponse()
          Read-only.
 int getStatusCode()
          Read-only.
 int hashCode()
           
 void setResponse(Object response)
           
 void setStatusCode(int statusCode)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiBatchResponseElement

public ApiBatchResponseElement()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getStatusCode

public int getStatusCode()
Read-only. The HTTP status code of the response.


setStatusCode

public void setStatusCode(int statusCode)

getResponse

public Object getResponse()
Read-only. The (optional) serialized body of the response, in the representation produced by the corresponding API endpoint, such as application/json.


setResponse

public void setResponse(Object response)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.