@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MatchingDowntime extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_END |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_SCOPE |
static String |
JSON_PROPERTY_START |
boolean |
unparsed |
| Constructor and Description |
|---|
MatchingDowntime() |
MatchingDowntime(Long id) |
| Modifier and Type | Method and Description |
|---|---|
MatchingDowntime |
addScopeItem(String scopeItem) |
MatchingDowntime |
end(Long end) |
boolean |
equals(Object o)
Return true if this MatchingDowntime 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.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getEnd_JsonNullable() |
Long |
getEnd()
POSIX timestamp to end the downtime.
|
Long |
getId()
The downtime ID.
|
List<String> |
getScope()
The scope(s) to which the downtime applies.
|
Long |
getStart()
POSIX timestamp to start the downtime.
|
int |
hashCode() |
MatchingDowntime |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MatchingDowntime |
scope(List<String> scope) |
void |
setEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> end) |
void |
setEnd(Long end) |
void |
setScope(List<String> scope) |
void |
setStart(Long start) |
MatchingDowntime |
start(Long start) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_END
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_SCOPE
public static final String JSON_PROPERTY_START
public MatchingDowntime()
public MatchingDowntime(Long id)
public MatchingDowntime end(Long end)
@Nullable public Long getEnd()
public org.openapitools.jackson.nullable.JsonNullable<Long> getEnd_JsonNullable()
public void setEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> end)
public void setEnd(Long end)
public Long getId()
public MatchingDowntime scope(List<String> scope)
public MatchingDowntime addScopeItem(String scopeItem)
@Nullable public List<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 MatchingDowntime start(Long start)
@Nullable public Long getStart()
public void setStart(Long start)
public MatchingDowntime 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.