public class ApiBatchResponse extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ITEMS_ATTR |
protected List<T> |
values |
Constructor and Description |
---|
ApiBatchResponse() |
ApiBatchResponse(List<ApiBatchResponseElement> elements) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T item) |
boolean |
equals(Object o) |
T |
get(int index) |
List<ApiBatchResponseElement> |
getElements() |
Boolean |
getSuccess()
Read-only.
|
int |
hashCode() |
Iterator<T> |
iterator() |
void |
setElements(List<ApiBatchResponseElement> elements) |
void |
setSuccess(Boolean success) |
int |
size() |
String |
toString() |
public static final String ITEMS_ATTR
protected List<T> values
public ApiBatchResponse()
public ApiBatchResponse(List<ApiBatchResponseElement> elements)
public List<ApiBatchResponseElement> getElements()
public void setElements(List<ApiBatchResponseElement> elements)
public Boolean getSuccess()
ApiBatchResponseElement.getStatusCode()
is in the range [200, 300),
false otherwise.public void setSuccess(Boolean success)
public boolean add(T item)
public int size()
public T get(int index)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.