forked from Fraunhofer-AISEC/ids-clearing-house-service
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRejectionMessage.java
41 lines (34 loc) · 1.04 KB
/
RejectionMessage.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Copyright (c) 2023 Microsoft Corporation
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Microsoft Corporation - Initial implementation
* truzzt GmbH - EDC extension implementation
*
*/
package de.truzzt.clearinghouse.edc.types.ids;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.NotNull;
import java.net.URI;
public class RejectionMessage extends Message {
@JsonProperty("ids:rejectionReason")
@NotNull
RejectionReason rejectionReason;
public RejectionMessage() {
}
public RejectionMessage(@NotNull URI id) {
super(id);
}
public RejectionReason getRejectionReason() {
return rejectionReason;
}
public void setRejectionReason(@NotNull RejectionReason rejectionReason) {
this.rejectionReason = rejectionReason;
}
}