
com.sap.cloud.alert.notification.client.model.FailureReason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clm-sl-alert-notification-client Show documentation
Show all versions of clm-sl-alert-notification-client Show documentation
Means for out-of-the-box events management in SAP Alert Notification service for SAP BTP service.
package com.sap.cloud.alert.notification.client.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class FailureReason {
private final Integer code;
private final String reason;
private final Long timestamp;
@JsonCreator
public FailureReason(
@JsonProperty("code") int code,
@JsonProperty("reason") String reason,
@JsonProperty("timestamp") long timestamp
) {
this.code = code;
this.reason = reason;
this.timestamp = timestamp;
}
public Integer getCode() {
return code;
}
public String getReason() {
return reason;
}
public Long getTimestamp() {
return timestamp;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy