com.cloudera.api.model
Class ApiBatchResponseElement
java.lang.Object
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.
ApiBatchResponseElement
public ApiBatchResponseElement()
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.