Skip to content

Commit a239d3c

Browse files
authored
deletedAt field in WorkflowsResponse is not required and therefore nullable (#203)
1 parent fbcd82c commit a239d3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/spotify/github/v3/workflows/WorkflowsResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import com.spotify.github.GithubStyle;
2525
import org.immutables.value.Value;
2626

27+
import javax.annotation.Nullable;
2728
import java.time.ZonedDateTime;
2829

2930
@Value.Immutable
@@ -68,7 +69,7 @@ public interface WorkflowsResponse {
6869
*
6970
* @return The time when the workflow was deleted
7071
*/
71-
ZonedDateTime deletedAt();
72+
@Nullable ZonedDateTime deletedAt();
7273

7374
/**
7475
* Url string.

0 commit comments

Comments
 (0)