public class RequestRepresentation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RequestRepresentation.RequestRepresentationBuilder |
Constructor and Description |
---|
RequestRepresentation() |
RequestRepresentation(String url,
String method,
Map<String,String> requestParams,
Map<String,String> headers,
String body,
String operation) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getBody() |
Map<String,String> |
getHeaders() |
String |
getMethod() |
String |
getOperation() |
Map<String,String> |
getRequestParams() |
String |
getUrl() |
int |
hashCode() |
static RequestRepresentation.RequestRepresentationBuilder |
requestRepresentation() |
void |
setBody(String body) |
void |
setHeaders(Map<String,String> headers) |
void |
setMethod(String method) |
void |
setOperation(String operation) |
void |
setRequestParams(Map<String,String> requestParams) |
void |
setUrl(String url) |
String |
toString() |
public RequestRepresentation(String url, String method, Map<String,String> requestParams, Map<String,String> headers, String body, String operation)
public RequestRepresentation()
public static RequestRepresentation.RequestRepresentationBuilder requestRepresentation()
public void setUrl(String url)
public void setMethod(String method)
public void setBody(String body)
public void setOperation(String operation)
protected boolean canEqual(Object other)
@JSONProperty(ignoreIfNull=true) public String getUrl()
@JSONProperty(ignoreIfNull=true) public String getMethod()
@JSONProperty(ignoreIfNull=true) public String getBody()
@JSONProperty(ignoreIfNull=true) public String getOperation()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.