-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Null check for IP when creating Context * Added ArchiveDevices endpoint * Return user object from ArchiveDevices
- Loading branch information
1 parent
b799fc4
commit df176a0
Showing
6 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace Castle.Messages.Responses | ||
{ | ||
public class Address | ||
{ | ||
public object Street { get; set; } | ||
public object City { get; set; } | ||
public object PostalCode { get; set; } | ||
public object Region { get; set; } | ||
public object Country { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Castle.Messages.Responses | ||
{ | ||
public class User | ||
{ | ||
public string Id { get; set; } | ||
|
||
public DateTime CreatedAt { get; set; } | ||
|
||
public DateTime UpdatedAt { get; set; } | ||
|
||
public DateTime LastSeenAt { get; set; } | ||
|
||
public DateTime? FlaggedAt { get; set; } | ||
|
||
public float Risk { get; set; } | ||
|
||
public int LeaksCount { get; set; } | ||
|
||
public int DevicesCount { get; set; } | ||
|
||
public string Email { get; set; } | ||
|
||
public string Name { get; set; } | ||
|
||
public string Username { get; set; } | ||
|
||
public string Phone { get; set; } | ||
|
||
public Address Address { get; set; } | ||
|
||
public IDictionary<string, string> CustomAttributes { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters