Skip to content

Commit e519ebd

Browse files
committed
fix missing files
1 parent 59eba35 commit e519ebd

4 files changed

Lines changed: 152 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ bld/
3333
[Ll]og/
3434
[Ll]ogs/
3535

36+
# Keep shared webhook API models tracked even though they live in an `Out` folder.
37+
!MyWorksheet.Website/Shared/ViewModels/ApiResultModels/Webhooks/Out/
38+
!MyWorksheet.Website/Shared/ViewModels/ApiResultModels/Webhooks/Out/*.cs
39+
3640
# Visual Studio 2015/2017 cache/options directory
3741
.vs/
3842
# Uncomment if you have tasks that create the project's static files in wwwroot
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
using System;
2+
3+
namespace MyWorksheet.Website.Shared.ViewModels.ApiResultModels.Webhooks.Out
4+
{
5+
public class OutgoingWebhookActionLogModel : ViewModelBase
6+
{
7+
private DateTime _dateOfAction;
8+
9+
private string _error;
10+
11+
private Guid _idOutgoingWebhook;
12+
13+
private Guid _outgoingWebhookActionLogId;
14+
15+
private bool _success;
16+
17+
public Guid OutgoingWebhookActionLogId
18+
{
19+
get { return _outgoingWebhookActionLogId; }
20+
set { SetProperty(ref _outgoingWebhookActionLogId, value); }
21+
}
22+
23+
public bool Success
24+
{
25+
get { return _success; }
26+
set { SetProperty(ref _success, value); }
27+
}
28+
29+
public string Error
30+
{
31+
get { return _error; }
32+
set { SetProperty(ref _error, value); }
33+
}
34+
35+
public DateTime DateOfAction
36+
{
37+
get { return _dateOfAction; }
38+
set { SetProperty(ref _dateOfAction, value); }
39+
}
40+
41+
public Guid IdOutgoingWebhook
42+
{
43+
get { return _idOutgoingWebhook; }
44+
set { SetProperty(ref _idOutgoingWebhook, value); }
45+
}
46+
47+
public override Guid? GetModelIdentifier()
48+
{
49+
return OutgoingWebhookActionLogId;
50+
}
51+
}
52+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System;
2+
namespace MyWorksheet.Website.Shared.ViewModels.ApiResultModels.Webhooks.Out
3+
{
4+
public class OutgoingWebhookCaseModel : ViewModelBase
5+
{
6+
private string _descriptionHtml;
7+
8+
private string _name;
9+
10+
private Guid _outgoingWebhookCaseId;
11+
12+
public Guid OutgoingWebhookCaseId
13+
{
14+
get { return _outgoingWebhookCaseId; }
15+
set { SetProperty(ref _outgoingWebhookCaseId, value); }
16+
}
17+
18+
public string Name
19+
{
20+
get { return _name; }
21+
set { SetProperty(ref _name, value); }
22+
}
23+
24+
public string DescriptionHtml
25+
{
26+
get { return _descriptionHtml; }
27+
set { SetProperty(ref _descriptionHtml, value); }
28+
}
29+
30+
public override Guid? GetModelIdentifier()
31+
{
32+
return OutgoingWebhookCaseId;
33+
}
34+
}
35+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
using System;
2+
namespace MyWorksheet.Website.Shared.ViewModels.ApiResultModels.Webhooks.Out
3+
{
4+
public class OutgoingWebhookModelGet : ViewModelBase
5+
{
6+
private string _callingUrl;
7+
private Guid _idOutgoingWebhookCase;
8+
private bool _isActive;
9+
private Guid _outgoingWebhookId;
10+
private string _secret;
11+
private string _numberRangeEntry;
12+
private string _name;
13+
14+
public string NumberRangeEntry
15+
{
16+
get { return _numberRangeEntry; }
17+
set { SetProperty(ref _numberRangeEntry, value); }
18+
}
19+
20+
public string Name
21+
{
22+
get { return _name; }
23+
set { SetProperty(ref _name, value); }
24+
}
25+
26+
public bool IsActive
27+
{
28+
get { return _isActive; }
29+
set { SetProperty(ref _isActive, value); }
30+
}
31+
32+
public Guid OutgoingWebhookId
33+
{
34+
get { return _outgoingWebhookId; }
35+
set { SetProperty(ref _outgoingWebhookId, value); }
36+
}
37+
38+
public string CallingUrl
39+
{
40+
get { return _callingUrl; }
41+
set { SetProperty(ref _callingUrl, value); }
42+
}
43+
44+
public Guid IdOutgoingWebhookCase
45+
{
46+
get { return _idOutgoingWebhookCase; }
47+
set { SetProperty(ref _idOutgoingWebhookCase, value); }
48+
}
49+
50+
public string Secret
51+
{
52+
get { return _secret; }
53+
set { SetProperty(ref _secret, value); }
54+
}
55+
56+
public override Guid? GetModelIdentifier()
57+
{
58+
return OutgoingWebhookId;
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)