@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultWebSocketClose extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_REASON |
static String |
JSON_PROPERTY_STATUS_CODE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsTestResultWebSocketClose() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SyntheticsTestResultWebSocketClose 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 |
getReason()
Reason string received in the close frame.
|
Long |
getStatusCode()
Status code received in the close frame.
|
int |
hashCode() |
SyntheticsTestResultWebSocketClose |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsTestResultWebSocketClose |
reason(String reason) |
void |
setReason(String reason) |
void |
setStatusCode(Long statusCode) |
SyntheticsTestResultWebSocketClose |
statusCode(Long statusCode) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_STATUS_CODE
public SyntheticsTestResultWebSocketClose reason(String reason)
@Nullable public String getReason()
public void setReason(String reason)
public SyntheticsTestResultWebSocketClose statusCode(Long statusCode)
@Nullable public Long getStatusCode()
public void setStatusCode(Long statusCode)
public SyntheticsTestResultWebSocketClose 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 © 2026. All rights reserved.