Package com.datadog.api.client.v1.model
Class HostMuteSettings
java.lang.Object
com.datadog.api.client.v1.model.HostMuteSettings
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HostMuteSettings
extends Object
Combination of settings to mute a host.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this HostMuteSettings object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnd()POSIX timestamp in seconds when the host is unmuted.Message to associate with the muting of this host.If true and the host is already muted, replaces existing host mute settings.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetMessage(String message) voidsetOverride(Boolean override) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_OVERRIDE
- See Also:
-
-
Constructor Details
-
HostMuteSettings
public HostMuteSettings()
-
-
Method Details
-
end
-
getEnd
POSIX timestamp in seconds when the host is unmuted. If omitted, the host remains muted until explicitly unmuted.- Returns:
- end
-
setEnd
-
message
-
getMessage
Message to associate with the muting of this host.- Returns:
- message
-
setMessage
-
override
-
getOverride
If true and the host is already muted, replaces existing host mute settings.- Returns:
- override
-
setOverride
-
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:
- HostMuteSettings
-
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 HostMuteSettings object is equal to o. -
hashCode
public int hashCode() -
toString
-