Package com.datadog.api.client.v1.model
Class CancelDowntimesByScopeRequest
java.lang.Object
com.datadog.api.client.v1.model.CancelDowntimesByScopeRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CancelDowntimesByScopeRequest
extends Object
Cancel downtimes according to scope.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CancelDowntimesByScopeRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getScope()The scope(s) to which the downtime applies and must be inkey:valueformat.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_SCOPE
- See Also:
-
-
Constructor Details
-
CancelDowntimesByScopeRequest
public CancelDowntimesByScopeRequest() -
CancelDowntimesByScopeRequest
-
-
Method Details
-
scope
-
getScope
The scope(s) to which the downtime applies and must be inkey:valueformat. For example,host:app2. Provide multiple scopes as a comma-separated list likeenv:dev,env:prod. The resulting downtime applies to sources that matches ALL provided scopes (env:devANDenv:prod).- Returns:
- scope
-
setScope
-
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:
- CancelDowntimesByScopeRequest
-
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 CancelDowntimesByScopeRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-