@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CancelDowntimesByScopeRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_SCOPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CancelDowntimesByScopeRequest() |
CancelDowntimesByScopeRequest(String scope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this CancelDowntimesByScopeRequest 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 |
getScope()
The scope(s) to which the downtime applies and must be in
key:value format. |
int |
hashCode() |
CancelDowntimesByScopeRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CancelDowntimesByScopeRequest |
scope(String scope) |
void |
setScope(String scope) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_SCOPE
public CancelDowntimesByScopeRequest()
public CancelDowntimesByScopeRequest(String scope)
public CancelDowntimesByScopeRequest scope(String scope)
public String getScope()
key:value format. For
example, host:app2. Provide multiple scopes as a comma-separated list like
env:dev,env:prod. The resulting downtime applies to sources that matches ALL provided
scopes (env:dev AND env:prod).public void setScope(String scope)
public CancelDowntimesByScopeRequest 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 © 2024. All rights reserved.