Skip to content

Commit 17ca23c

Browse files
DropboxBotScott Erickson
andauthored
Automated Spec Update (#270)
2026d2d9a589c1679f82507e4699252a2c3764ba Change Notes: team_log Namespace: - Update Comments common: - Update EmailAddress regex Co-authored-by: Scott Erickson <[email protected]> Co-authored-by: DropboxBot <[email protected]> Co-authored-by: Scott Erickson <[email protected]>
1 parent 2d155ab commit 17ca23c

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

dropbox-sdk-dotnet/Dropbox.Api/Generated/SecondaryEmails/SecondaryEmail.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ public SecondaryEmail(string email,
4444
{
4545
throw new sys.ArgumentOutOfRangeException("email", "Length should be at most 255");
4646
}
47-
if (!re.Regex.IsMatch(email, @"\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
47+
if (!re.Regex.IsMatch(email, @"\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
4848
{
49-
throw new sys.ArgumentOutOfRangeException("email", @"Value should match pattern '\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
49+
throw new sys.ArgumentOutOfRangeException("email", @"Value should match pattern '\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
5050
}
5151

5252
this.Email = email;

dropbox-sdk-dotnet/Dropbox.Api/Generated/Team/LegalHoldHeldRevisionMetadata.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ public LegalHoldHeldRevisionMetadata(string newFilename,
102102
{
103103
throw new sys.ArgumentOutOfRangeException("authorEmail", "Length should be at most 255");
104104
}
105-
if (!re.Regex.IsMatch(authorEmail, @"\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
105+
if (!re.Regex.IsMatch(authorEmail, @"\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
106106
{
107-
throw new sys.ArgumentOutOfRangeException("authorEmail", @"Value should match pattern '\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
107+
throw new sys.ArgumentOutOfRangeException("authorEmail", @"Value should match pattern '\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
108108
}
109109

110110
if (fileType == null)

dropbox-sdk-dotnet/Dropbox.Api/Generated/Team/MemberAddArgBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ public MemberAddArgBase(string memberEmail,
6060
{
6161
throw new sys.ArgumentOutOfRangeException("memberEmail", "Length should be at most 255");
6262
}
63-
if (!re.Regex.IsMatch(memberEmail, @"\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
63+
if (!re.Regex.IsMatch(memberEmail, @"\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
6464
{
65-
throw new sys.ArgumentOutOfRangeException("memberEmail", @"Value should match pattern '\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
65+
throw new sys.ArgumentOutOfRangeException("memberEmail", @"Value should match pattern '\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
6666
}
6767

6868
if (memberGivenName != null)

dropbox-sdk-dotnet/Dropbox.Api/Generated/Team/MembersSetProfileArg.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ public MembersSetProfileArg(UserSelectorArg user,
6262
{
6363
throw new sys.ArgumentOutOfRangeException("newEmail", "Length should be at most 255");
6464
}
65-
if (!re.Regex.IsMatch(newEmail, @"\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
65+
if (!re.Regex.IsMatch(newEmail, @"\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z"))
6666
{
67-
throw new sys.ArgumentOutOfRangeException("newEmail", @"Value should match pattern '\A(?:^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
67+
throw new sys.ArgumentOutOfRangeException("newEmail", @"Value should match pattern '\A(?:^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\.[A-Za-z]{2,15}$)\z'");
6868
}
6969
}
7070

dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EmailIngestPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Dropbox.Api.TeamLog
1111
using enc = Dropbox.Api.Stone;
1212

1313
/// <summary>
14-
/// <para>Email ingest policy</para>
14+
/// <para>Policy for deciding whether a team can use Email to my Dropbox feature</para>
1515
/// </summary>
1616
public class EmailIngestPolicy
1717
{

dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EmailIngestPolicyChangedDetails.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Dropbox.Api.TeamLog
1111
using enc = Dropbox.Api.Stone;
1212

1313
/// <summary>
14-
/// <para>Changed email to my dropbox policy for team.</para>
14+
/// <para>Changed email to my Dropbox policy for team.</para>
1515
/// </summary>
1616
public class EmailIngestPolicyChangedDetails
1717
{
@@ -31,8 +31,8 @@ public class EmailIngestPolicyChangedDetails
3131
/// <para>Initializes a new instance of the <see cref="EmailIngestPolicyChangedDetails"
3232
/// /> class.</para>
3333
/// </summary>
34-
/// <param name="newValue">New email to my dropbox policy.</param>
35-
/// <param name="previousValue">Previous email to my dropbox policy.</param>
34+
/// <param name="newValue">To.</param>
35+
/// <param name="previousValue">From.</param>
3636
public EmailIngestPolicyChangedDetails(EmailIngestPolicy newValue,
3737
EmailIngestPolicy previousValue)
3838
{
@@ -62,12 +62,12 @@ public EmailIngestPolicyChangedDetails()
6262
}
6363

6464
/// <summary>
65-
/// <para>New email to my dropbox policy.</para>
65+
/// <para>To.</para>
6666
/// </summary>
6767
public EmailIngestPolicy NewValue { get; protected set; }
6868

6969
/// <summary>
70-
/// <para>Previous email to my dropbox policy.</para>
70+
/// <para>From.</para>
7171
/// </summary>
7272
public EmailIngestPolicy PreviousValue { get; protected set; }
7373

dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47676,7 +47676,7 @@ public override DirectoryRestrictionsRemoveMembers DecodeFields(enc.IJsonReader
4767647676
}
4767747677

4767847678
/// <summary>
47679-
/// <para>(team_policies) Changed email to my dropbox policy for team</para>
47679+
/// <para>(team_policies) Changed email to my Dropbox policy for team</para>
4768047680
/// </summary>
4768147681
public sealed class EmailIngestPolicyChanged : EventType
4768247682
{

dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/EventTypeArg.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40720,7 +40720,7 @@ protected override DirectoryRestrictionsRemoveMembers Create()
4072040720
}
4072140721

4072240722
/// <summary>
40723-
/// <para>(team_policies) Changed email to my dropbox policy for team</para>
40723+
/// <para>(team_policies) Changed email to my Dropbox policy for team</para>
4072440724
/// </summary>
4072540725
public sealed class EmailIngestPolicyChanged : EventTypeArg
4072640726
{

spec

0 commit comments

Comments
 (0)