@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-09-25T07:41:36.316Z") public class ApiBatchRequestElement extends Object
Constructor and Description |
---|
ApiBatchRequestElement() |
Modifier and Type | Method and Description |
---|---|
ApiBatchRequestElement |
acceptType(String acceptType) |
ApiBatchRequestElement |
body(Object body) |
ApiBatchRequestElement |
contentType(String contentType) |
boolean |
equals(Object o) |
String |
getAcceptType()
Accept header of the request element.
|
Object |
getBody()
Optional body of the request.
|
String |
getContentType()
Content-Type header of the request element.
|
HTTPMethod |
getMethod()
The type of request (e.g.
|
String |
getUrl()
The URL of the request.
|
int |
hashCode() |
ApiBatchRequestElement |
method(HTTPMethod method) |
void |
setAcceptType(String acceptType) |
void |
setBody(Object body) |
void |
setContentType(String contentType) |
void |
setMethod(HTTPMethod method) |
void |
setUrl(String url) |
String |
toString() |
ApiBatchRequestElement |
url(String url) |
public ApiBatchRequestElement method(HTTPMethod method)
public HTTPMethod getMethod()
public void setMethod(HTTPMethod method)
public ApiBatchRequestElement url(String url)
public String getUrl()
public void setUrl(String url)
public ApiBatchRequestElement body(Object body)
public Object getBody()
public void setBody(Object body)
public ApiBatchRequestElement contentType(String contentType)
public String getContentType()
public void setContentType(String contentType)
public ApiBatchRequestElement acceptType(String acceptType)
public String getAcceptType()
public void setAcceptType(String acceptType)
Copyright © 2019. All rights reserved.