Package com.datadog.api.client.v2.model
Class HTTPBody
java.lang.Object
com.datadog.api.client.v2.model.HTTPBody
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HTTPBody
extends Object
The definition of
HTTPBody object.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanReturn true if this HTTPBody object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Serialized body contentContent type of the bodyinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContent(String content) voidsetContentType(String contentType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_CONTENT_TYPE
- See Also:
-
-
Constructor Details
-
HTTPBody
public HTTPBody()
-
-
Method Details
-
content
-
getContent
Serialized body content- Returns:
- content
-
setContent
-
contentType
-
getContentType
Content type of the body- Returns:
- contentType
-
setContentType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- HTTPBody
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this HTTPBody object is equal to o. -
hashCode
public int hashCode() -
toString
-