@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultRedirect extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_LOCATION |
static String |
JSON_PROPERTY_STATUS_CODE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsTestResultRedirect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SyntheticsTestResultRedirect 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 |
getLocation()
Target location of the redirect.
|
Long |
getStatusCode()
HTTP status code of the redirect response.
|
int |
hashCode() |
SyntheticsTestResultRedirect |
location(String location) |
SyntheticsTestResultRedirect |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLocation(String location) |
void |
setStatusCode(Long statusCode) |
SyntheticsTestResultRedirect |
statusCode(Long statusCode) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_STATUS_CODE
public SyntheticsTestResultRedirect location(String location)
@Nullable public String getLocation()
public void setLocation(String location)
public SyntheticsTestResultRedirect statusCode(Long statusCode)
@Nullable public Long getStatusCode()
public void setStatusCode(Long statusCode)
public SyntheticsTestResultRedirect 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.