@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HTTPBody extends Object
HTTPBody object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONTENT |
static String |
JSON_PROPERTY_CONTENT_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
HTTPBody() |
| Modifier and Type | Method and Description |
|---|---|
HTTPBody |
content(String content) |
HTTPBody |
contentType(String contentType) |
boolean |
equals(Object o)
Return true if this HTTPBody object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getContent()
Serialized body content
|
String |
getContentType()
Content type of the body
|
int |
hashCode() |
HTTPBody |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setContent(String content) |
void |
setContentType(String contentType) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT_TYPE
@Nullable public String getContent()
public void setContent(String content)
@Nullable public String getContentType()
public void setContentType(String contentType)
public HTTPBody putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.