Package com.datadog.api.client.v1.model
Class SignalStateUpdateRequest
java.lang.Object
com.datadog.api.client.v1.model.SignalStateUpdateRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SignalStateUpdateRequest
extends Object
Attributes describing the change of state for a given state.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionarchiveComment(String archiveComment) archiveReason(SignalArchiveReason archiveReason) booleanReturn true if this SignalStateUpdateRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Optional comment to explain why a signal is being archived.Reason why a signal has been archived.getState()The new triage state of the signal.Version of the updated signal.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetArchiveComment(String archiveComment) voidsetArchiveReason(SignalArchiveReason archiveReason) voidsetState(SignalTriageState state) voidsetVersion(Long version) state(SignalTriageState state) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ARCHIVE_COMMENT
- See Also:
-
JSON_PROPERTY_ARCHIVE_REASON
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
SignalStateUpdateRequest
public SignalStateUpdateRequest() -
SignalStateUpdateRequest
-
-
Method Details
-
archiveComment
-
getArchiveComment
Optional comment to explain why a signal is being archived.- Returns:
- archiveComment
-
setArchiveComment
-
archiveReason
-
getArchiveReason
Reason why a signal has been archived.- Returns:
- archiveReason
-
setArchiveReason
-
state
-
getState
The new triage state of the signal.- Returns:
- state
-
setState
-
version
-
getVersion
Version of the updated signal. If server side version is higher, update will be rejected.- Returns:
- version
-
setVersion
-
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:
- SignalStateUpdateRequest
-
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 SignalStateUpdateRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-