Package com.datadog.api.client.v2.model
Class SyntheticsTestResultWebSocketClose
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultWebSocketClose
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultWebSocketClose
extends Object
WebSocket close frame information for WebSocket test responses.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestResultWebSocketClose object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Reason string received in the close frame.Status code received in the close frame.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetStatusCode(Long statusCode) statusCode(Long statusCode) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_STATUS_CODE
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultWebSocketClose
public SyntheticsTestResultWebSocketClose()
-
-
Method Details
-
reason
-
getReason
Reason string received in the close frame.- Returns:
- reason
-
setReason
-
statusCode
-
getStatusCode
Status code received in the close frame.- Returns:
- statusCode
-
setStatusCode
-
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:
- SyntheticsTestResultWebSocketClose
-
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 SyntheticsTestResultWebSocketClose object is equal to o. -
hashCode
public int hashCode() -
toString
-