@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HostMuteResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTION |
static String |
JSON_PROPERTY_END |
static String |
JSON_PROPERTY_HOSTNAME |
static String |
JSON_PROPERTY_MESSAGE |
boolean |
unparsed |
| Constructor and Description |
|---|
HostMuteResponse() |
| Modifier and Type | Method and Description |
|---|---|
HostMuteResponse |
action(String action) |
HostMuteResponse |
end(Long end) |
boolean |
equals(Object o)
Return true if this HostMuteResponse object is equal to o.
|
String |
getAction()
Action applied to the hosts.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getEnd()
POSIX timestamp in seconds when the host is unmuted.
|
String |
getHostname()
The host name.
|
String |
getMessage()
Message associated with the mute.
|
int |
hashCode() |
HostMuteResponse |
hostname(String hostname) |
HostMuteResponse |
message(String message) |
HostMuteResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAction(String action) |
void |
setEnd(Long end) |
void |
setHostname(String hostname) |
void |
setMessage(String message) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACTION
public static final String JSON_PROPERTY_END
public static final String JSON_PROPERTY_HOSTNAME
public static final String JSON_PROPERTY_MESSAGE
public HostMuteResponse action(String action)
@Nullable public String getAction()
public void setAction(String action)
public HostMuteResponse end(Long end)
@Nullable public Long getEnd()
public void setEnd(Long end)
public HostMuteResponse hostname(String hostname)
@Nullable public String getHostname()
public void setHostname(String hostname)
public HostMuteResponse message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public HostMuteResponse 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.