-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure CustomDomainVerification.Methods can be serialized
Fix #508
- Loading branch information
1 parent
4bb018a
commit e49bf82
Showing
2 changed files
with
29 additions
and
1 deletion.
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
28 changes: 28 additions & 0 deletions
28
src/Auth0.ManagementApi/Models/CustomDomainVerificationMethod.cs
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,28 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Auth0.ManagementApi.Models | ||
{ | ||
/// <summary> | ||
/// The custom domain verification method. | ||
/// </summary> | ||
public class CustomDomainVerificationMethod | ||
{ | ||
/// <summary> | ||
/// Domain verification method. ("cname" or "txt") | ||
/// </summary> | ||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Value used to verify the domain. | ||
/// </summary> | ||
[JsonProperty("record")] | ||
public string Record { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the txt record for verification. | ||
/// </summary> | ||
[JsonProperty("domain")] | ||
public string Domain { get; set; } | ||
} | ||
} |