Package com.datadog.api.client.v2.model
Class SyntheticsTestResultRedirect
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultRedirect
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultRedirect
extends Object
A redirect hop encountered while performing the request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestResultRedirect object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Target location of the redirect.HTTP status code of the redirect response.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetLocation(String location) voidsetStatusCode(Long statusCode) statusCode(Long statusCode) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_STATUS_CODE
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultRedirect
public SyntheticsTestResultRedirect()
-
-
Method Details
-
location
-
getLocation
Target location of the redirect.- Returns:
- location
-
setLocation
-
statusCode
-
getStatusCode
HTTP status code of the redirect response.- 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:
- SyntheticsTestResultRedirect
-
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 SyntheticsTestResultRedirect object is equal to o. -
hashCode
public int hashCode() -
toString
-