Skip to content

Commit c7e81a3

Browse files
committed
fix bool to bool? for create webhook request
1 parent f906fb5 commit c7e81a3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/GitLabApiClient/Models/Webhooks/Requests/CreateWebhookRequest.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,37 @@ public sealed class CreateWebhookRequest
1616
public string Url { get; set; }
1717

1818
[JsonProperty("push_events")]
19-
public bool PushEvents { get; set; }
19+
public bool? PushEvents { get; set; }
2020

2121
[JsonProperty("push_events_branch_filter")]
2222
public string PushEventsBranchFilter { get; set; }
2323

2424
[JsonProperty("issues_events")]
25-
public bool IssuesEvents { get; set; }
25+
public bool? IssuesEvents { get; set; }
2626

2727
[JsonProperty("confidential_issues_events")]
28-
public bool ConfidentialIssuesEvents { get; set; }
28+
public bool? ConfidentialIssuesEvents { get; set; }
2929

3030
[JsonProperty("merge_requests_events")]
31-
public bool MergeRequestsEvents { get; set; }
31+
public bool? MergeRequestsEvents { get; set; }
3232

3333
[JsonProperty("tag_push_events")]
34-
public bool TagPushEvents { get; set; }
34+
public bool? TagPushEvents { get; set; }
3535

3636
[JsonProperty("note_events")]
37-
public bool NoteEvents { get; set; }
37+
public bool? NoteEvents { get; set; }
3838

3939
[JsonProperty("job_events")]
40-
public bool JobEvents { get; set; }
40+
public bool? JobEvents { get; set; }
4141

4242
[JsonProperty("pipeline_events")]
43-
public bool PipelineEvents { get; set; }
43+
public bool? PipelineEvents { get; set; }
4444

4545
[JsonProperty("wiki_page_events")]
46-
public bool WikiPageEvents { get; set; }
46+
public bool? WikiPageEvents { get; set; }
4747

4848
[JsonProperty("enable_ssl_verification")]
49-
public bool EnableSslVerification { get; set; }
49+
public bool? EnableSslVerification { get; set; }
5050

5151
[JsonProperty("token")]
5252
public string Token { get; set; }

0 commit comments

Comments
 (0)