All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.alert.notification.client.model.FailureReason Maven / Gradle / Ivy

Go to download

Means for out-of-the-box events management in SAP Alert Notification service for SAP BTP service.

There is a newer version: 1.11.0
Show newest version
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